![Mitsubishi Electric MELSEC System Q Special Instructions Manual Download Page 281](http://html.mh-extra.com/html/mitsubishi-electric/melsec-system-q/melsec-system-q_special-instructions-manual_239154281.webp)
8 BUILT-IN I/O FUNCTION INSTRUCTION
8.1 Positioning Function Dedicated Instruction
279
8
Program example
• The following program starts the forward JOG operation when M0 turns ON, and starts the reverse JOG operation when M1
turns ON.
Device
Item
Setting data
D0, D1
JOG speed
10000(pulse/s)
D2
JOG acceleration time
1000(ms)
D3
JOG deceleration time
[Structured ladder/FBD]
[ST]
DMOV(SM402, 10000, D0);
MOV(SM402, 1000, D2);
MOV(SM402, 1000, D3);
OUT( M0, M2 );
OUT(M1,M3);
IPJOG1((M2 AND (NOT M3)) OR( (NOT M2) AND M3), D0 , M3);
Summary of Contents for MELSEC System Q
Page 1: ...MELSEC Q L Structured Programming Manual Special Instructions ...
Page 2: ......
Page 307: ...10 SFC CONTROL INSTRUCTION 10 2 SFC Transition Condition Comment Read 305 10 MEMO ...
Page 309: ...I 307 MEMO ...
Page 315: ......