Special offers from our partners!
Find Replacement BBQ Parts for 20,308 Models. Repair your BBQ today.
11-2
SP.CONTSW
11.1 System Switching Instruction (SP.CONTSW)
SP.CONTSW
*1: The bit specification for the word device is available.
Function
(1) Switches between the control system and standby system at the END processing of the
scan executed with the SP.CONTSW instruction.
(2) When using the SP.CONTSW instruction for system switching, the "manual switching enable
flag (SM1592)" must have been turned ON (enabled) in advance.
(3) is provided to identify the processing block of the program where system switching
occurred when multiple SP.CONTSW instructions are used.
At , specify a value within the ranges -32768 to -1 and 1 to 32767 (1
H to FFFFH).
The value specified for the SP.CONTSW instruction is stored into the "system switching
instruction argument (SD6)" of the error common information when the system switching is
normally completed.
*2
When multiple SP.CONTSW instructions are executed during the same scan, the argument
of the SP.CONTSW instruction executed first is stored into the system switching instruction
argument (SD6).
(4) When system switching is normally completed, the value specified for the SP.CONTSW
instruction is stored into the "system switching instruction argument (SD1602)" of the new
control system CPU module.
*3
By reading the SD1602 value from the new control system CPU module, which the
SP.CONTSW instruction was used for system switching can be confirmed.
*2 : The value specified for the SP.CONTSW instruction can be confirmed in the error common information
of the PLC diagnostics dialog box on GX Developer.
*3 : The new control system CPU module means the CPU module that was switched from the standby system
to the control system by the SP.CONTSW instruction.
: Value other than 0 and used to identify the processing that issued the system switching request (BIN 16 bits)
: Error completion device number (bits)
Setting
Data
Internal Devices
R, ZR
J\
U\G
Zn
Constants
K, H
Other
Bit Word Bit Word
–– –– ––
*1
–– –– ––
Basic
Process
High
performance
Universal
Redundant
SP.CONTSW
Command
SP.CONTSW
S
D
S
D
S
D
S
S
S
S
S