Pulse output instructions
1088
Part III FP Instructions
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.
PLC types Availability of F177_PulseOutput_Home (see page 1322)
Variable Data type Function
s_dutDataTable F177_PulseOutput_Home_Type0_DUT or
F177_PulseOutput_Home_Type1_DUT
Starting address of area containing the
data table
n_iPulseOutputChannel decimal constant Pulse output channel: 0–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
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 F177_PulseOutput_Home_Type1_DUT is predefined in the FP Library.
POU header
All input and output variables used for programming this function have been declared in the POU
header.