Read Data; Write Data - Anybus Communicator Modbus plus User Manual

Table of Contents

Advertisement

9.8 Read Data

This service is used to read data from the nodes in the subnetwork.
Command Parameters
Parameter
Description
Element Number The element number of the data file to be accessed within the slave.
File number
The file number of the data file to be accessed.
File type
The file type of the data to be accessed.
Size
The number of bytes to read from the slave. One bit/integer element is
2 bytes and one float element is 4 bytes. The parameter must have an
even value as only whole elements can be read from the slave.
Data Options
Parameter Description
Byte swap Determines if the data shall be swapped.
Data length The number of bytes, read from the DF1 network, to write to the area determined
by the Offset parameter
Offset
The offset in the internal memory buffer in the module, where the data shall be
read. See "Memory Map" on page 15.
Note: If the control and status registers are enabled (default), first available data
location will be: Input area 0x002, Output area 0x202.

9.9 Write Data

This service is used to write data to the nodes in the subnetwork. The parameters to be configured are
the same as for the service Read Data. The only difference is that data is read from the internal memory
buffer in the Anybus Communicator and written to the subnetwork bus, instead of being written to the
internal memory buffer.
Anybus Communicator for Modbus Plus
Doc.Rev. 3.01
DF1 Protocol Mode 57
Valid settings
PLC-5: 0-999
SLC500: 0-255
MicroLogix: 0-255
PLC-5: 3, 7, 8, 10-999
SLC500: 3, 7, 8, 10-255
MicroLogix: 3, 7, 8, 10-255
Integer
Bit
Float
PLC-5: 2-240
SLC500: 2-236
MicroLogix: 2-242
Valid settings
No byte swap
Swap words
Swap double words
≤ Size
-
Doc.Id. SCM-1200-093

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Communicator Modbus plus and is the answer not in the manual?

Questions and answers

Table of Contents