Omron C200HX Operation Manual page 542

Hide thumbs Also See for C200HX:
Table of Contents

Advertisement

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

Advertisement

Table of Contents
loading

This manual is also suitable for:

C200hgC200he

Table of Contents