
Appendix B
Programming Instructions
524
Code
Page
Function
Name
Mnemonic
(@)86
ASC
ASCII CONVERT
Converts hexadecimal values from the source word to
eight-bit ASCII code starting at leftmost or rightmost half of
starting destination word.
218
87 to 89
For expansion instructions.
(@)90
SEND
NETWORK SEND
Used for communications with other PCs linked through
the SYSMAC NET Link System or SYSMAC LINK System.
322
(@)91
SBS
SUBROUTINE
ENTRY
Calls and executes subroutine N.
285
92
SBN
SUBROUTINE
DEFINE
Marks start of subroutine N.
286
93
RET
RETURN
Marks the end of a subroutine and returns control to main
program.
286
(@)94
WDT
WATCHDOG TIMER
REFRESH
Increases the watchdog timer PV by 0 to 6300 ms.
310
(@)97
IORF
I/O REFRESH
Refreshes all I/O words between the start and end words.
310
(@)98
RECV
NETWORK RECEIVE
Used for communications with other PCs linked through
the SYSMAC NET Link System or SYSMAC LINK System.
327
(@)99
MCRO
MACRO
Calls and executes a subroutine replacing I/O words.
287
Expansion Instructions
The following table shows the instructions that can be treated as expansion instructions. The default function
codes are given for instructions that have codes assigned by default.
Code
Mnemonic
Name
Function
Page
17
(@)ASFT
ASYNCHRONOUS SHIFT
REGISTER
Creates a shift register that exchanges the contents of
adjacent words when one of the words is zero and the
other is not.
178
18
(@)SCAN
CYCLE TIME
Sets the minimum cycle time (0 to 999.0 s).
305
19
(@)MCMP
MULTI-WORD COMPARE
Compares a block of 16 consecutive words to another
block of 16 consecutive words.
192
47
(@)LMSG
32-CHARACTER
MESSAGE
Outputs a 32-character message to the Programming
Console.
308
48
(@)TERM
TERMINAL MODE
Switches the Programming Console to TERMINAL
mode for the normal keyboard mapping operation.
309
60
CMPL
DOUBLE COMPARE
Compares two eight-digit hexadecimal values.
196
61
(@)MPRF
GROUP-2 HIGH-DENSITY
I/O REFRESH
Refreshes I/O words allocated to Group-2 High-density
I/O Units.
311
62
(@)XFRB
TRANSFER BITS
Copies the status of up to 255 specified source bits to
the specified destination bits.
189
63
(@)LINE
COLUMN TO LINE
Copies a bit column from 16 consecutive words to the
specified word.
224
64
(@)COLM
LINE TO COLUMN
Copies the 16 bits from the specified word to a bit col-
umn of 16 consecutive words.
225
65
(@)SEC
HOURS TO SECONDS
Converts hour and minute data to second data.
207
66
(@)HMS
SECONDS TO HOURS
Converts second data to hour and minute data.
208
67
(@)BCNT
BIT COUNTER
Counts the total number of bits that are ON in the speci-
fied block of words.
312
68
(@)BCMP
BLOCK COMPARE
Judges whether the value of a word is within 16 ranges
(defined by lower and upper limits).
197
69
(@)APR
ARITHMETIC PROCESS
Performs sine, cosine, or linear approximation
calculations.
263
87
TTIM
TOTALIZING TIMER
Creates a totalizing timer.
165
88
ZCP
AREA RANGE COMPARE
Compares a word to a range defined by lower and up-
per limits and outputs the result to the GR, EQ, and LE
flags.
200
89
(@)INT
INTERRUPT CONTROL
Performs interrupt control, such as masking and un-
masking the interrupt bits for I/O interrupts.
289
Содержание 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 ...