Omron C200HG Computer Hardware User Manual


 
Appendix BProgramming Instructions
520
Code PageFunctionNameMnemonic
(@)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.
318
(@)91 SBS SUBROUTINE
ENTRY
Calls and executes subroutine N. 283
92 SBN SUBROUTINE
DEFINE
Marks start of subroutine N. 284
93 RET RETURN Marks the end of a subroutine and returns control to main
program.
284
(@)94 WDT WATCHDOG TIMER
REFRESH
Increases the watchdog timer PV by 0 to 6300 ms. 306
(@)97 IORF I/O REFRESH Refreshes all I/O words between the start and end words. 306
(@)98 RECV NETWORK RECEIVE Used for communications with other PCs linked through
the SYSMAC NET Link System or SYSMAC LINK System.
323
(@)99 MCRO MACRO Calls and executes a subroutine replacing I/O words. 285
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). 301
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.
304
48 (@)TERM TERMINAL MODE Switches the Programming Console to TERMINAL
mode for the normal keyboard mapping operation.
305
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.
307
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.
308
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.
287