Modbus2Tarpara Data Type - Allen-Bradley Micro800 General Instructions Manual

Programmable controllers
Hide thumbs Also See for Micro800:
Table of Contents

Advertisement

Chapter 9
Communication instructions
Parameter
Data type
Addr
UDINT
NodeAddress[4]
USINT
Port
UINT
UnitId
USINT
210
MODBUS2LOCPARA custom command support
Custom Commands in the range of 0-255 that are not already assigned to a
Modbus command are also supported. If a custom command is used then the
LocalCfg:ElementCnt contains the number of bytes received.
The response is received into the Local Address Data and overwrites the request
data.
Example for CMD=0x2B
Local Address Data 1:0x0E, READ_DEVICE_ID_MEI
Local Address Data 2:0x01, READ_DEV_ID_BASIC
Local Address Data 3:0x00, Read Vendor Object

MODBUS2TARPARA data type

The following table describes the MODBUSTARPARA data type parameters.
Description
Target device's Modbus data address:
• 1 - 65536.
• Decreases by one when sending.
• Firmware uses low-word of address if the address value is greater than 65536.
Target device's IP address. The IP address should be a valid unicast address and cannot be 0, multicast, broadcast, local address
or loop back address (127.x.x.x).
For example, to specify 192.168.2.100:
• NodeAddress[0]=192
• NodeAddress[1]=168
• NodeAddress[2]=2
• NodeAddress[3]=100
Target TCP port number. Standard Modbus/TCP port is 502.
1 - 65535
Set to 0 to use the default value 502
Unit Identifier. Used to communicate with slave devices through a Modbus bridge. Refer Modbus specification for more details.
Note that Micro800 shall not attempt to validate this value.
0 - 255
Set to 255 if Target device is not a bridge.
Rockwell Automation Publication 2080-RM001D-EN-E - February 2015

Advertisement

Table of Contents
loading

Table of Contents