HUST Automation HUST H2PN User manual

OPERATION &CONNECTING
MANUAL
HUST H2PN
CONTROLLER
EDITION:2008 / 06 / 17
HUST Automation Inc.
No. 80 Kon Yei Road, Toufen, Miaoli, Taiwan
Tel: 886-37- 623242
Fax: 886-37-623241


CATALOG
I
CATALOG
2.1 Basic Operation 2-1
2.2 Edit Program 2-13
2.3 Operation of Sub-Program 2-27
3.1 MCM 3-1
3.1.1 Basic MCM 3-1
3.1.2 Further MCM 3-1
3.1.3 Special MCM 3-4
3.2 MCM Description 3-5
4.1 Connection Manual 4-1
4.2 Installation And Dimension 4-2
4.2.1 Environmental Requirements 4-2
4.2.2 Cabinet Considerations 4-2
4.2.3 Thermal Design in the Cabinet 4-3
4.3 Appearance and Size 4-5
4.4 Output / Input Board Connection 4-8
4.4.1 Input Signals 4-9
4.4.2 Output Signals 4-10
4.5 Connecting Diagrams 4-11
4.5.1 Positioning Control Connection 4-13
4.5.2 MPG Hand-wheel Connecting Diagram 4-16
1 H2PN CONTROLLER FUNCTIONS & FEATURES MANUAL1-1
2 OPERATION 2-1
3 MCM Machine Constant Parameters 3-1
4 APPEARANCE & CONNECTION 4-1
5 Imformation and Description of Inspecting Error 5-1

HUST CNC H2P MANUAL
II
6.1 Appendix A Input/Output (I/O) List 6-1
6.2 Appendix B Command Code List 6-3
6.3 Appendix C Program Description for Example 6-5
6.4 Appendix D HUST H2PN&MR- J2S connection 6-7
6 APPENDIX 6-1

1 HUST H2PN Controller function & quality manual
1 - 1
1 H2PN Controller function & quality manual
□ Control the number of axis;X,Y two axes. One-axis encoder feedback is
added.
□ Two axes arrive at the same time & Master-Slave mode.
□ 512k program memory.
□ Edit program with blank-talking way. Users don’t have to memorize lots of
annoying injunctions.
□ Touch-Panel introduction & Program editing commentary with example.
(Screen Help)
□ Teach-Mode function in program editing. (Teach Mode)
□ Define the circular function of program block.
□ The program can be adjusted during the AUTO RUN.
□ After power-off,the program can be saved with battery backup. (Battery
Backup)
□ Backlash compensation;it will adjust the gear-chink error due to the used.
□ Repeat circulation and a circulation.
□ Optional jump. (Option Jump)
□ AUTO RUN and Feed Hold.
□ Self-test and point out the error. (Self Test)
□ Interface of MPG,MPG test is available。Prevent machinery crash. (MPG
Test)
□ Offer standard 28 inputs and 20 outputs.

HUST CNC H2PN MANUAL
1 - 2
This operation manual includes basic operation 、program edition 、MCM
setting、connection、distribution of input/output、protection(Error description)
Once you have read this manual,but you still don’t understand all. Or there is
some problem occurred when you are using our controller. Then please
describe the problem and send it to us with fax or mail. We will reply your
question as soon as possible.

2 Operation
2 - 1
2 Operation
2.1 Basic Operation
Description of screen and operation
* Power-On screen
Turn the controller power on and then the power-on screen is shown
P2-1
* Standby screen
After 3 seconds,the standby screen is shown (Press RESET key will
also enter this screen)
As picture below:P2-2 is single axis screen,P2-3 is double axis
screen
The pictures below are suit for double axis:
When the power-on is ready,the system will load calculate program
first。So it is normal that the program number has some changes。

HUST CNC H2PN MANUAL
2 - 2
P2-2
P2-3
* Auto Mode screen
Press『F1』to enter Auto-Mode,the screen as below:
P2-4
Showing the program
content or not is set by
special MCM
Auto-mode show the
program content. The
『E.W.E』key will show
up when the Auto run.
E.W.E is edition when
executing

2 Operation
2 - 3
In auto-mode there are soft keys as follow:
1. Program Feed Hold (F2):It only works when
the program is executing.
When the program is executing,you can stop
program immediately by pressing this key. The
program will continue unless pressing
『RESET』key to interrupt the program or
pressing the 『CYCST』key.
2. One Cycle (F3):You can choose this function at any time no
matter the program is executing or feed hold.
When the repetitious circulation is on,if the function of counter
limit is off or the counter does not reach the value,
then the program will run unstoppably. You can press F3 to let it
stop at the location of program ending.
3. MPG Program Test (F4):You can choose this function at any
time no matter the program is executing or feed hold.
When this function is chosen and executing,any motion of
program will be controlled by MPG pulse。The motion of program
will stop when the MPG pulse dose not feed-rate.
※You can also use 『CURSOR』key to replace the
MPG feed-rate.
4. Edition When Executing
Special mode 1 ( AUTO MODE;Show the program content)
(1) Enter the basic MCM page.
(2) Press key and key each twice within one second.
(3) Press 『F3』. (special key)
(4) The value-set of first line【AUTO MODE,the program content
is showing】is “ 1 ”.
CLR

HUST CNC H2PN MANUAL
2 - 4
Special mode 2 (AUTO MODE;Show the program content and
the corrected program content)
(1) Enter the basic MCM page.
(2) Press key and key each twice within one second.
(3) Press 『F3』. (special key)
(4) The value-set of first line【AUTO MODE,the program content
is showing】is “ 256 ”.
Description:
(1) AUTO MODE;Press 『CYCST』key.
(2) When the program is executing,the 『E.W.E』key will show
on the lower side of screen.
(3) Press『F5』key,『E.W.E』will highlight.
(4) In E.W.E mode and use CURSOR key to
correct the content of program when the
program is executing.
(5) When the correction is finished,press 『E.W.E』key again,
The controller will go back to AUTO MODE again(Highlight of
『E.W.E』will be canceled),and the program correction will be
effective in the next cycleThe program is executing,There
will effective when the “Repetitious cycle” command is on.
CLR

2 Operation
2 - 5
Limitation:
(1) When the program is executing,the limitation of correcting
program is described below:
a. 【J-Column】and【L-Column】Value can’t be corrected.
b. The key of 【Insert】and 【Delete】will fail.
(2) Correcting program data when the program is executing,
the controller will go back to AUTO MODE.At this time
because it recalculates the program data,there is some
delay before next cycle.
(3) When system are showing the program content under
AUTO MODE,the scan time will be longer that it will infect
the fluency between single block.
So,please do not show the program content when the
program is executing,if the motion response is very fast.
* JOG Mode screen
Press 『JOG』to enter jog mode,the screen is displayed below:
Program coordinate
Set-Zero function
can be set with
further MCM
Key scan value
For key test
Output single status
( ON -highlight)
JOG-test function
can be set with
further MCM
P2-5
Input single status
( ON -highlight)
Program coordinate

HUST CNC H2PN MANUAL
2 - 6
(1) On the basic MCM page, keeping pressing 『F5』blank key
for 5 seconds will enter further MCM page.
(2) Set the value of【output test function under jog mode】as 1.
(3) Enter JOG mode and press numeral key 0 to
7. It can test independently if the
correspondent output signal (O00~~O07) is
normal or not. By pressing once the output
signal is on,and when pressing again the
output signal will be off.
(4) When output signal already on then it can’t be
test. If you leave the JOG mode,all the output
signal will return to the former status before entering JOG
mode automatically.
Attention※:When using JOG mode to test,you must pay
attention to that if there is any danger of
machinery crash。
Under JOG mode,the movement of axis can be controlled:
Under JOG mode,the description of 『F2~F4』
1. JOG mode (F2):『Series』、『1』、『0. 1』、『0.01』、『0.001』.
2. JOG speed (F3):『L-sp.』、『M-sp.』、『H-sp.』.
3. JOG way (F4):『MPG』、『MPG*1』、『MPG*10』、『MPG*100』.
S-Zero (F5): Program coordinate Set-Zero
(1) On the basic MCM page,keep pressing『F5』blank key for 5
seconds to enter further MCM page.
(2) Set the value of 【(S-Zero) key function under JOG mode】as 1.
(3) Return to JOG page. The status will be blank if this function is
off.

2 Operation
2 - 7
(4) When this function is on,keeping pressing 『S-Zero』for 2
seconds will set the program coordinate as zero. Machine
coordinate will be set as zero depended by if the axis direction
has “HOME” movement.
(5) If there is setting about “ Back to the Machine coordinate before
CYCST” in page 3 of further MCM
A. Setting value=1;The X-axis Machine coordinate will not be
set as zero.
B. Setting value=2;The Y-axis Machine coordinate will not be
set as zero.
C. Setting value=3;The Z-axis Machine coordinate will not be
set as zero.
(6)This coordinate setting-zero institution is not allowed when the
axis is moving.
Operation description:
1 MPG operation:
(1) Choose『MPG*1』、『MPG*10』、『MPG*100』
(2) Choose axis (Press page『』、『 』key. The chosen axis
will highlight on the screen.
(3) MPG feed-rate.
2 Pressing key way:
(1) Press『F4』,choose『MPG』key.
(2) Press『F2』,choose executing mode.『Series』key.
(3) Keep pressing the cursor . X axis is executing on the
positive direction. Keep pressing the cursor . X axis is
moving on the negative direction.
(4) Keep pressing the cursor . X axis is executing on the
positive direction. Keep pressing the cursor .X axis is
executing on the negative direction.
(5) Press『F2』,choose executing mode『1』、『0.1』、『0.01』、『0.001』.
Then press cursor to move the distance 『1』、『0.1』、『0.01』、
『0.001』by chosen axis and direction.

HUST CNC H2PN MANUAL
2 - 8
** EDIT MODE screen
On” standby “screen (P 2-6), press『EDIT』key to enter EDIT mode,
the screen is shown as (P 2-7):
P2-6
P2-7
Detail program editing operation is described in 2.2※『Program
Edition』chapter (Page 13)

2 Operation
2 - 9
* HOME mode screen
Press『HOME』to enter home mode,the screen is shown as below:
P2-8
HOME operation:
1. Directly press cursor 『』、『 』. X axis returns to machine
coordinate.
2. Directly press cursor 『』、『 』. Y axis returns to machine
coordinate.
3. Press CYCST key. The both two axes return at machine
coordinate at the same time.
PS:In the further MCM (P 2-9),when setting “Back to the Machine
coordinate before CYCST” =1,there will be HOME movement
by pressing 【CURSOR】key or 【CYCST】key. If the setting
value=0,there will be no HOME movement.
Setting value =1,only X-axis HOME is on.
Setting value =2,only Y-axis HOME is on.
Setting value =3, X、Y-axis HOME is on.
P2-9

HUST CNC H2PN MANUAL
2 - 10
Program coordinate Set-Zero:(S-Zero)
Keeping pressing the S-Zero 『F4』for 2 second (P 2-8) can set
current program coordinate as zero.
PS:
1. In the further MCM,when setting “Back to the Machine coordinate
before CYCST”=1,this operation of set-zero only set the program
coordinate as zero and reserve the machine coordinate.
2. In the further MCM,when setting “Back to the Machine coordinate
before CYCST” =0,Keeping pressing the S-Zero key for 2 second
will set the coordinate of program and mechanic as zero.
※ On standby screen,pressing the soft key『NEXT』can
exchange the function of soft key.
After exchanging the screen is shown as (P 2-11)
*『CONT』(P 2-11):
When the program is executing to the end or repetitious cycle
(R-cyc.), the counter will add by 1.
If you want to set it zero, please keep pressing 『CONT 0』for 2
seconds. Then it will be zero.
*『CONT limit』(P 2-11):
1. Set by the basic MCM. (P 2-12)
2. When the counter value has reached
the limit, the program will stop and
CYCST key fail.
3. The 『LIMIT』on the screen will be
twinkling.
P2-10 P2-11
P2-12

2 Operation
2 - 11
* Inspection screen
Press『Inspe.』to enter inspectional page. The input and output signal
is shown as page below:
P2-13
1. On this screen you can inspect the status of I/O (Input/Output
signal).
2. “ON” signal will highlight on the screen.
3. Unused signal of input or output can be set as the【status off】in the
special MCM. And these will not have the definition pointer.
* Basic MCM screen
Press『MCM』key to enter basic MCM setting mode, the screen is
shown below:
P2-14

HUST CNC H2PN MANUAL
2 - 12
※The detailed description of each basic MCM is explained in
chapter 3『MCM』.
Press『VER』key to enter the mode of version display,the screen is
shown below:
The screen display the SYSTEM&PLC time(Year Month Date)
SYSTEM:2004 1105
PLC:2004 1105
It presents that the system version time is November 5th, 2004
The screen display the PLC time(Year Month Date)EX:2004 1105
P2-15
Version
Serial
Numbe
r
Default Value

2 Operation
2 - 13
2.2 Edit Program
Press『EDIT』key (as P 2-16). When the cursor moves on the subject
of data. Then press will display another subject (as P 2-17).
(Single axis mode is shown on the same screen)
The highlight location is the※edit location.
1. Use cursor key『』、『 』to move the cursor to the edition
column.
2. Use cursor key『』、『 』and the changing-page key
『』、『 』to move the row place of serial number.
3. Input value first then press『』.
4. How to clean the column to blank:Press『CLR』first then pres
『』.
5.『CLR』key can erase the input data of the temporal input
area(lower and left).
P2-16 P2-17
P2-18

HUST CNC H2PN MANUAL
2 - 14
6. 『DEL』key can delete the whole row data the cursor pointing.
7. 『INS』key can insert a row data the cursor pointing and move the
edition row to the next row.
Edition screen:
1. Press 『HELP』key to change the upper part of command code
description. (P2-21)
2. Press 『HELP』key again to change the upper part of command
code description. (P2-20)
3. Continuously press『HELP』key twice to change the description of
program edition. (P-22)
P2-20 P2-21
cursor pointing
row data
P2-19
Table of contents
Popular Controllers manuals by other brands

Spirax Sarco
Spirax Sarco AEL8 Series Installation and maintenance instructions

Trackunit
Trackunit DualID II user guide

MCE
MCE iControl user guide

Coilhose Pneumatics
Coilhose Pneumatics 8802 Installation instructions operating instructions

National Instruments
National Instruments NI cRIO-9065 Getting started guide

NZXT
NZXT Hue manual