VXI SM8000 user manual Busy Signal, Error Status, Resetting the Device, Commanding the Devices

Page 36

VXI Technology, Inc.

BUSY Signal

The BUSY bit is driven high by the device whenever a Set Attenuation command is received, or when a RESET signal is received. The BUSY signal remains high whenever a command is executed and the stepper motor is moving. During this time, no other commands should be sent to the device, as this may corrupt the internal state of the device requiring a RESET to clear.

ERROR Status

The ERROR bit is driven high by the device whenever an Out of Range error, or a RESET error is detected. RESET errors occur when the unit does not find its Park position correctly, and may indicate a hardware problem.

Resetting the Device

See the RESET commands in the Programming section.

Commanding the Devices

Step 1 - Power Up and Initialize

The device will reset when power is applied.

Step 2 - Query Default Parameters

Before using the device in calibrated mode, query to obtain the minimum and maximum absolute attenuation. Use this data to ensure that commands sent are always within range. The commands to gather the device information are:

Query Minimum Attenuation - 82h

Query Maximum Attenuation - 83h

Step 3 - Actuate the Device

Use the appropriate Set commands and actuate the device. For verification purposes, pick a large change first to ensure proper operation of the device. Very small changes can be requested, however, they can be misleading for test purposes since they are practically undetectable. The command to actuate the device is:

Set Attenuation - 80h

36

SM8000 Series Operation

Image 36
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 PDLCalculating System Power and Cooling Requirements Setting the Chassis Backplane JumpersIntroduction Setting the Logical Address ExampleMSB LSB Selecting the Extended Memory Space Cleaning Optical Connectors Mating Optical ConnectorsOptical Connections SM8001 / SM8002 Multi-Channel Switches General DescriptionSM8003 Prism Switches SM8003 Prism SwitchesAttenuator Diagram SM8101 / SM8102 Optical AttenuatorsResetting the Switch OperationRelay 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 Status Register Read Only Interrupt Control Register Read and WriteSubclass 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 WriteTrigger Advance Register Write Only Board Busy Register Read OnlyReserved Registers Read and Write 1MB RAM See Typical Optical Multi Switch Operation Control Register Read and WriteControl 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 RegistersRelay Optical Module’s Data Attenuation Level Register 02 thru 08 Read and WriteRegister 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 90h Recommends That the Optical MODULE’SConvert to hexadecimal 96h A2hVXI Technology, Inc SM8000 Series Programming Index VXIbus