6F3B0250
Basic Hardware and Function
125
7. Instructions
FUN
Name
Expression
Function
Steps Speed Available Page
No.
(
m
s)
T1 T1S
-
Counter
C CNT Q
E
A B
Counts the number of cycles
the count input (C) comes ON
while the enable input (E) is
ON, and turns ON output (Q)
when the count reaches to the
value specified by
A. B is a
counter register.
2
22.6
Ö
Ö
150
-
Master control set
ú--
[ MCS ]
-ê
Turns OFF power rail between
1
3.75
Ö
Ö
151
-
Master control
reset
ú--
[ MCR ]
-ê
MCS and MCR when MCS
input is OFF.
1
(in a
pair)
-
Jump control set
ú--
[ JCS ]
-ê
Jumps from JCS to JCR when
1
2.75
Ö
Ö
152
-
Jump control reset
ú--
[ JCR ]
-ê
JCS input is ON.
1
(in a
pair)
-
End
ú--
[ END ]
-ê
Indicates end of main program
or sub-program.
1
1.4
Ö
Ö
153
Data transfer instructions
FUN
Name
Expression
Function
Steps Speed Available Page
No.
(
m
s)
T1 T1S
018 Data transfer
-
[ A MOV B ]
-
Transfers data of
A to B.
3
4.2
Ö
Ö
154
019 Double-word
data transfer
-
[ A+1
×
A DMOV B+1
×
B ]
-
Transfers double-word data of
A+1
×
A to B+1
×
B.
3
7.2
Ö
Ö
155
020 Invert transfer
-
[ A NOT B ]
-
Transfers bit-inverted data of
A to B.
3
4.6
Ö
Ö
156
022 Data exchange
-
[ A XCHG B ]
-
Exchanges data of
A with B.
3
6.5
Ö
Ö
157
024 Table initialize
-
[ A TINZ (n) B ]
-
Transfers data of
A to n
registers starting with
B.
3
Ö
158
025 Table transfer
-
[ A TMOV (n) B ]
-
Transfers data of
n registers
starting with
A to n registers
starting with
B.
3
Ö
159
026 Table invert
transfer
-
[ A TNOT (n) B ]
-
Transfers bit-inverted data of
n registers starting with A to n
registers starting with
B.
3
Ö
160
090 Multiplexer
-
[ A MPX (n) B
®
C ]
-
Transfers data from the
register specified by
B in the
table, size
n starting with A, to
C.
5
70.6
Ö
Ö
194
091 Demultiplexer
-
[ A DPX (n) B
®
C ]
-
Transfers data from
A to the
register specified by
B in the
table, size
n starting with C.
5
71.5
Ö
Ö
195
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: [email protected]