Code
Value
Description
(e)
Target value 1: OFF
set value
When subtracted: When the elapsed value falls below the OFF set value, the
cam output turns ON, and when it falls below the ON set value, it turns OFF.
(f)
Target value 1: ON set
value
(1)
Execution condition
When the execution condition turns ON from OFF, the instruction is executed
and the cam control starts.
(2)
High-speed counter
instruction
active flag
The high-speed counter instruction active flag turns ON during the execution
of the instruction. When the high-speed counter control instruction F0 (MV) is
executed, it turns OFF.
(3)
Cam output
The output turns ON/OFF according the set values.
(4)
Interrupt
In the case of addition, when the elapsed value reaches the ON set value,
the interrupt program is started.
(5)
Clear high-speed
counter instruction
By the high-speed counter control instruction F0 (MV), when the bit 3 of the
special data register DT90052 turns ON from OFF, the executed F165
(CAM0) instruction is cleared.
■
Sample program
Code
Description
(1)
High-speed counter channel H10: Performs the upper limit control, CH0
(2)
Cam output device type K1: Internal relay (R)
(3)
Word number of cam output device K10
(4)
Specification of the number of target values K2
(5)
Target value 1: ON set value K1000
(6)
Target value 1: OFF set value K5000
10.4 High-speed Counter Cam Control Instruction
WUME-FPXHPOSG-01
10-27
Содержание FP-XH Series
Страница 2: ... MEMO 2 WUME FPXHPOSG 01 ...
Страница 18: ... MEMO 1 10 WUME FPXHPOSG 01 ...
Страница 30: ... MEMO 3 8 WUME FPXHPOSG 01 ...
Страница 51: ...4 4 Reading Elapsed Values WUME FPXHPOSG 01 4 21 ...
Страница 52: ... MEMO 4 22 WUME FPXHPOSG 01 ...
Страница 88: ... MEMO 5 36 WUME FPXHPOSG 01 ...
Страница 94: ... MEMO 6 6 WUME FPXHPOSG 01 ...
Страница 140: ... MEMO 9 8 WUME FPXHPOSG 01 ...
Страница 193: ... MEMO WUME FPXHPOSG 01 ...
Страница 194: ...Panasonic Industrial Devices SUNX Co Ltd 2020 October 2020 WUME FPXHPOSG 01 ...