Interrupt 1-Speed Positioning - Mitsubishi Electric MELSEC iQ-F FX5 User Manual

Programmable controller
Hide thumbs Also See for MELSEC iQ-F FX5:
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 (Supported only for CPU module)
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 36 Positioning address change during positioning
operation)
*2 Command speed can be changed during positioning operation. (Page 37 Command speed change during positioning operation)
*3 CPU module: K1 to 4 (Axis 1 to Axis 4)
High-speed pulse input/output module: K5 to 12 (Axis 5 to Axis 12)
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 12
Range
-32768 to +32767
(User system unit)
*2
1 to 65535
(User system unit)
0 to 3
Data type
16-bit signed binary
16-bit unsigned binary
*3
16-bit unsigned binary
Bit
Data type
16-bit signed binary
16-bit unsigned binary
Bit
Bit
5 POSITIONING INSTRUCTION
5.6 Interrupt 1-Speed Positioning
FBD/LD
EN
ENO
s1
d2
s2
d1
5
Data type (label)
ANY16
ANY16
ANY_ELEMENTARY
(WORD)
ANY_BOOL
Data type (label)
ANY16
ANY16
ANY_ELEMENTARY
(BOOL)
ANY_BOOL
113

Advertisement

Table of Contents
loading

Table of Contents