Panasonic FP Series Programming Manual page 1035

Hide thumbs Also See for FP Series:
Table of Contents

Advertisement

Pulse output instructions
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.
We strongly recommend that you incorporate a forced stop (see page 1021)
option in your positioning program.
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.
 Running the FP0R in FP0 compatibility mode
To run the FP0R in FP0 compatibility mode, you can download an FP0 program to the FP0R.
Please note the following restrictions:
The FP0R supports signed 32-bit data for elapsed value and target value; the
FP0 supports signed 24-bit data. In FP0 compatibility mode, counting and pulse
output continue even if data exceeds the FP0 range.
The duty ratio is always 25% regardless of the settings in the instructions. With
the pulse output method "pulse/direction", pulses are output approx. 300s after
the direction signal has been output; the motor driver characteristics are
simultaneously taken into consideration.
The FP0R does not support the "no counting" setting. Instead, incremental
counting is performed with the FP0 pulse output instructions set to "no counting".
The maximum pulse output frequency is 10000Hz.
Make sure the pulse output instruction does not use an output that is also being
used as a normal output.
For an FP0 program to be able to run in FP0 compatibility mode, the PLC types
(C10, C14, C16, C32, and T32) must match exactly. FP0 compatibility mode is
not available for the F32 type FP0R.
PLC types Availability of F168_PulseOutput_Trapezoidal (see page 1322)
Data types
Variable
s_dutDataTable
n_iPulseOutputChannel
Operands
1034
Data type
F168_PulseOutput_Trapezoidal_DUT
decimal constant
Function
Starting address of area containing the data table
Pulse output: 0 or 1

Advertisement

Table of Contents
loading

Table of Contents