Pulse output instructions
1076
Part III FP Instructions
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.
Output relays and system variables for FP0R
PLC types Availability of F175_PulseOutput_Linear (see page 1322)
Variable Data type Function
n_iPulseOutputChannel 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
FP0R: 0, 1, 2, 3
For interpolation, channel 0 and 1 or channel 2 and
3 are used as pairs. You may only specify 0 or 2 (for
C14T: 0 only).
s_dutDataTable
FP-
, FP-X:
F175_PulseOutput_Linear_DUT_0
FP0R:
F175_PulseOutput_Linear_DUT_1
Starting address of area containing the data table
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
Fmin > Fmax
Fmax > 100kHz
FP-X C14T, C30/60T (using channel 2 and 3): Fmax > 20kHz
Relative value control: [elapsed value + target value] is outside
the range of -8388608 to +8388607
Absolute value control: target value is outside the range
of-8388608 to +8388607
FP-X: pulse output has not been set in the system registers
Data types
Operands
Error flags