UTCV2.2 - Users ManualE090925 PDF
UTCV2.2 - Users ManualE090925 PDF
UTCV2.2 - Users ManualE090925 PDF
Contents
UTC-Series Reference Manual
UTC-Series Controller Specifications..................................................................1-1
Application Field..................................................................................................1-2
Mathematics Operation Ability ............................................................................1-3
Numerical Values .......................................................................................1-3
Operators ...................................................................................................1-3
Functions....................................................................................................1-3
Expressions................................................................................................1-5
Data............................................................................................................1-5
Comparators...............................................................................................1-6
Conditions ..................................................................................................1-6
Simple ................................................................................................1-6
Compound .........................................................................................1-6
Timers ........................................................................................................1-6
Variables ....................................................................................................1-6
I-Variable............................................................................................1-6
P-Variable ..........................................................................................1-6
Q-Variable..........................................................................................1-7
M-Variable..........................................................................................1-8
Jog the Motor ......................................................................................................1-10
Address Motors ..........................................................................................1-10
Enable Drivers............................................................................................1-10
Jog Acc/Dec ...............................................................................................1-10
Jog Speed ..................................................................................................1-10
Jog Command ............................................................................................1-10
Home Searching.........................................................................................1-11
Motion Program ..................................................................................................1-12
PLC Program ......................................................................................................1-15
Calculation Statements...............................................................................1-15
Conditional Statements ..............................................................................1-15
IF Level-Triggered Conditions............................................................1-15
IF Edge-Triggered Conditions ............................................................1-15
WHILE Loop.......................................................................................1-16
Timer ..........................................................................................................1-16
Trajectory Generation .........................................................................................1-17
Position Following.......................................................................................1-20
Time Based Following ................................................................................1-21
Commands Summary .........................................................................................1-23
On-line Command ......................................................................................1-23
Motion Program Command ........................................................................1-25
PLC Program Command ............................................................................1-27
I-Parameter Summary.........................................................................................1-28
Suggested M-Variable Definition.........................................................................1-30
I-Variables Definition .........................................................................................2-1
System I-Variables .....................................................................................2-1
I0 Card Number................................................................................2-1
Table of Contents i
Micro Trend UTC Controller Manual (V2.2) Sep. 04
Table of Contents ii
Micro Trend UTC Controller Manual (V2.2) Sep. 04
& .................................................................................................................3-11
&{constant} .................................................................................................3-12
{axis}={constant}.........................................................................................3-12
A .................................................................................................................3-12
B{constant} .................................................................................................3-13
CLEAR .......................................................................................................3-13
CLOSE .......................................................................................................3-14
CS ..............................................................................................................3-14
DATE..........................................................................................................3-14
DEF ROT....................................................................................................3-15
DEL ROT....................................................................................................3-15
DIS PLC .....................................................................................................3-15
ENA PLC ....................................................................................................3-16
ENA CAM ...................................................................................................3-16
ENDG .........................................................................................................3-16
GAT ............................................................................................................3-16
H.................................................................................................................3-17
HM..............................................................................................................3-17
HMZ............................................................................................................3-17
I{constant} ..................................................................................................3-18
I{constant}={expression}.............................................................................3-18
INIT.............................................................................................................3-19
J+ ...............................................................................................................3-19
J- ................................................................................................................3-20
J/ ................................................................................................................3-20
J: ................................................................................................................3-20
J:{constant}.................................................................................................3-21
J= ...............................................................................................................3-22
J={constant}................................................................................................3-22
J* ................................................................................................................3-23
K .................................................................................................................3-23
LIST............................................................................................................3-23
LIST BUF{address}[,{length}] .....................................................................3-24
LISTGAT ....................................................................................................3-24
LISTPE{constant}[,{length}] ........................................................................3-25
LIST PLC....................................................................................................3-25
LIST PROG ................................................................................................3-25
M{constant} ................................................................................................3-26
M{constant}={expression}...........................................................................3-27
M{constant}-> .............................................................................................3-27
M{constant}->*............................................................................................3-28
M{constant}->addr[,start][,width][,s] ............................................................3-28
M{constant}->L:addr ...................................................................................3-29
M{constant}->I:addr[,start][,width][,s] ..........................................................3-29
O{constant} For Pulse Command (UTCx00P) ............................................3-30
OUT{constant} For Voltage Command (UTCx00V) ....................................3-30
OPENBUF{address} ...................................................................................3-31
OPEN CAM ................................................................................................3-31
OPEN PLC .................................................................................................3-32
OPEN PROG..............................................................................................3-32
Table of Contents iv
Micro Trend UTC Controller Manual (V2.2) Sep. 04
OPEN ROT.................................................................................................3-33
P .................................................................................................................3-33
P{constant} .................................................................................................3-34
P{constant}={expression} ...........................................................................3-34
PC ..............................................................................................................3-35
PE...............................................................................................................3-35
PR ..............................................................................................................3-35
PWD ...........................................................................................................3-36
Q{constant}.................................................................................................3-36
Q{constant}={expression} ...........................................................................3-37
R.................................................................................................................3-37
RD{address}[,{length}] ................................................................................3-37
S .................................................................................................................3-38
SAVE..........................................................................................................3-38
SIZE ...........................................................................................................3-39
V .................................................................................................................3-39
VER ............................................................................................................3-39
Motion Commands..............................................................................................4-1
Summary of Buffer Command ........................................................................4-1
{axis}{data}[{axis}{data}…]..........................................................................4-3
{axis}{data}[{axis}{data}…]{vector}{data}[{vector}{data}…] .........................4-3
ABS ............................................................................................................4-4
ADIS ...........................................................................................................4-4
AND............................................................................................................4-5
AROT .........................................................................................................4-5
ASCL ..........................................................................................................4-6
BSTART .....................................................................................................4-6
BSTOP .......................................................................................................4-7
CALL ..........................................................................................................4-7
CIR1 ...........................................................................................................4-8
CIR2 ...........................................................................................................4-8
CMD ...........................................................................................................4-9
DELAY........................................................................................................4-10
DISP ...........................................................................................................4-10
DISPLC ......................................................................................................4-11
DWELL .......................................................................................................4-11
ELSE ..........................................................................................................4-11
ENAPLC .....................................................................................................4-12
ENDIF.........................................................................................................4-12
ENDWHILE ................................................................................................4-13
F .................................................................................................................4-13
FRAX..........................................................................................................4-14
G ................................................................................................................4-14
GOSUB ......................................................................................................4-15
GOTO.........................................................................................................4-15
HM..............................................................................................................4-16
I ..................................................................................................................4-16
I{constant}={data} .......................................................................................4-17
IDIS ............................................................................................................4-17
IF ................................................................................................................4-18
Table of Contents v
Micro Trend UTC Controller Manual (V2.2) Sep. 04
INC .............................................................................................................4-18
INIT.............................................................................................................4-19
IROT...........................................................................................................4-19
ISCL ...........................................................................................................4-20
J .................................................................................................................4-20
K .................................................................................................................4-21
LIN..............................................................................................................4-21
M{constant}={data} .....................................................................................4-21
M ................................................................................................................4-22
N.................................................................................................................4-22
NORMAL ....................................................................................................4-23
OR ..............................................................................................................4-23
P{constant}={data}......................................................................................4-24
POSTLUDE ................................................................................................4-24
PSET ..........................................................................................................4-25
Q{constant}={data} .....................................................................................4-25
R.................................................................................................................4-26
READ .........................................................................................................4-27
RET ............................................................................................................4-28
RPD............................................................................................................4-28
S .................................................................................................................4-29
SEND .........................................................................................................4-29
SPLINE.......................................................................................................4-30
STOP..........................................................................................................4-30
T .................................................................................................................4-31
TA...............................................................................................................4-31
TM ..............................................................................................................4-33
TS...............................................................................................................4-34
UNIT ...........................................................................................................4-34
WHILE ........................................................................................................4-35
Program Pointer Control Commands ..................................................................4-36
CLEAR .......................................................................................................4-36
DEL ............................................................................................................4-36
END............................................................................................................4-37
INS .............................................................................................................4-37
JP ...............................................................................................................4-38
LEARN .......................................................................................................4-39
LIST............................................................................................................4-39
NEXT..........................................................................................................4-40
OVR............................................................................................................4-40
UPPER .......................................................................................................4-41
Table of Contents vi
Micro Trend UTC-SERIES User’s Guide (V2.2) Sep. 04
UTC-Series Specifications
z Two serial RS232 communication ports; maximum baud rate 115200 bps.
z On board photo coupling isolated inputs and open collector outputs; I/O expansion
available.
z Hardware & software positive and negative limits; home flag inputs.
z Total memory 4M Bits. (can be expanded to 16M Bits)
z 4M Bits flash and battery backup SRAM for double security.
z Two +/- 10v analog output/input.
z ASCII command set.
z 8 timers and 4096 variables.
z Buffer available for 256 motion programs and 16 PLC.
z The most advanced servo control algorithm to effectively minimize the number of
errors and increase the product stability.
z System working frequency: 32MHz, one wait state.
z Servo update rate:1ms.
z The highest output pulse speed: 2M pps.
z Capable of electronic gear and electronic cam applications.
z Hardware capture registers for position searching.
z Definable coordinate system. ( independent or dependent )
z S-Curve acceleration, rapid move, linear interpolation, circular interpolation, spline
move and blended move.
z “Look Ahead” function.
z Back lash compensation.
z Encoder inputs which allows dual feedback.
z Complete online command set and DNC. (direct numerical control)
z Password protection to make your design secured and private.
1-1
Micro Trend UTC-SERIES User’s Guide (V2.2) Sep. 04
Application Field
z Sealing Machine
z Lathe Machine
z Brush Maker
z Bar Feeder
z Fly Cutter / Fly Shear
z Printing Machine
z Gilding Machine
z PC Board Maker
z Packing Machine
z Rotary Table
z Drilling Machine
z Electronic Machine
z Spring Coiling Machine
z Glue Dispensing Machine
z Milling Machine / Engraving Machine
z Laser Cutter
z Wood Cutting Machine
z Stamping Machine
z Grinding Machine
z Press Feeder
z Folding and Gluing Machine
z Steel Cutting Machine
z Winding Machine
z Foam Cutting Machine
z Injection Molding Machine
1-2
Micro Trend UTC-SERIES User’s Guide (V2.2) Sep. 04
1-3
Micro Trend UTC-SERIES User’s Guide (V2.2) Sep. 04
1-4
Micro Trend UTC-SERIES User’s Guide (V2.2) Sep. 04
1-5
Micro Trend UTC-SERIES User’s Guide (V2.2) Sep. 04
X100
X(P1+250*P2)
X(100) (Also acceptable)
z P-Variables P0 - P1023
Global user variable for all coordination.
32-bits floating-point data format.
1-6
Micro Trend UTC-SERIES User’s Guide (V2.2) Sep. 04
The firmware date from 20040401 now can accept direct matrix
writing, such as
P(P100) = P1+123.45
P(Q1) = P(Q2)
The index can be any one of I, P, Q, M variable but can not be
expression.
Q-Variables Q0 - Q1023
Local general variable for each coordinate.
Program parameter transfer variable
32-bit floating-point data format.
The matrix reading and writing method are the same as P-variables.
Following are the actual address list for the Q variable in different
coordinate systems. Please beware not to overlap address in
multi-coordinate system.(For 2 coordinate systems, only Q0 to Q511
could be used. For 4 coordinate systems, only Q0 to Q 255 could be
used)
The firmware date from 20040401 now can also accept direct matrix
writing.
1-7
Micro Trend UTC-SERIES User’s Guide (V2.2) Sep. 04
z M-Variables M0 - M1023
Used as a pointer point to the memory address or I/O address:
Inputs, outputs, counters, A/D, D/A, RAM.
FORMAT:
3 3 2 2 2 2 2 2 2 2 2 2
1 0 9 8 7 6 5 4 3 2 1 0
1-8
Micro Trend UTC-SERIES User’s Guide (V2.2) Sep. 04
Command Specification:
Mxx->* Not point to any address, used as a normal variable with signed value.
Mxx->addr[, start][, width][,s] Point to normal data area with integer format.
Mxx->L:addr Point to normal data area, floating point format.
Mxx->I: addr[, start][, width][,s] Point to I/O address.
1-9
Micro Trend UTC-SERIES User’s Guide (V2.2) Sep. 04
Addressing Motors:
The active axis should be assigned before the jog function execution. The axis
assignment could be done by the instructions #{const}. (For example: #1 or #2…).
The assignment of axes is modal instructions.
Drivers Enable:
The default condition for all the axes are driver enabled. (Variable Ix09 could
set the enable signals polarity.) The enable conditions will be checked before each
motion program execution. An error information will be generated if any addressed
motor is disabled.
K: Disable the addressed driver.
J/: Enable the addressed driver.
Jog Speed:
The variable Ix03 will determine the jog speed. The unit is counts/msec. A
negative setting will change the direction of motor rotation. To prevent the
confusion, we recommend using Ix09 for direction setting instead and setting Ix03
to a positive value.
Jog Commands:
J+ Jog to positive direction.
J- Jog to negative direction.
J/ Jog motion stop.
J={const} Absolute position jog. Jog to {const} defined position (unit:
counts)
J:{const} Incremental jog. Jog distance = {const} (unit: counts)
J= Jog to variable defined position. (Suggested Mx63 as the
variable pointer)
J: Variable defined incremental jog. (Suggested Mx63 as the
variable pointer)
J* Jog back to last programming stop position.
1-10
Micro Trend UTC-SERIES User’s Guide (V2.2) Sep. 04
Home Searching:
The homing acceleration and deceleration are the same setting as jog
function. (Ix01). The speed setting is Ix07. The positive value of Ix07 will run a
positive direction home searching while negative settings make negative direction
searching. The home searching functions are as following steps.
1-11
Micro Trend UTC-SERIES User’s Guide (V2.2) Sep. 04
Motion Program
The powerful UTC-Series instruction set is a kind of high level language. It is
similar to BASIC or C language. It also accepts the G, M Code as the motion
instructions. The general arithmetic and logical instructions are similar to most of
the computer language. Such as WHILE loop, IF… ELSE and other Jump or
sequence control instructions.
The UTC-Series allows total 256 programs in the memory. Program 0 is a
Rotary Buffer, which is used for DNC feature. Program 1000 is used for defining
G CODE. (Please refer to Motion instruction format and STDGCODE.UTC.).
Program 1001 is used for M-CODE definition, program 1002 is for defining T-Code.
The normal executed programs will be defined in program numbered between 001
to 999.
Each program will start with the instruction OPEN PROG # (#: Program
number), and ended with CLOSE. The statement after ';' mark will not be
interpreted could be used as a remark. The total program structure will be as the
following:
1-12
Micro Trend UTC-SERIES User’s Guide (V2.2) Sep. 04
We may use any simple editor software to edit the entire program and then
download to UTC-Series for execution. (The motion instruction format will be
described in later section.)
We should define the Coordinate System before we run a NC program. The
Coordinate System is a motor group, all the motor inside this group could operate
according to the motion instruction of the program at the same time or sequentially.
It is possible to define the motors into different Coordination System if their motion
is independent and no sequential relation. There are maximum 4 Coordinate
Systems in UTC-Series controller. Each motor should not appear in more than
one Coordinate Systems.
The instruction &n is used to define the Coordinate System n.
Multi-programs with multi-coordinate systems could be executed simultaneously.
As an example, the first of above program uses X and Y axes in the program.
We define 1st motor for X-axis And 2nd motor for Y-axis. Assume the user's unit is
mm, encoder feedback is 4000 counts/rev. Ball screw pitch is 5 mm/rev. Then we
get ratio of counts/user's unit as:
count
4000
rev = 800 count
mm mm
5
rev
Assume we have only one Coordinate System. We should define the system
as:
&1 ; Define the coordinate system 1
#1->800X ; 800counts / user's unit (mm) Define the motor to an axis and
ratio.
#2->800Y ; 800counts / user's unit (mm) Define the motor to an axis and
ratio.
The axis name could be any of the X,Y,Z,U,V,W,A,B or C. The ratio could
be any positive floating point value. The motor direction is defined per Ix09 setting.
We can not <Jog> any motor with axis defined in a program under execution. We
should first cancel the definition (ex: #4->0) before jogging the motor. Or we can
jog a motor that is defined in other axis than the executing one.
There are some instructions to do with auto-execution after we defined the
axes:
&1 ; Select the Coordinate System one.
B1 ; Select the Program 1
R ; Continuous execution.
S ; Single step execution
1-13
Micro Trend UTC-SERIES User’s Guide (V2.2) Sep. 04
1-14
Micro Trend UTC-SERIES User’s Guide (V2.2) Sep. 04
PLC Program
All the motion programs are executed synchronously step by step at highest
priority. UTC-Series runs up to 16 PLC programs by scanning asynchronously.
Those PLC programs accomplish all the normal PLC features. To create a PLC
program and to write an instruction are similar to writing a motion program. We
use OPEN PLC# to create a new PLC program instead of OPEN PROG# for
creating a motion program. We can not perform motion instructions in PLC
program. We can only move a motor by the <Jog> command.
The PLC program scan frequency is high enough to trace all the logic input
signals, set output signal level, set out messages, motor the motions, change
parameters or to start another program.
PLC also send out commands just like we send commands from computers.
The scan time for normal PLC is about 5 to 10 msec depends on the program
length. UTC-Series allows 16 PLC programs stored in the memory. There are
numbered from 0 to 15. The stored PLC programs could be enabled by command
ENAPLC# and disabled by DISPLC# (# is the program number). Variable I6 will
determine which programs could be enabled.
The PLC features are described as following:
Calculation Statements:
We may enable a PLC program to calculate an arithmetic operation repeatedly
until the expected result appears. EX:
P1 = P1+1
P161 = (M161+M164)/M191
Conditional Statements:
The conditional statements in PLC are the same as that in motion programs.
The follows are some common used statements.
z IF (level-triggered conditions)
To execute a certain block each time when the specified condition are met.
IF (M11 = 0) ; E-stop signal
CMD”A”
ENDIF
IF (M12 = 0) ; If a pushbutton is pressed, P1 will count up.
P1 = P1+1 ; Count frequency is the PLC scan frequency.
ENDIF
z IF (edge-triggered conditions)
To execute a certain block once when the specified condition are first met.
IF (M11 = 0 AND P11 != 0) ; Push the JOG button.
P11 = 0
CMD”#1J+”
ENDIF
IF (M11 = 1 AND P11 != 1) ; Release the JOG button.
P11 = 1
CMD”#1J/”
ENDIF
IF (M12 = 0) ; P1 count up when pushbutton pressed once.
1-15
Micro Trend UTC-SERIES User’s Guide (V2.2) Sep. 04
IF (P12 = 1)
P1 = P1+1
P12 = 0
ENDIF
ELSE
P12 = 1
ENDIF
z WHILE Loop
To execute a certain block while a specified condition is met. UTC-Series will
jump out this program if an ENDWHILE instruction is executed. Next time the
scan will start at the top of this WHILE loop.
Note: The statements located after WHILE loop will not be executed if the WHILE
loop condition is met and that certain block in under execution.
1-16
Micro Trend UTC-SERIES User’s Guide (V2.2) Sep. 04
Trajectory Generation
UTC-Series has very powerful trajectory generation algorithms. Users can
perform variety of difficult maneuvers with simple programs.
The easiest class of moves is Blended Linear Move, without stopping between
two linear moves. We only have to set the motion feedrate (F) or move time (TM),
acceleration time (TA), S-curve acceleration time (Ts=TA*TS/2), then the linear
acceleration time TL = TA-2*Ts. The actual total acceleration will be as TA.
TM or ∆P/F
TA TA
T
V
T
TM or ∆P/F TM or ∆P/F
TA TA TA
1-17
Micro Trend UTC-SERIES User’s Guide (V2.2) Sep. 04
T T T
TL TS TS TS TL TS
A A A
T T T
(30,45)
NORMAL K-1 CIR2
Y CIR1 Y TM1000
F10 X25Y5I-20
(25,25) X30Y45I15J15 (25,25) (45,25)
I
J
(10,10)
I (25,5)
X X
CIR2
1 CIR2
Y TM1000 Y F20
X45Y25I-20
X0Y20R20
or 2
(45,25) I-20
(25,25) 2 CIR2
(0,20)
I F20
X0Y20R-20
1 X
(20,0)
X
1-18
Micro Trend UTC-SERIES User’s Guide (V2.2) Sep. 04
+X +Y +X +Y +X +Y
The users might need to generate some very complicated trajectory to perform
some difficult work. UTC-Series provide an additional type of motion that allows
user to create a smoother and more accurate trajectory. That is called Spline
Move. In this mode, user has to specify the move time (TM) or feedrate (F) in each
segment. Then enter the position or distance step by step. The three dimensional
trajectory will be created automatically with no discontinuity of acceleration and
velocity.
When the UTC-Series need to follow external signals (normally encoder
signals), there are two methods to archive this feature.
1-19
Micro Trend UTC-SERIES User’s Guide (V2.2) Sep. 04
Source selector
Master source
I185 I105
Memory
I285 I205
HW
I385 I305
Encoder
I485 I405
No
Ix05<>0
Yes
Scale factor
Ix06
1-20
Micro Trend UTC-SERIES User’s Guide (V2.2) Sep. 04
Source selector
Master source
I185 I161
Memory
I285 I261
HW
I385 I361
Encoder
I485 I461
No
Ix61 bit4=1
Yes
No
Triggered?
Yes
Scale factor
Ix60
Time base
1-21
Micro Trend UTC-SERIES User’s Guide (V2.2) Sep. 04
<Example>:
There is a Master encoder with 400 counts/rev, The control should jog 100
mm for each revolution of master encoder. The program will be as:
INC ; Incremental Mode
I150=1 ; Blended Move mode
I185=$0848 ; Master from HW Port
I161=1 ; Start the Time Base Following
TM(400-I152/2) ; Take acceleration time into account.
X100 ; X-axis move 100 mm first time
TM400 ; TM=400 ms (Per encoder revolution) after 1st count.
P0 = 0
WHILE(P0 = 0)
X100 ; X-axis move 100 mm each revolution
ENDW
1-22
Micro Trend UTC-SERIES User’s Guide (V2.2) Sep. 04
Command Summary
1-23
Micro Trend UTC-SERIES User’s Guide (V2.2) Sep. 04
2. Jog Command
J+ Jog to plus direction
1-24
Micro Trend UTC-SERIES User’s Guide (V2.2) Sep. 04
3. Report Command
P Report current motor position
V Report current motor velocity
Motion Program Command (Stored in the program buffer, executed upon 'R'
command)
A. Motion Command
{axis}{data}[{axis}{data}...] Single step motor linear motion
<Example> X100Y100Z200
{axis}{data}[{axis}{data}..][{vector}{data}..] Single step circular motion
<Example>X100Y100Z200I500J300
DWELL{data} Dwell specified time, non time base related
DELAY{data} Dwell specified time, time base related
B. Modal Command
LIN Set to linear motion mode
RPD Set to rapid traverse mode
CIR1 Set to clockwise circular move mode
CIR2 Set to counterclockwise circular move mode
SPLINE Set to Spline Move mode
1-25
Micro Trend UTC-SERIES User’s Guide (V2.2) Sep. 04
G. Other Command
@ Forced On-line command
CMD"{command}" On-line command from NC program
CMD^{letter} Control type online command from NC
program
SEND"{message}" Send out messages to PC
DISP[{constant}] ,"{message}" Shows messages to LCD display
DISP{constant},{constant},{variable} Shows variable content to LCD display
ENAPLC{constant}[,{constant}...] Enable specified PLC program
DISPLC{constant}[,{constant}...] Disable specified PLC program
1-26
Micro Trend UTC-SERIES User’s Guide (V2.2) Sep. 04
A. Conditional Command
IF({condition}) Execute when condition met
ELSE{action} Execute when condition not met
ENDIF End of conditional block
WHILE({condition}) Execute each time when condition met
ENDWHILE End of WHILE loop
AND({condition}) Condition combinations
OR({condition}) Condition combinations
B. Operation
{variable}={expression} Assign the {expression} result to a variable
CMD"{command}" On-line command from PLC
CMD^{letter} On-line Ctrl-type command from PLC
SEND"{message}" Send messages to PC
DISP[{constant}],"{message}" Show messages on LCD
DISP{constant},{constant},{variable} Show variables on LCD
ENAPLC{constant}[,{constant}...] Enable specified PLC
DISPLC{constant}[,{constant}...] Disable specified PLC
1-27
Micro Trend UTC-SERIES User’s Guide (V2.2) Sep. 04
I-Parameter Summary
Number Definitions
I0 Card Number
I1 Coordinate System Activation Control
I2 COM2 Baudrate Control
I3 COM2 Handshake Control
I4 Wait State Control
I5 Motor Position and Velocity Response Control
I6 PLC Programs On/Off Control
I7 Control Type Command Disable
I8 Backlash Hysteresis Value
I9 Maximum Digit for Floating Point Returned
I10 Real Time Interrupt Period
I11 P/Q Variables Backup Control
I18 Extension I/O Board Enable
I19 Digital Inputs Debounce Cycle
I20 Gathered Data Selection
I21 Gathered Data Source 1
I22 Gathered Data Source 2
I23 Gathered Data Source 3
I24 Gathered Data Source 4
I25 Gather Period
I26 Gather Buffer Size
I27 Gather Start and Stop Control
I28 Gather Stop Delay
Ix01 Motor x Jog / Home Acceleration Time
Ix02 Motor x Jog / Home S-Curve Time
Ix03 Motor x Jog Speed
Ix04 Motor Deceleration Rate on Position Limit or Abort
Ix05 Motor x Master Following Enable
Ix06 Motor x Master Scale Factor
Ix07 Motor x Homing Speed and Direction
Ix08 Motor x Home Offset
Ix09 Motor x Flag Control
Ix10 Motor x Positive Software Limit
Ix11 Motor x Negative Software Limit
Ix12 Motor x Coordinate Position Displacement
Ix13 Motor x Coordinate Position Scaling
Ix14 Motor x Coordinate Unit Scaling
Ix15 Motor x Backlash Size
Ix16 Motor x Backlash Takeup Rate
Ix17 Motor x Rollover Range
Ix18 <Reserved>
Ix19 Motor x Velocity Weighting
1-28
Micro Trend UTC-SERIES User’s Guide (V2.2) Sep. 04
1-29
Micro Trend UTC-SERIES User’s Guide (V2.2) Sep. 04
;
; SUGGEST M-DEFINITION FOR UTC400P V2.10
;
M0->9E9,0,24,S ; INTERRUPT COUNTER
1-30
Micro Trend UTC-SERIES User’s Guide (V2.2) Sep. 04
1-31
Micro Trend UTC-SERIES User’s Guide (V2.2) Sep. 04
1-32
Micro Trend UTC-SERIES User’s Guide (V2.2) Sep. 04
1-33
Micro Trend UTC-SERIES User’s Guide (V2.2) Sep. 04
1-34
Micro Trend UTC Controllers I-Variable Definition (V2.2) Sep. 04
I-Variables Definition
I0 Card Number
Range 1-4
Units None
Default 1
Remarks I1 controls which coordinate systems are activated on a UTC controller.
A coordinate system must be activated in order for it to be addressed and
accept commands, and to have its automatic capability to run a motion
program.
2−1
Micro Trend UTC Controllers I-Variable Definition (V2.2) Sep. 04
Value Baudrate
0 Not Active
1 9600
2 19200
3 38400
4 115200
Value Format
0 N-8-1
1 O-8-1
2 E-8-1
3 N-7-1
4 O-7-1
5 E-7-1
Range 0/1
Units None
Default 0
Remarks This parameter determines whether the controller use the RTS/CTS
signal for handshake through COM2 or not. If I3 is 1, controller will check this
signal before sending the response out.
Range 0-7
Units None
Default 1
Remarks This parameter determines how many wait state is inserted between
each DSP instruction cycle. Lower down the number of wait state will
increase the performance of mathematical calculation and PLC scanning. But
sometimes it will cause the system more unstable. Users need to take the risk
by their own if they try to use zero wait state in our controller.
2−2
Micro Trend UTC Controllers I-Variable Definition (V2.2) Sep. 04
Range 0/1
Units None
Default 0 for UTC400V and 1 for UTC400P
Remarks This parameter determines the content of response for <Ctrl-P>,
<Ctrl-Q> and <Ctrl-V> commands. If I5=0, all actual positions and actual
velocities from encoder feedback will be returned. If I5=1, all command
positions and command velocities will be returned.
Range 0-3
Units None
Default 0
Remarks I6 controls which PLC programs may be enabled on power up. There are
two types of PLC programs: the foreground programs (PLC 0), which operate
at the repetition rate determined by I10 (PLC 0 should be used only for
time-critical tasks and should be short); and the background programs (PLC 1
to PLC 15) which cycle repeatedly in background as time allows. I6 controls
these as follows:
Setting Meaning
0 Foreground PLCs off; background PLCs off
1 Foreground PLCs on; background PLCs off
2 Foreground PLCs off; background PLCs on
3 Foreground PLCs on; background PLCs on
Range 0/1
Units None
Default 0
Remarks This parameter determines whether <Ctrl-A>, <Ctrl-D>, <Ctrl-K>,
<Ctrl-O>, <Ctrl-R>, <Ctrl-S> can be accepted or not. If the serial
communication is very easy to be interfered by noise, it is highly
2−3
Micro Trend UTC Controllers I-Variable Definition (V2.2) Sep. 04
recommended to set I7=1 to disable those commands. This can prevent UTC
controllers to accept those one-character type commands by accidence.
Range 0 - 16
Units None
Default 3
Remarks This parameter sets the maximum number of digit for a floating point
value to return when the host asked them to response. If the actual digit
number of this value exceeds the setting of I9, it rounds to the nearest value
that the host required.
2−4
Micro Trend UTC Controllers I-Variable Definition (V2.2) Sep. 04
Note: A large PLC0 with a small value of I10 can cause severe problems, because
UTC400 will attempt to execute the PLC program every I10 msec. This can
starve background tasks, including communications, background PLCs, and
the performance will much less than what you expect.
Range 0/1
Units None
Default 0
Remarks When I11 is set to 1, all P and Q variables will be copied periodically to
nvRAM (optional equipment) for backup. Those values will be restored on
power up when bit7 of SW1 was set, or when “$$$” command was issued.
Range 0 – $0F
Units None
Default 0
Remarks UTC controllers can connect up to 2 MT0170 for extension I/O. Each
MT0170 has 32 inputs and 16 outputs. If we want to use those inputs and
outputs, we need to setup I18 properly to enable them.
Setting Meaning
0 No MT0170 Enabled (save scan time)
1 First MT0170 Enabled
2 Second MT0170 Enabled
3 Both MT0170 Enabled
2−5
Micro Trend UTC Controllers I-Variable Definition (V2.2) Sep. 04
Default 0
Remarks If gather function is enabled, UTC controllers can put the data selected
periodically to the gather buffer. There are at most four data can be selected.
The x’th data can be set by the x’th digit of I20, and the data comes from the
address given in I2x. The definition of each digit of I20 is as following:
Bit Meaning
0 Gather From Source I21 Enable (1) / Disable (0)
1 Gather From Source I22 Enable (1) / Disable (0)
2 Gather From Source I23 Enable (1) / Disable (0)
3 Gather From Source I24 Enable (1) / Disable (0)
4 Data Type From Source I21 is Float (1) / Integer (0)
5 Data Type From Source I22 is Float (1) / Integer (0)
6 Data Type From Source I23 is Float (1) / Integer (0)
7 Data Type From Source I24 is Float (1) / Integer (0)
Definition #1 #2 #3 #4
Command Position (int) $01CD $01CE $01CF $01D0
Command Vel. (float) $01D5 $01D6 $01D7 $01D8
Command Acc. (float) $01DD $01DE $01DF $01E0
Actual Position (int) $082C $082D $082E $082F
Actual Vel. (int) $0824 $0825 $0826 $0827
Following Error (int) $096D $096E $096F $0970
DAC Output (int) $0985 $0986 $0987 $0988
2−6
Micro Trend UTC Controllers I-Variable Definition (V2.2) Sep. 04
If the second digit is 0($40), gather will be stopped when the gather
buffer is full. If this digit is 1, gather will rollover to override the old data.
2−7
Micro Trend UTC Controllers I-Variable Definition (V2.2) Sep. 04
2. Motor I-Variable
Range 0 - 100
Units percent
Default 100
Remarks This parameter sets the time in each “half” of the “S” in S-curve
acceleration for jogging and homing move of motor x. If Ix02 is zero, the
acceleration is constant throughout the Ix01 time and the velocity profile is
trapezoidal.
2−8
Micro Trend UTC Controllers I-Variable Definition (V2.2) Sep. 04
<CTRL-A>. This value should be set to a value near the maximum physical
capability of the motor. Once the deceleration happened, each motor’s
command speed was decreased by Ix04 per millisecond until it comes to a
completely stop. So if you want to stop the motors faster, increase this value,
and vice versa.
Do not set this parameter to zero, or the motor will continue indefinitely
after an abort or limit.
2−9
Micro Trend UTC Controllers I-Variable Definition (V2.2) Sep. 04
this commanded location as motor position zero. This permits the motor zero
position to be at a different location from the same home trigger position
0 1 0 1 0 1 0 0 0 0 0 0
Bit3 Bit2 Bit1 Bit0
2−10
Micro Trend UTC Controllers I-Variable Definition (V2.2) Sep. 04
2−11
Micro Trend UTC Controllers I-Variable Definition (V2.2) Sep. 04
2−12
Micro Trend UTC Controllers I-Variable Definition (V2.2) Sep. 04
Range 1 .. 256
Units counts / msec
Default 1
Remarks This parameter determined how fast backlash (of size Ix15) is “taken up”
on direction reversal. If Ix16 is zero, backlash is effectively disabled. Ix16 is
usually set as high as possible without creating dynamic problems.
2−13
Micro Trend UTC Controllers I-Variable Definition (V2.2) Sep. 04
Range 0/1
Units None
2−14
Micro Trend UTC Controllers I-Variable Definition (V2.2) Sep. 04
Default 1
Remarks This parameter sets two different mode of integral servo loop control.
When Ix24 is set to 1, integration is performed only when the command
velocity is zero. If Ix24 is set to 0, integration is performed all the time.
Remarks This parameter sets the controller where to get the position feedback of
motor x. There are five onboard channels for the encoder input, all can be
chosen for position feedback.
Remarks This parameter sets the controller where to get the position feedback of
motor x. There are five onboard channels for the encoder input, all can be
chosen for position feedback.
2−15
Micro Trend UTC Controllers I-Variable Definition (V2.2) Sep. 04
Remarks When the controller uses dual feedback for both position and velocity
feedback, sometimes the scales of these two encoders are different. In this
case, Ix28 can be used to adjust the velocity scale to match the position
feedback. In single feedback system, just leave this parameter as default.
Range 0 - 32767
Units 10V/32767
Default 20480 (~6.25V)
Remarks This parameter sets the maximum voltage can be output for motor x
command. 32767 means ±10V (100%) and 20480 means ±6.25V (62.5%),
and so on. We should set this parameter properly in order not to damage the
motors.
2−16
Micro Trend UTC Controllers I-Variable Definition (V2.2) Sep. 04
Remarks This parameter sets the in position range for motor x. Whenever the
position following error within Ix33, there is an in-position bit (Mx40) in
controller will be set. If all the motors in the addressed coordinate system are
in position, the in position LED indicator will light.
2−17
Micro Trend UTC Controllers I-Variable Definition (V2.2) Sep. 04
Range 0/1
Units None
Default 0
Remarks Ix50 controls whether programmed moves for coordinate system x is
automatically blended or not. If this parameter set to 1, programmed moves --
LIN, SPLINE, and CIR-mode -- are blended together with no intervening stop.
Upcoming moves are calculated during the current moves. If this parameter
is set to 0, there is a brief stop in between each programmed move (it
effectively adds a DWELL 0 command), during which the next move is
calculated.
When moves are broken into small pieces and blended together, this limit
can affect the velocity, because it limits the calculated deceleration for each
piece, even if that deceleration is never executed, because it blends into the
next piece.
2−18
Micro Trend UTC Controllers I-Variable Definition (V2.2) Sep. 04
motion program, you are strongly encouraged to use TA in the program and
not to rely on this parameter, unless you must keep to a syntax standard that
does not support this (e.g. RS-274 “G-Codes”). Specifying acceleration time
in the program along with speed and move modes makes it much easier for
later debugging.
The acceleration time is also the minimum time for a blended move; if
the distance on a feedrate-specified (F) move is so short that the calculated
move time is less than the acceleration time, or the time of time-specified (TM)
move is less than the acceleration time, the move will be done in the
acceleration time instead. This will slow down the move.
Range 0 - 100
Units percent
Default 100
Remarks This parameter sets the default time in each “half” of the “S” in S-curve
acceleration for programmed blended LIN and CIR mode move in coordinate
system x. Even though this parameter makes it possible not to specify
acceleration time in the motion program, you are strongly encouraged to use
TS in the program and not to rely on this parameter, unless you must keep to
a syntax standard that does not support this (e.g. RS-274 “G-Codes”).
Specifying acceleration time in the program along with speed and move
modes makes it much easier for later debugging.
If Ix53 is zero, the acceleration is constant throughout the Ix52 time and
the velocity profile is trapezoidal. If Ix53 is greater than zero, the acceleration
will start at zero and linearly increase through Ix53 time.
2−19
Micro Trend UTC Controllers I-Variable Definition (V2.2) Sep. 04
2−20
Micro Trend UTC Controllers I-Variable Definition (V2.2) Sep. 04
Range $0 - $F
Units None
Default 3
Remarks This parameter sets the acceleration mode for programmed LIN and CIR
mode move in coordinate system x. There are two types of acceleration as
following:
When bit-0 of Ix58 set to 1, it’s at fix acceleration mode. Every time we
start to run the motion program, acceleration will be calculated according to
the default feedrate and acceleration time, that is Ix54/Ix52. In order to get a
fix acceleration during motion, if the feedrate get higher, the acceleration time
must be get longer proportionally, and vice versa. So the TA is changing all
the time while the program is running.
When bit-0 of Ix58 set to 0, it’s at fix acceleration time mode. Each step
in the motion program will use the same TA assigned in the program. If the
feedrate get higher, the acceleration will also get larger, and vice versa. So
the acceleration is changing all the time while the program is running.
When bit-1 of Ix58 set to 0, the rapid move will be affected by feedrate
override. If bit-1 of Ix58 set to 1, the rapid move will always on the real speed
and won’t be affected by feedrate override.
When bit-2 of Ix58 set to 1, the encoder feedback for external time-base
will be treated as absolute value; that is, no mater the direction encoder is,
the time will always the positive. If bit-2 of Ix58 set to 0, the time will become
negative when the encoder runs to the negative side.
2−21
Micro Trend UTC Controllers I-Variable Definition (V2.2) Sep. 04
Setting Meaning
0 Use internal time base
1 Master signal from address defined in I185
2 Master signal from address defined in I285
3 Master signal from address defined in I385
4 Master signal from address defined in I485
When bit 2 of Ix58 is equal to 1, external time base only depends on the
counts come in from the master. So the time base is always positive no mater
which direction the master is
2−22
Micro Trend UTC Controllers I-Variable Definition (V2.2) Sep. 04
4. Encoder I-Variable
x = Encoder Channel Number (#x, x = 1 to 4)
Range 0-7
Units None
Default 4
Remarks This parameter sets the decode method and direction for the onboard
encoder input.
Range 0 - 15
Units None
Default 3
Remarks This parameter determines which signal triggers a position capture of the
counter for encoder x.
Setting Function
0 Software Control
1 Rising Edge of CHCn
2 Rising Edge of Flag n
3 Rising Edge of [CHCn and Flag n]
4 Software Control
5 Falling Edge of CHCn
6 Rising Edge of Flag n
7 Rising Edge of [CHCn/ and Flag n]
8 Software Control
9 Rising Edge of CHCn
10 Falling Edge of Flag n
11 Rising Edge of [CHCn and Flag n/]
12 Software Control
13 Falling Edge of CHCn
14 Falling Edge of Flag n
15 Rising Edge of [CHCn/ and Flag n/]
2−23
Micro Trend UTC Controllers I-Variable Definition (V2.2) Sep. 04
Range 0-3
Units None
Default 0
Remarks This parameter determines which flag is used for trigger signel for
encoder x.
Setting Meaning
0 Home Flag
1 Positive Limit Flag
2 Negative Limit Flag
3 Driver Fault Flag
Range 1 .. 128
Units msec
Default 1
Remarks Once the master source was selected, the frequency of input signals
were put into the buffer which size was defined by this parameter once per
millisecond. The final result used by the following function is the average
value in the whole buffer. This can prevent a sudden change caused by the
master source and make the following much smoother than without the buffer
does. The buffer is rollover, so we can guarantee that the master signal will
never get lost.
2−24
Micro Trend UTC Controller Online Command Specification (V2.2) Sep. 04
Notes
spaces : Spaces are not important unless special noted
{ } : Item in { } can be replaced by anything fitting definition
[ ] : Item in [ ] is an option
[{item}…] : Repeated syntax
[..{item}] : The periods are used to specify a range
Definitions
constant : Number that is non-changeable
variable : Variable like I , M , P , Q
expression :combination of constant, variable, function and operator
data :constant without parentheses or expression with parentheses
axis : element of coordinate system. It can be X, Y, Z, U, V, W, A, B, C
3-1
Micro Trend UTC Controller Online Command Specification (V2.2) Sep. 04
PLC Command
3-2
Micro Trend UTC Controller Online Command Specification (V2.2) Sep. 04
3-3
Micro Trend UTC Controller Online Command Specification (V2.2) Sep. 04
Normal Command
Jog Command
Report Command
3-4
Micro Trend UTC Controller Online Command Specification (V2.2) Sep. 04
<CONTROL-A>
<CONTROL-D>
<CONTROL-K>
3-5
Micro Trend UTC Controller Online Command Specification (V2.2) Sep. 04
<CONTROL-O>
<CONTROL-P>
Examples <CTRL-P>
1000 1250 -324 5890 0 0 0 0
<CONTROL-Q>
Examples <CTRL-P>
1000 1250 -324 5890 0 0 0 0
M164
-1000
<CTRL-Q>
0 1250 –324 5890 0 0 0 0
3-6
Micro Trend UTC Controller Online Command Specification (V2.2) Sep. 04
<CONTROL-R>
Function Start to execute Motion Programs for all active Coordinate Systems.
Syntax ASCII Value 18
Remarks This command causes the control to start executing the Motion Programs
from the pointed program line for all active Coordinate Systems. The execution
will stop at each program end, and then the pointer will point to first line of the
program.
<CONTROL-S>
Function Step execution of Motion Programs for all active Coordinate Systems.
Syntax ASCII Value 19
Remarks This command causes the control to execute one step of the Motion
Program from the pointed line for all active Coordinate Systems. Then, the
pointer will point to next line of each Motion Program. If a BSTART command
is executed the whole block between BSTART and BSTOP will be executed as
one step.
<CONTROL-V>
Examples <CTRL-V>
1000 1250 -250 0 0 0 0 0
<CONTROL-X>
3-7
Micro Trend UTC Controller Online Command Specification (V2.2) Sep. 04
@{command}
Examples #
1
#3
#
3
#{constant}
3-8
Micro Trend UTC Controller Online Command Specification (V2.2) Sep. 04
#{constant}->
Examples #1->
1000X
#2->
0
#{constant}->{axis definition}
Remarks This command assigns the specified motor to a coordinate system. If the
axis definition is zero 0, it represents the specified motor axis definition is
cleared.
If the {coordinate system} has already been specified, the motor will be
redefined to a new Coordinate System; no matter what coordinate system it
previously defined.
3-9
Micro Trend UTC Controller Online Command Specification (V2.2) Sep. 04
PS: The ratio must be a positive floating-point value, the moving direction could be
specified by Parameter Ix09 bit0.
$$$
$$$***
3-10
Micro Trend UTC Controller Online Command Specification (V2.2) Sep. 04
Examples %
100
%50
%
50
%{constant}
Examples %0
%33.333
%150
&
Examples &
1
&3
&
3
3-11
Micro Trend UTC Controller Online Command Specification (V2.2) Sep. 04
&{constant}
{axis}={constant}
3-12
Micro Trend UTC Controller Online Command Specification (V2.2) Sep. 04
B{constant}
PS: B0 causes the program pointer point to the beginning of the rotary buffer.
Normally we use it following the command DEF ROT. If the rotary buffer has
been opened by the command OPEN ROT, B0 will be interpreted as B-axis
motion command. It causes the B-axis back to zero position.
CLEAR
3-13
Micro Trend UTC Controller Online Command Specification (V2.2) Sep. 04
CLOSE
CS
Examples CS
#1->400X,1
#2->400Y,1
#3->33.333A,2
#4->0
DATE
3-14
Micro Trend UTC Controller Online Command Specification (V2.2) Sep. 04
DEFROT
Remarks This command causes the control to reserve a memory space with
{constant} specified size for Rotary Buffer. If the buffer size is not specified, all
the memory left will be defined as the Rotary Buffer.
DELROT
DISPLC
3-15
Micro Trend UTC Controller Online Command Specification (V2.2) Sep. 04
Examples DISPLC1
DISPLC1,2,4,5
ENAPLC
Examples ENAPLC1
ENAPLC1,2,4,5
ENACAM
Examples ENACAM
ENDG
GAT
I20..28.
HM
Examples HM
#1HM#2HM
HMZ
3-17
Micro Trend UTC Controller Online Command Specification (V2.2) Sep. 04
I{constant}
PS: If a program buffer or rotary buffer has been opened, I{constant} will be
recognized as a vector definition of X-axis and stored in the buffer for future
execution. (Please refer to Motion Program Format).
Examples I5
2000
I2..4
500
20
20
I{constant}={expression}[;]
Examples I5=2
I109=1.25 * I108
I102=$17
I104=I103
3-18
Micro Trend UTC Controller Online Command Specification (V2.2) Sep. 04
INIT
Examples I159
45
I112
150
INIT
I159
0
I112
0
J+
Examples J+
#4J+
#1J+#3J+
3-19
Micro Trend UTC Controller Online Command Specification (V2.2) Sep. 04
J-
Examples J-
#1J-
#2J-#4J-
J/
J:
3-20
Micro Trend UTC Controller Online Command Specification (V2.2) Sep. 04
Examples M463->L:40 ; Point the M463 to the 4th motor jog destination.
#4HM ; Motor #4 back home.
M463=100 ;
#4J: ; Jog the #4 motor to the position of 100 counts
J: ; Jog the #4 motor to another distance of 100 counts
(the motor position becomes 200 counts)
J:{constant}
3-21
Micro Trend UTC Controller Online Command Specification (V2.2) Sep. 04
J=
J={constant}
3-22
Micro Trend UTC Controller Online Command Specification (V2.2) Sep. 04
J*
Function Jog the addressed motor back to the motion program stop
Syntax J*
Remarks This command will move the motor back to the position where motion
program stop, if the motor has been jog to some other place after a motion
program stop. This command will allow users to continue their normal program
execution by next R or S command.
LIST
3-23
Micro Trend UTC Controller Online Command Specification (V2.2) Sep. 04
LISTBUF{address}[,{length}]
Examples CLOSE
OPENBUF $2000 :open buffer
LISTBUF$2000,2 ;list the addressed buffer memory
38
39
LISTGAT
3-24
Micro Trend UTC Controller Online Command Specification (V2.2) Sep. 04
LISTPE
LIST PLC
Function Report the existed PLC program number or specified PLC Program
contents
Syntax LIST PLC {constant}
{constant} is positive integer representing the number of the PLC Program
to reported, ranging 0~15.
Remarks This command reports the existed PLC program number, start address,
end address, and enable status.
The LIST PLC {constant} reports all the contents of the specified PLC
program in detail.
Examples LIST PLC ; Report the exist PLC program number, start and end
address, and enable status.
1 120 194 YES
2 195 442 NO
3 443 779 YES
LIST PLC 3 ; Report all program contents of PLC program #3.
IF(M20=0ANDM180=0)
...
ENDI
RET
LISTPROG
Function Report the existed motion program numbers or specified motion program
contents
Syntax LIST PROG{constant}
{constant} is positive integer representing the number of the motion
program to be reported.
Remarks LISTPROG command will report the existed motion program numbers
3-25
Micro Trend UTC Controller Online Command Specification (V2.2) Sep. 04
Examples LIST PROG ;Report the existed motion program and their start and end
address.
1 0 29
1000 30 107
2 108 116
LISTPROG 1 ; Report all program contents of motion program #1
WHILE(Q300<=P300)
...
ENDW
RET
M{constant}
Examples M0
623316
M165
0
M1..3
0
1
1
PS: If the program buffer or rotary buffer has been opened, M{constant} will be
recognized as an M-code and stored in the program for future execution. (Refer
to the motion program command specification.)
3-26
Micro Trend UTC Controller Online Command Specification (V2.2) Sep. 04
M{constant}={expression}[;]
M{constant}->
Examples M1->
22,0,1
M180->
574,S
M191->
L:275
M2..M4->
3-27
Micro Trend UTC Controller Online Command Specification (V2.2) Sep. 04
22,1,1
22,2,1
22,3,1
M{constant}->*
M{constant}->addr[,start][,width][,s]
3-28
Micro Trend UTC Controller Online Command Specification (V2.2) Sep. 04
addr is the address in hexadecimal that the M variable pointed, ranging 0000~
FFFF
[start] is the start bit of the pointed address, ranging 0~31.
[width] is the bits length of pointed address, ranging 1~31.
But [start] + [width] < 32.
[s] Representing a signed value
If [s] is not specified, it represents an unsigned value.
Remarks This command will point a specified M variable to the normal data area.
The addressed contents is an integer, If [s] is not specified, it represents an
unsigned value, while the [s] specifies a signed value.
PS: It is allowed that multiple M variables point to the same address. If the assigned
data formats are different, the reported value will be different.
M{constant}->L : addr
M{constant}->I : addr[,start][,width][,s]
3-29
Micro Trend UTC Controller Online Command Specification (V2.2) Sep. 04
3-30
Micro Trend UTC Controller Online Command Specification (V2.2) Sep. 04
OPENBUF{address}
Examples CLOSE
OPENBUF $2000
…
CLOSE
OPEN CAM
Examples CLOSE
OPEN CAM CLEAR
3-31
Micro Trend UTC Controller Online Command Specification (V2.2) Sep. 04
N100,123.45, -100
N200,150.69, -150
…
CLOSE
OPEN PLC
Examples CLOSE
OPEN PLC 7 CLEAR
IF(M11=1)
…
CLOSE
OPEN PROG
3-32
Micro Trend UTC Controller Online Command Specification (V2.2) Sep. 04
Examples CLOSE
OPEN PROG 1
CLEAR
X10 Y20 …
CLOSE
B1
R
OPEN ROT
Examples CLOSE
DEF ROT 1000
B0R
OPEN ROT
X10 Y20
…
CLOSE
3-33
Micro Trend UTC Controller Online Command Specification (V2.2) Sep. 04
P{constant}
Examples P1
25
P1005
3.44
P100..102
17.5
-373
0.005
P{constant}={expression}[;]
3-34
Micro Trend UTC Controller Online Command Specification (V2.2) Sep. 04
Examples P1=1
P75=P329 + P10
P102=-16384
P100..199=0
PC
Examples PC
10
B123
PC
123
PE
PR
Function Report the lines count in the rotary buffer that have not been executed.
Syntax PR
Remarks This command causes the control to report the lines count in the rotary
buffer that have not been executed.
3-35
Micro Trend UTC Controller Online Command Specification (V2.2) Sep. 04
PWD
Examples PWD=MicroTrend
PWD=~!@#$%^&*()
Q{constant}
Examples Q10
35
Q255
-3.4578
Q101..103
0
98.5
-0.0333
3-36
Micro Trend UTC Controller Online Command Specification (V2.2) Sep. 04
Q{constant}={expression}[;]
Examples Q100=2.5
Q1..10=0
RD{address}[,{length}]
3-37
Micro Trend UTC Controller Online Command Specification (V2.2) Sep. 04
{length} means the length of the buffer memory you want to list.
Remarks This command is used to report the contents of the addressed buffer
memory.
Examples CLOSE
OPENBUF $2000 :open buffer
RD$2000,2 ;list the addressed buffer memory
38
39
SAVE
Function Save all the contents from static RAM to FLASH ROM.
Syntax SAVE
Remarks This command saves all the contents, including Variables, Motion
Programs, PLC Programs and so on, to a non-volatile Flash Memory. This
process could protect all the important program contents or data from been
destroyed. If the contents in the SRAM is unexpectedly lost, we may make the
control to recover from the damage by using the $$$ Online Command to
re-load the contents from the Flash Memory.
Each time when the power is turned on, the control runs a checksum process. If
the checksum result shows an unmatched situation, the control will
automatically do the re-load. The re-load process takes about 10 seconds; the
controller does not response to any command before it is finished. Please do
not turn the power off when this reload is processing. Otherwise, the reload
process cannot be completed.
The Watch Dog LED is turned on when the SAVE command is executing.
Please do not run this command when any motor is running, no matter running
a motion program or just jogging the motor.
3-38
Micro Trend UTC Controller Online Command Specification (V2.2) Sep. 04
SIZE
Examples SIZE
43188
VER
3-39
Micro Trend UTC Controller Program Command Specification (V2.2) Sep.04
3. Axis Command
ABS[({axis}[,{axis},...])] Absolute axis mode
INC[({axis}[,{axis},...])] Incremental move mode
PSET{axis}{data}[{axis}{data}...] Define the current axis position
NORMAL{vector}{data} Specifies the rotation plane for
a circular interpolation move
ADIS{axis}{data}[{axis}{data}...] Absolute displacement for the
specified axes
IDIS{axis}{data}[{axis}{data}...] Set the incremental
displacement of axes
AROT X{data} Specifies the incremental
rotation angle of a coordinate plane
IROT X{data} Specifies the absolute rotation
angle of a coordinate plane
ASCL{axis}{data}[{axis}{data}...] Specifies the absolute scaling of axes
ISCL{axis}{data}[{axis}{data}...] Specifies the incremental
scaling of axes
INIT Cancel all the axes displacement
4−1
Micro Trend UTC Controller Program Command Specification (V2.2) Sep.04
and rotation
R{data} Set circle radius
7. Miscellaneous Command
CMD"{command}" Run an immediate command
CMD^{letter}
SEND{C1/C2},"message" Send out message from comport
DISP[{constant}] ,"{message}" Shows messages on LCD panel
DISP{constant},{constant},{data}
ENAPLC{constant}[,{constant}...] Enable specified PLC
DISPLC{constant}[,{constant}...] Disable specified PLC(s)
4−2
Micro Trend UTC Controller Program Command Specification (V2.2) Sep.04
{axis}{data}[{axis}{data}. . .]
Example X10000
X(P1+P2)
X1000Y1000
Y(Q100+50)Z35W(P100)
X(Q1*SIN(Q2/Q3))W500
{axis}{data}[{axis}{data}. . .]{vector}{data}[{vector}{data}. . .]
4−3
Micro Trend UTC Controller Program Command Specification (V2.2) Sep.04
Example X5000Y3000I1000J1000
X(P101)Y(P102)I(P201)J(P202)
X10I5
X10Y20Z5I5J5
J10
ABS
Example ABS
ABS(X,Y,Z)
ABS(X,Y,Z,A,B,C,U,V,W)
ADIS
4−4
Micro Trend UTC Controller Program Command Specification (V2.2) Sep.04
That is X' = X{data}, Y' = Y{data}, Z' = Z{data}, W' = W{data}. The axes not
specified will keep their original offset value. If no axis is specified, the current
motor positions will be specified as their offset values, it act as
PSETX0Y0Z0W0 but will not cancel Blended Move function. This command
will not cause any movement; only cause the future movements to take the
offset value into account.
Example ADISX10Y5Z3.5W0 ;New coordinate center (X', Y', Z', W') = (10, 5,
3.5, 0)
ADISX20Y-5 ;New coordinate center (X', Y', Z', W') = (20,
-5, 3.5, 0) ADISX(P1)Z(P2+3)
ADIS ;New coordinate center will be the current
motor positions.
AND
AROT
4−5
Micro Trend UTC Controller Program Command Specification (V2.2) Sep.04
value will be given up. This command will not cause any movement; only
cause the future movements to take the rotation angle into account.
ASCL
BSTART
Example X100Y100
4−6
Micro Trend UTC Controller Program Command Specification (V2.2) Sep.04
BSTART
Z(P100)
Z(-P100)
BSTOP
X0Y0Z0
BSTOP
Example X100Y100
BSTART
Z(P100)
Z(-P100)
BSTOP
X0Y0Z0
CALL
4−7
Micro Trend UTC Controller Program Command Specification (V2.2) Sep.04
CIR1
4−8
Micro Trend UTC Controller Program Command Specification (V2.2) Sep.04
CIR2
Example LIN
X10Y10F200
CIR2
X20Y20I10
X25Y15J-5
X10Y10R-10
LIN
X0Y0
CMD
Example CMD"#1J+"
CMD"#4HM"
4−9
Micro Trend UTC Controller Program Command Specification (V2.2) Sep.04
CMD^A
CMD^D
DELAY
Example DELAY2000
DELAY(P1+200)
DISP
4−10
Micro Trend UTC Controller Program Command Specification (V2.2) Sep.04
at left bottom and 79 at right bottom. The total digits of the value for both
integer and fractional part can be specified. The unspecified portion will be
filled with blank.
DISPLC
Example DISPLC1
DISPLC1,2,4,5
DWELL
4−11
Micro Trend UTC Controller Program Command Specification (V2.2) Sep.04
ELSE
Example IF(M11 = 1)
X(P100)
ELSE
X(P200)
ENDIF
ENAPLC
Example ENAPLC1
ENAPLC1,2,4,5
ENDIF
4−12
Micro Trend UTC Controller Program Command Specification (V2.2) Sep.04
Remarks Each of the conditional blocks started with IF should have an ENDIF
instruction for closing. The program will generate an error message when it is
CLOSE, if the IF and ENDIF are not matched with pair.
Example IF(M11 = 1)
X(P100)
ELSE
X(P200)
ENDIF
ENDWHILE
4−13
Micro Trend UTC Controller Program Command Specification (V2.2) Sep.04
Example F2000
F12.56
F(P100*SIN(SQRT(Q1)))
FRAX
Function: Specify the axes that the motor feed rate instruction (F) covered.
Type: Motion program
Syntax: FRAX[({axis}[,{axis}. . .])]
{axis} Specifying axis, could be any choice of X, Y, Z, U, V, W, A, B, or C.
Remarks This instruction specifies the axes that will follow the F instruction setting.
UTC400 calculates the motion time on each step according to the F setting and
FRAX specified axes. If the instruction FRAX stands alone with no axis
specified, all the axes in current coordinate system follow the F setting.
Example FRAX
FRAX(X,Y,Z)
FRAX(A)
4−14
Micro Trend UTC Controller Program Command Specification (V2.2) Sep.04
GOSUB
GOTO
4−15
Micro Trend UTC Controller Program Command Specification (V2.2) Sep.04
control to stop. If the line number specified could not be found, the command
will be ignored.
HM
Example HM
HM(X,Y,Z)
HM(X,Y,Z,A,B,C,U,V,W)
Example X10Y20I10J5
X(P10)I(P10/2)
I33.33
4−16
Micro Trend UTC Controller Program Command Specification (V2.2) Sep.04
I{const}={data}
Example I1=1
I4=P131+1000
IDIS
4−17
Micro Trend UTC Controller Program Command Specification (V2.2) Sep.04
IF
Example IF(M11 = 1)
X(P100)
ELSE
X(P200)
ENDIF
IF(M12=1ANDP12!=1)
CMD"#4J+"
ENDIF
INC
4−18
Micro Trend UTC Controller Program Command Specification (V2.2) Sep.04
Example INC
INC(X,Y,Z)
INC(X,Y,Z,U,V,W,A,B,C)
INIT
Example INIT
IROTX45
IROT
4−19
Micro Trend UTC Controller Program Command Specification (V2.2) Sep.04
ISCL
Example X10Y20I10J5
Y(P10)J(P10/2)
J33.33
4−20
Micro Trend UTC Controller Program Command Specification (V2.2) Sep.04
Example #1->400X
#2->400Z
NORMAL J-1 ; Specified the X-Z plane as the rotation plane.
X10Z20I10K5
Z(P10)K(P10/2)
K33.33
LIN
Example LIN
X10Y20Z30W40
OPENPROG1000CLEAR
N1000 LIN RET
M{const}={data}
4−21
Micro Trend UTC Controller Program Command Specification (V2.2) Sep.04
Syntax: M{const}={data}
{const}is an integer representing the M-variable number, ranging 0∼1023
{data}is a floating-point constant or expression representing the value to be
assigned to this M-variable.
Remarks This instruction assigns a value to a specified M-variable. In the Blended
Move mode, the execution looks one step ahead; therefore, this M-variable will
be assigned when the previous step just started.
Example M1=1
M4=P131+1000
4−22
Micro Trend UTC Controller Program Command Specification (V2.2) Sep.04
Remarks This is a label for a line in the program could be easily specified by the
command GOTO, GOSUB, CALL, G or M. Line numbers neither has to be in
numerical order, nor have to be existed in every line. Since the line number
also takes one word memory space each line, it is suggested that we put it
only when it is needed.
Example N1000
N2000 X200
NORMAL
Remarks This command allows uses to specify the rotation plane, the vector K
representing the X-Y plane, the vector J representing the Z-X plane while
vector I representing the Y-Z plane as the rotation plane. The positive or
negative value will determine the CW or CCW of the rotation. The power on
default rotation plane is NORMAL K-1 for all the coordinate system.
OR
Function: Conditional OR
Type: Motion program, PLC Program
Syntax: OR{condition}
{condition} is a simple or compound conditions.
Remarks This command only used in IF or WHILE command, it performs the
Boolean operator logical OR.
4−23
Micro Trend UTC Controller Program Command Specification (V2.2) Sep.04
P{const}={data}
Example P1=1
P4=P131+1000
P123=ROUND(100*SIN(Q100))
POSTLUDE
4−24
Micro Trend UTC Controller Program Command Specification (V2.2) Sep.04
PSET
Q{const}={data}
4−25
Micro Trend UTC Controller Program Command Specification (V2.2) Sep.04
Move mode, the execution looks one step ahead. This Q-variable will be
assigned to a new value when the previous step just start.
Example Q1=1
Q4=P131+1000
Q123=ROUND(100*SIN(Q100))
PS: If there are AROT, ASCL, …commands for axes rotation or ratio settings, the
R settings will not follow the change. Please use I, J or K for the circular
setting.
Example CIR1
X10Y10R10 ;1/4 circle arc to (10, 10)
X0Y0R-10 ;3/4 circle arc to (0, 0)
X(P100)R(P100/2) ; half circle arc to (P100, 0)
4−26
Micro Trend UTC Controller Program Command Specification (V2.2) Sep.04
READ
4−27
Micro Trend UTC Controller Program Command Specification (V2.2) Sep.04
RET
Example OPENPROG1000CLEAR
RPD RET
N1000 LIN RET
...
RPD
4−28
Micro Trend UTC Controller Program Command Specification (V2.2) Sep.04
Remarks This command sets the current motion mode to the rapid move mode
until next motion mode command is executed.
Example RPD
X10Y20Z30W40
OPENPROG1000CLEAR
RPD RET
N1000 LIN RET
….
Example S2000
S12.56
S(P100*SIN(SQRT(Q1)))
SEND
4−29
Micro Trend UTC Controller Program Command Specification (V2.2) Sep.04
SPLINE
Example RPDX10Y10
SPLINE
X20Y15F2000
TM500
X30Y45
...
RPDX0Y0
STOP
4−30
Micro Trend UTC Controller Program Command Specification (V2.2) Sep.04
Example X100Y100
Z200
STOP
X0Y0Z0
TA
4−31
Micro Trend UTC Controller Program Command Specification (V2.2) Sep.04
time TA=TS+TL.
If we set S Curve Acceleration Time TS=0, we will obtain a constant slope
acceleration. If TS=100, the motion profiles will become pure S curve. If
0>TS>100, the profile will have both linear (constant acceleration) and S-curve
portion.
Example TA100
TA(P10*2)
TA(INT(SQRT(30)*Q200+0.5))
4−32
Micro Trend UTC Controller Program Command Specification (V2.2) Sep.04
TM
Τ
TM or ∆P/F
Tacc Tacc
Τ
TM or ∆P/F TM or ∆P/F
Tacc Tacc Tacc
Example TM100
TM(P10*2)
TM(INT(SQRT(30)*Q200+0.5))
4−33
Micro Trend UTC Controller Program Command Specification (V2.2) Sep.04
TS
Example TS100
TS(P10*2)
TS(INT(SQRT(30)*Q200+0.5))
UNIT
4−34
Micro Trend UTC Controller Program Command Specification (V2.2) Sep.04
DWE2 ; re-PMATCH
CIR1X(10/1.5)I10 ; To path an ellipse, the X endpoint should be divided
by the ratio 1.5
WHILE
4−35
Micro Trend UTC Controller Program Command Specification (V2.2) Sep.04
CLEAR
DEL
4−36
Micro Trend UTC Controller Program Command Specification (V2.2) Sep.04
CLOSE
OPEN PROG1
@JP0
DEL
CLOSE
LISTPROG1
CIR1I5
END
INS
4−37
Micro Trend UTC Controller Program Command Specification (V2.2) Sep.04
JP
4−38
Micro Trend UTC Controller Program Command Specification (V2.2) Sep.04
LEARN
Example #1->1000X
#2->1000Z
OPEN PROG1
<Ctrl-P>
2500 -2000 0 0 0 0 0 0
LEARN(1,2)
@UPPER
LIST
X2.5Z-2
LIST
4−39
Micro Trend UTC Controller Program Command Specification (V2.2) Sep.04
LIST
CIR1I5
NEXT
OVR
Function: Set the program editing process as the write over mode.
Type: Motion program pointer control (Program Command)
Syntax: OVR
Remarks In the editing write over mode, the new edited program contents will
over-write the current contents, other contents will keep unchanged.
4−40
Micro Trend UTC Controller Program Command Specification (V2.2) Sep.04
OVR
RPDX0Y0
CLOSE
LISTPROG1
RPDX0Y0
CIR1I5
UPPER
4−41
Micro Trend UTC-series Hardware Reference Aug. 2004
Contents
1
Micro Trend UTC-series Hardware Reference Aug. 2004
COM1
J1 +LIM1
-LIM1
HMF1
DRIVER 1 +V
COM
DRIVER
1-4 J2
55.50 mm
01 +5V
+LIM2
02 CHC -LIM2
03 CHB HMF2
04 CHA
05 DIR
+V
06 PLS
DRIVER 2 COM
07 ENA
08 FLT J3 +LIM3
09 DGND
10 CHC \
-LIM3
11 CHB \ HMF3
12 CHA \ +V
13 DIR \
14 PLS \
COM
DRIVER 3
15 COM
215.50 mm
282.50 mm
J4 +LIM4
GND J9 -LIM4
HWB HMF4
HWA +V
+5V COM
J8 DRIVER 4 J5
GND +V
AD2 M11
AD1 POWER M12
-12V M13
+12V IN POS M14
DA2 M15
DA1 STEP M16
PWM2 M17
PWM1 FLT M18
+5V COM
+LIM
COM J7 J6 +V
M08 M21
M07 M22
M06
M05
UTC400P M23
M24
M04 Programmable Four-Axis Controller M25
M03 M26
M02 M27
M01 M28
+V COM
MICRO TREND
AUTOMATION CO., LTD.
鐵 殼 高度(H):75mm
Height:75mm
2
Micro Trend UTC-series Hardware Reference Aug. 2004
FOR V2.0
194.00 mm
175.50 mm
COM1
J1 +L IM1
-LIM1
HM F1
D RIV ER 1 +V
COM
DRI VE R
1-4 J2 +LIM2
01+5V
02CHC -L IM2
C OM2 03CHB HMF2
04CHA
+V
226.39 mm 66.39 mm
05DIR
D RIV ER 2 C OM
06PLS
07ENA
08FLT J3 +LIM3
09DGND
10CHC \
-L IM3
11CHB \ HMF3
12CHA \ +V
13DIR \
14PLS \ C OM
D RIV ER 3
15COM
J4
282.50 mm
+LIM4
G ND J9 -L IM4
H WB HMF4
H WA +V
+ 5V C OM
J8 D RIV ER 4 J5
G ND +V
A D2 M 11
A D1 POWER W.DO G M 12
-12V M 13
+ 12V I N POS B.REQ M 14
D A2 M 15
D A1 FLT LI M M 16
PWM 2 M 17
PWM 1 F.E.1 F.E.2 M 18
+ 5V C OM
F.E.3 F.E.4
C OM J7 J6 +V
M 08 M 21
M 07 M 22
M 06
M 05
UTC400P M 23
M 24
M 04 Programmable Four-Axis Controller M 25
M 03 M 26
M 02 M 27
M 01 M 28
+V C OM
MICRO TREND
AUTOMATION CO., LTD.
鐵 殼高 度(H):75mm
Height:75mm
3
Micro Trend UTC-series Hardware Reference Aug. 2004
CN2
CN3
CN4
1 2 3 4 5 6 7 8
Flash Battery
29F040 電池
ON
4
Micro Trend UTC-series Hardware Reference Aug. 2004
Function of Connectors
Handwheel Port – J9
This port offers a handwheel encoder input.
The signal can be line driver or open collector.
5
Micro Trend UTC-series Hardware Reference Aug. 2004
DIPSW
There is a 8 bits DIP switch input on board to set some system feature.
6
Micro Trend UTC-series Hardware Reference Aug. 2004
DRIVERx (15-PIN
D-sub CONNECTOR)
Front View
UTC-x00P or UTC-400H
PIN# SYMBOL FUNCTION Description NOTES
1 +5V OUTPUT +5V Power Reference to DGND
2 CHC INPUT Encoder C Positive
3 CHB INPUT Encoder B Positive
4 CHA INPUT Encoder A Positive
5 DIR OUTPUT Direction Output To Driver
6 PLS OUTPUT Pulse Output To Driver
7 ENA OUTPUT Driver Enable Reference to COM
8 FLT INPUT Driver Fault Reference to COM
9 DGND COMMON
10 CHC/ INPUT Encoder C Negative
11 CHB/ INPUT Encoder B Negative
12 CHA/ INPUT Encoder A Negative
13 DIR/ OUTPUT Neg. Direction Output To Driver
14 PLS/ OUTPUT Neg. Pulse Output To Driver
15 COM COMMON
UTC-x00V or UTC-400H
PIN# SYMBOL FUNCTION Description NOTES
1 +5V OUTPUT +5V Power Reference to DGND
2 CHC INPUT Encoder C Positive
3 CHB INPUT Encoder B Positive
4 CHA INPUT Encoder A Positive
5 AGND COMMON
6 DAC OUTPUT ±10V DAC Command Reference to AGND
7 ENA OUTPUT Driver Enable Reference to COM
8 FLT INPUT Driver Fault Reference to COM
9 DGND COMMON
10 CHC/ INPUT Encoder C Negative
11 CHB/ INPUT Encoder B Negative
12 CHA/ INPUT Encoder A Negative
13 AGND COMMON
14 N.C.
15 COM COMMON
7
Micro Trend UTC-series Hardware Reference Aug. 2004
Remark: 9P D-sub connector, one to one to PC. The default setting is 38400, N, 8, 1
1 1 1 1
2 2 2 2
3 3 3 3
4 4 4 4
5 5 5 5
6 6 6 6
7 7 7 7
8 8 8 8
9 9 9 9
UTC-series PC UTC-series PC
9 pin SUB-D 9 pin SUB-D 9 pin SUB-D 25 pin SUB-D
MALE FEMALE MALE FEMALE
8
Micro Trend UTC-series Hardware Reference Aug. 2004
1 1 1 1
2 2 2 2
3 3 3 3
4 4 4 4
5 5 5 5
6 6 6 6
7 7 7 7
8 8 8 8
9 9 9 9
UTC-series PC UTC-series PC
9 pin SUB-D 9 pin SUB-D 9 pin SUB-D 25 pin SUB-D
MALE FEMALE MALE FEMALE
1 1 1 1
2 2 2 2
3 3 3 3
4 4 4 4
5 5 5 5
6 6 6 6
7 7 7 7
8 8 8 8
9 9 9 9
9
Micro Trend UTC-series Hardware Reference Aug. 2004
1 1 1 1
2 2 2 2
3 3 3 3
4 4 4 4
5 5 5 5
6 6 6 6
7 7 7 7
8 8 8 8
9 9 9 9
1 1
2 2
3 3
4 4
5 5
6 6
7 7
8 8
9 9
10
Micro Trend UTC-series Hardware Reference Aug. 2004
UTC-series offers on board 28 photo-isolation digital inputs. Among these points, there
are 16 (J5, J6) general purposed inputs and 12(+LIMx/-LIMx/HMFx) dedicated inputs.
There is an isolated +13V on board. The customer can use this +13V or external +24V
as follows:
+13V +5V
+V
4.7k 4.7k
INx
COM
+13VG DGND
+V 13~24Vdc +V
11
Micro Trend UTC-series Hardware Reference Aug. 2004
12
Micro Trend UTC-series Hardware Reference Aug. 2004
UTC-series offers on board 8 photo couple isolation digital output points.. There is a
isolated +13V on board. The customer can use this +13V or external +24V as follows
+5V +13V
470 2.7k
+V
OUTx
OUTx
COM
+13VG
Internal External
+5V +13V +5V +13V
OUTx
13
Micro Trend UTC-series Hardware Reference Aug. 2004
1. UTC-series offers two analog output -10~+10V. The resolution is 10~12 bits.
14
Micro Trend UTC-series Hardware Reference Aug. 2004
UTC-series has one ports encoder input. It can be line driver or open collector.
Handwheel (x=A,B)
+5V
-
+ CH5x
HWx 26LS32
15
Micro Trend UTC-series Hardware Reference Aug. 2004
JDISP can be connected to 2 x 40 LCD module to send the message on the display.
16
Micro Trend UTC-series Hardware Reference Aug. 2004
CN3 (26-PIN
HEADER) Front View
JTHW1 offers 8 TTL lever inputs and 12 TTL lever inputs. The main function is to read
BCD thumbwheel switches.
17
Micro Trend UTC-series Hardware Reference Aug. 2004
CN4 (26-PIN
HEADER) Front View
JTHW2 offers 8 TTL lever inputs and 12 TTL lever inputs. The main function is to read
BCD thumbwheel switches. It also can be used as TTL I/O multiplexer.
18
Micro Trend UTC-series Hardware Reference Aug. 2004
DIP_SWITCHES(V2.03)
OFF ON
1
2
3
4
5
6
7
8
SW1
NO. FUNCTION OFF ON
1 Power on re-initializing NO YES
(The same as $$$*** command)
2 **
3 **
4 Com1 handshake YES NO
5
6
7 Power on load from FLASH NO YES
8
19
Micro Trend UTC-series Hardware Reference Aug. 2004
DIP_SWITCHES(V3.0)
OFF ON
1
2
3
4
5
6
7
8
SW1
NO. FUNCTION OFF ON
1 Power on re-initializing NO YES
(The same as $$$*** command)
2 Com1 baud rate 00:115200 01: 9600
3 10:19200 11: 38400
4 Com1 handshake YES NO
5 Current loop frequency 4K 6K
6 Wait state 1 wait state 0 wait state
7 Power on load from FLASH NO YES
8 Seven-Segment Display Mode Standard Other
20
Micro Trend UTC-series Hardware Reference Aug. 2004
CONNECTION DIAGRAM
21
Micro Trend UTC-series Hardware Reference Aug. 2004
22
Micro Trend UTC-series Hardware Reference Aug. 2004
23
Micro Trend UTC-series Hardware Reference Aug. 2004
24
Micro Trend UTC-series Hardware Reference Aug. 2004
Parameter Pr02 : 2
Pr52 : 0
Pr56 : 3000
Parameter Pr02 : 0
Pr42 : 3
25
Micro Trend UTC-series Hardware Reference Aug. 2004
26
Micro Trend UTC-series Hardware Reference Aug. 2004
27
Micro Trend UTC-series Hardware Reference Aug. 2004
28
Micro Trend UTC-series Hardware Reference Aug. 2004
120.0 mm
225.0 mm
58.0 mm
29
Micro Trend UTC-series Hardware Reference Aug. 2004
J4
+V
M900//M950
M901//M951
M902//M952 CN1 to
M903//M953 Controller
M904//M954 CN2 to
M905//M955 Card 2
M906//M956
M907//M957
COM
+V J5 J1
+5VG
M908//M958 +5VDC
M909//M959 COM
M910//M960 +V ( 12-24V )
M911//M961
M912//M962
M913//M963 J2
+V
M914//M964
M932//M982
M915//M965 M933//M983
COM M934//M984
+V J6 M935//M985
M916//M966 M936//M986
M917//M967 M937//M987
M918//M968 M938//M988
M919//M969 M939//M989
M920//M970 COM
M921//M971
M922//M972
M923//M973
COM J3
+V
+V J7 M940//M990
M924//M974 M941//M991
M925//M975 M942//M992
M926//M976 M943//M993
M927//M977 M944//M994
M928//M978 M945//M995
M929//M979 M946//M996
M930//M980 M947//M997
M931//M981 COM
COM
30
Micro Trend UTC-series Hardware Reference Aug. 2004
Input:
+5V
+V
2.7k
Mxxx
COM
Output:
+5V
+V
10k
Mxxx
Load
COM
31
Micro Trend UTC-series Hardware Reference Aug. 2004
120.0 mm
193.5 mm
57.0 mm
32
Micro Trend UTC-series Hardware Reference Aug. 2004
CN5
CN4
+V
M57/67
M56/66
M55/65
M54/64
M53/63
M52/62
M51/61
M50/60
COM
+V
IN1
IN2
IN3
IN4
IN5
IN6
IN7
IN8
COM
AC SSR 250V3A CN6
DC SSR 60V2A +V
(COM1,2 TO +V) IN9
Relay AC125V0.6A IN10
DC30V2A IN11
IN12
COM
P4 P2 P1
P3
+V
CN7
M93/97 COM2
M92/96 P3 M93/97
M91/95 M92/96
M90/94 M91/95
COM M90/94
N.C.
CN8
CN3
COM1
M47/37
M46/36
P5 M45/35
+V M44/34
M47/37 M43/33
P5 M42/32
M46/36
M45/35 M41/31
M44/34 M40/30
M43/33 N.C.
M42/32
M41/31
M40/30
COM
P4 P2 P1
+V
IN1
IN2
IN3
IN4
IN5
IN6
IN7
IN8
COM
+V
M57/67
M56/66
M55/65
M54/64
M53/63
M52/62
M51/61
M50/60
COM
+V
IN9
IN10
IN11
IN12
COM
CN4,CN5,CN6 are usedfor type inputs,P1,P2,P4 are their corresponding NPN outputs.
When CN8 connetted to UTC-series controller,CN3 is the outputs and Cn5 is the intputs.
33
Micro Trend UTC-series Hardware Reference Aug. 2004
When Relay used,short 12for normally closed and 23 for normally open.
If the input(M50..M57) were NPN type, the lines shown below must be wired.
34
Micro Trend UTC-series Hardware Reference Aug. 2004
81.5mm
56.0mm
121.0mm
CN1
CN2
CN3
+V:12-24VDC
35