EasyManua.ls Logo

Panasonic FP0H - Page 161

Panasonic FP0H
200 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
10.4 High-speed Counter Cam Control Instruction
10-21
Precautions during programming
This instruction cannot be used when the high-speed counter function is not used. Allocate
arbitrary channels and contacts in the system register "high-speed counter setting".
The high-speed counter control flag corresponding to the specified channel turns on until the
execution of the high-speed counter control instruction F0 (MV) is cleared after the execution
condition of the F165 (CAM0) instruction has turned on. When the high-speed counter
control flag is on, the high-speed counter control instruction F165 (CAM0)/F166
(HC1S)/F167 (HC1R) for which the same channel is specified cannot be executed.
This instruction can be activated for up to two channels simultaneously.
To stop the control of this instruction, execute "Clear high-speed counter instruction" by the
high-speed counter control instruction F0 (MV). Even when executing "Clear high-speed
counter instruction", the output allocated to the cam output is held. Also, the counting of the
high-speed counter continues and the upper limit control becomes disabled.
Reset or preset the high-speed counter elapsed value before activating the instruction.
Do not rewrite the elapsed value for the control using the F1 (DMV) instruction after the
execution of the instruction. After the execution of the instruction, the setting of the active
target values do not change even if the operation memory of the specified target values (ON
set value/OFF set value) is changed.
When controlling the output device using the main program, set each target value so that
"minimum moving time between each target value" is larger than "1 scan time".
When controlling the output device using an interrupt program, set each target value so that
"minimum moving time between each target value" is larger than "maximum execution time
of interrupt program".
When the maximum value control and the hardware/software reset is used at the same time,
do not operate them intensively in a short time.
When hardware/software reset is used, set the minimum target value to an integer value that
is 1 or more.
When the hardware reset or software reset is executed during the high-speed counter
control, the high-speed counter elapsed value is reset to 0. The output allocated to the cam
output will be the output according to the elapsed value 0.
It is also possible to start the interrupt program INTn every time the elapsed value reaches
each target value. For this operation, the activation of the interrupt program should be
permitted by the interrupt control instruction ICTL.
REFERENCE
For details of the allocations of I/O and flags, refer to "12.2.4 When Using
High-speed Counter Function".
For details of the FPΣ mode, refer to "11. FPΣ Mode".

Table of Contents

Other manuals for Panasonic FP0H

Related product manuals