8 BUILT-IN I/O FUNCTION INSTRUCTION
8.2 Counter Function Dedicated Instruction
293
8
Coincidence output point write
ICCOVWR1, ICCOVWR2
The following instruction can go in the dotted squares.
ICCOVWR1, ICCOVWR1P, ICCOVWR2, ICCOVWR2P
■
Executing condition
■
Argument
Processing details
This instruction stores a coincidence output No. n point of the specified CH (refer to the following).
• ICCOVWR1(P): CH1
• ICCOVWR2(P): CH2
Program example
• The following program sets the value of D100 and D101 to the coincidence output No. 2 point of CH 1 when M0 turns ON.
Instruction
Executing condition
ICCOVWR1
ICCOVWR2
ICCOVWR1P
ICCOVWR2P
Input/output
argument
Name
Description
Data type
Input argument
EN
Executing condition
Bit
n
Coincidence output No. n point (1,2)
ANY16
s
Coincidence output No. n point (constant), or start
number of the device in which coincidence output
No. n point is stored
• Constant: Settings which is within the range of -
2147483648 to 2147483647
• Device: Within the range of specified device
ANY32
Output argument
ENO
Execution result
Bit
Setting
data
Internal device
R, ZR
J
\
U
\G
Zn
Constant
Others
Bit
Word
Bit
Word
n
(s)
[Structured ladder/FBD]
[ST]
ICCOVWR1( M0 , 2 , D100 );
LCPU
ST
ICCOVWR1
EN
ENO
n
s
ICCOVWR1
(EN, n, s);
ENO:=
Structured ladder/FBD
Summary of Contents for MELSEC System Q
Page 1: ...MELSEC Q L Structured Programming Manual Special Instructions ...
Page 2: ......
Page 307: ...10 SFC CONTROL INSTRUCTION 10 2 SFC Transition Condition Comment Read 305 10 MEMO ...
Page 309: ...I 307 MEMO ...
Page 315: ......