![background image](http://html1.mh-extra.com/html/omron/sysmac-c200hs/sysmac-c200hs_operation-manual_742436449.webp)
Appendix B
Programming Instructions
446
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.
194
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.
(CPU31-E/33-E only)
291
(@)91
SBS
SUBROUTINE
ENTRY
Calls and executes subroutine N.
257
92
SBN
SUBROUTINE
DEFINE
Marks start of subroutine N.
259
93
RET
RETURN
Marks the end of a subroutine and returns control to main
program.
259
(@)94
WDT
WATCHDOG TIMER
REFRESH
Increases the watchdog timer PV by 0 to 6300 ms.
281
(@)97
IORF
I/O REFRESH
Refreshes all I/O words between the start and end words.
281
(@)98
RECV
NETWORK RECEIVE
Used for communications with other PCs linked through
the SYSMAC NET Link System or SYSMAC LINK System.
(CPU31-E/33-E only)
293
(@)99
MCRO
MACRO
Calls and executes a subroutine replacing I/O words.
260
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.
157
18
(@)SCAN
CYCLE TIME
Sets the minimum cycle time (0 to 999.0 s).
276
19
(@)MCMP
MULTI-WORD COMPARE
Compares a block of 16 consecutive words to another
block of 16 consecutive words.
169
47
(@)LMSG
32-CHARACTER MES-
SAGE
Outputs a 32-character message to the Programming
Console.
279
48
(@)TERM
TERMINAL MODE
Switches the Programming Console to TERMINAL
mode for the normal keyboard mapping operation.
280
60
CMPL
DOUBLE COMPARE
Compares two eight-digit hexadecimal values.
172
61
(@)MPRF
GROUP-2 HIGH-DEN-
SITY I/O REFRESH
Refreshes I/O words allocated to Group-2 High-density
I/O Units.
282
62
(@)XFRB
TRANSFER BITS
Copies the status of up to 255 specified source bits to
the specified destination bits.
168
63
(@)LINE
COLUMN TO LINE
Copies a bit column from 16 consecutive words to the
specified word.
200
64
(@)COLM
LINE TO COLUMN
Copies the 16 bits from the specified word to a bit col-
umn of 16 consecutive words.
201
65
(@)SEC
HOURS TO SECONDS
Converts hour and minute data to second data.
183
66
(@)HMS
SECONDS TO HOURS
Converts second data to hour and minute data.
184
67
(@)BCNT
BIT COUNTER
Counts the total number of bits that are ON in the spe-
cified block of words.
283
68
(@)BCMP
BLOCK COMPARE
Judges whether the value of a word is within 16 ranges
(defined by lower and upper limits).
174
69
(@)APR
ARITHMETIC PROCESS
Performs sine, cosine, or linear approximation
calculations.
239
87
TTIM
TOTALIZING TIMER
Creates a totalizing timer.
144
88
ZCP
AREA RANGE COMPARE
Compares a word to a range defined by lower and
upper limits and outputs the result to the GR, EQ, and
LE flags.
176
Содержание SYSMAC C200HS
Страница 1: ...Cat No W235 E1 05 C200HS SYSMAC Programmable Controllers...
Страница 2: ...C200HS Programmable Controllers Operation Manual Revised February 2002...
Страница 3: ...iv...
Страница 5: ...vi...
Страница 379: ...371 SR word Corresponding key s Bit 279 03 04 05 3 06 07 VER 08 09 Monitoring Operation and Modifying Data Section 7 1...
Страница 470: ...468 Programmer Program Date Page Word Contents Notes Word Contents Notes Data Storage...
Страница 471: ...469 Programmer Program Date Page TC address T or C Set value Notes TC address T or C Set value Notes Timers and Counters...