EasyManua.ls Logo

Emotiontek MCU 2 Axis - Page 170

Emotiontek MCU 2 Axis
204 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
- 163 -
Chapter 9. Standard Input/ Output Signal
2) Automatic operation pause
Automatic operation is paused when the input contact X0.8 is‘1’.
LOAD X0.8
AND M50.4 ´ M50.4[STL] state bit while starting automatic operation
OUT M80.3 ´ M80.3[SP] automatic operation pause command bit
The above functions can be replaced by a PLC motion related application command as follows:
LOAD X0.8
STOP
3)Automatic operation program change
Change an automatic operation program when the input contact X0.9 changes to‘0’´‘1’.
The program number is inputted through X1.0 to X1.7.
LOADP X0.9
SET M0.0
LOAD M0.0
MCS
LOAD X1.0
OUT M87.0 ´ M87.0[Dn0] 1
st
command bit of the program number
LOAD X1.1
OUT M87.1 ´ M87.1[Dn1] 2
nd
command bit of the program number
LOAD X1.2
OUT M87.2 ´ M87.2[Dn2] 3
rd
command bit of the program number
LOAD X1.3
OUT M87.3 ´ M87.3[Dn3] 4
th
command bit of the program number
LOAD X1.4
OUT M87.4 ´ M87.4[Dn4] 5
th
command bit of the program number
LOAD X1.5
OUT M87.5 ´ M87.5[Dn5] 6
th
command bit of the program number
LOAD X1.6
OUT M87.6 ´ M87.6[Dn6] 7
th
command bit of the program number
LOAD X1.7
OUT M87.7 ´ M87.7[Dn7] 8
th
command bit of the program number
MCS NOT
During automatic operation
During automatic operation