Chapter 3. Program Data
46
PACSystems* RX7i, RX3i and RSTi-EP CPU Programmer's Reference Manual
GFK-2950C
3.8.1
%S References
Reference System Variable
Definition
%S0001
#FST_SCN
Current sweep is the first sweep in which the LD executed. Set the first time the user
program is executed after a
STOP Mode to RUN Mode transition and cleared upon
completion of its execution.
%S0002
#LST_SCN
Set when the CPU transitions to RUN Mode; cleared when the CPU is performing its
final sweep. The CPU clears this bit and then performs one more complete sweep
before transitioning to STOP or STOP Faulted mode. If the number of last scans set to
0, %S0002 will be cleared after the CPU is stopped and user logic will not see this bit
cleared.
%S0003
#T_10MS
0.01 second timed contact.
%S0004
#T_100MS
0.1 second timed contact.
%S0005
#T_SEC
1.0 second timed contact.
%S0006
#T_MIN
1.0 minute timed contact.
%S0007
#ALW_ON
Always ON.
%S0008
#ALW_OFF
Always OFF.
%S0009
#SY_FULL
Set when the CPU fault table fills up (size configurable with a default of 16 entries).
Cleared when an entry is removed from the CPU fault table and when the CPU fault
table is cleared.
%S0010
#IO_FULL
Set when the I/O Fault Table fills up (size configurable with a default of 32 entries).
Cleared when an entry is removed from the I/O Fault Table and when the I/O Fault
Table is cleared.
%S0011
#OVR_PRE
Set when an override exists in %I, %Q, %M, or %G, or symbolic BOOL memory.
%S0012
#FRC_PRE
Set when force exists on a Genius point.
%S0013
#PRG_CHK
Set when background program check is active.
%S0014
#PLC_BAT
CPUs with batteries, including CPU310, CPU315, CPU/CRU320 and NIU001
▪
If the battery is disconnected, this contact is set to 1.
▪
Whenever a Smart Battery fails during operation, this contact is set to 1. If used
in conjunction with a legacy (non-smart) battery, this indication is not reliable.
Battery-less CPUs, including CPE302, CPE305, CPE310 and CPE330:
▪
Energy Pack is connected and functioning = 0
▪
Energy Pack is not connected or has failed = 1
%S0033
#PRI_UNT
Set to 1 if the local unit is configured as the Primary CPU: otherwise it is cleared. For
any given local unit, if PRI_UNT is set, SEC_UNT cannot be set.
%S0034
#SEC_UNT
Set to 1 if the local unit is configured as the Secondary CPU: otherwise it is cleared.
For any given local unit, if SEC_UNT is set, PRI_ UNT cannot be set.
%S0035
#LOC_RDY
Set to 1 if local unit is in Run mode with outputs enabled. Otherwise set to 0.
%S0036
#LOC_ACT
Set to 1 if local unit is currently the Active unit; otherwise it is cleared. For any given
local unit, if LOC_ACT is set, REM_ACT cannot be set.
%S0037
#REM_RDY
Set to 1 if remote unit is in Run mode with outputs enabled. Otherwise set to 0.
%S0038
#REM_ACT
Set to 1 if remote unit is currently the Active unit; otherwise it is cleared. For any
given local unit, if REM_ACT is set, LOC_ACT cannot be set.
%S0039
#LOGICEQ
Set to 1 if the application logic for both units in the redundant system is the same.
Otherwise set to 0.
%S0041
#RDN_COMM_AVAIL Redundancy Communication Link Available: 1 indicates that the two CPUs can
communicate with each other and will be able to synchronize when required.
%S0042
#RDN_P1_LINK_UP
Redundancy Ethernet Port 1 on LAN3 has link on its PHY.
%S0043
#RDN_P2_LINK_UP
Redundancy Ethernet Port 2 on LAN3 has link on its PHY.
%S0049
#FA_OK
Field Agent OK: 1 indicates Field Agent running and connected to cloud.
Note:
The #FST_EXE name is not associated with a %S address, it must be referenced by the name
#FST_EXE
only. This bit is set when transitioning from STOP Mode to RUN Mode and indicates
that the current sweep is the first time this block has been called.
Summary of Contents for PACSystems RX7i
Page 357: ......
Page 466: ...Chapter 9 Diagnostics GFK 2950C February 2018 451...