EasyManua.ls Logo

Emotiontek MCU 2 Axis - 3.4 Example of a homing return

Emotiontek MCU 2 Axis
204 pages
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...
- 56 -
Chapter 3. Homing
3.4 Example of a homing return
1) Example of a homing return using a PLC exclusive command
Execute a homing return when the X0.7 signal is turned ON.
LOADP X0.7 Æ When X0.7 changes from‘0’to‘1’
ORG Æ This is an exclusive command to execute a homing return.
2) Example of a homing return using an M contact (not-recommended function)
Execute a homing return when the X0.7 signal is turned ON.
The homing return direction is negative.
LOADP X0.7
SET M0.0
SET M0.1
LOAD M0.0
AND N0T M50.B Æ M50.B[ORG] ORG mode state bit
OUT M80.B Æ M80.B[ORG] ORG mode commanding bit
LOAD M0.0
AND M50.B Æ M50.B[ORG] ORG mode state bit
AND NOT M50.C Æ M50.C[ZP1] X-axis return completion state bit
OUT M80.D Æ M80.D[A1-] X-axis manual feed – direction commanding bit
LOAD M0.1
AND M50.B Æ M50.B[ORG] ORG mode state bit
AND NOT M50.D Æ M50.D[ZP2] Y-axis return completion state bit
OUT M80.F Æ M80.F[A2-] Y-axis manual feed – direction commanding bit
LOAD M50.C Æ M50.C[ZP1] X-axis return completion state bit
OR M80.1 Æ 80.1[ERS] RESET commanding bit
RST M0.0
LOAD 50.D Æ M50.D[ZP2] Y-axis return completion state bit
OR M80.1 Æ 80.1[ERS] RESET commanding bit
RST M0.1