
Appendix B
Programming Instructions
523
Code
Page
Function
Name
Mnemonic
(@)52
MLB
BINARY MULTIPLY
Multiplies two four-digit hexadecimal values and outputs
result to specified result words.
248
(@)53
DVB
BINARY DIVIDE
Divides four-digit hexadecimal dividend by four-digit hexa-
decimal divisor and outputs result to specified result words.
248
(@)54
ADDL
DOUBLE BCD ADD
Adds two eight-digit values (2 words each) and content of
CY, and outputs result to specified result words.
230
(@)55
SUBL
DOUBLE BCD
SUBTRACT
Subtracts an eight-digit BCD value and CY from another
eight-digit BCD value and outputs result to the result
words.
233
(@)56
MULL
DOUBLE BCD
MULTIPLY
Multiplies two eight-digit BCD values and outputs result to
specified result words.
236
(@)57
DIVL
DOUBLE BCD
DIVIDE
Divides eight-digit BCD dividend by eight-digit BCD divisor
and outputs result to specified result words.
237
(@)58
BINL
DOUBLE BCD TO
DOUBLE BINARY
Converts BCD value in two consecutive source words into
binary and outputs converted data to two consecutive re-
sult words.
205
(@)59
BCDL
DOUBLE BINARY TO
DOUBLE BCD
Converts binary value in two consecutive source words
into BCD and outputs converted data to two consecutive
result words.
206
60 to 69
For expansion instructions.
(@)70
XFER
BLOCK TRANSFER
Moves content of several consecutive source words to
consecutive destination words.
182
(@)71
BSET
BLOCK SET
Copies content of one word or constant to several consec-
utive words.
181
(@)72
ROOT
SQUARE ROOT
Computes square root of eight-digit BCD value and out-
puts truncated four-digit integer result to specified result
word.
241
(@)73
XCHG
DATA EXCHANGE
Exchanges contents of two different words.
183
(@)74
SLD
ONE DIGIT SHIFT
LEFT
Left shifts data between starting and ending words by one
digit (four bits).
177
(@)75
SRD
ONE DIGIT SHIFT
RIGHT
Right shifts data between starting and ending words by
one digit (four bits).
177
(@)76
MLPX
4-TO-16/8-TO-256
DECODER
Converts up to four hexadecimal digits in source word into
decimal values from 0 to 15 and turns ON, in result
word(s), bit(s) whose position corresponds to converted
value.
Can also convert up to eight hexadecimal digits and turn
ON corresponding bits in result words R to R+15.
209
(@)77
DMPX
16-TO-4/256-TO-8
ENCODER
Determines position of highest ON bit in source word(s)
and writes the ON bit’s position (0 to F) to digit(s) in R.
Can also determine the position of the highest ON bit in
one or two groups of 16 words (S to S+15, S+16 to S+31)
and writes the ON bit’s position (00 to FF) to byte(s) in R.
212
(@)78
SDEC
7-SEGMENT
DECODER
Converts hexadecimal values from source word to data for
seven-segment display.
215
(@)79
FDIV
FLOATING POINT
DIVIDE
Divides one floating point value (Dd+1, Dd) by another
(Dr+1, Dr) and outputs the result to R+1 and R.
238
(@)80
DIST
SINGLE WORD
DISTRIBUTE
Moves one word of source data to destination word whose
address is given by destination base word plus offset.
183
(@)81
COLL
DATA COLLECT
Extracts data from source word and writes it to destination
word.
185
(@)82
MOVB
MOVE BIT
Transfers designated bit of source word or constant to des-
ignated bit of destination word.
187
(@)83
MOVD
MOVE DIGIT
Moves hexadecimal content of specified four-bit source
digit(s) to specified destination digit(s) for up to four digits.
188
(@)84
SFTR
REVERSIBLE SHIFT
REGISTER
Shifts data in specified word or series of words to either left
or right.
173
(@)85
TCMP
TABLE COMPARE
Compares four-digit hexadecimal value with values in table
consisting of 16 words.
199
Summary of Contents for SYSMAC C200HE
Page 1: ...Cat No W303 E1 09 OPERATION MANUAL Programmable Controllers C200HX C200HG C200HE ...
Page 2: ......
Page 3: ...C200HX C200HG C200HE Programmable Controllers Operation Manual Revised August 2004 ...
Page 6: ...vi ...
Page 10: ......
Page 12: ......
Page 380: ......
Page 410: ......
Page 438: ......
Page 464: ......
Page 474: ......
Page 522: ......
Page 538: ......
Page 552: ...534 Programmer Program Date Page Word Contents Notes Word Contents Notes Data Storage ...
Page 554: ......
Page 560: ......
Page 584: ......
Page 585: ......
Page 586: ...W303 E1 09 ...