Xinje XD Series User Manual page 212

Hide thumbs Also See for XD Series:
Table of Contents

Advertisement

Instruction List:
LD
SM2
SET
Y2
LDP
Y2
CNT HSC2 K1000000
LD
SM0
CNT_AB HSC0 D0 D100
DMOV HSC0 D200
FEND
I2000
LD
SM0
SET
Y4
IRET
I2001
LD
SM0
RST
Y4
RST
Y2
SET
Y3
IRET
I2002
LD
SM0
SET
Y4
IRET
I2003
LD
SM0
RST
Y3
RST
Y4
SET
Y2
IRET
//SM2 is initial ON coil
//set ON Y2 (forward run)
// Back-forth times activate condition Y2
//HSC2 starts counting
//SM000 is normal ON coil
//HSC 100 segments first address
//read HSC0 counting value to D200
//main program end
//Interruption 1 flag
//SM0 is normal ON coil
//set ON Y4 (run at speed 1)
//interruption return
//interruption 2 flag
//SM0 is normal ON coil
//reset Y4 (stop running at speed 1)
//reset Y2 (stop forward running)
//set ON Y3 (reverse running)
//interruption return
//interruption 3 flag
//SM0 is normal ON coil
//set ON Y4 (run at speed 1)
//interruption return
//interruption 4 flag
//SM0 is normal ON coil
//reset Y3 (stop reverse running)
//reset Y4 (stop running at slow speed)
//set on Y2 (forward running)
//interruption return
211

Advertisement

Table of Contents
loading

This manual is also suitable for:

Xl seriesXd3Xd5

Table of Contents