B8961 and B8962 User Manual
50
Built-In Variables
The following variable names are predefined in the control. They can be used
throughout your programs in expressions,to set voltages,to test conditions,or
even to display information on the keypad screen or some other external serial
device.
Variable Name
Description
Type
(AI9) thru (AI16)
Analog Input 9 thru 16
Read Only
(AO9) thru (AO16)
Analog Output 9 thru 16
Write Only
(AROWREL)
Current status of any of the four arrow keys
Read Only
(CPOS1), (CPOS2)
Commanded Position of axis 1, 2
Read Only
(EPOS1), (EPOS2)
Encoder Position of axis 1, 2
Read Only
(POS1), (POS2)
Current Position of axis 1, 2
Read Only
(VEL1), (VEL2)
Commanded Velocity of axis 1, 2
Read Only
(EE1) thru (EE20)
Non-volatile, limited use, user system
variables
Read/
Limited Write
(FKEY)
Value of Function Key pressed
Read Only
(LASTKEY)
Value of last Function key pressed
Read/Write
(TERM)
Sends variable out RS-232 port
Write Only
(1TW)
Scans inputs 1-4 for BCD Digit
Read Only
(2TW)
Scans inputs 1-8 for BCD Digit
Read Only
(TIME)
Elapsed Time (ms) since power up
or since reset
Read Only
(CRCS)
Value of the EEPROM setup checksum
Read Only
(CRCP)
Value of the EEPROM program checksum
Read Only
(SA1), (SA2)
Integer value of the status of axis 1-2
(See RS232 command SA)
Read Only
(SD1), (SD2)
Integer value of the drive status of axis 1-2
(See RS232 command SD)
Read Only
(SS)
Integer value of the system status
(See RS232 command SS)
Read/Write
(INT98CTRL)
Enables/disables (ARM INT98) trigger
option - Refer to Ch. 5, Configuring Your
Inputs, Input Descriptions, Input I.
Read/Write
(ARM INT98)
Enables/disables INT98 input if
(INT98CTRL) is enabled
Read/Write
Содержание B8961
Страница 111: ...109 Chapter 7 Programming with Serial Communication...
Страница 132: ...B8961 and B8962 User Manual 130...
Страница 136: ...B8961 and B8962 User Manual 134 B8961 and B8962 Hardware Connections...
Страница 137: ...135 Chapter 8 Hardware Reference B8961 and B8962 Input and Output Schematics...
Страница 138: ...B8961 and B8962 User Manual 136 Connecting IDC Limit Switches to the B8961 2...
Страница 156: ...B8961 and B8962 User Manual 154...