EasyManuals Logo

Omron CQM1H - PROGRAM User Manual

Omron CQM1H - PROGRAM
602 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #448 background imageLoading...
Page #448 background image
423
Communications Instructions Section 5-30
Only one communications sequence can be executed at a time for each port
and an error will occur if PMCR(––) is executed when that port’s Protocol
Macro Executing Flag is already ON. Be sure to include the flag as a normally
closed execution condition to prevent a second communications sequence
from being executed before the first has been completed.
Control Word (C)
The first digit of the control word (1 or 2) specifies the Serial Communications
Board port and the last three digits specify the communications sequence
(000 to 999), as shown in the following diagram.
First Send Word (S)
The first word of the words required to send data is specified. S contains the
number of words to be sent +1 (i.e., including the S word) and send data
starts in S+1. Between 0 and 0128 words can be sent.
If there is no send data, always set 0000 as a constant for S. An error will
occur and the Error Flag will turn ON if any other constant or a word address
is given and PMCR(––) will not be executed.
First Receive Word (R)
These words contain received data. Specify a word address for R even if no
data is being received. If a constant is set for R, an error will occur, the Error
Flag will turn ON, and PMCR(––) will not be executed.
Flags ER: Indirectly addressed EM/DM word is non-existent.
(Content of *EM/*DM word is not BCD, or the EM/DM area boundary
has been exceeded.)
R is not BCD or DM 6144 through DM 6655 has been used for R.
Another PMCR(––) instruction was already in progress and the Proto-
col Macro Executing Flag was ON when the instruction was executed.
@PMCR(−−)
C
S
R
20708
or
20712
Execution
condition
C:
Digits 2 to 4: Communications sequence number
(000 to 999)
Digit 1: Port specifier
1: Serial Communications Board port 1
2: Serial Communications Board port 2
Number of send words + 1
(n+1 = 0001 to 0129)
Prepare n words of data in
advance (n = 0 to 128.)
n+1
The number of words of data
received + 1 is automatically
stored here.
The m words of data that is
received is stored here.
R
m

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

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

Omron CQM1H - PROGRAM Specifications

General IconGeneral
I/O CapacityUp to 512 points
Power Supply100 to 240 VAC, 50/60 Hz or 24 VDC (depending on model)
Instruction SetBasic and advanced instructions
Operating Temperature0 to 55°C
Program Capacity7.2K to 15.2K steps
Communication PortsRS-232C
Expansion SlotsUp to 3 expansion units
TypeProgrammable Logic Controller (PLC)
CPU TypeRISC
Program Memory7.2K to 15.2K steps
I/O Points512 max
Expansion CapabilityUp to 3 expansion units
Data MemoryRAM (battery backup)

Related product manuals