Download Print this page

Bit Data Variable Speed Pulse - Mitsubishi Electric MELSEC iQ-F FX5 Programming Manual

Instructions, standard functions/function blocks
Hide thumbs Also See for MELSEC iQ-F FX5:

Advertisement

32-bit data variable speed pulse

DPLSV [For the FX3 compatible operand specification]
This instruction outputs variable speed pulses with an assigned rotation direction output. The high-speed pulse input/output
module is not supported.
Ladder diagram
(s)
(d1) (d2)
FBD/LD
EN
ENO
s
d2
d1
Setting data
■Descriptions, ranges, and data types
Operand
Description
(s)
Command speed
(d1)
Bit device number (Y) from which pulses are output
(d2)
Bit device number from which the rotation direction is output
EN
Execution condition
ENO
Execution result
■Applicable devices
Operand
Bit
X, Y, M, L, SM,
F, B, SB, S
(s)

*1

(d1)
*2
(d2)
*1 Only Y can be used.
*2 When the output mode is CW/CCW, specify the CCW axis. When the output mode is PULSE/SIGN and using Y, only the SIGN output or
general-purpose output of the self-axis can be specified.
*3 T, ST, C cannot be used.
Processing details
This instruction outputs variable speed pulses with an assigned rotation direction output.
• For (s), specify the command speed to be output. (The speed must be 200 Kpps or lower in frequency.)
• For (d1), specify the device from which pulses are output. Only the output devices (Y) having positioning parameters can
be specified.
• For (d2), specify the device from which the rotation direction signal is output. Only the device specified with the parameter
or general-purpose outputs can be specified. When the output devices (Y) is executed by another function (PWM,
positioning PULSE axis, or CW/CCW axis etc.), the device does not function and causes an error.
For details on the function, precautions, and error code, refer to MELSEC iQ-F FX5 User's Manual (Positioning Control -
CPU module built-in, High-speed pulse input/output module).
Word
T, ST, C, D, W,
U\G
SD, SW, R
*3
Structured text
ENO:=DPLSV(EN,s,d1,d2);
Range
Data type
-2147483648 to +2147483647
32-bit signed binary
0 to 3
Bit
Bit
Bit
Bit
Double word Indirect
specification
Z
LC
LZ
16.1 Dedicated Instruction (Positioning Function)
Data type (label)
ANY32
ANY_ELEMENTARY
(BOOL)
ANY_BOOL
BOOL
BOOL
Constant
K, H
E
$
16 POSITIONING INSTRUCTION
16
Others
863

Hide quick links:

Advertisement

loading