Mitsubishi Electric MELSEC iQ-F Series User Manual page 38

Positioning control
Hide thumbs Also See for MELSEC iQ-F Series:
Table of Contents

Advertisement

5.6
Interrupt 1-Speed Positioning
The positioning function uses the DVIT/DDVIT instruction to perform one-speed interrupt constant quantity feed.
With this instruction, interrupt signals can be controlled through user programs.
DVIT/DDVIT
This instruction executes one-speed interrupt constant quantity feed.
Ladder
(s1)
(s2)
(d1)
Setting data
■Description, range, data type (DVIT)
• FX5 operand
Operand
Description
(s1)
Word device number storing the positioning address or
*1
data
(s2)
Word device number storing command speed or data
(d1)
Axis number from which pulses are output
(d2)
Bit device number of the instruction execution complete
flag and abnormal end flag
• FX3 compatible operand
Operand
Description
(s1)
Word device number storing the positioning address or
*1
data
(s2)
Word device number storing command speed or data
(d1)
Output bit device number (Y) from which pulses are output
(d2)
Bit device number from which rotation direction is output
*1 The positioning address can be changed during positioning operation. (Page 31 Positioning address change during positioning
operation)
*2 Command speed can be changed during positioning operation. (Page 32 Command speed change during positioning operation)
ST
ENO:=DVIT(EN,s1,s2,d1,d2);
ENO:=DDVIT(EN,s1,s2,d1,d2);
(d2)
Range
-32768 to +32767
(User system unit)
*2
1 to 65535
(User system unit)
K1 to 4
Range
-32768 to +32767
(User system unit)
*2
1 to 65535
(User system unit)
0 to 3
FBD/LD
EN
s1
s2
d1
Data type
Data type (label)
16-bit signed binary
ANY16
16-bit unsigned binary
ANY16
16-bit unsigned binary
ANY_ELEMENTARY
(WORD)
Bit
ANY_BOOL
Data type
Data type (label)
16-bit signed binary
ANY16
16-bit unsigned binary
ANY16
Bit
ANY_ELEMENTARY
(BOOL)
Bit
ANY_BOOL
5 POSITIONING INSTRUCTION
5.6 Interrupt 1-Speed Positioning
ENO
d2
5
93

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec iq-f fx5

Table of Contents