4.5.6
Read Switch Position
Read Switch Position (SWITCH_POS) allows the logic to read the current position of
the RUN/STOP switch, as well as the mode for which the switch is configured.
Operands
Parameter Description
POS
Memory location at which to write current switch position value.
1 - RUN I/O Enabled
2 - RUN Outputs Disabled
3 - STOP Mode
MODE
Memory location to which switch configuration value is written.
0 - Switch configuration not supported
1 - Switch controls RUN/STOP mode
2 - Switch not used, or is used by the user application
3 - Switch controls both memory protection and RUN/STOP
mode
4 - Switch controls memory protection
GFK-2950C
Chapter 4. Ladder Diagram (LD) Programming
February 2018
Allowed Operands
Optional
All except S, SA, SB,
No
SC
All except S, SA, SB,
No
SC
115