EasyManua.ls Logo

Omron SYSMAC CV Series - Page 552

Omron SYSMAC CV Series
636 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...
Appendix AInstruction Set
542
Name, mnemonic, variations,
and symbol
PageOperand data
areas
Function
TRANSITION COUNTER
TCNT
(123)
TCNT N S
Computes the number of times that a
transition program is executed and turns ON
the Transition Flag when the preset count is
reached. Each counter number (BCD) can be
used in only one counter instruction (CNT,
CNTR(012), and TCNT(123)), unless the
counters are never active simultaneously.
N:
#
S:
CIO
G
A
T/C
DM
#
DR
IR
434
READ STEP TIMER
TSR, jTSR
(124)
TSR N D
Reads the present value of the step timer for
step N and writes to D.
N:
CIO
G
A
T/C
DM
#
DR
IR
D:
CIO
G
A
T/C
DM
DR
IR
435
WRITE STEP TIMER
TSW, jTSW
(125)
TSW S N
Changes the present value of the step timer
for step N to the value in S.
S:
CIO
G
A
T/C
DM
DR
IR
N:
CIO
G
A
T/C
DM
#
DR
IR
436
LOGICAL AND
ANDW, jANDW
(130)
ANDW I
1
I
2
R
Logically ANDs two 16-bit input words (I
1
and
I
2
) and sets the bits in the result word (R) if the
corresponding bits in the input words are both
ON.
I
1
:
CIO
G
A
T/C
#
DM
DR
IR
I
2
:
CIO
G
A
T/C
#
DM
DR
IR
R:
CIO
G
A
DM
DR
IR
341
LOGICAL OR
ORW, jORW
(131)
ORW I
1
I
2
R
Logically ORs two 16-bit input words (I
1
and
I
2
) and sets the bits in the result word (R)
when one or both of the corresponding bits in
the input words is/are ON.
I
1
:
CIO
G
A
T/C
#
DM
DR
IR
I
2
:
CIO
G
A
T/C
#
DM
DR
IR
R:
CIO
G
A
DM
DR
IR
342
EXCLUSIVE OR
XORW, jXORW
(132)
XORW I
1
I
2
R
Exclusively ORs two 16-bit input words (I
1
and
I
2
) and sets the bits in the result word (R)
when the corresponding bits in input words
differ in status.
I
1
:
CIO
G
A
T/C
#
DM
DR
IR
I
2
:
CIO
G
A
T/C
#
DM
DR
IR
R:
CIO
G
A
DM
DR
IR
343
EXCLUSIVE NOR
XNRW, jXNRW
(133)
XNRW I
1
I
2
R
Exclusively NORs two 16-bit input words (I
1
and I
2
) and sets the bits in the result word (R)
when the corresponding bits in both input
words have the same status.
I
1
:
CIO
G
A
T/C
#
DM
DR
IR
I
2
:
CIO
G
A
T/C
#
DM
DR
IR
R:
CIO
G
A
DM
DR
IR
343

Table of Contents

Related product manuals