600
8 APPLICATION INSTRUCTION
8.17 Pulse Related Instruction
PLSY [For the FX5 operand specification]
This instruction outputs 16-bit pulse trains specified by the command speed (s) from the device specified by the output (d) for
the amount of 16-bit pulses specified by the positioning address (n). The high-speed pulse input/output module is not
supported.
Setting data
■
Descriptions, ranges, and data types
■
Applicable devices
Processing details
• This instruction outputs 16-bit pulse trains specified by the command speed (s) from the device specified by the output (d)
for the amount of 16-bit pulses specified by the positioning address (n).
• Set the value from 0 to 65535 (in user unit) in the command speed (s), so that the command speed is 200 kpps or less
when the command speed is converted to frequency.
• Set the value from 0 to 65535 (in user unit) in the positioning address (n), so that the positioning address is within the range
from 0 to 2147483647 when the positioning address is converted to number of pulses.
• Specify the axis number (K1 to K4) in which positioning parameters exist in (d).
Ladder diagram
Structured text
ENO:=PLSY(EN,s,n,d);
FBD/LD
Operand
Description
Range
Data type
Data type (label)
(s)
Command speed or word device number storing data
0 to 65535
16-bit unsigned binary
ANY16
(n)
Positioning address or word device number storing data
0 to 65535
16-bit unsigned binary
ANY16
(d)
Axis number from which pulses are to be output
1 to 4
16-bit unsigned binary
ANY_ELEMENTARY
(WORD)
EN
Execution condition
Bit
BOOL
ENO
Execution result
Bit
BOOL
Operand
Bit
Word
Double word Indirect
specification
Constant
Others
X, Y, M, L, SM,
F, B, SB, S
T, ST, C, D, W,
SD, SW, R
U
\G
Z
LC
LZ
K, H
E
$
(s)
(n)
(d)
(s)
(n)
(d)
EN
ENO
s
n
d
(s)
(n)
Summary of Contents for MELSEC iQ-F FX5
Page 1: ...MELSEC iQ F FX5 Programming Manual Instructions Standard Functions Function Blocks ...
Page 2: ......
Page 17: ...15 CONTENTS ...
Page 24: ...22 MEMO ...
Page 1050: ...1048 26 TIME DATA FUNCTIONS 26 4 Division MEMO ...
Page 1068: ...1066 29 COUNTER FUNCTION BLOCKS 29 4 Counter Function Block Operation error There is no error ...
Page 1107: ...I 1105 MEMO ...
Page 1111: ......