HUST CNC H2N Guide de démarrage rapide

HUST H2N CNC
CONNECTING MANUAL
Feb , 2006
HUST Automation Inc.
No. 80 Industry Rd., Toufen, Miaoli, Taiwan, R.O.C.
Tel: 886 37 623242 Fax: 886 37 623241


Contents
i
CONTENTS
1 INTRODUCTION 1-1
2 CONFIGURATION 2-1
2.1 System Configuration 2-1
3 INSTALLATION AND DIMENSION 3-1
3.1 Environmental Requirements 3-1
3.2 Cabinet Considerations 3-1
3.3 Thermal Design In A Cabinet 3-2
3.4 External Dimensions And Diagrams 3-3
4 CONNECTING DIAGRAMS 4-1
4.1 Connector Type 4-1
4.2 Connector Designation 4-1
4.3 System Connecting Block Diagram 4-2
5 I/O INTERFACE CONNECTIONS 5-1
5.1 I/O Connector Pin Assignment 5-1
5.2 I/O Relay Board 5-2
5.3 Input Signals 5-3
5.4 Output Signals 5-4
5.4 Examples For I/O Connections 5-5
6 INTERFACE BETWEEN CNC CONTROLLER AND PLC 6-1
6.1 HUST H2N Series Status Signal S-Bits 6-1
6.1.1 S-Bit Signal And PLC Cycle Time Chart 6-3
6.1.2 Descriptions Of S-Bits 6-3
Square Wave Signal with 0.75sec ON,0.25sec OFF (S000) 6-3
Reset Key Strobe (S001) 6-3
Cycle Start Key Strobe (S002) 6-3
Square Wave Signal with Wave Period (S008~S011) 6-3
CNC Control Unit Alarm Signal (S016) 6-4
Key Strobe (S017) 6-4
Key Strobe for Key Being Pressed Twice in 0.5sec (S018) 6-4
Cursor Up Key Strobe (S020)
Cursor Down Key Strobe (S021) 6-4
Page Up Key Strobe (S022)
Page Down Key Strobe (S023) 6-4
M-, T-, S-Code Strobe (S024~S026) 6-4
Servo Motor Status (S064,S065,S088) 6-4
In Process Status Bit (S080) 6-4
Spindle Status Bit (S085) 6-5

HUST H2N Connecting Manual
ii
Servo Motor Status (S088) 6-5
Key Signals from PC or MMI (S104~S111) 6-5
Battery (BT1,BT2) Down Signal (S120~S121) 6-5
Key Strobe for Key Being Pressed Down and Kept Down 6-5
Ladder Simulation Mode (S127) 6-5
X and Y-axis Home Signal at Machine Coordinate=0 (S160~S161) 6-5
In-position Signal for X and Y-axis (S176~S177) 6-5
Direction of Motor Rotation (+/-) for X and Y-axis (S192~S193) 6-6
Positioning Execution in PLC (S208~S209) 6-6
6.2 PLC Command Signal C-bits 6-9
Machine Lock/Feed-Hold (C000) 6-9
RESET (C001) 6-10
Emergency Stop Signal (C002) 6-10
Cycle Start (C004) 6-10
Program No. Selection By Enter Key (C005) 6-10
Single Block (C006) 6-10
NC Alarm (C007) 6-11
Program Restart-1 (C011) 6-11
Program Restart-2 (C012~C013) 6-12
Dryrun (C015) 6-13
Cursor Up and Cursor Down (C020~C021) 6-13
Page Up and Page Down Key (C022~C023) 6-13
Option Stop (C026) 6-14
Option Skip (C027) 6-14
Speed Deceleration Selection For G31 Skip Function (C028) 6-14
Counter Status (C030) 6-15
PLC ladder Simulation (C031) 6-15
M-, T-, S-code Command Finish Signal (C032~C034) 6-15
Round Corner Non-stop Operation (C036) 6-15
MPG Hand-wheel Test Mode (C056) 6-16
Return to The Last Program Block (C057) 6-16
Program Edit And MCM Edit Function Disabled (C058~C059) 6-16
HOME Execution Command (C063)
HOME Limit Switch Signals (C064~C065) 6-16
Specify Work Coordinate Group as Working Coordinate (C123)
Set the Current Pergram Position as Working Coordinate (C080~C081) 6-17
Clear the Current Axial Work and Machine Coordinate to Zero
(C067~C097) 6-18
Spindle Control (C117) 6-18
Command Code for Program Selection from External Device (C120) 6-19
Command for Spindle Speed Control (in%)
from External I/O Device (C121) 6-19
Set Working Coordinate (C123) 6-19
Simultaneous Exceution for M-,S-,T-code (C125) 6-19
Axial Data Input Disabled in TEACH Mode (C128~C129) 6-19
DRO Mode Enabled (C144~C145) 6-19
Signal for Over~travel (OT) Limit Switch (C160~C163) 6-20
Clear Error-count (C192~C193) 6-20
Positioning Execution in PLC Program (C208~C213) 6-20

Contents
iii
Special C-bit for G28,G29 and G30 (C224~C225) 6-20
Axial Motion Command in JOG Mode (C228) 6-20
G01 Feed-rate Adjustment by MPG Hand-wheel (C229,C230) 6-21
Load File from EPROM/FLASH-Rom (C231) 6-21
Clear G54 Work Coordinates (C232) 6-21
Program Simulation Without V-command and Encoder Feedback (C235) 6-21
MPG Hand-wheel Feed Interrupt Mode (C242) 6-21
MMI (Man Machine Interface) or LCD Screen In Sleep Mode (C243) 6-22
Suppressing Alarm ERROR-2 When Following Count>4096 (C244) 6-22
Re-defined Key board Key (C245) 6-22
LCD Display Function Disabled (C247) 6-23
User Defined Keyboard Function Output (C255) 6-23
6.3 Description of PLC Register 6-23
6.4 Variables 6-33
6.5 Input and Output Signal (I-Bits & O-Bit) 6-36
7 LADDER DIAGRAM 7-1
7.1 Introduction To Ladder Diagram 7-1
7.1.1 Interface Signal Definitions For PLC Ladder Diagram 7-1
7.1.2 Maximum Input/Output Point For PLC And PLC Editor 7-1
7.1.3 PLC And PLC Editor Graphical Symbols 7-2
7.2 Composition And Modification Of A Ladder Diagram 7-2
8 LADDER EPROM INSTALLATION 8-1
8.1 EPROM Writer 8-1
8.2 Writing Ladder Program into EPROM and Flash-Rom 8-1
8.3 EPROM Installation 8-2

HUST H2N Connecting Manual
iv

1 Introduction
1 - 1
1 INTRODUCTION
This manual explains the HUST H2N controller's electrical as well as structural
design necessary for connecting the CNC to the machine tool. It also describes the
HUST H2N 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 H2N controller,
please refer to the HUST H2N Operation Manual. This manual is intended for users
with some basic electrical and electronic knowledge.
Chapters 1~5 are for those who are interested in electrical connection and Chapters
6~8 are for those who are familiar with HUST PLC Editor. Fig 1-1 is a typical
system application of HUST H2N controller to the external devices. The main
features (also see Chap 1 of Operation Manual) of the system are described below.
1. The system can be remotely controlled by PC, HUST CRT screen and PC touch
screen through RS232 interface.
2. The system can handle thumb switch signals through PLC ladder program.
3. The system can control both AC servo and stepping motor.
4. The system provides DI/DO=24/16 points. Also included are connections for
MPG, spindle and Skip sensor.
Fig 1-1 Applications of HUST H2N Controller
PC
Thumb Switch Spindle Encoder
Skip
1
Driver
AC Servo 1
Driver
AC Servo
Driver
Stepping Motor MPG
DI/DO
Board
RS232C
HUST H2N
2 Axis CNC
Internal PLC
(ROM/RAM)

HUST H2N Connecting Manual
1 - 2

2 Configuration
2 - 1
2 CONFIGURATION
2.1 System Configuration
The HUST H2N system generally has the following configuration as shown in Fig. 2-1.
The main components of this configuration are listed below.
1. CPU Main Board
2. Keyboard Unit
3. MPG Hand-wheel
4. RS232 Communication Interface
5. Servo Driver and Motor
6. Power Supply
7. I/O Relay Board
8. Analog Output for Spindle Drive (0~10V)
Fig 2-1 System Configuration
Keyboard (2)
Servo Motor (5)
Driver
MPG(3)
RS232C (4)
Servo Motor (5)
Driver
X-Axis
Y-Axis
CPU
Main
Board
(1)
OUTPUT Standard O (7)
INPUT Standard I (7)
R
T
Power Supply (6)
(AC 220V)
JP2
JP1
P1
P2
P7
P4
P5
P3
P6
D/A (8)

HUST H2N Connecting Manual
2 - 2
Table des matières
Autres manuels HUST CNC Contrôleurs


















