Omron SYSMAC CS Series Instruction & Reference Manual page 76

Hide thumbs Also See for SYSMAC CS Series:
Table of Contents

Advertisement

2. Instructions (Applicable CPU Units)
Classification
Instruction
Block
HUNDRED-MS
TIMW
Programming
TIMER WAIT
Instructions
TIMWX
COUNTER
CNTW
WAIT
CNTWX
TEN-MS TIMER
TMHW
WAIT
TMHWX
Loop Control
LOOP
LEND
LEND NOT 810
Text String
MOV STRING
MOV$/
Processing
@MOV$
Instructions
CONCATE-
+$/
NATE STRING
@+$
GET STRING
LEFT$/
LEFT
@LEFT$
GET STRING
RGHT$/
RIGHT
@RGHT$
GET STRING
MID$/
MIDDLE
@MID$
FIND IN
FIND$/
STRING
@FIND$
STRING
LEN$/
LENGTH
@LEN$
REPLACE IN
RPLC$/
STRING
@RPLC$
DELETE
DEL$/
STRING
@DEL$
EXCHANGE
XCHG$/
STRING
@XCHG$
CLEAR
CLR$/
STRING
@CLR$
INSERT INTO
INS$/
STRING
@INS$
String Compari-
LD, AND,
son
OR+=$
LD, AND,
OR+<>$
LD, AND,
OR+<$
LD, AND,
OR+>$
LD, AND,
OR+>=$
Task
TASK ON
TKON/
Control
@TKON
Instructions
TASK OFF
TKOF/
@TKOF
Model
BLOCK
XFERC/
Conversion
TRANSFER
@XFERC
Instructions
SINGLE WORD
DISTC/
DISTRIBUTE
@DISTC
DATA COL-
COLLC/
LECT
@COLLC
MOVE BIT
MOVBC/
@MOVBC
BIT COUNTER
BCNTC/
@BCNTC
42
Fun
Mnemonic
Function
code
813
Delays execution of the rest of the
block program until the specified
816
time has elapsed.
814
Delays execution of the rest of the
block program until the specified
count has been achieved.
818
815
Delays execution of the rest of the
block program until the specified
time has elapsed.
817
809
Indicates the beginning of the
loop (LOOP to LEND).
810
Indicates the end of the loop (LOOP
to LEND). LOOP to LEND is
repeated until the execution condi-
tion (when an operand is not speci-
fied) or the specified bit (when an
operand is specified) turns ON.
Indicates the end of the loop
(LOOP to LEND NOT). LOOP to
LEND NOT is repeated until the
specified bit turns OFF.
664
Transfers a text string.
656
Links one text string to another
text string.
652
Fetches a designated number of
characters from the left (begin-
ning) of a text string.
653
Reads a designated number of
characters from the right (end) of
a text string.
654
Reads a designated number of
characters from any position in
the middle of a text string.
660
Finds a designated text string
from within a text string.
650
Calculates the length of a text
string.
661
Replaces a text string with a des-
ignated text string from a desig-
nated position.
658
Deletes a designated text string
from the middle of a text string.
665
Replaces a designated text string
with another designated text string.
666
Clears an entire text string with
NUL (00 hex).
657
Inserts a designated text string
into the middle of a text string.
670
String comparison instructions
(=$, <>$, <$, <=$, >$, >=$) com-
pare two text strings from the
671
beginning, in terms of value of the
ASCII codes. If the result of the
comparison is true, an ON execu-
672
tion condition is created for a
LOAD, AND, or OR.
674
675
820
Makes the specified task execut-
able.
821
Puts the specified task into
standby status.
565
Transfers the specified number of
consecutive words.
566
Transfers the source word to a desti-
nation word calculated by adding an
offset value to the base address.
567
Transfers the source word (calculated
by adding an offset value to the base
address) to the destination word.
568
Transfers the specified bit.
621
Counts the total number of ON
bits in the specified word(s).
CJ1M
CJ1-H/
CJ2H
CJ2M
CS1-H
-CPU1@ -CPU2@
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
Ver.
Ver.
Ver.
3.0 or
3.0 or
3.0 or
later
later
later
OK
OK
Ver.
Ver.
Ver.
3.0 or
3.0 or
3.0 or
later
later
later
OK
OK
Ver.
Ver.
Ver.
3.0 or
3.0 or
3.0 or
later
later
later
OK
OK
Ver.
Ver.
Ver.
3.0 or
3.0 or
3.0 or
later
later
later
OK
OK
Ver.
Ver.
Ver.
3.0 or
3.0 or
3.0 or
later
later
later
CS/CJ/NSJ Series Instructions Reference Manual (W474)
CS1D
CJ1/
Page
CS1
-SA/S
-HA/H
OK
OK
OK
998
OK
OK
---
998
OK
OK
OK
1001
OK
OK
---
1001
OK
OK
OK
1003
OK
OK
---
1003
OK
OK
OK
1006
OK
OK
OK
1006
OK
OK
OK
1006
OK
OK
OK
1011
OK
OK
OK
1012
OK
OK
OK
1014
OK
OK
OK
1014
OK
OK
OK
1017
OK
OK
OK
1019
OK
OK
OK
1021
OK
OK
OK
1023
OK
OK
OK
1025
OK
OK
OK
1027
OK
OK
OK
1029
OK
OK
OK
1031
OK
OK
OK
1033
OK
OK
OK
1033
OK
OK
OK
1033
OK
OK
OK
1033
OK
OK
OK
1033
OK
OK
OK
1038
OK
OK
OK
1038
---
---
---
1044
---
---
---
1046
---
---
---
1049
---
---
---
1052
---
---
---
1054

Advertisement

Table of Contents
loading

Table of Contents