7-139
COM
1
2
3
4
6
6
7
8
7.6 Structure creation instructions
7.6.10 Select Refresh Instruction (COM)
(4) Upon the execution of the COM instruction, the CPU module suspends the processing of the
sequence program, and refreshes the designated refresh item.
(5) The COM 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 time of the communication with peripheral devices and refresh item that are selected
in SD778.
(6) Only with the Universal model QCPU, interruption is enabled during the execution of the
COM instruction. However, note that the data can be separated if the refresh data is used by
an interrupt program etc.
(7) With the Built-in Ethernet port QCPU, service processing time may be increased if the
processing was executed by the COM instruction while the built-in Ethernet ports are in
Ethernet connection.
(8) Refresh items for the COM instruction are indicated in the following table.
CPU Module Type
Name
Function
Version
Serial No. SM775 Refresh Item
Q00JCPU
Q00CPU
Q01CPU
A
"04021" or
lower
OFF Refreshes all of the refresh items.
ON Communication with peripheral device only.
B
"04122" or
higher
OFF Refreshes all of the refresh items.
ON Refreshes the refresh items selected by SD778.
Q02CPU
Q02HCPU
Q06HCPU
Q12HCPU
Q25HCPU
A
––––
ON/OFF Refreshes all of the refresh items.
B
"04011" or
lower
OFF Refreshes all of the refresh items.
ON Communication with peripheral device only.
"04012" or
higher
OFF Refreshes all of the refresh items.
ON Refreshes the refresh items selected by SD778.
Q02PHCPU
Q06PHCPU
–––– ––––
OFF Refreshes all of the refresh items.
ON Refreshes the refresh items selected by SD778
Q12PHCPU
Q25PHCPU
C
"07031" or
lower
OFF Refreshes all of the refresh items.
ON Communication with peripheral device only.
"07032" or
higher
OFF Refreshes all of the refresh items.
ON Refreshes the refresh items selected by SD778.
Q12PRHCPU
Q25PRHCPU
D
––––
OFF Refreshes all of the refresh items.
ON Refreshes the refresh items selected by SD778.
Q02UCPU
Q03UDCPU
Q04UDHCPU
Q06UDHCPU
Q03UDECPU
Q04UDEHCPU
Q06UDEHCPU
Q13UDEHCPU
Q26UDEHCPU
B
––––
OFF Refreshes the refresh items selected by SD778.
ON Refreshes all of the refresh items.
0
END
0
END
0
Execution of COM
instruction
Execution of COM
instruction
Refreshes the designated
refresh items
Refreshes the designated
refresh items