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);
Содержание 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: ......