Sample Program (Upper Limit Control, Subtraction) - Panasonic FP0H User Manual

Control unit positioning/pwm output/high-speed counter
Hide thumbs Also See for FP0H:
Table of Contents

Advertisement

 Sample program
For FP0H mode
R9013
R0
R9110
DF
R1
DF
Code
Description
High-speed counter channel H10: Performs the upper limit control. CH0
Cam output device type K1: Internal relay (R)
Word number of cam output device K10
Specification of the number of target values K2
Target value 1: ON set value K1000
Target value 1: OFF set value K5000
Target value 2: ON set value K7000
Target value 2: OFF set value K9000
Upper limit value K11000
Presets 0 as the elapsed value.
Executes the F165 (CAM0) instruction and starts the cam control.
Clears the executed F165 (CAM0) instruction by turning the DT90052 (bit 3) off -> on -> off.
(Note): The allocations of control active flags and elapsed value areas for the FPΣ mode are different.
For details of the allocation of flags, refer to "12.2.4 When Using High-speed Counter Function".
10.4 High-speed Counter Cam Control Instruction
F1 DMV
H10
DT100
F1 DMV
K1
DT102
F1 DMV
K10
DT104
F1 DMV
K2
DT106
F1 DMV
K1000
DT108
F1 DMV
K5000
DT110
F1 DMV
K7000
DT112
F1 DMV
K9000
DT114
F1 DMV
K11000
DT116
F1 DMV
K0
DT90300
F165 CAM0
DT100
F0 DMV
H8
DT90052
F0 DMV
H0
DT90052
10-25

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents