Panasonic FP Series Programming Manual page 1041

Hide thumbs Also See for FP Series:
Table of Contents

Advertisement

Pulse output instructions
F169_PulseOutput_
Jog
This instruction is used for JOG operation. Pulses are output from the specified channel when the
Description
control flag for this channel is FALSE and the execution condition is TRUE.
Use the following predefined DUT: F169_PulseOutput_Jog_DUT
The following parameters can be specified in the DUT:
Control code
Speed
Pulse output characteristics
The frequency and the duty can be changed in each scan. (The change becomes effective with the
next pulse output.)
General programming information
!
Set any high-speed counter allocated to a pulse output channel to "Unused" in
the system registers.
If both the main program and the interrupt program contain code for the same
channel, make sure both are not executed simultaneously.
The high-speed counter control flag (e.g. sys_bIsHscChannel0ControlActive) and
the pulse output control flag (e.g. sys_bIsPulseChannel0Active) are assigned to
the same internal relay (e.g. R903A). Therefore, when a high-speed counter
instruction or a pulse output 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.
Pulse output stops when the upper limit of the internal elapsed value is exceeded
if rotation is in one direction only. As a countermeasure, reset the elapsed value
to 0 before executing this instruction. Pulse output does not stop when the FP0R
is used in FP0 compatibility mode because the data range for the elapsed value
is a signed 32-bit value.
When using incremental counting, pulse output stops when the elapsed value
exceeds 2147483647.
When using decremental counting, pulse output stops when the elapsed value
exceeds -2147483648.
We strongly recommend that you incorporate a forced stop (see page 1021)
1040
JOG operation
Warning!
As soon as you begin editing a program online (i.e., in
RUN mode) using this instruction, pulse output will
stop.

Advertisement

Table of Contents
loading

Table of Contents