Panasonic FP Series Programming Manual page 1075

Hide thumbs Also See for FP Series:
Table of Contents

Advertisement

Pulse output instructions
General programming information
The target value for each axis must be within the range of -8388608–8388607.
When this instruction is used in combination with other pulse output instructions,
e.g. F171_PulseOutput_Trapezoidal (see page 1045), the target value in these
instructions must be within the same range.
When using in applications requiring precision, test runs with the actual machine
are necessary.
If both the main program and the interrupt program contain code for the same
channel, make sure both are not executed simultaneously.
FP-X: When a pulse output instruction is executed and pulses are being output,
the pulse output control flag (e.g. sys_bIsPulseChannel0Active) of the
corresponding channel is TRUE. No other pulse output instruction can be
executed as long as this flag is TRUE.
FP: 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.
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: Set "Pulse output" for the desired channel in the system registers.
When programs are being edited in RUN mode, pulse output stops but resumes
after the program changes have been downloaded.
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.
REFERENCE
Please refer to the FPWIN Pro online help for detailed information on using system variables.
Description for FP0R
Use the following predefined DUT: F175_PulseOutput_Linear_DUT_1
The following parameters can be specified in the DUT:
General programming information
Control code
1074

Advertisement

Table of Contents
loading

Table of Contents