User manual

Chapter 6 Backplane Programming
6-2 ADVANCED MICRO CONTROLS INC
Program Instructions
Program Instructions are broken down into three categories
Auxiliary Commands –
Nine instructions that affect the operation of the module
and do not have data words associated with them. These instructions are:
Disable Keyboard Programming
Enable Keyboard Programming
Clear Errors
Preset Transducer 1-4 (Four separate instructions)
Enter Read Status Mode
Exit Read Status Mode
Transducer Setup Instructions –
Four instructions that program the transducer setup
parameters, one for each channel. If you attempt to program parameters for a channel
that does not exist on your module, it will respond with a programming error code.
Read Status Instructions –
Four instructions that are enabled while in read status
mode. These four instructions specify which transducer setup parameter values
should be transmitted to the processor in place of position and tachometer data.
Auxiliary Commands
Command
Command
Word
Comments
Disable
Keyboard
8100h
Disables all programming from the keyboard. Parameter values can be
inspected but they cannot be changed.
Enable
Keyboard
8200h
This command counteracts a previous Disable Keyboard command. The
status of the keyboard programming disable is retained when power is
removed. The only way to enable keyboard programming after a
Disable Keyboard command is with this instruction.
Clear Errors 8400h
This command clears all programming errors and transducer faults.
Preset
Transducer 1
8500h
Use this command to set the position data of transducer 1 to its
programmed preset value. Use the Transducer 1 Setup instruction to
change the value of the preset parameter.
Preset
Transducer 2
9500h
Use this command to set the position data of transducer 2 to its
programmed preset value. Use the Transducer 2 Setup instruction to
change the value of the preset parameter.
Preset
Transducer 3
A500h
Use this command to set the position data of transducer 3 to its
programmed preset value. Use the Transducer 3 Setup instruction to
change the value of the preset parameter.
Preset
Transducer 4
B500h
Use this command to set the position data of transducer 4 to its
programmed preset value. Use the Transducer 4 Setup instruction to
change the value of the preset parameter.
Enter Read
Status Mode
8E00h
Enter this mode to read back the value of the transducer setup
parameters in place of position and tachometer data.
Exit Read
Status Mode
8F00h
When you exit read status mode, the module transmits position and
tachometer data instead of transducer setup parameter values.
Table 6.1 Auxiliary Commands