Omron SYSMAC C200HS Operation Manual page 447

Programmable controllers
Hide thumbs Also See for SYSMAC C200HS:
Table of Contents

Advertisement

Programming Instructions
Code
Mnemonic
13
DIFU
DIFFERENTIATE UP
14
DIFD
DIFFERENTIATE
DOWN
15
TIMH
HIGH-SPEED TIMER
(@)16
WSFT
WORD SHIFT
17 to 19
For expansion instructions.
20
CMP
COMPARE
(@)21
MOV
MOVE
(@)22
MVN
MOVE NOT
(@)23
BIN
BCD TO BINARY
(@)24
BCD
BINARY TO BCD
(@)25
ASL
ARITHMETIC SHIFT
LEFT
(@)26
ASR
ARITHMETIC SHIFT
RIGHT
(@)27
ROL
ROTATE LEFT
(@)28
ROR
ROTATE RIGHT
(@)29
COM
COMPLEMENT
(@)30
ADD
BCD ADD
(@)31
SUB
BCD SUBTRACT
(@)32
MUL
BCD MULTIPLY
(@)33
DIV
BCD DIVIDE
(@)34
ANDW
LOGICAL AND
(@)35
ORW
LOGICAL OR
(@)36
XORW
EXCLUSIVE OR
(@)37
XNRW
EXCLUSIVE NOR
(@)38
INC
BCD INCREMENT
(@)39
DEC
BCD DECREMENT
(@)40
STC
SET CARRY
(@)41
CLC
CLEAR CARRY
45
TRSM
TRACE MEMORY
SAMPLE
(@)46
MSG
MESSAGE
47 & 48
For expansion instructions.
(@)50
ADB
BINARY ADD
(@)51
SBB
BINARY SUBTRACT
444
Name
Turns ON the designated bit for one cycle on the rising
edge of the input signal.
Turns ON the bit for one cycle on the trailing edge.
A high-speed, ON-delay (decrementing) timer.
Shifts data between starting and ending words in word
units, writing zeros into starting word.
Compares the contents of two words and outputs result to
GR, EQ, and LE Flags.
Copies source data (word or constant) to destination word.
Inverts source data (word or constant) and then copies it to
destination word.
Converts four-digit, BCD data in source word into 16-bit
binary data, and outputs converted data to result word.
Converts binary data in source word into BCD, and outputs
converted data to result word.
Shifts each bit in single word of data one bit to left, with CY. 154
Shifts each bit in single word of data one bit to right, with
CY.
Rotates bits in single word of data one bit to left, with CY.
Rotates bits in single word of data one bit to right, with CY.
Inverts bit status of one word of data.
Adds two four-digit BCD values and content of CY, and
outputs result to specified result word.
Subtracts a four-digit BCD value and CY from another
four-digit BCD value and outputs result to the result word.
Multiplies two four-digit BCD values and outputs result to
specified result words.
Divides four-digit BCD dividend by four-digit BCD divisor
and outputs result to specified result words.
Logically ANDs two 16-bit input words and sets corre-
sponding bit in result word if corresponding bits in input
words are both ON.
Logically ORs two 16-bit input words and sets correspond-
ing bit in result word if one or both of corresponding bits in
input data are ON.
Exclusively ORs two 16-bit input words and sets bit in re-
sult word when corresponding bits in input words differ in
status.
Exclusively NORs two 16-bit input words and sets bit in
result word when corresponding bits in input words are
same in status.
Increments four-digit BCD word by one.
Decrements four-digit BCD word by one.
Sets carry flag (i.e., turns CY ON).
Clears carry flag (i.e, turns CY OFF).
Initiates data tracing.
Displays a 16-character message on the Programming
Console display.
Adds two four-digit hexadecimal values and content of CY,
and outputs result to specified result word.
Subtracts a four-digit hexadecimal value and CY from
another four-digit hexadecimal value and outputs result to
the result word.
Function
Appendix B
Page
131
131
143
157
170
159
159
180
181
154
155
155
249
205
207
211
212
250
251
252
253
204
204
205
205
277
278
219
221

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents