Omron CP - PROGRAMMING MANUAL 05-2007 Programming Manual page 892

Cp1h/cp1l cpu unit
Table of Contents

Advertisement

Network Instructions
Cycle time (First cycle)
Program execution
END(001) executed.
1. SEND(090),
RECV(098), or
CMND(490)
I/O refreshing
Sends command.
2. Communications processing
during "serial communications
port servicing" (Composes and
sends FINS command.)
3-24-2 About Explicit Message Instructions (CP1H Only)
Methods for Using Explicit
Message Communications
Explicit Message
Instructions
Features of Explicit
Message Instructions
3. Processing is
divided up over
several cycles.
Program execution
Peripheral
servicing
There are two methods that can be used to send explicit messages from a
PLC.
• Use the CMND(490) to send a FINS command code of 2801 hex
(EXPLICIT MESSAGE SEND).
• Use the following Explicit Message Instructions.
The following instructions are called Explicit Message Instructions.
Instruction
Name
EXPLT(720) EXPLICIT MES-
SAGE SEND
EGATR(721) EXPLICIT GET
ATTRIBUTE
ESATR(721) EXPLICIT SET
ATTRIBUTE
EGATR(721) EXPLICIT WORD
READ
EGATR(721) EXPLICIT WORD
WRITE
• Explicit Message Instructions do not require giving a 2801 hex FINS com-
mand and are much simpler to program than CMND(490).
• With the EXPLICIT GET/SET ATTRIBUTE instructions, entering the ser-
vice code is not required and only information from the class ID onward
needs to be entered.
• With the EXPLICIT WORD READ/WRITE instructions, the I/O memory
address in the local and remote CPU Units can be specified directly.
Code specifications for area types and hexadecimal word addresses are
not required. (These are required for CMND(490) instructions with service
code 1E (word data read) or 1F hex (word data write).)
This enables easy reading and writing of data between CPU Units using
explicit message communications (like SEND/RECV instructions for FINS
commands).
Cycle time (Second cycle)
END(001) executed.
I/O refreshing
4. Communications processing
during "serial communications
port servicing" (Receives
response.)
Outline
Sends an explicit message with any service
code. Note: Functionally, this instruction is the
same as sending CMND(490) with a FINS com-
mand code of 2801 hex.
Sends an explicit message with a service code
of 0E hex (GET ATTRIBUTE SINGLE).
Sends an explicit message with a service code
of 10 hex (SET ATTRIBUTE SINGLE).
Uses an explicit message to read data from a
CPU Unit.
Uses an explicit message to write data to a
CPU Unit.
Section 3-24
Peripheral
servicing
Receives
response.
859

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents