VXI SM8000 user manual Command Register Write Only

Page 52

VXI Technology, Inc.

 

 

Command Register – Write Only

 

ADDR

Plug-In LA+0x106

 

 

 

 

 

This nibble holds the number of bytes that are to be read back

 

 

 

 

from the optical module. The value loaded into this nibble is

 

 

 

 

dependent on the command that is required to execute in the lower

 

D15-D12

Read Byte Count

 

byte of this register. See the Optical Attenuator Operation section

 

 

of the manual for the specific number of data bytes to be read back

 

 

 

 

for each command. The count range is 0 to 7 bytes.

 

 

 

 

The number of data bytes being read back, plus 1, must be loaded

 

 

 

 

into this nibble.

 

 

 

 

This nibble holds the number of bytes that are to be written to the

 

 

 

 

optical module. The value loaded into this nibble is dependent on

 

 

 

 

the command that is required to execute in the lower byte of this

 

 

 

 

register. See the Optical Attenuator Operation section of the

 

 

 

 

manual for the specific number of data bytes to be sent for each

 

D11-D8

Write Byte Count

 

command. The count range is 0 to 7 bytes.

 

 

The Address, the Command Register, and the number of data

 

 

 

 

 

 

 

 

bytes being sent must all be added together to calculate the

 

 

 

 

number that is loaded into this nibble.

 

 

 

 

I.e., The number of data bytes being sent, plus 2, must be loaded

 

 

 

 

into this nibble.

 

 

 

 

This Command Byte is sent to the optical module being controlled.

 

 

Command Byte to

 

See the Optical Attenuator Operation section of the manual for

 

D7-D0

 

specific definitions of all the defined commands.

 

Optical Module

 

 

 

 

 

This command byte must be set prior to writing to the optical

 

 

 

 

 

 

 

 

module’s data (attenuation level) register.

Note: See Command Register later in this section.

52

SM8000 Series Programming

Image 52
Contents SM8000 Series VXI Technology, Inc Table of Contents Control Modes VXI Technology, Inc SM8000 Series Preface Certification EMC Steve Mauga, QA ManagerVXI Technology, Inc SM8000 Series Preface Service should only be performed by qualified personnel Terms and SymbolsAvoid Electric Shock Support Resources VXI Technology, Inc SM8000 Series Preface Section OverviewSM8000 Series Optical Switch Controller SM8001 / SM8002 MULTI-CHANNELSWITCHES ConfigurationsDuplex 1 x N SM8001 / SM8002 Multi Switch Specifications PDL6SM8003 Prism Switches SpdtSM8003 Prism Switch Specifications PDL3SM8101 / SM8102 Optical Attenuators PDLSetting the Chassis Backplane Jumpers Calculating System Power and Cooling RequirementsIntroduction Example Setting the Logical AddressMSB LSB Selecting the Extended Memory Space Mating Optical Connectors Cleaning Optical ConnectorsOptical Connections SM8001 / SM8002 Multi-Channel Switches General DescriptionSM8003 Prism Switches SM8003 Prism SwitchesAttenuator Diagram SM8101 / SM8102 Optical AttenuatorsOperation Resetting the SwitchRelay Registers Output Channel Selection N Switch Configuration Duplex 1 x N Switch Configuration Common Active ChannelN Blocking Switch Configuration N Non-Blocking Switch Configuration Calculating Switching Time 8MULTI-SWITCH TimingSM8003 Prism Switches Starting the Device Control ModesUncalibrated Operation Move-To-Absolute-Step Calibrated OperationBusy Signal Error StatusResetting the Device Commanding the DevicesRegister Access AddressingSmip II Register MAP A16 Offset Write FunctionID Register Read Only Logical Address Register Write OnlyDevice Type Register Read Only Status Register Read OnlyControl Register Write Only Offset Register Read and WriteSerial Number High Register Read Only Serial Number Low Register Read OnlyInterrupt Control Register Read and Write Interrupt Status Register Read OnlySubclass Register Read Only NVM Access Register Read NVM Access Register WriteBoard X, Y Used Address Register Read and Write Trace RAM Start High Register Read and WriteTrace RAM End High Register Read and Write Trace RAM End Low Register Read and WriteTrace RAM Address High Register Read and Write Trace RAM Address LOW Register Read and WriteOpen Trigger Select Register Write Only TTL Trigger Polarity Register Write OnlyTrace RAM Control Register Read and Write Busy Trigger Control Register Read and WriteBoard Busy Register Read Only Trigger Advance Register Write OnlyReserved Registers Read and Write 1MB RAM See Typical Optical Multi Switch Operation Control Register Read and Write Control Register Delay Register Read and Write Plug-In LA+0x104 Command Register Write Only Address Register Write Only Device Memory Relay Register OffsetRelay Register 00 Read and Write Writing to the Relay RegistersRegister 02 thru 08 Read and Write Relay Optical Module’s Data Attenuation LevelRegister 0A thru 0C Read Typical Optical MULTI-SWITCH Control Example Programming ExamplesTypical Optical Attenuator Control Example WriteVXI Technology, Inc Write Example Read ExampleCommand SET Command Transmit Data Receive Data Byte Byte Count30h 31h32h 35h6Ch 80h81h 82h83h 89h8Ah 8Bh8Ch 8Dh8Eh Recommends That the Optical MODULE’S 90hConvert to hexadecimal 96h A2hVXI Technology, Inc SM8000 Series Programming Index VXIbus