- 172 -
Chapter 9. Standard Input/ Output Signal
5) MPG operation
This operation is for manual movement in the pulse quantity magnification inputted in the
EXT-ENC port. This function is used only for an MPG mode.
*100[M97.D]
*10[M97.C]
*1[M97.B]
Magnification
0
0
1
Move 1
μ
m per pulse
0
1
0
Move 10
μ
m per pulse
1
0
0
Move 100
μ
m per pulse
1
0
1
Move to a designated distance at L96 per pulse
1
1
0
Move to a designated distance at L97 per pulse
1
1
1
Move to a designated distance at L98 per pulse
Set the MPG mode to an input contact X0.5 and the axis to move to X0.6.
Set the MPG magnification to an external contact X0.7~X0.9.
If the MXY[M97.A] input signal becomes ‘1’, then the Y axis is selected, and if it becomes
‘0’, then the X axis is selected.
LOAD X0.5
AND NOT M50.F
Æ
M50.F[MPG]
MPG mode state bit
OUT M80.6
Æ
M80.6[MPG]
MPG mode command bit
LOAD X0.6
OUT M97.A
Æ
M97.A[MXY]
MPG axis selection bit
LOAD X0.7
OUT M97.B
Æ
M97.B[*1]
1
st
command bit of MPG magnification
LOAD X0.8
OUT M97.C
Æ
M97.C[*10]
2
nd
command bit of MPG magnification
LOAD X0.9
OUT M97.D
Æ
M97.D[*100]
3
rd
command bit of MPG magnification
The above functions can be replace by a PLC motion related application command as follows:
LOAD X0.5
MPG
LOAD X0.6
OUT M97.A
Æ
M97.A[MXY]
MPG axis selection bit
LOAD X0.7
OUT M97.B
Æ
M97.B[*1]
1
st
command bit of MPG magnification
LOAD X0.8
OUT M97.C
Æ
M97.C[*10]
2
nd
command bit of MPG magnification
LOAD X0.9
OUT M97.D
Æ
M97.D[*100]
3
rd
command bit of MPG magnification
X axis selection[MPG]
Y axis selection [MPG]
Содержание MCU 2 Axis
Страница 1: ...User s Manual 2 AXES...