SMAC
LAC-25 Technical Reference Manual
46
System Variable Descriptions
RecRate
Data recorder sample rate.
RecAddr
Data recorder sample address source.
RecSize
Data recorder sample data size.
AIN0
Analog Input 0. (After TA0,GA0 command).
AIN1
Analog Input 1. (After TA1,GA1 command).
AIN2
Analog Input 2. (After TA2,GA2 command).
AIN3
Analog Input 3. (After TA3,GA3 command).
AIN4
Analog Input 4. (After TA4,GA4 command).
AIN5
Analog Input 5. (After TA5,GA5 command).
AIN6
Analog Input 6. (After TA6,GA6 command).
AIN7
Analog Input 7. (After TA7,GA7 command).
AIN8
Analog Input 8. (After TA8,GA8 command).
AIN9
Analog Input 9. (After TA9,GA9 command).
VERSION
Version number for program use. (VE command).
LST_ERR
Last error code (TE command).
LTIMER
1 Hz LED timer.
ADSEMA
A/D Interrupt system semaphores flags.
SYSSTAT
System status word.
IPEND0
User interrupt pending level 0 -15 (EV,DV command).
IPEND1
User interrupt pending level 16 - 31 (EV,DV command).
SCLOCK
Servo loop counter.
RCLOCK
1 mS Real time clock/counter.
IO_DELAY
User digital input delay (ID command).
SYSSTAT Variable Bit Definitions
Bit
Purpose
0
Axis 0 Enabled.
This bit is set to Ò1Ó when axis 0 is enabled.
1
Axis 1 Enabled.
This bit is set to Ò1Ó when axis 1 is enabled.
2
Reserved.
3
Reserved.
4
Reserved.
5
Pause.
This bit is set to Ò1Ó when the space bar is used to pause a user program.
6
SXOff.
This bit is set to Ò1Ó when the LAC-25 receives an XOFF code.
7
HexMod.
This bit is set to Ò1Ó by the HM command and set to Ò0Ó by the DM
command.
8
Echo.
This bit is set to Ò1Ó by the EN command and set to Ò0Ó by the EF command.
9
HandSh.
This bit is set to Ò1Ó by the HN command and set to Ò0Ó by the HF
command.
10
Reserved.
11
Reserved.
12
Reserved.
13
Reserved.
14
Fail.
This bit is set to Ò1Ó by the FN command and set to Ò0Ó by the FF command.
15
BadInp.
This bit is set to Ò1Ó by the VI command to indicate an error in user input.