DF1 Protocol Mode
57
Doc.Id. SCM-1200-093
Anybus Communicator for Modbus Plus
Doc.Rev. 3.01
9.8 Read Data
This service is used to read data from the nodes in the subnetwork.
Command Parameters
Data Options
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.
Parameter
Description
Valid settings
Element Number The element number of the data file to be accessed within the slave.
PLC-5: 0-999
SLC500: 0-255
MicroLogix: 0-255
File number
The file number of the data file to be accessed.
PLC-5: 3, 7, 8, 10-999
SLC500: 3, 7, 8, 10-255
MicroLogix: 3, 7, 8, 10-255
File type
The file type of the data to be accessed.
Integer
Bit
Float
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.
PLC-5: 2-240
SLC500: 2-236
MicroLogix: 2-242
Parameter Description
Valid settings
Byte swap Determines if the data shall be swapped.
No byte swap
Swap words
Swap double words
Data length The number of bytes, read from the DF1 network, to write to the area determined
by the Offset parameter
≤
Size
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.
-
Summary of Contents for Communicator Modbus plus
Page 83: ......