HUST H2N Connection Manual
6 - 4
• CNC Control Unit Alarm Signal (S016)
The controller sands Bit S016 one-shot high (1) strobe to inform PLC unit when any
alarm occurs.
• Key Strobe (S017)
The controller sets Bit S017 one-shot high (1) strobe to inform PLC unit when any
key on HUST keyboard is pressed.
• Key Strobe for Key Being Pressed Twice in 0.5 sec (S018)
When a key on the keyboard is being pressed twice within 0.5 seconds, the controller
send S018 = 1 one-shot to PLC.
• Cursor Up Key Strobe (S020)
Cursor Down Key Strobe (S021)
The controller sets Bit S020 one-shot high (1) strobe to inform PLC unit when
CURSOR Up key is pressed. Bit S021 will be one-shot high (1) when CURSOR
Down key is pressed.
• Page Up Key Strobe (S022)
Page Down Key Strobe (S023)
The controller sets Bit S022 one-shot high (1) strobe to inform PLC unit when PAGE
Up key is pressed. Bit S023 will be one-shot high (1) when PAGE Down key is pressed.
• M-, T- and S-Code Strobe (S024~S026),
When an M-code is executed in a part program, S024 will be set one-shot high (1)
strobe.
When a T-code is executed in a program, S025 will be set one-shot high (1).
When an S-code is executed in a part program, S026 will be set one-shot high (1).
Note that the controller system defined M-codes, such as M00, M01, M02, M30, M98
and M99 will not yield an M-code strobe (S24) but the user defined M-code will.
• Servo Motor Status (S064~S065, S088)
When one of the 2 motors in any axis or 2 motors is in motion, bit S088 is set to high
(1). To determine which motor is in motion, check S064~S065.
S064=1, X-axis motor running.
S065=1, Y-axis motor running.
• In Process Status Bit (S080)
Whenever HUST control unit is executing a part program including option stop
(M01), Bit S080 is set high (1) until the program end (M02, M30, M99).