Mitsubishi Electric MELSEC-L Special Instructions Manual page 281

Melsec-q/l structured programming manual
Hide thumbs Also See for MELSEC-L:
Table of Contents

Advertisement

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
D0, D1
JOG speed
D2
JOG acceleration time
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);
Setting data
10000(pulse/s)
1000(ms)
8 BUILT-IN I/O FUNCTION INSTRUCTION
8.1 Positioning Function Dedicated Instruction
8
279

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec-q

Table of Contents