MAN0878-09-EN_XLE_XLT_UserManual
A u g u s t 2 3 , 2 0 1 8
P a g e 108 | 158
14.2 Useful %S and %SR registers
Table 14.1
–
Common %S Register Definitions
Register
Name
Description
%S1
FST_SCN
Indicate First Scan
%S2
NET_OK
Network is OK
%S3
T_10MS
10mS timebase
%S4
T_100MS
100mS timebase
%S5
T_1SEC
1 second timebase
%S6
IO_OK
I/O is OK
%S7
ALW_ON
Always ON
%S8
ALW_OFF
Always OFF
%S9
PAUSING_SCN
Pause 'n Load soon
%S10
RESUMED_SCN
Pause 'n load done
%S11
FORCE
I/O being forced
%S12
FORCE_EN
Forcing is enabled
%S13
NET_IO_OK
Network I/O is OK
Table 14.2
–
%SR Registers
Register
Name
Description
Min Val
Max Val
%SR1
USER_SCR
Current User Screen Number
1
1023
%SR2
ALRM_SCR
Current Alarm Screen Number (0=none)
0
1023
%SR3
SYS_SCR
Current System Screen Number (0=none)
0
21
%SR4
SELF_TEST
Bit-Mapped Self-Test Result
0
65535
%SR5
CS_MODE
Control Station Mode (0=Idle, 1=Do I/O,
2=Run)
0
2
%SR6
SCAN_RATE
Average Scan Rate ( / 10)
-
1000
%SR7
MIN_RATE
Minimum Scan Rate ( / 10)
-
1000
%SR8
MAX_RATE
Maximum Scan Rate ( / 10)
-
1000
%SR9
TCH_PRESSURE
Current Touch Pressure
0
3000
%SR10
TCH_PRESSURE_T…
Threshold Touch Pressure
0
3000
%SR11-SR12
Program Size Low & High
%SR13-SR14
User Text Screen Size Low & High
%SR15-SR16
System Text Screen Size Low & High
%SR17-18
IO_SIZE
I/O Configuration Table Size Low & High
16
127K
%SR19-20
NET_SIZE
Network Configuration Table Size Low & High
34
1K
%SR21-22
SD_SIZE
Security Data Table Size Low & High
-
-
%SR23
LADDER_CRC
Ladder Code CRC
0
65535
%SR24
User Text CRC
-
-
%SR25
System Text CRC
%SR26
IO_CRC
I/O Configuration Table CRC
0
65535
%SR27
NET_CRC
Network Configuration Table CRC
0
65535
%SR28
SD_CRC
Security Data Table CRC
0
65535
%SR29
NET_ID
This Station’s Primary Network ID
1
253
CsCAN Mode
1
253
DeviceNet Mode
0
63
CANOpen Mode
1
127
J1939
?
?