Pulse output instructions
1054
Part III FP Instructions
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.
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.
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 F171_PulseOutput_Home (see page 1322)
Variable Data type Function
s_dutDataTable F171_PulseOutput_Home_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
For Relay T/C Register Constant
s_dutDataTable - - - - - - DT - - -
n_iPulseOutputChannel - - - - - - - - - dec. or hex.
No. IEC address Set If
R9007 %MX0.900.7 permanently
R9008 %MX0.900.8 for an instant
channel number or values of the data table are outside the
permissible range
initial speed > target speed
FP-X: pulse output has not been set in the system registers
Data types
Operands
Error flags
Example
In this example the function has been programmed in ladder diagram (LD) and structured text (ST).
The same POU header is used for all programming languages.
GVL
In the global variable list, you define variables that can be accessed by all POUs in the project.
DUT
The DUT F171_PulseOutput_Home_DUT is predefined in the FP Library.