Omron CJ1W-SCU32 Operation Manual page 219

Machine automation controller, cj / nj-series, serial communications units, cpu unit
Table of Contents

Advertisement

System Configuration
Sending Messages Using SendCmd Instructions in CPU Unit's User Program
The Unit converts the messages to Modbus-RTU protocol for in this operation.
CPU Bus-to-Serial
Serial Communications Unit
CPU Unit
Protocol
Header
conversion
Modbus-RTU
command
Modbus-RTU
Slave device (e.g,
OMRON Inverter)
Note 1 The header contains the following information.
• Remote destination network address (DNA): Network address to specify actual remote
Pocasset 0 (local network).
• Remote destination node address (DA1): Node address to specify actual remote Pocas-
set 0 (communications within local PLC).
• Remote unit address (DA2):
Unit address of serial communications port. An appropriate value is calculated and set
as follows:
When port 1 is used: Unit address = BYTE#16#80 + BYTE#16#04 × Unit number (hexa-
decimal)
When port 2 is used: Unit address = BYTE#16#81 + BYTE#16#04 × Unit number (hexa-
decimal)
2 The contents of the Modbus-RTU command enclosed in the message that is sent is as fol-
lows:
Slave address (binary) + FUNCTION code (binary) + Communications data (binary)
Start and CRC+End are not required when sending commands. They are added automati-
cally for serial communications.
CJ-series Serial Communications Units Operation Manual for NJ-series CPU Unit(W494)
SendCmd
instruction
Message
Modbus-RTU
2804
command
RS-485 (Modbus-RTU)
5 Serial Gateway
Details
From the CPU Unit, it is possible to access OMRON
Inverters that are connected to the Serial Communi-
cations Unit via a serial network (Modbus-RTU).
5
5-27

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cj1w-scu22Cj1w-scu42

Table of Contents