
Appendix B
Programming Instructions
525
Code
Page
Function
Name
Mnemonic
---
7SEG
7-SEGMENT DISPLAY
OUTPUT
Converts 4- or 8-digit BCD data to 7-segment display
format and then outputs the converted data.
340
---
(@)ADBL
DOUBLE BINARY ADD
Adds two 8-digit binary values (normal or signed data)
and outputs the result to R and R+1.
249
---
AVG
AVERAGE VALUE
Adds the specified number of hexadecimal words and
computes the mean value. Rounds off to 4 digits past
the decimal point.
259
---
(@)BXF2
EM BANK TRANSFER
Moves content of several consecutive source words to
consecutive destination words. Words in the current EM
bank can be specified for the source or destination.
191
---
CMCR
PCMCIA CARD MACRO
Performs macros to write files, read files, compare files
to memory, search files, and other operations for
PCMCIA Card Interface Units.
357
---
CPS
SIGNED BINARY
COMPARE
Compares two 16-bit (4-digit) signed binary values and
outputs the result to the GR, EQ, and LE flags.
202
---
CPSL
DOUBLE SIGNED BINARY
COMPARE
Compares two 32-bit (8-digit) signed binary values and
outputs the result to the GR, EQ, and LE flags.
203
---
(@)DBS
SIGNED BINARY DIVIDE
Divides one 16-bit signed binary value by another and
outputs the 32-bit signed binary result to R+1 and R.
255
---
(@)DBSL
DOUBLE SIGNED BINARY
DIVIDE
Divides one 32-bit signed binary value by another and
outputs the 64-bit signed binary result to R+3 to R.
256
---
DSW
DIGITAL SWITCH INPUT
Inputs 4- or 8-digit BCD data from a digital switch.
343
---
(@)EMBC
SELECT EM BANK
Changes the current EM bank to the specified bank
number.
321
---
(@)FCS
FCS CALCULATE
Checks for errors in data transmitted by a Host Link
command.
312
---
FPD
FAILURE POINT DETECT
Finds errors within an instruction block.
314
---
(@)HEX
ASCII-TO-HEXADECIMAL
Converts ASCII data to hexadecimal data.
219
---
(@)IEMS
INDIRECT EM
ADDRESSING
Changes the destination of indirect DM addressing
(
DM) to DM or the specified EM bank. This instruction
can be used to change the current EM bank.
320
---
(@)IORD
SPECIAL I/O UNIT READ
Transfers data from the specified Special I/O Unit’s
memory to words in the PC.
354
---
(@)IOWR
SPECIAL I/O UNIT WRITE
Transfers data from words in the PC to the specified
Special I/O Unit’s memory.
355
---
(@)MAX
FIND MAXIMUM
Finds the maximum value in specified data area and
outputs that value to another word.
257
---
(@)MBS
SIGNED BINARY
MULTIPLY
Multiplies the signed binary content of two words and
outputs the 8-digit signed binary result to R+1 and R.
253
---
(@)MBSL
DOUBLE SIGNED BINARY
MULTIPLY
Multiplies two 32-bit (8-digit) signed binary values and
outputs the 16-digit signed binary result to R+3 through
R.
254
---
(@)MIN
FIND MINIMUM
Finds the minimum value in specified data area and
outputs that value to another word.
258
---
MTR
MATRIX INPUT
Inputs data from an 8 input point
×
8 output point matrix
and records that data in D to D+3.
352
---
(@)NEG
2’S COMPLEMENT
Converts the four-digit hexadecimal content of the
source word to its 2’s complement and outputs the re-
sult to R.
226
---
(@)NEGL
DOUBLE 2’S
COMPLEMENT
Converts the eight-digit hexadecimal content of the
source words to its 2’s complement and outputs the re-
sult to R and R+1.
227
---
(@)PID
PID CONTROL
PID control is performed according to the operand and
PID parameters that are preset. (The only CQM1 model
that can use PID(––) is the CPU4
.)
266
---
(@)PMCR
PROTOCOL MACRO
Calls and executes the specified communications se-
quence (protocol) that has been registered in the Com-
munications Board.
339
Содержание SYSMAC C200HE
Страница 1: ...Cat No W303 E1 09 OPERATION MANUAL Programmable Controllers C200HX C200HG C200HE ...
Страница 2: ......
Страница 3: ...C200HX C200HG C200HE Programmable Controllers Operation Manual Revised August 2004 ...
Страница 6: ...vi ...
Страница 10: ......
Страница 12: ......
Страница 380: ......
Страница 410: ......
Страница 438: ......
Страница 464: ......
Страница 474: ......
Страница 522: ......
Страница 538: ......
Страница 552: ...534 Programmer Program Date Page Word Contents Notes Word Contents Notes Data Storage ...
Страница 554: ......
Страница 560: ......
Страница 584: ......
Страница 585: ......
Страница 586: ...W303 E1 09 ...