Omron CQM1H - PROGRAM Programming Manual page 541

Programmable controllers; inner boards
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 Marks start of subroutine N.
93
RET
RETURN
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
TKY
TEN KEY INPUT
19
(@)MCMP
MULTI-WORD COMPARE
47
(@)RXD
RECEIVE
48
(@)TXD
TRANSMIT
60
CMPL
DOUBLE COMPARE
61
(@)INI
MODE CONTROL
62
(@)PRV
HIGH-SPEED COUNTER
PV READ
63
(@)CTBL
COMPARISON TABLE
LOAD
64
(@)SPED
SPEED OUTPUT
65
(@)PULS
SET PULSES
66
(@)SCL
SCALE
67
(@)BCNT
BIT COUNTER
68
(@)BCMP
BLOCK COMPARE
69
(@)STIM
INTERVAL TIMER
87
DSW
DIGITAL SWITCH INPUT
88
7SEG
7-SEGMENT DISPLAY
OUTPUT
89
(@)INT
INTERRUPT CONTROL
---
(@)ACC
ACCELERATION CON-
TROL
---
(@)ACOS
ARC CoSINE
516
Name
Converts hexadecimal values from the source word to eight-bit
ASCII code starting at leftmost or rightmost half of starting
destination word.
Transmits data to another node in the network.
Calls and executes subroutine N.
Marks the end of a subroutine and returns control to main pro-
gram.
Refreshes all I/O words between the start and end words.
Cannot be used with the SRM1.
Requests data transfer from another node in the network.
Calls and executes a subroutine replacing I/O words.
Name
Creates a shift register that exchanges the contents of adja-
cent words when one of the words is zero and the other is not.
Inputs 8 digits of BCD data from a 10-key keypad.
Compares a block of 16 consecutive words to another block of
16 consecutive words.
Receives data via a communications port.
Sends data via a communications port.
Compares two eight-digit hexadecimal values.
Starts and stops counter operation, compares and changes
counter PVs, and stops pulse output.
Reads counter PVs and status data of high-speed counters.
Registers a comparison table and starts comparison for high-
speed counters.
Outputs pulses at the specified frequency (10 Hz to 50 KHz in
10 Hz units). The output frequency can be changed while
pulses are being output.
Outputs the specified number of pulses at the specified fre-
quency. The pulse output cannot be stopped until the specified
number of pulses have been output.
Performs a scaling conversion on the calculated value.
Counts the total number of bits that are ON in the specified
block of words.
Judges whether the value of a word is within 16 ranges
(defined by lower and upper limits).
Controls interval timers used to perform scheduled interrupts.
Inputs 4- or 8-digit BCD data from a digital switch.
Converts 4- or 8-digit data to 7-segment display format and
then outputs the converted data.
Performs interrupt control, such as masking and unmasking
the interrupt bits for I/O interrupts.
Together with PULS(––), ACC(––) controls the acceleration
and/or deceleration of pulses output from port 1 or 2.
Calculates the arc cosine of a 32-bit floating-point number.
Function
Function
Appendix A
Page
301
213
406
377
379
379
382
410
383
Page
268
434
285
415
417
284
255
257
243
395
393
305
385
283
241
427
424
391
400
366

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the CQM1H - PROGRAM and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Sysmac cqm1h seriesSysmac cqm1h-cpu series

Table of Contents

Save PDF