EasyManua.ls Logo

Trio Motion Coordinator MC216 - Page 376

Trio Motion Coordinator MC216
566 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
9-4 Programming Examples
Example Programs
Trio Motion Technology
GET#5,k
IF k=72 AND dpoint=0 THEN dpoint=1
IF k=70 THEN negative=-negative
IF k=69 THEN GOTO getnum
IF k>=59 AND k<=61 THEN k=k-7
IF k>=66 AND k<=68 THEN k=k-17
IF k=71 THEN k=48
IF k>47 AND k<58 THEN
k=k-48
IF dpoint>0 THEN
dpoint=dpoint/10
IF dpoint>=0.01 THEN num=num+k*dpoint
ELSE
num=num*10+k
ENDIF
ENDIF
UNTIL k=73
num=num*negative
RETURN
Example 3 - ATM Card Production
Key Features Used:
REGIST, MOVEMODIFY
An automated die-cutting machine, is designed to punch out pre-printed plas-
tic cards for use in ATM machines etc.
There is one servo axis which is connected to the draw rollers which feed the
card into the machine. A printed registration mark appears once per card and
is sensed by an optical sensor connected to the Registration input of the
MC2xx’s Servo Daughter Board.
VISA CARD
1234 5678 1234 5678
M A.N.O
R THER
VISA CARD
1234 5678 1234 5678
M A.N.O
R THER
VISA CARD
1234 5678 1234 5678
M A.N.O
R THER
VISA CARD
1234 5678 1234 5678
M A.N.O
R THER
VISA CARD
1234 5678 1234 5678
M A.N.O
R THER
VISA CARD
1234 5678 1234 5678
M A.N.O
R THER
VISA CARD
1234 5678 1234 5678
M A.N.O
R THER
VISA CARD
1234 5678 1234 5678
M A.N.O
R THER
VISA CARD
1234 5678 1234 5678
M A.N.O
R THER
VISA CARD
1234 5678 1234 5678
M A.N.O
R THER
VISA CARD
1234 5678 1234 5678
M A.N.O
R THER

Table of Contents

Related product manuals