7-143
CCOM
1
2
3
4
6
6
7
8
7.6 Structure creation instructions
7.6.11 Select Refresh Instruction (CCOM)
(4) On the execution of the CCOM (P) instruction, the CPU module suspends the processing of
the sequence program, and refreshes the specified refresh item.
(5) The CCOM(P) instruction can be used in a sequence program any number of times.
However, note that the sequence program scan time will be lengthened by the time taken for
refresh item that are specified in SD778.
(6) Interruption is enabled during the execution of the CCOM(P) instruction. However, note that
the data can be separated if the refresh data is used for an interrupt program.
(7) The CCOM(P) instruction is not available for the fixed scan execution type program or
interrupt program.
(8) With the Built-in Ethernet port QCPU, service processing time may be increased if the
processing was executed by the CCOM instruction while the built-in Ethernet ports are in
Ethernet connection.
Operation Error
(1) When the CCOM(P) instruction is executed in the QnUD(H)CPU whose serial number
(first five digits) is "10101" or later, an error occurs. (Error code: 4100)
Program Example
(1) Turning on M0 enables the program to execute the select refresh, while turning off M0
disables the program to execute the select refresh.
[Ladder Mode] [List Mode]
0
END
0
END
0
Execution of CCOM(P)
instruction
Refresh specified
in refresh items
Execution of CCOM(P)
instruction
Refresh specified
in refresh items
Step
Instruction
Device