Omron SYSMAC C200HS Operation Manual page 449

Programmable controllers
Hide thumbs Also See for SYSMAC C200HS:
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 MES-
SAGE
48
(@)TERM
TERMINAL MODE
60
CMPL
DOUBLE COMPARE
61
(@)MPRF
GROUP-2 HIGH-DEN-
SITY 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 Compares a word to a range defined by lower and
446
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.
(CPU31-E/33-E only)
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.
(CPU31-E/33-E only)
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 spe-
cified 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.
upper limits and outputs the result to the GR, EQ, and
LE flags.
Function
Function
Appendix B
Page
194
291
257
259
259
281
281
293
260
Page
157
276
169
279
280
172
282
168
200
201
183
184
283
174
239
144
176

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents