HUST H2N Connection Manual
6 - 18
O01
N10 G55
N20 U100.
N30 M02
2. When C123 = 1~0 (falling edge) in PLC, it triggers the controller to use the
group number as stored in R228 with the corresponding data in MCM #1~#12
for work coordinate system. Again, press RESET will restore to G54 system.
For example, use G55 (2nd group) work coordinate as the current working
coordinate.
Step 1- Let R228 = 1. (Table 6-5)
Step 2- Set C123 = 1→0 (falling edge) in PLC. This triggers controller to
use G55 as work coordinate and the data in MCM #3~#4 as G55
coordinate origin.
3.
Bits C080~C081 are also commands to set work coordinate. But they differ
from C123 in that they set the current program position as the working
coordinate. For example, when bit C080 = 1→0 (falling edge trigger), the
controller will set the current program position for X-axis (assuming X=10.) as
the working coordinate origin, i.e., X = 0. The machine position of the new
origin will be stored in the appropriate MCM parameters.
• Clear the Current Axial Work and Machine Coordinate to Zero (C096~C097)
C096 = 1, Clear the work and machine coordinate at current tool position on X-axis
to zero.
C097 = 1, Clear the work and machine coordinate at current tool position on Y-axis
to zero.
C096~C097 are used to clear both work and machine coordinates
when the program
is NOT in execution mode. They are not effective when program execution is in
process.
• Spindle Control (C117)
Spindle control can be divided in two (2) ways:
1. Closed loop control (C117=1) with encoder feedback – This allows you to
control the spindle position and the speed.
2. Open loop control (C117=0) without encoder feedback – Control the spindle
speed.
C080~C085 High (1)
Low Signal (0)
Falling Edge Trigger (1~0)