HUST H9C CNC CONNECTING MANUAL. (Suitable for the controller: H6C. Feb, 2011



Similar documents
H6C-M Mill CNC Controller

HUST H9C CNC OPERATION MANUAL. (Suitable for the controller: H6C. Feb., 2011

HUST Lathe CNC Controller

H6C-T Lathe CNC Controller

MACHINEMATE. CNC SYSTEM Hardware SPECIFICATION

Mini Breakout-Board. CNC Interface for LPT Port. Installation Manual Version 4

How to read this guide

DMX-K-DRV. Integrated Step Motor Driver + (Basic Controller) Manual

SERVICE INSTRUCTION R410A. WALL MOUNTEDtype INVERTER SPLIT TYPE ROOM AIR CONDITIONER. Models Indoor unit Outdoor unit

Series LC6D/LC6C. To power supply PLC. LC6C dedicated teaching box P.971. Options P.973

HIGH PRODUCTION DUAL DRIVE HORIZONTAL MACHINING CENTER

Daker DK 1, 2, 3 kva. Manuel d installation Installation manual. Part. LE05334AC-07/13-01 GF

GSM HOME SECURITY SYSTEM

Setting up the DeskCNC controller.

UIM2901-5A MACH3 breakout board

Contactless Encoder RI360P0-QR24M0-INCRX2-H1181

AC-115 Compact Networked Single Door Controller. Installation and User Manual

HCS-3300/3302/3304 USB Remote Programmable Laboratory Grade Switching Mode Power Supply

HERZ-Thermal Actuators

Copyright. Adtech (Shenzhen) Technology Co., Ltd. (Adtech hereafter) is in possession of the

APPENDIX. SureSERVO QUICK START GUIDE. In This Appendix... Quick Start for SureServo Drives...A 2. Tuning Quick Start for SureServo Drives...

1. EXTERNAL ALARM MESSAGE

Three Axis TB6560 CNC Driver Users Manual

CNC MILLING MACHINE TROUBLE SHOOTING. 1. Trouble Shooting. No Trouble Solution. 1.Check the air pressure

SAMSUNG Machine Tools

Signature Norman Crepeau Special Condition Subject to prior sale Johnford ST60B. CNC Turning Center

Dyeing Programmer DP - 01

CNC Programming. Lecture 25. Engineering 475 Automated Production Systems

Brake module AX5021. Documentation. Please read this document carefully before installing and commissioning the brake module!

TwinCAT NC Configuration

AUTOMATIC TRANSFER SWITCH CONTROL UNIT OPERATOR S MANUAL

101 COMM. FAILURE WITH MOCON/MOCON MEMORY FAULT

An overview of Computerised Numeric Control (C.N.C.) and Programmable Logic Control (P.L.C.) in machine automation

DC-8706K Auto Dial Alarm System

Multifunction devices

Galleon 6-10K Online UPS. Voltronic Power Technology Corporation

CNC Milling Engraving machine G4030A Instruction manual

Automation System TROVIS 6400 TROVIS 6493 Compact Controller

SERVICE INSTRUCTION R410A. WALL MOUNTEDtype SPLIT TYPE ROOM AIR CONDITIONER INVERTER. Models Indoor unit Outdoor unit AOU 9RLFW AOU12RLFW AOU15RLS

CHAPTER 11: Flip Flops

How To Control A Power Supply With A Mini Transmitter And Switch (Power Supply)

Datasheet of the Easy Servo Drive ES-D VDC, 8.2A Peak, Close-loop, No Tuning. Version

Easy Machining Center Setup

Industrial Automation Training Academy. PLC, HMI & Drives Training Programs Duration: 6 Months (180 ~ 240 Hours)

Technical data. General specifications. Indicators/operating means. 30 Hz Multiplex operation 30 Hz / n, n = number of sensors, n 5

Application Note AN-SERV-006

Series Six Plus Programmable Controller

Firmware version: 1.10 Issue: 7 AUTODIALER GD30.2. Instruction Manual

USER MANUAL V5.0 ST100

Mach4 CNC Controller Mill Programming Guide Version 1.0

INSTALLATION/PROGRAMMING INSTRUCTIONS E4KP ENTRYCHECK

UNIT 1 INTRODUCTION TO NC MACHINE TOOLS

A1000 Cheat Sheet (Open Loop Vector)

Programmable Terminal. NPSeries. Easy Setup with the Low-cost, Compact NP Series

Inwall Room Temperature Unit

RISH CON - Hz. Salient Features : Application : Product Features: FREQUENCY TRANSDUCER

LIFT CONTROL SYSTEMS CATALOGUE 2007

Doc.No. NDP 192U-02. Electric Pump Controller CE-124P. Instruction Manual

X8 Option 2 - Technology

CM705B - Universal Expander Module CM707B - Plug On Zone Expander Security Systems

JNIOR. Overview. Get Connected. Get Results. JNIOR Model 310. JNIOR Model 312. JNIOR Model 314. JNIOR Model 410


SYSTEM 4C. C R H Electronics Design

Six-servo Robot Arm. DAGU Hi-Tech Electronic Co., LTD Six-servo Robot Arm

EXPERIMENT 2 TRAFFIC LIGHT CONTROL SYSTEM FOR AN INTERSECTION USING S7-300 PLC

Tubular Analog model resolution: 0,5 mm (SLOW mode), 1 mm (FAST mode) Right angle Repeatibility: 0,7 mm Vdc

MTS Power Products MIAMI FL ATS-22AG. Automatic Transfer Switch And Control PLC Operator s Manual

SAMSUNG Machine Tools

Programming Logic controllers

How To Power A Power Control On An Ip40 (Ipl) With A Power Supply (Iplug) With An Ip20 Controller (Iphones) With Power Control (Power Control) With No Antenna) With The Ip20 (Power)

AXIS 291 1U Video Server Rack Installation Guide

TURBOtech srl. SED-635 Digital Excitation System. Industrial Electronics Sector FEATURES

LIFT CONTROL SYSTEMS CATALOGUE 2007

SMS Alarm. User Manual

MELDAS is a registered trademark of Mitsubishi Electric Corporation. Other company and product names that appear in this manual are trademarks or

The GV-I/O Box 8 Ports provides 8 inputs and 8 relay outputs, and supports both DC and AC output voltages.

NX Series Inverters. HVAC Pocket Programming Guide

ServoOne. Specification. Option 2 - Technology. x 11. x 8 X 8. x 10. x 9. x 7. x 6 TTL Encoder / TTL Encoder simulation

Programming A PLC. Standard Instructions

Quick Installation. A Series of Intelligent Bar Code Reader with NeuroFuzzy Decoding. Quick Installation

TEMON 8-C. Doc. N MO-0370-ING TEMPERATURE MONITOR DEVICE TYPE TEMON 8-C OPERATION MANUAL. Microener - Copyright 2010 FW 2.2 Date Rev.

SYSTEM 45. C R H Electronics Design

MANUAL PC1000R

e-4 AWT07MLED 7 Q TFT LCD MONITOR (LED Backlighted) USER MANUAL

[F/T] [5] [KHz] [AMP] [3] [V] 4 ) To set DC offset to -2.5V press the following keys [OFS] [+/-] [2] [.] [5] [V]

PPM Users Manual Signature Software

TMS TANK MANAGEMENT SYSTEM

ModS. SIO. USB analog. computer

Fanuc 0 M/T Model C Serial (RS232) Connection Guide

Home Security Alarm System

CAUTION! THE 7I29 USES VOLTAGE AND POWER LEVELS THAT REPRESENT A HAZARD TO LIFE AND LIMB.

PLCM-T1 / PLCM-T2 Torch height controller

PolyBot Board. User's Guide V1.11 9/20/08

is then retained absolutely without interruption.

Designing an efficient Programmable Logic Controller using Programmable System On Chip

Electric Rotary Actuator - On/Off or programmable control actuator

The GV-I/O Box 16 Ports provides 16 inputs and 16 relay outputs, and supports both DC and AC output voltages.

Fire Alarm Control Panel. Family. Operating Manual

Technical data. General specifications. Signal voltage V DC Signal duration. 1 s Input 2. Signal voltage. 1 s Analog output.

ABNORMAL OPERATION Error code Display. Specifics Error Code. Subsection Error Code. Subsection and Specifics Error code target

Transcription:

HUST H9C CNC CONNECTING MANUAL (Suitable for the controller: H6C H6CLH9CH9CL) Feb, 2011 HUST Automation Inc. No. 80 Industry Rd., Toufen, Miaoli, Taiwan, R.O.C. Tel: 886 37 623242 Fax: 886 37 623241

Contents TABLE OF CONTENTS 1 INTRODUCTION 1-1 2 INSTALLATION AND DIMENSION 2-1 2.1 Environmental Requirements 2-1 2.2 Cabinet Considerations 2-1 2.3 Thermal Design for the Cabinet 2-2 2.4 External Dimensions And Diagrams 2-3 2.4.1 HUST H9C Controller and accessories 2-3 H9C Controller by All Series 2-3 H9C Accessories 2-3 2.4.2 HUST H9C/H6C Controller Dimensions (8 LCD) 2-4 H9C Series 2-4 H6C Series 2-6 2.4.3 HUST H9CL/H6CL Controller Dimensions (10.4 LCD) 2-8 H9CL Series 2-8 H6CL Series 2-10 2.4.4 HUST H9C Single board 2-12 2.4.5 H9C Accessories 2-13 Single Board 2-13 H9C/H6C Auxiliary Panel 2-15 H9CL/H6CL Auxiliary Panel 2-15 3 CONNECTING DIAGRAMS 3-1 3.1 Connector Type 3-1 3.2 Connector Designation 3-1 3.3 Connector Pin Definition 3-2 DA/AD Pin Assignment 3-2 DA/AD Control Signals 3-3 G31 INPUT Control Signals 3-3 Axial Control, pin assignment and wiring 3-4 Servo on wiring diagram -1 3-5 Servo on wiring diagram -2 3-6 MPG Hand-wheel Connecting Diagram 3-7 Wiring of Spindle Control 3-8 Wiring of Spindle Control Voltage command 3-8 Wiring of Spindle ControlPulse command 3-9 AC Power System Connection 3-10 Emergency-Stop wiring diagram -1 3-11 Emergency-Stop wiring diagram -2 3-12 RS232 Connector Pin Assignment and Connection Diagram 3-13 4 I/O (Input/Output) INTERFACE CONNECTION 4-1 i

HUST H9C Connecting Manual 4.1 I/O Interface Connection 4-1 SIO Module Board 4-2 I/O Board 4-6 NPN Output Relay Board 4-6 AC Power Output Module Board 4-7 DC Power Output Module Board 4-7 Axes Control Module Board 4-8 Designation and Pin Assignment 4-8 4.2 SIO Module Board Connection 4-9 4.3 Emergency-Stop Circuit 4-16 5 INTERFACE BETWEEN CNC CONTROLLER AND PLC 5-1 5.1 HUST H9C Series Status Signal S-Bits 5-1 5.1.1 S-Bit Signal And PLC Cycle Time Chart 5-4 5.1.2 Descriptions Of S-Bits 5-4 Square Wave Signal with 0.75sec ON,0.25sec OFF (S000) 5-4 Reset Key Strobe (S001) 5-4 Cycle Start Key Strobe (S002) 5-4 None pre-program and ending-program(s003) 5-4 Square Wave Signal with Wave Period (S008~S011) 5-5 CNC Control Unit Alarm Signal (S016) 5-5 Key Strobe (S017) 5-5 Key Strobe for Key Being Pressed Twice in 0.5sec (S018) 5-5 Cursor Up Key Strobe (S020) 5-5 Cursor Down Key Strobe (S021) 5-5 Page Up Key Strobe (S022) 5-5 Page Down Key Strobe (S023) 5-5 M-, T-, S-Code Strobe (S024~S026) 5-5 Signal for Spindle Motor In-position or When Grid-point Found (S030) 5-6 Signals for X/Y/Z/A/B/C/U/V/W-axes Servo Motor Running Status (S064-S072) 5-6 In Process Status Bit (S080) 5-6 Spindle Motor Speed Less Than 60 RPM (S081) 5-6 Rotating Signal for Spindle Motor (S085) 5-6 Signals for Servo Motor Running Status (S088) 5-6 Key Signals from PC or Easyview (S104~S111) 5-7 Battery low signal S120 5-7 RS232 Linkage Signal (S123) 5-7 PLC interrupt signals125 5-7 Key Strobe for Key Being Pressed Down and Hold Down (S126) 5-7 Ladder Simulation Mode (S127) 5-7 X/Y/Z/A/B/C/U/V/W-axes - Home Signal at Machine Coordinate=0 (S160~S168) 5-7 Positioning Execution in PLC (S208~S216) 5-7 5.2 PLC Command Signal C-bits 5-9 ii

Contents 5.2.1 C-bit explanation 5-14 Machine Lock/Feed-Hold (C000) 5-14 Effect of Feed-Hold on output control command G11 5-14 RESET (C001) 5-15 Emergency Stop Signal (C002) 5-15 Cycle Start (C004) 5-15 Program No. Selection By Enter Key (C005) 5-15 Single Block (C006) 5-16 NC Alarm and Stop key (C007) 5-16 Background edit (C008) 5-16 Program NO. Selection by external I/O (C009) 5-16 Testing the second software limit (C010) 5-16 Program Restart-1 (C011) 5-17 Program Restart-2 (C012~C013) 5-18 Program Restart-3 (C014) 5-18 Dry Run (C015) 5-19 When the program restarts, it will directly execute the contents below the restart single block,(c017) 5-19 Cursor Up and Down Key (C020~C021) 5-20 Page Up and Down Key (C022~C023) 5-20 Bit searching function in Edit mode (C024) 5-20 The program reading function is established with use of V10932 and V13449 (C025) 5-21 Option Stop (C026) 5-21 Option Skip (C027) 5-22 Speed Deceleration Selection For G31 Skip Function (C028) 5-22 G31 velocity changes from MFO (C029) 5-22 Counter Status (C030) 5-22 PLC ladder Simulation (C031) 5-23 M-, T-, S-code Command Finish Signal (C032~C034) 5-23 Round Corner Non-stop Operation (C036) 5-23 LCD Delayed Display (C037) 5-23 The Auto-Teach mode is established (C040) 5-23 The function of dynamic software limit is established (C041) 5-24 When the fill grid restarts the program in AUTO mode, it will hold the display of the program (C049) 5-24 When the fill grid is in the automatic state, the cursor will indicat the program number being executed (C050) 5-24 Simulating the input signal of the spindle Encoder (C052) 5-24 MPG Hand-wheel Test Mode (C056) 5-24 Return to The Last Program Block (C057) 5-25 Program Edit And MCM Edit Function Disabled (C058~C059) 5-25 Setting a relative coordinate (C060) 5-25 Copy function (C061) 5-25 HOME Execution Command (C063) HOME Limit Switch Signals for X/Y/Z/A/B/C-axis (C064~C072) 5-25 Making Copy of A Program File (C079) 5-26 Use the Current Program Position as Working Coordinate (C080~C088) 5-27 iii

HUST H9C Connecting Manual Clear the Current Program and Machine Coordinate to Zero (C096~C104) 5-28 Spindle following error and position zeroing (C111) 5-29 The spindle number indicating function is established (C112) 5-29 Program simulation mode, no V-Command output & no encoder Feedback (C115) 5-29 Spindle Motor Control (C116~C119, C121) 5-29 Spindle Motor searching for GRID point (C116) 5-29 Spindle Motor under closed-loop control (C117) 5-29 Spindle Motor rotational direction control (C118) 5-29 Angular set position for spindle motor (G119) 5-29 Program Selection from External I/O Device (C120) 5-32 Spindle Speed Control ( in %) from External I/O Device (C121) 5-32 Set Work Coordinate (C123) 5-32 Checking that the IO does not show the KEY CODE (C124) 5-33 Simultaneous Execution for M-code, S-code, T-code (C125) 5-33 Axial Data Input Disabled in TEACH Mode (C128~ C136) 5-33 DRO Mode Enabled (C144~C1152) 5-33 Signal for Over-travel (OT) Limit Switch (C160~C177) 5-33 Clear Error-Count to Zero (C192~C200) 5-34 X/Y/Z/A/B/C/U/V/W-axis Rapid Positioning Signal (C208~C216)5-34 In Edit or Teach mode, Insert and Input functions are not used Completely (C220) 5-36 In Edit or Teach mode, the Insert function is not used. (C221) 5-36 Input method of the milling machine tool compensation data incremental / absolute (C222) 5-36 Rapid Positioning (increasing value) signal (C223) Special C-bit for G28,G29 and G30 (C224~C225) 5-36 Adjustment for MCM Parameters through PLC Ladder (C226) 5-36 Variable Value Input/Output Blocked (C227) 5-37 JOG Mode Enable Command (C228) 5-37 G01 Feed-rate Adjustment by MPG Hand-wheel (C229,C230) 5-37 Load File from EPROM/FLASH-Rom (C231) 5-38 Clear G54 Work Coordinates to Zero (C233) 5-38 Program Simulation using MPG Hand-wheel (C235) 5-38 User Defined Keyboard keys (C236) 5-38 Using the second set of handwheel, (C237) 5-41 When the program restarts, M, T, S and G04 commands are skipped, (C240) 5-41 To set the rotational axis, each rotational axis is not cleared to zero, (C241) 5-41 MPG Hand-wheel Feed Interrupt Mode (C242) 5-41 Easyview or LCD Screen In Sleep Mode (C243) 5-41 Suppressing Alarm ERROR-2 When Following Count>4096 (C244) 5-41 User Defined Keyboard Keys (C245) 5-41 LCD Display Function Disabled (C247) 5-43 When the fill grid displays, the cursor jumps out of the fill grid (C250) 5-43 iv

Contents When functions of G40/G41/G42 are established, the tool compensation is corrected linearly at the tangent. The round arc correction is cancelled (C251) 5-44 Milling Function Enabled (C252) 5-44 Lathe function Enabled (C254) 5-44 User Defined Keyboard Function Output (C255) 5-45 5.3 Description of PLC Register 5-46 5.3.1 Register singal descriptions 5-49 Execution Mode Selection (R100) 5-49 Displaying codes (R101) 5-49 Program Numbers to be copied from & into (R102,R103) 5-49 X & Y coordinate (R104 & R105) 5-50 Current Single block display during program execution (Y)(R106) 5-50 Pre-Set Program and End program ( R107 & R108) 5-51 Showing cursor location in column/row of a function table (R109&R110) 5-51 Program Number the Cursor Aiming At (R111) 5-52 The single block line number being edited by the system (C112) 5-52 Setting the maximum program number displayed in the machining Program (C113) 5-52 Storing the max program number (R114) 5-52 Setting the LCD display width (R115) 5-52 Display of self-defined MACRO program whan in execution Mode (R118) 5-53 Displaying RS232 execution mode (R119) 5-53 Axial ON/OFF (R121) 5-53 Reading the status signal sent from the PC or the man-machine interface, S104~S111 (R122) 5-53 Setting the F speed format (R123) 5-54 Displaying axial operational direction (R124) 5-54 When the program initiates the signal, the system will pre-catch the designated single block number (R125) 5-54 Composite functions (R126) 5-55 Number of Program Blocks Pre-Fetched to the System When Starting Program Execution (R127) 5-55 No LCD Display When Number of Program Blocks Pre-fetch Smaller Than R128 Setting Value (R128) 5-55 LCD display of refresh frequency (R129) 5-56 Spidle Motor Speed at 10V (R130) 5-56 Home Shift Value of Spindle Motor (R131) 5-56 Spindle RPM in Manual Mode (R132) 5-56 Spindle RPM When Searching for GRID (R133) 5-56 Angular Set Position for Spindle Motor (R134) 5-56 Number of Rotation for Spindle (R135) 5-56 Spindle home shift (R138) 5-56 AD1 (R142) 5-56 AD2 (R143) 5-56 User-defined Command Code (R154) 5-57 Setting the selection of an axial relative coordinate (R157) 5-60 v

HUST H9C Connecting Manual Feed Rate Setting for X/Y/Z/A/B/C/U/V/W-axes (R160-R168) Absolute Coordinate Setting for X/Y/Z/A/B/C/U/V/W axes (R180-R188) 5-60 Motor Deceleration Selection for G31 Skip Function (R190-R198) 5-61 Page Number for Liquid LCD Screen Display (R200) 5-61 Special Display Mode (R202) 5-61 Page Number Table (R203) 5-63 X&Y-Coordinate for the Top-left Corner of the Table Screen (R204, R205) 5-63 Read the cell value in the Function Table (R206) 5-63 Setting USB/SDC operation (R211) 5-64 Setting Feed-Rate Percentage for G00 MFO % (R220) 5-64 Setting Feed-Rate Percentage for G0x MFO % (R221) 5-65 Setting the Multiplier for MPG Pulse (R222) 5-65 Setting Spindle Gear Ratio (R223) 5-65 When C121=0, Spindle Speed Percentage=R224 Value (R224) 5-65 When C121=1, Spindle Speed Percentage=R225 Value (R225) 5-65 Selecting Program Number from External I/O Device (R226) 5-65 Setting the Selected Variable Number When Editing the Variable Data (R227) 5-66 Selecting Work Coordinate System (R228) 5-66 Setting the Number of Decimals for Display After Power On (R229) 5-66 Setting Page Number for Easyview Display (R230) 5-67 Setting tool compensation groups (R231) 5-67 Selecting the Axes in JOG and HOME Mode (R232) 5-67 Selecting X/Y/Z/A/B/C-Axes to Move in Positive (+) Direction With JOG Speed (R233) 5-68 Setting X/Y/Z/A/B/C -Axes to Move in Negative (-) Direction With JOG Speed (R234) 5-68 Display the Drivable (Enabled) Axes (R235) 5-69 Display the Axis That is on HOME Position (R236) 5-69 Display the Axis of which the HOMING Process has been Completed (R237 ) 5-70 Spindle Axis Selection (R238) 5-70 Displaying the FUNCTION KEY value (R240) 5-71 Display the Keyboard Key Code as Read by the Controller (R241) 5-71 Self-Defining Key Function (R242) 5-72 Selecting the second handwheel axial direction (R243) 5-73 Setting the second handwheel pulse rate (R245) 5-73 Displaying positive (+) direction of ERR14, 20 and axial direction of ERR02 (R247) 5-73 Displaying positive (-) direction of ERR14, 20 and axial direction of ERR02 (R248) 5-73 Setting axial SERVO ON (BIT=1 ON, BIT=0 OFF) (R249) 5-74 Input Signal Type for G31 (R250) 5-74 The Number of Error Code (R251) 5-75 The Number of the Mxxx Code (R252) 5-75 The Number of the Txxx Code (R253) 5-75 vi

Contents The Number of the Sxxx Code (R254) 5-75 For storing the Current Execution Program Numbers (R255) 5-76 5.4 Specified Variables 5-77 Set the cursor size #10781 5-77 #10782 & #10783 5-77 #10784 & #10785 5-78 #10786 & #10787 5-78 #10788 & #10789 5-79 5.5 Variables 5-80 Variables #10000~#10899 5-80 Special Variables Table 5-81 ErrorList description 5-82 Variables (VM) #12001~#13500 5-83 6 LADDER DIAGRAM 6-1 6.1 Introduction to Ladder Diagram (PLC or Ladder Program) 6-1 6.1.1 Interface Signal Definitions For PLC Ladder Diagram 6-1 6.1.2 Maximum Input/Output Point For PLC And PLC Editor 6-1 vii

HUST H9C Connecting Manual viii

1 Introuction 1 INTRODUCTION This manual explains the HUST H9C controller s electrical as well as structural design necessary for connecting the CNC to the machine tool. It also describes the HUST H9C connection signals including input, output, internal signals, such as S-bits and C-bits. This manual also describes the functions and the ladder diagram with corresponding signals. For the functional information of HUST H9C controller, please refer to HUST H9C Operation manual. This manual is intended for users with some basic electrical and electronic knowledges. HUST H9C SERIES of generally external accessories: (1) Communication interface: (a) RS232 Connection with PC, transfer data by software (b) USB Connection with PC, or directly transfer data (2) Motion control connection(axes) (a) H6C 1 6 Axis, can be controlled step motor and servo motor. (b) H9C 1 9 Axis, can be controlled step motor and servo motor. (c) Spindle control will occupation which of one axis (3) MPG Hand-wheel (MPG) (a) 2 set MPG (4) Series Input/Output Module(SIO) (a) SIO module board48 input//32 output Maximum in series6 modules maximum control 256 in/256 out. Auxiliary panel can be in series (2 nd panel) (b) Can be used with the following accessories: I/O Connect board(24 Input/16 Output) NPN output Relay boardmax. current for each output of the PCB is 1A. DC power module boardmax. current for each output of the PCB is 1A. AC power output module boardmax. current for each output of the PCB is 1A. Axes control module boardstep motor or servo motor (5) Analog output/ Analog input(ad/da) (a) 2 Set analog output0v ~ 10V (b) 2 Set analog input0v ~ 10V (c) G31 Input 1-1

HUST H9C Connecing Manual Communication Interface (a)h6c H9C (8 screen) USB Interface RS232 Interface PC Fig1-1 H9C 8 screen Communication interface (b)h6clh9cl( 10.4 screen) PC USB Interface RS232 Interface Fig1-2 H9CL 10.4 Communication interface (c)h9c single board(no screen) USB Interface PC RS232 Interface Fig1-3 H9C single board Communication interface 1-2

1 Introuction HUST H9C of generally external accessories:(h9c H9CLSingle Board) G31 Input(DB15LM pin 5) DAC-2 Output(DB15LM pin DAC-1 Output(DB15LM pin 1) ADC-2 Input(DB15LM pin 7) ADC-1 Input(DB15LM pin 6) X AC Servo Y AC Servo Z AC Servo A AC Servo MPG1 MPG2 W AC V AC U AC C AC 24in/16out B AC Optional: Use in combination as required #1SIO Module (48IN/32OUT) Relay Board AC Power Board 24in/16out Connected next SIO module: 6 modules.maximum. When use AXES CONTROL MODULE BOARD, last 64 I/O address Occupancy. DC Power Board Axes control module board Fig 1-4 1-3

HUST H9CConnection Manual HUST H6C of generally external accessories: (H6CH6CL) G31 Input(DB15LM pin 5) DAC-2 Output(DB15LM pin DAC-1 Output(DB15LM pin 1) ADC-2 Input(DB15LM pin 7) ADC-1 Input(DB15LM pin 6) X AC Servo Y AC Servo Z AC Servo A AC Servo B AC Servo MPG1 MPG2 C AC Servo 24in/16out #1SIO Module (48IN/32OUT) Relay Board AC Power Board 24in/16out Optional: Use in combination as required DC Power Board Connected next SIO module: 6 modules.maximum. When use AXES CONTROL MODULE BOARD, last 64 I/O address Occupancy. Axes control module board Fig 1-5 1-4

2 Installation and Dimendion 2 INSTALLATION AND DIMENSION 2.1 Environmental Requirements The design of the cabinet to house the CNC unit, the keyboard panel and the LCD display is the responsibility of the machine tool builder. The cabinet must be constructed and the unit installed in an environment satisfying the following conditions Ambient Temperature When operating: 0 o C to 45 o C. When storing or transporting the system: -20 o C to 55 o C. Temperature Variation Maximum: 1.1 o C/minute. Humidity Normally: 80% RH or less (Relative Humidity). For short period: maximum 95% RH. Vibration When operating: <= 0.075 mm with frequency 5 HZ. Noise When operating: withstand 2000V/100 sec pulse width every 10 m sec. Contact us when installing the system in an environment with high degree of dust, coolant, or organic solution. 2.2 Cabinet Considerations Pay attention to the following items when designing a cabinet for HUST H6C controller. The cabinet must be constructed to house the CNC unit, MDI panel and is always a completely enclosed box. The max temperature rise within the cabinet during operation should NOT exceed 10 o C higher than the ambient temperature. Sealing of the cable inlet/outlet or doors must be done thoroughly. To avoid the noise interference, various units, the connecting cable and the AC power source must be mounted at least 100 mm apart. In a magnetic field environment, this distance should be increased to at least 500 mm. When mounting the servo amplifier, please refer to the Servo Motor Manual.

HUST H9C Connecting Manual 2.3 Thermal Design for the Cabinet The cabinet for the control unit must be a closed structure, and the temperature rise within the cabinet must be 10 o C or less than the ambient temperature. When designing a metal cabinet for a CNC unit, two factors must be considered, which are the heat source and the radiation area. The heat source is from the CNC unit itself, users cannot do anything to reduce it. Therefore, the one thing that the user can do in controlling the temperature rise is the radiation area. The allowable temperature rise inside a metal cabinet can be estimated as follows: 1. With a cooling fan, the allowable temperature rise is 1 o C/6 W/1 m 2. 2. Without a cooling fan, the allowable temperature rise is 1 o C/4 W/1 m 2. This means that a cabinet with a radiation area of 1 m 2 and a cooling fan will have an internal temperature rise of 1 o C when a heating unit of 6 W (4W without a cooling) is inside the cabinet. The radiation area of a cabinet is the entire surface area of the cabinet minus the area contacting the floor. Example 1 (with a cooling fan): A cabinet has a 2 m 2 radiation area with a temperature rise of 10 o C. The maximum allowable heat value inside the cabinet is 6 W x 2 x 10 = 120 W. Therefore, the heat generated inside the cabinet must be kept less than 120 W. If the heat generated is 120 W or more in the cabinet, some other cooling devices, such as cooling fins, must be incorporated in the unit. Example 2 (without a cooling fan): A cabinet has a 2 m 2 radiation area with a temperature rise of 10 o C. The maximum allowable heat value inside the cabinet is 4 W x 2 x 10 = 80 W. Therefore, the heat generated inside the cabinet must be kept less than 80 W. If the heat generated is 80 W or more in the cabinet, some other cooling devices, such as fan, or cooling fins, must be incorporated in the unit.

2 Installation and Dimendion 2.4 External Dimensions and Diagrams 2.4.1 HUST H9C Controller and Accessoires * HUST H9C Controller by All Series Screen Controller series Dimensions 8 H6C H9C identical 10 H6CL H9CL identical Single Board H9C SB * HUST H9C Accessories Table 2-1 HUST H9CH6C Accessories Project Standard Options (a) SIO MODULE BOARD : 48 IN/32 OUT (b) I/O CONNECT BOARD : 24 IN/16 OUT (c) Auxiliarypanel H6CH9C (Operator panel) H6CLH9CL (d) NPN OUTPUT RELAY BOARD : 8 OUT (e) AC POWER OUTPUT MODULE BOARD : 8 OUT (f) DC POWER MODULE BOARD : 8 OUT (g) AXES CONTROL MODULE BOARD : 8 OUT (a)(b) item are standard accessories,all of items are 1 pcs. (c)(d)(e)(f)(g)item are options accessories User according to needs selection accessories.

HUST H9C Connection Manual 2.4.2 HUST H9C / H6C Controller Dimensions ( 8 LCD ) Fig 2-1 Front View Fig 2-2 Rear View

2 System Installation Fig 2-3 Top View Fig 2-4 Cutout

HUST H9C Connection Manual Fig 2-5 Front View Fig 2-6 Rear View

2 System Installation Fig 2-7 Top View Fig 2-8 Cutout

HUST H9C Connection Manual 2.4.3 HUST H9CL / H6CL Controller Dimensions ( 10.4 LCD ) * HUST H9CL Series Fig 2-9 Front View Fig 2-10 Rear View

2 System Installation Fig 2-11 Top View Fig 2-12 Cutout

HUST H9C Connection Manual * HUST H6CL Series Fig 2-13 Front View Fig 2-14 Rear View

2 System Installation Fig 2-15 Top View Fig 2-16 Cutout

HUST H9C Connection Manual 2.4.4 HUST H9C Single Board * HUST H9C Single Board Fig 2-17 Rear View Fig 2-18 Top View Fig 2-19 Cutout

2 System Installation 2.4.5 HUST H9C Accessories Dimensions * HUST H9C \H9CL\H6C\H6CL \SINGLE BOARD Fig 2-20 SIO module Fig 2-21 I/O connect board : 24 in/16 out Fig 2-22 Axes control module board

HUST H9C Connection Manual Fig 2-23 8 NPN output relay board Fig 2-24 DC power module board Fig 2-25 AC power output module board

2 System Installation * HUST H9C / H6C Auxiliary Panel * HUST H9CL / H6CL Auxiliary Panel Fig 2-26 H9C Auxiliary Panel Fig 2-27 H9CL Auxiliary Panel

HUST H9C Connection Manual

3 Connection Diagrams 3 CONNECTION DIAGRAMS 3.1 Connector Type The types of connectors provided on the HUST H9C controller box are summarized below. Each connector symbol is followed by a letter of either M (for male) or F (for female). pin number indicated by xx 3.2 Connector Designation The connector designation on HUST H9C controller is printed on the back of the controller and their corresponding types are listed below. Table 3-1 Connector Designation and Type The back of the Controller Connector Name H6C/H6CL H9C/H9CL Connector Designation Type Analog Input/Output AD/DA DB15LM (M) X-axis Servo X-AXIS DB15LF (F) Y-axis Servo Y-AXIS DB15LF (F) Z-axis Servo Z-AXIS DB15LF (F) A-axis Servo A-AXIS DB15LF (F) B-axis Servo B-AXIS DB15LF (F) C-axis Servo C-AXIS DB15LF (F) U-axis Servo U-AXIS DB15LF (F) V-axis Servo V-AXIS DB15LF (F) W-axis Servo W-AXIS DB15LF (F) MPG Handwheel MPG DB9LM (M) I/O SIO DB15LF (F) Front Controller Connector Name H6C/H6CL H9C/H9CL Communication Interface Connector Designation Type RS232 DB9LF (F) USB USB (F)

HUST H9C Connecting Manual 3.3 Connector Pin Definition Table 3-2 HUST H9C Connector Pin HUST H9C AD/DA AXIS MPG DB15LM Definitoin DB15LM Definitoin DB9LF (F) Definitoin 1 DAC0 1 CW+ 1 A 2 DAC1 2 CW- 2 B 3 D+ 3 CCW+ 3 5V 4 D- 4 CCW- 4 A 5 G31 IN 5 VCC 5 B 6 ADC-0 6 GRD-(Z-) 6 7 ADC-1 7 TOG 7 0V 8 8 VCOM 8 0V 9 9 SVO+ 9 10 10 SVO- 11 11 A- 12 5V 12 A+ 13 +12V 13 B+ 14-12V 14 B- 15 GND 15 GND Fig 3-1 AD/DA

3 Connection Diagrams Table 3-3 G31 INPUT Parameter 530 R250 Table 3-4 G31 INPUT: Settings for related Parameters and Registers Description Pin 5 (G31 IN) inputs signal to control high-speed axial stop, responding in 0.5µsec. Setting of high-speed stop in axial direction of G31 Jump Function Setting method BIT0/1/2/3/4/5/6/7/8 respectively represents X/Y/Z/A/B/C/U/V/W axis. Ex.: BIT0=1, indicates X-axis Function enabled; BIT1=1, indicates Y-axis Function enabled Signal format for waiting for the G31skip Function Setting = 0, I-bit Input signal is an ascending (0 1) trigger signal Setting = 1, I-bit Input signal is a descending (1 0) trigger signal Setting = 2, I-bit Input signal is a Normal Open (0) signal Setting = 3, I-bit Input signal is a Normal Close (1) signal

HUST H9C Connecting Manual * Connect servo driver to axial-control connector as shown in Fig.5-23 (pin assignment identical for all axes). Fig 3-2 Wiring for Axial Control Isolated twist-pair cables shall be used. Pay special attention to Pin15 of the wriing. Be sure to connect. Pay special attention to Pins 11-14 of the axial connection. In case the motor runs scattering, alter the terminal A with the terminal A- at the driver end. HUST miller controller, when voltage-command type servo motor is used, you need to set the Follow Error checking function. (Not applicable to pulse commands.) (a) Parameter 533 = 4096 check the value of Follow Error. (b) Parameter 543 =511 check Follow Error of the axis X/Y/Z/A/B/C/U/V/W simultaneously (set by BIT: Bit0=1 for X- axis, Bit1=1 for Y-axis ). (c) When the ERROR COUNT of the actual feedback of X-axis motor >4096, the system will issue an error message.

3 Connection Diagrams SERVO ON wiring - 1 In this connection,servo on control directly by R249. R249 Bit0 Bit1 Bit2 Bit3 Bit4 Bit5 Bit6 Bit7 Bit8 Axis 1 1 0 0 0 0 0 0 0 0 X 2 0 1 0 0 0 0 0 0 0 Y 4 0 0 1 0 0 0 0 0 0 Z 8 0 0 0 1 0 0 0 0 0 A 16 0 0 0 0 1 0 0 0 0 B 32 0 0 0 0 0 1 0 0 0 C 64 0 0 0 0 0 0 1 0 0 U 128 0 0 0 0 0 0 0 1 0 V 256 0 0 0 0 0 0 0 0 1 W 511 1 1 1 1 1 1 1 1 1 ALL R249=511 by setting BIT0123456789 On XYZABCUVW-Axis will SERVO ON SERVO ON connection PC board endured maximum 60V and 4mA Fig.3-3 SERVO ON connection Servo-On Fig.3-4

HUST H9C Connecting Manual * SERVO ON wiring - 2 Servo connections dependent on different maker. In this connection, 24V output control through output board. When SERVO ON need to provide 24V power.refer to Fig.3-5. Servo-On Fig 3-5

3 Connection Diagrams * MPG Hand-wheel Connecting Diagram HUST H9C Series can be provided with 2 manual pulse generators. If the direction of tool travel is not the same as indicated by the MPG, use Parameter 518, handwheel direction, to correct it Use 2nd hand wheel according to actual demand (a) If C237=1 in the PLC, MPG2 terminals can be used. (b) When MPG2 is used, adjust the multiplier using R245. Fig 3-6

HUST H9C Connecting Manual * Wiring of spindle control There are 2 types of Spindle Control: (a) Voltage Command type (b) Pulse Command type * Fig 3-7 Spindle voltage command control-closed circuit wiring (servo) Extemal Encoder Fig 3-8 Spindle Voltage Command Control- Open circuit wiring (Inverter)

3 Connection Diagrams * Pulse Command Type Fig 3-9 Spindle pulse command control- closed circuit wiring (servo) Extemal Encoder Fig 3-10 Spindle pulse command control- closed circuit wiring (Inverter)

HUST H9C Connection Manual * AC Power System Connection In order to avoid controller anomalies caused by voltage fluctuations, it is recommended to provide sequential differences for the ON/OFF of the CNC power and Servo power. 1. SERVO ON signal shall be activated in a slight delay after the activation of system power supply, when the latter is stabilized. 2. Before switching off the system power supply, provide a delay for switching off the SERVO ON signal first. CNC Power/ SERVO Power ON-OFF sequence diagram Can be omitted inside dashed line Fig 3-11 Wiring of System AC Power Supply

3 Connection Diagrams * Emergency-Stop wiring diagram-1 Recommended wiring diagram. In this connection, the software control and hardware control are connected in a series; when the E-stop button is pressed, the hardware will switch off Servo-On even if the software fails. Limit Switch X-axis Origin Limit -axis Origin Limit External SERVO ON RELAY Servo Release Servo Start Command Servo-On Servo-On Fig 3-12

HUST H9C Connection Manual * Emergency-Stop wiring diagram-2 Simplified wiring diagram Limit Switch X-axis Origin Limit -axis Origin Limit Servo Release Fig 3-13 SIO Moudle Board Servo-On Singnal Servo-On Singnal

3 Connection Diagrams * RS232 Connector Pin Assignment and Connection Diagram Fig 3-14 shows the connection between the HUST H9C controller and the PC. Please observe the following guidelines: 1. Do not exceed 15 meters for the cable connecting RS232 port and the PC. 2. The interface voltage on the PC side should be in the range 10 ~ 15V. 3. Try NOT to work in an environment where electrical noises are common, such as EDM machine and electric welder. Do not use the same power source as EDM machine or electric welder. Twist RS232 cables if possible. Fig 3-14 RS232C Connector Pin Assignment

HUST H9C Connection Manual

4 I/O Interface Connection 4 I/O (Input/Output) Interface Connection The +24V power supply for the I/O interface operation has to come separately from the external source. 4.1 I/O Interface Connection Input signal is a signal that is received by the CNC controller and it is generated from an external devices, such as keyboard button, sensor, limit switch, proximity switch, etc. Output signal is a signal that is being sent from the CNC controller to the external devices. that can be used to drive a relay or LED, etc. H9C controller accessories Total of seven standard accessories Table 4-1 H9C standard accessories H9C standard accessories NO. Project Input Output Note(Material NO.) 1 SIO module board 48 32 H6C\SIO\I48O32\V2_4 2 I/O connect board 24 16 H6C\SIO\CONNECT\V1_1 3 NPN output relay board 8 H6C\SIO\RLY8\V0 4 AC power output module 8 H6C\SIO\SSR8\V0 board 5 DC power module board 8 H6C\SIO\DC8\V0 6 Axes control module board 8 Step motor or servo motor 7 Auxiliary panel H6 I/O Interface Connection: Controller must through the SIO Module Board and Connect I/O Board then can control the I/O motion. The explanation is below 4-1

HUST H9C Connection Manual SIO MODULE BOARD H6C\SIO\I48O32\V2_4 Fig 4-1 1. 48 IN/32 OUT control. (a) Maximum in series6 modules.maximum control 256 IN/256 OUT. (b) Auxiliary panel can be in series (2 nd panel) 2. Each SIO MODULE BOARD can connect with (a) I/O connect board (24 Input/16 Output) (b) NPN Relay Boar (c) DC power module boar (d) AC power output module boar (e) Axes control module boardcontrol other step motor or servo motor. 3. When use axes control module board,last 64 I/O address Occupancy. 4., I/O address Occupancy. 5. SIO module board start address by switch control. 6. Controller MAX control 256in and 176 out 4-2

4 I/O Interface Connection Explanation of SIO MODULE BOARD LED-lamp (Input) LED-lamp (Output) JUMP (NPN or PNP) SWITCH 2 nd connect I/O port 1 connect I/O port DC24V INPUT Fig 4-2 1. LED-LAMP INPUT - LED (Green) Each Left and Right have 3 groups, every group have 8 signal. The total signal is 48. OUTPUT - LEDRedEach Left and Right have 2 groups, every group have 8 signal. The total signal is 32. 2. JUMP (NPN OR PNP) Each Left and Right have 1 groups. Lef control 1th CONNECT I/O BOARD. Righ control 2th CONNECT I/O BOARD. The explanation is below 4-3

HUST H9C Connection Manual Fig5-2-L Short Fig5-2-R Short Fig5-2-L Fig5-2-R Explanation1 All input are NPN type of CONNECT I/O BOARD Explanation2 CONNECT I/O BOARD signal Short Short (1) I00~I23 NPN type. (2) I24~I39 NPN type, I40~I47 PNP type. Fig5-2-L Fig5-2-R Explanation3 CONNECT I/O BOARD signal Short (1) I00~I15 NPN type, I16~I23 PNP type. (2) I24~I47 NPN type. Short Fig5-2-L Explanation4 CONNECT I/O BOARD signal Short (1) I00~I15NPN type, I16~I23 PNP type. (2) I24~I39NPN type, I40~I47 PNP type. Short Fig5-2-R 3. SWITCH I/O position define. Each SIO MODULE BOARD can control 48in/32out and string of 6 pieces. Table 4-2 Switch table explanation MODULE Switch 1 Switch 2 Switch 3 Switch 4 IN range OUT range 1 st 2 nd 3 rd 4 th 5 th 0 0 1 1 6 th 1 1 1 1 The 6 th SIO MODULE BOARD can control 16in/16out only. 4-4

4 I/O Interface Connection When use Axes control module board and Auxiliary panel IO range Table 4-3 H9C controller IO range IO range Board Switch 1 Switch 2 Switch 3 Switch 4 Input range Output Range 1 st 0 0 0 0 I000 ~ I047 O000 ~ O031 2 nd 1 1 0 0 I048 ~ I095 O048 ~ O079 3 rd 0 1 1 0 I096 ~ I143 O096 ~ O127 4 th Universal auxiliary panel I144 ~ I191 O144 ~ O175 5 th The 1 st axis control board I192 ~ I223 O192 ~ O223 6 th The 2 nd axis control board I224 ~ I255 O224 ~ O255, I/O address Occupancy. When use axes control module board,last 64 I/O address Occupancy. 4-5

HUST H9C Connection Manual * I/O connect Board (PC Board No. H6C\SIO\CONNECT\V1_1) 1. I/O connect board controls 24 input terminals and 16 output terminals. 2. Output control is by 0V output. 3. An INPUT can be of NPN type or PNP type. 4. When the SIO setting of the module is PNP, the 8 input terminals after the INPUT signal are of PNP type; the rest are of NPN type. 5. Input voltage at I: 0V 6. Output current at I: 6mA 7. Output current at O: 100mA Fig 4-3 * NPN output relay Board (PC Board No.H6C\SIO\RLY8\V0) 1. Max. current for each output of the PCB is 1A 2. The 8 Output terminals can sustain a max. current of 8A, all together. 3. For a max. current > 1A, use other relays. 4. Contacts on the RELAY adaptor board are dry contacts. Fig 4-4 4-6

4 I/O Interface Connection AC power output module board (PC Board No.H6C\SIO\SSR8\V0) 1. AC Power supply adaptor board controls 8 AC110 outputs. 2. Max. current for each output of the PCB is 1A. 3. The 8 Output terminals can sustain a max. current of 8A, all together. 4. Two power supply ports are provided on the AC Power supply adaptor board: 1. AC 110V ~220V; 2. DC 24V (can be connected independently from the external) 5. Rating of the factory supplied fuse is 5A. DC power module board (PC Board No.H6C\SIO\DC8\V0) 1. DC power output board controls 8 sets of DC 24V output. 2. Max. current for each output of the PCB is 1A. 3. The 8 Output terminals can sustain a max. current of 8A, all together. 4. Rating of the factory supplied fuse is 5A. Fig 4-5 Fig 4-6 4-7

HUST H9C Connection Manual Fig 4-7 Max. current for each output of the PCB is 2A. The 8 Output terminals can sustain a max. current of 10 A, all together. Table 4-4 Connector type Step Motor Servo Motor HUST Pin Step Pin HUST Pin Servo Pin 1 A 1 /B 2 /A 2 B 3 B 3 A 4 /B 4 /A 5 G Step Motor connection (4PIN) Servo Motor connection (5PIN)

4 Input/Output Interface Connection 4.2 SIO MODULE BOARD connection Explanation of SIO MODULE BOARD Structure of wiring (1) All of the SIO board must used the samedc24v power supplyexcept to the AC output board. DC24V POWER SUPPLY DC24V POWER SUPPLY 40pin Row cable, 1 st Connect I/O board I0~I23(24in)O0~O15(16out) HUST H9C CONTROLLER 15 pin Female to Male cable Fig 4-8 40pin Row cable, 2 nd Connect I/O board I24~I47 (24in)O16~O31 (16out) DC24V POWER SUPPLY

HUST H9C Connection Manual Structure of wiring (2) All of the SIO board must used the samedc24v power supplyexcept to the AC output board. DC24V POWER SUPPLY 40pin Row cable, 1 st Connect I/O board I0~I23(24in)O0~O15(16out) Fig 4-9 DC24V POWER SUPPLY 40pin Row cable, 2 nd Connect I/O board I24~I47 (24in)O16~O31 (16out) 1. Use in combination as required 2. 10 pin white connecto 3. Can be connected to 3 optional boards 4. Can be connect 4 modules maximum. 5. NPN RELAY BOARD provide 8 dry contacts. Max. current for each output of he PCB is 1A. 6. AC power output module boardprovide 8 AC110V outputs. M ax. current for each output of the PCB is 1A. 7. DC power module boardprovide 8 DC24V outputs. Max. current for each output of the PCB is 1A. Accessories

4 Input/Output Interface Connection ConnectionModel 1 40pin Row cable, 1 st Connect I/O board I0~I23 (24in)O0~O15 (16out) Fig 4-10 O00 Output 0V O15 Output 0V

HUST H9C Connection Manual ConnectionModel 2Relay type control 40pin Row cable, 1 st Connect I/O board I0~I23 (24in)O0~O15 (16out) DC 24V Power Supply AC 220V Transformer COM 00 COM 01 COM 02 COM 03 AC 220V Output Fig 4-11 COM 04 COM 05 COM 06 COM 07 DC 24V Power Supply Each COM point not conduction. Used the Relay board only or with external Relay. When O00 = 1, the COM and 01 will be conduction and send out 0V.

4 Input/Output Interface Connection ConnectionModel 3AC OUTPUT Single output controlpcb-board limit is 1A 8 output control at one timepcb-board limit is 8A JP6 10 PIN Row cable AC110V Output Fig 4-12 When O016 = 1, AC 110V will send out. DC24V input can used same with the common point of I/O Module (H6C\SIO\I48O32) or used another power supply alone. Fuse default:5a

HUST H9C Connection Manual ConnectionModel 4DC Power Suply Single output controlpcb-board limit is 1A 8 output control at one timepcb-board limit is 8A JP6 10 PIN Row cable When O016 = 1, DC 24V will send out. Fuse default:5a DC24V Output Fig 4-13

4 Input/Output Interface Connection ConnectionModel 5NPN 3-wire SENSOR DC24V POWER SUPPLY I00 0V Input SENSOR ConnectionModel 6PNP 3-wire SENSOR DC24V POWER SUPPLY SENSOR I00 24V Input Fig 4-14 Fig 4-15

HUST H9C Connection Manual 4.3 Emergency-Stop Circuit The electronic circuit in the controller requires about 100 milli-seconds to reach stable state when power is turned on. During this unstable period, the servo motor should not be turned on. To accomplish this purpose, HUST internal PLC has a "Servo-on Timer" with 1.5 seconds. When the timer is up, the controller sends an O-bit high (1) to turn on the servo driver. Fig 4-16 is an emergency stop circuit. When the hardware OT limit switch is touched or the E-stop button pushed, the controller will be in a state of emergency stop and the servo-on switch on the servo motor will trip off. For safety reason, the E-stop button, the hardware OT limit switch, and the E-stop relay should be connected in-series and the servo-release button in-parallel with the hardware OT limit switch. Please note that the E-stop button and the hardware OT limit switch are of normal-closed type. During normal operating condition, the servo-release button is at OFF position. After emergency stop has occurred and all power to servo motor has been cut off, servorelease button can be pushed in to supply power to servo motor to bring the machine tool to normal operating range. Limit Switch Fig 4-16 Emergency Stop Circuit

4 Input/Output Interface Connection Notes: 1. Relays A and B are protection circuit during power-on. The purpose is to prevent the tool from being damaged in case of power-on failure that results in a total output. 2. Relay C is a servo-on relay. 3. Relay A and B are outputs in PLC. 4. Generally, Relay C has multiple connecting points for multiple servo. Each servo motor requires independent connecting point. Do NOT connect servo motors in parallel because some servo motors cannot be connected in parallel. See Fig 4-17. 5. The arrangement of servo-on in PLC. See Fig 4-17. Incorrect Connection Servo Driver Servo-On Singnal RELAY C Correct Connection 24V PLC Output Servo Driver Servo Driver Servo-On Singnal PLC Output 24V Servo Driver Servo-On Singnal RELAY C Fig 4-17 Incorrect / Correct Connection

HUST H9C Connection Manual Emergency-Stop Line-1 It is recommended to connect as Fig. 4-18. In doing so, the software and hardware is controlled in series and the user can press the emergency button to turn off the servo even if an abnormality is found in the software. Limit Switch Reset Button (Forced) Server Driver ServoOn Singnal X Axis Servo Start Command Server Driver Servo-On Singnal Z Axis External SERVO ON RELAY Fig 4-18

4 Input/Output Interface Connection Emergency-Stop Line-2 Fig.4-19 is a simplified connection diagram. Limit Switch Reset Button (Forced) Server Driver Servo-On X Axis Server Driver Servo-On Singnal Z Axis Fig 4-19

HUST H9C Connection Manual

5 Interface Between CNC & PLC 5 INTERFACE BETWEEN CNC CONTROLLER AND PLC PLC bits used in HUST H9C controller with PLC (Programmable Logic Controller) are described below. Their meanings and applications will be discussed in this chapter. This chapter is intended for those who are familiar with HUST PLC program editing. S-bit : Status signal from CNC controller to PLC unit. C-bit : Command signal from PLC unit to CNC controller. I-bit : Input signal from external I/O unit to PLC unit. O-bit : Output signal from PLC unit to I/O unit for driving external device. A-bit : Auxiliary bit for PLC unit. Register: 1. R000~R099 are for user s application in the PLC program. 2. R100~R255 are reserved for HUST H9C system data, NOT for customer s use. The data in R000~R099 can be saved with power off if MCM #521=256, and the data will NOT be saved if MCM #521=0. HUST CONTROL UNIT C-BITS S-BITS REGISTE R HUST PLC A-BITS TIMER COUNTE R I-BITS O-BITS EXTERNAL I / O DEVICES OR MACHINE TOOLS 5.1 HUST H9C Series Status Signal S-Bits S-bit is the internal status signal from HUST CNC system unit to PLC unit for sequential control of the machine tool. The meaning of each S-bit signal is shown in Table 6-1. Note that S000~S031 are one-shot bits and are effective for one cycle only. For example, when RESET key is pressed, S001=1 for one cycle. - 1

HUST H9C Connecting Manual Table 5-1 HUST H9C Series Status Signal (S-Bits) S-Bit Number Status Signal S-Bit Description S000 Send out square wave signal with 0.75 sec ON, 0.25 sec OFF S001 Reset key S002 Cycle start key S003 S004 ~ S007 Reserved S008 Send out square wave signal with wave period = 0.10 sec. S009 Send out square wave signal with wave period = 0.25 sec. S010 Send out square wave signal with wave period = 0.50 sec. S011 Send out square wave signal with wave period = 1.00 sec. S012 ~ S015 Reserved S016 Error code strobe S017 Key strobe S018 Key strobe for key being pressed twice in 0.5 sec S019 Function key signal S020 ~ S021 Cursor up key, Cursor down key S022 ~ S023 Page up key, Page down key S024 M-code strobe S025 T-code strobe S026 S-code strobe for spindle speed S027 Man / Machine ENTER signal S028 ~ S029 Reserved S030 Signal when spindle servo motor being in-position or when Gridpoint found. (S030 = 1, Flag for spindle HOME position. ) S031 ~ S063 Reserved S064 X-axis motor running S065 Y-axis motor running S066 Z-axis motor running S067 A-axis motor running S068 B- axis motor running S069 C- axis motor running S070 U-axis motor running S071 V- axis motor running S072 W- axis motor running S073 ~ S079 Reserved S080 Program execution in process S081 Spindle speed lower than 60 RPM S082 S083 ~ S084 Reserved S085 Stop signal of spindle S086 ~ S087 Reserved S088 X/Y/Z/A/B/CU/V/W-axis Servo motor in motion S089 ~ S103 Reserved S104 ~ S111 Status signals from PC or Man / Machine interface (Easyview)

5 Interface Between CNC & PLC S-Bit Number Status Signal S-Bit Description S112 ~ S119 Reserved S120 S121 ~ S122 Reserved S123 Signal for linking to PC S124 Reserved S126 Key strobe for key being pressed down continuously S127 Signal for ladder simulation S128 ~ S159 Reserved S160 Home signal for X-axes respectively (Machine coordinate = 0) S161 Home signal for Y-axes respectively (Machine coordinate = 0) S162 Home signal for Z-axes respectively (Machine coordinate = 0) S163 Home signal for A-axes respectively (Machine coordinate = 0) S164 Home signal for B-axes respectively (Machine coordinate = 0) S165 Home signal for C-axes respectively (Machine coordinate = 0) S166 Home signal for U-axes respectively (Machine coordinate = 0) S167 Home signal for V-axes respectively (Machine coordinate = 0) S168 Home signal for W-axes respectively (Machine coordinate = 0) S169 ~ S207 Reserved S208 X-axis traverse execution signal, when C208 0 1, S208 = 1 S209 Y-axis traverse execution signal, when C209 0 1, S209 = 1 S210 Z-axis traverse execution signal, when C208 0 1, S210 = 1 S211 A-axis traverse execution signal, when C209 0 1, S211 = 1 S212 B-axis traverse execution signal, when C208 0 1, S212 = 1 S213 C-axis traverse execution signal, when C209 0 1, S213 = 1 S214 U-axis traverse execution signal, when C209 0 1, S211 = 1 S215 V-axis traverse execution signal, when C208 0 1, S212 = 1 S216 W-axis traverse execution signal, when C209 0 1, S213 = 1-3

HUST H9C Connecting Manual 5.1.1 S-bit Signal and PLC Cycle Time Chart Fig 5-1 shows the time chart between the HUST H9C controller and the PLC unit. Note Bit S017 synchronizes with Bits S000~S023. S000~S031 are all single-pulse signals. One Shot S-Bit S031 PLC Cycle Continuous S032~S096 Key Strobe 5.1.2 Descriptions of S-bits Fig 5-1 Time Chart Between HUST CNC and PLC Square Wave Signal with 0.75 sec ON, 0.25 sec OFF (S000) Reset Key Strobe (S001) The controller sends S001 one-pulse high (1) strobe to PLC unit when RESET key is pressed. Cycle Start Key Strobe (S002) The controller sends S002 one-pulse high (1) strobe to PLC unit when CYCST key on the keyboard is pressed. To burn program into memory chip through RS232 link, it is to use S002 =1 signal to trigger C004 (= 1) to complete the burning action. Therefore, care should be taken not to block S002 signal from triggering C004 when editing PLC under MDI mode. None pre-program and ending-program(s003) When R107 (pre-program NO.)R108 (ending-program NO.) =0,system send S003=1 (high)

5 Interface Between CNC & PLC Square Wave Signal with Wave Period (S008~S011) Table 5-2 ON/OFF Time for Square Wave Signal Square Wave Signal ON TIME (sec) OFF TIME (sec) S008 0.10 0.10 S009 0.25 0.25 S010 0.50 0.50 S011 1.00 1.00 CNC Control Unit Alarm Signal (S016) The controller sends Bit S016 one-pulse high (1) strobe to inform PLC unit when any alarm occurs. Key Strobe (S017) The controller sets Bit S017 one-pulse 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-pulse to PLC. Cursor Up Key Strobe (S020), Cursor Down Key Strobe (S021) The controller sets Bit S020 one-pulse high (1) strobe to inform PLC unit when CURSOR Up key is pressed. Bit S021 will be one-pulse high (1) when CURSOR Down key is pressed. Page Up Key Strobe (S022), Page Down Key Strobe (S023) The controller sets Bit S022 one-pulse high (1) strobe to inform PLC unit when PAGE Up key is pressed. Bit S023 will be one-pulse high (1) when PAGE Down key is pressed. M-, T- and S-Code Strobe (S024~S026) When an M-code is being executed in a part program, the controller will send S024 = 1 signal to PLC. When a T-code is being executed in a part program, the controller will send S025 = 1 signal to PLC. - 5

HUST H9C Connecting Manual When a S-code is being executed in a part program, the controller will send S026 = 1 signal to PLC. Note that the CNC system defined M-codes, such as M00, M01, M02, M30, M98 and M99 will NOT send S024 = 1 to PLC. Signal for Spindle Motor In-position or When Grid-point Found (S030) When C117=1, the spindle motor is being controlled in a closed loop and tollowing two conditions exist for S030 signal. 1. If C116=1, the spindle motor will start searching for the GRID point on the encoder. The direction and the speed of motor rotation will base on the setting of C118 (0/1 = Normal/ Reverse) and R133. When the GRID point is found, the CNC controller will send S030 =1 signal to PLC to trun off C116, i.e. C116=0. 2. If C119=1, the spindle motor will rotate a fixed angle to be In-position.The direction of motor rotation will base on the setting of C118 (0/1 = Normal/ Reverse) When the motor is In-position, the CNC controller will send S030 =1 signal to PLC to trun off C119, i.e. C119=0 Signals for X/Y/Z/A/B/CU/V/W axis Servo Motor Running Status (S064-S072) When X-axis motor running, S064=1 to PLC. When Y-axis motor running, S065=1 to PLC. When Z-axis motor running, S066=1 to PLC. When A-axis motor running, S067=1 to PLC. When B-axis motor running, S068=1 to PLC. When C-axis motor running, S069=1 to PLC. When U-axis motor running, S070=1 to PLC. When V-axis motor running, S071=1 to PLC. When W-axis motor running, S072=1 to PLC. In Process Status Bit (S080) Whenever HUST control unit is executing a part program including option stop, signal S080 = 1 will be sent out to PLC. Spindle Motor Speed Less Than 60 RPM (S081) S0811 signal will be sent to PLC when spindle motor speed is less than 60 RPM. Rotating Signal for Spindle Motor (S085) S085=1 signal will be sent to PLC when spindle motor is rotating (in motiom). Signals for Servo Motor Running Status (S088) When one or more of the four axis motors (X/Y/Z/A/B/C-axis) are moving (in motion), the CNC will send the signal S088=1 to PLC.

5 Interface Between CNC & PLC Key Signals from PC or Easyview (S0104~S111) When the special key that was designed on PC or Easyview is pressed, a signal is sent through RS232 to the controller which will send the status bits S104~S111 (=1) to PLC. Battery Down Signal(S120) If the battery BT1 is down, the controller displays ERROR 30 BATT. Low and sends S120=1 signal tp PLC RS232 Linkage Signal (S123) When CNC controller established linkage with PC through RS232, the CNC will send S123=1 signal to PLC. Hardware Interrupt Signal(S125) Key Strobe for Key Being Pressed Down and Hold Down (S126) When a key is pressed down and hold down, the controller will send S126 = 1 to PLC. When key is released, S126 = 0. Ladder Simulation Mode (S127) S127 =1 will be sent to PLC when a ladder program edited in PC is being simulated from the CNC controller. X/Y/Z/A/B/CU/V/W - axes Home Signal at Machine Coordinate = 0 (S160~S168) When the tool is at X-axis home location (machine coordinate X=0), S160 = 1. When the tool is at Y-axis home location (machine coordinate Y=0), S161 = 1. When the tool is at Z-axis home location (machine coordinate Z=0), S162 = 1. When the tool is at A-axis home location (machine coordinate A=0), S163 = 1. When the tool is at B-axis home location (machine coordinate B=0), S164 = 1. When the tool is at C-axis home location (machine coordinate C=0), S165 = 1. When the tool is at U-axis home location (machine coordinate A=0), S166 = 1. When the tool is at V-axis home location (machine coordinate B=0), S167 = 1. When the tool is at W-axis home location (machine coordinate C=0), S168 = 1. Positioning Execution in PLC (S208-S216) When execute the X-axis move by PLC, S208=1. S208=0 when motion completed. Please consult the illustration of C208 When execute the Y-axis move by PLC, S209=1. - 7

HUST H9C Connecting Manual S209=0 when motion completed. Please consult the illustration of C209 When execute the Z-axis move by PLC, S210=1. S210=0 when motion completed. Please consult the illustration of C210 When execute the A-axis move by PLC, S211=1. S211=0 when motion completed. Please consult the illustration of C211 When execute the B-axis move by PLC, S212=1. S212=0 when motion completed. Please consult the illustration of C212 When execute the C-axis move by PLC, S213=1. S213=0 when motion completed. Please consult the illustration of C213 When execute the U-axis move by PLC, S214=1. S214=0 when motion completed. Please consult the illustration of C214 When execute the V-axis move by PLC, S215=1. S215=0 when motion completed. Please consult the illustration of C215 When execute the W-axis move by PLC, S216=1. S216=0 when motion completed. Please consult the illustration of C216 PS1. R180R188R160R168 setting range:+32767-32767. 2. When C223=0, the value is the position of absolute coordinate in R180R188. Default#11800=10 #11800 setting range1~1000. 3. When C223=1, the value is the position of incremental coordinate in R180R188. Default#11800=1 #11800 setting range1.