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 #447 background imageLoading...
Page #447 background image
422
Communications Instructions Section 5-30
5-30-4 PROTOCOL MACRO – PMCR(––)
Limitations C must be BCD from #1000 to #2999.
DM 6144 through DM 6655 cannot be used for R.
Description When the execution condition is OFF, PMCR(––) is not executed. When the
execution condition is ON, PMCR(––) calls and executes the specified com-
munications sequence (protocol data) that has been registered in the Serial
Communications Board installed in the PC.
Bits 00 to 11 of C specify the communications sequence number and bits 12
to 15 of C specify whether the sequence will be executed from port 1 or 2.
When an operand is specified in the send message’s variable, the content of
S (0001 to 0129 BCD) specifies the number of words in the send area includ-
ing S itself. (The send data begins at S+1, so the actual amount of send data
is 0 to 128 words.)
The send/receive message for the communications sequence registered in
the Serial Communications Board must be set to read or write word data
when DM isn’t specified for S and R. If there is no send data, input the con-
stant #0000 for S; any other constant or address specification will cause an
error.
When the communications sequence doesn’t require a receive word, specify
a word address anyway. Data won’t be stored in the specified word and the
contents of the word will be retained. When the communications sequence
does require receive words, specify words that are not used for any other pur-
pose in the program.
The send and receive words (S and R) can also be set in the communications
sequence registered in the Serial Communications Board.
Note Refer to the Serial Communications Board Operation Manual for details on
the Serial Communications Boards and the Protocol Software Operation Man-
ual for details on communications sequences.
The symbol read option (R()) in the send messages variables controls trans-
mission of the send data in the specified send area. Likewise, the symbol
write option (W()) in the received messages variables controls reception of
data to the specified receive area. Refer to the CX-Protocol Operation Manual
for details on specifying the R() and W() options in messages.
Protocol Macro Executing Flags
A port’s Protocol Macro Executing Flag (IR 20708 for port 1 or IR 20712 for
port 2) will be turned ON when PMCR(––) is executed and it will be turned
OFF when the communications sequence has been completed and all of the
received data has been stored in the specified receive words.
C: Control word
IR, SR, AR, DM, EM, HR, TIM/CNT, LR, #
S: First send word
IR, SR, AR, DM, EM, HR, TIM/CNT, LR, #
Ladder Symbols
Operand Data Areas
R: First receive word
IR, SR, AR, DM, EM, HR, TIM/CNT, LR
PMCR(−− )
C
S
R
@PMCR(−− )
C
S
R

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