Pulse output instructions
1068
Part III FP Instructions
instruction is executed, both the high-speed counter control flag (e.g.
sys_bIsHscChannel0ControlActive) and the pulse output control flag (e.g.
sys_bIsPulseChannel0Active) for the channel used are TRUE. No other
high-speed counter instruction or pulse output instruction can be executed as
long as this flag is TRUE.
FP: Executing the circular interpolation control instruction F176 sets the circular
interpolation control flag (sys_bIsCircularInterpolationActive) to TRUE. The status
of this flag is maintained until the target value is reached (even if the execution
condition is no longer TRUE). During this time, other pulse output instructions
cannot be executed.
FP: Set any high-speed counter allocated to a pulse output channel to "Unused"
in the system registers.
FP-X, FP0R: Set "PWM output" for the desired channel in the system registers.
We strongly recommend that you incorporate a forced stop (see page 1021)
option in you
r positioning p
rogram.
The status of the high-speed counter control flag or pulse output control flag may
change while a scan is being carried out. For example, if the flag is used more
than once as an input condition, different statuses may exist within one scan. To
ensure proper execution of the program, the status of the special internal relay
should be copied to a variable at the beginning of the program.
PLC types Availability of F173_PulseOutput_PWM (see page 1322)
Variable Data type Function
s_dutDataTable F173_PulseOutput_PWM_DUT Starting address of area containing the data table
n_iPulseOutputChannel decimal constant Pulse output channel:
FP-
: 0, 2
FP-X R: 0, 1
FP-X C14T: 0, 1, 2
FP-X C30T/C60T: 0, 1, 2, 3
FP0R: 0, 1, 2, 3
For Relay T/C Register Constant
s_dutDataTable - - - - - - DT - - -
n_iPulseOutputChannel - - - - - - - - - dec. or hex.
Data types
Operands