274
8 BUILT-IN I/O FUNCTION INSTRUCTION
8.1 Positioning Function Dedicated Instruction
Setting data
*1 Enter the setting value to the program as described below.
1 to 32767: Enter in decimal
32768 to 65535: Enter after converting it to hexadecimal
*2 The restricted speed value may be applied when the set value of the command speed is not within 0 to 200000.
Program example
• The following program sets the following positioning data and starts the axis 1 when M0 turns ON.
Device
Item
Setting data
Setting range
Setting side
(s)[0]
Control system
1: Positioning control (ABS)
2: Positioning control (INC)
3: Speed/position switching control (forward RUN)
4: Speed/position switching control (reverse RUN)
5: Current value change
6: Speed control (forward RUN)
7: Speed control (reverse RUN)
1 to 7
User
(s)[1]
Acceleration/deceleration time
0 to 32767(ms)
(s)[2]
Deceleration stop time
0 to 32767(ms)
(s)[3]
Dwell time
0 to 65535(ms)
(s)[4]
Command speed
0 to 200000
(pulse/s)
(s)[5]
(s)[6]
Positioning address/movement
amount
-2147483648 to
2147483647(pul
se)
(s)[7]
Device
Item
Setting data
D0
Control system
Positioning control (ABS)
D1
Acceleration/deceleration time
1000(ms)
D2
Deceleration stop time
1000(ms)
D3
Dwell time
0(ms)
D4, D5
Command speed
20000(pulse/s)
D6, D7
Positioning address/movement amount
100000(pulse)
[Structured ladder/FBD]
[ST]
MOV( M0, 1, D0);
MOV( M0, 1000, D1);
MOV( M0, 1000, D2);
MOV( M0, 0, D3);
DMOV( M0, 20000, D4);
DMOV( M0, 100000, D6);
IPDSTRT1P(M0, D0);
Содержание MELSEC System Q
Страница 1: ...MELSEC Q L Structured Programming Manual Special Instructions ...
Страница 2: ......
Страница 307: ...10 SFC CONTROL INSTRUCTION 10 2 SFC Transition Condition Comment Read 305 10 MEMO ...
Страница 309: ...I 307 MEMO ...
Страница 315: ......