288
8 BUILT-IN I/O FUNCTION INSTRUCTION
8.2 Counter Function Dedicated Instruction
Ring counter upper/lower limit value write
ICRNGWR1, ICRNGWR2
The following instruction can go in the dotted squares.
ICRNGWR1, ICRNGWR1P, ICRNGWR2, ICRNGWR2P
■
Executing condition
■
Argument
Processing details
This instruction sets the ring counter lower limit value and the ring counter upper limit value of the specified CH (refer to the
following).
• ICRNGWR1(P): CH1
• ICRNGWR2(P): CH2
Instruction
Executing condition
ICRNGWR1
ICRNGWR2
ICRNGWR1P
ICRNGWR2P
Input/output
argument
Name
Description
Data type
Input argument
EN
Executing condition
Bit
s1
Ring counter lower limit value (constant), or start
number of the device that stores the ring counter
lower limit value
• Constant: Settings which is within the range of -
2147483648 to 2147483647 and ((s1), (s1)+1)
((s2), (s2)+1)
• Device: Within the range of specified device
ANY32
s2
Ring counter upper limit value (constant), or start
number of the device that stores the ring counter
upper limit value
• Constant: Settings which is within the range of -
2147483648 to 2147483647 and ((s1), (s1)+1)
((s2), (s2)+1)
• 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
(s1)
(s2)
LCPU
ST
ICRNGWR1
EN
ENO
s1
s2
ICRNGWR1
(EN, s1, s2);
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: ......