Example Of Using Explicit Messages - Omron CJ1W-PNT21 Operation Manual

Profinet io controller unit
Hide thumbs Also See for CJ1W-PNT21:
Table of Contents

Advertisement

C-3

Example of using explicit messages

The following example shows how to use explicit messages with a PROFINET IO Communication Unit
connected to a PROFINET IO Controller Unit.
Sending a Unit Maintenance Present Value Read command to the PROFINET IO Communication Unit.
Configuration
PROFINET IO Controller Unit's station address: 00
Unit number: 0
Unit address: 11 Hex
GRT1-PNT Communication Unit's Device Number: 65
PROFINET IO Controller
Operation
Reads the Alarm data of the connected SmartSlice I/O Unit from the PROFINET IO Communication Unit.
The data is read using the Explicit Message Send command (2801).
The command data is written in words starting from D01000 in the PLC and the response data is stored in
words starting from D02000.
If the command does not end normally, the end code is stored in D00006 and the Send command is re-
executed.
Command Details
[CMND S D C]
S: D01000
D (first response word): D02000
C: D00000
144
Read SmartSlice
alarm data
SmartSlice I/O System
Note
The maximum length of the Explicit Message Send command (2801) when
used for sending data over PROFINET IO is limited to 1004 bytes.
Ladder program
CMND
C
S
D
PROFINET
Network
Explicit message
sent

Advertisement

Table of Contents
loading

Table of Contents