Code
Value
Description
(a)
Upper limit
When the elapsed value exceeds the upper limit, it returns to 0.
(b)
Target value 2: OFF
set value
The cam output is performed according to the target values.
In this example, the ON set value is smaller than the OFF set value for each
target value.
Therefore, When added: When the elapsed value reaches the ON set value,
the cam output turns ON, and when it reaches the OFF set value, it turns
OFF.
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.
(c)
Target value 2: ON set
value
(d)
Target value 1: OFF
set value
(e)
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. Even when the reset signal exists, the execution of the
nstruction continues.
(3)
Cam output
The output turns ON/OFF according the set values.
(4)
Interrupt
When the elapsed value reaches the ON set value, the interrupt program
starts.
(5)
Reset signal
When the hardware reset (X2) or software reset DT90052 (bit 0) turns ON,
the elapsed value of the high-speed counter is rest to 0. The outputs
corresponding to the elapsed value 0 (both R100 and R101 in the above
example) become OFF.
(Note 1)
It shows the hardware reset input (X2) for the high-speed counter CH0.
■
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
10.4 High-speed Counter Cam Control Instruction
WUME-FPXHPOSG-01
10-25
Содержание 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 ...