Unprotected read, Unprotected write – Rockwell Automation 6001-F2E AB STANDARD DRIVER SFTW User Manual

Page 46

Advertising
background image

Specifying Message Packet Commands
with Send_StdDrv()

Appendix B

B-9

This command reads words of data from any area of PLC data table
memory. Use the SIZE field to specify the number of bytes to be read.
To specify a number of PLC words, SIZE should be an even value
because PLC words are two bytes long. Data bytes are transferred low
byte first. The address of a word should be even.

Command Format

CMD

STS

TNS

01

ADDR

SIZE

Reply Format

CMD

STS

TNS

41

DATA

244 bytes max.

This command writes words of data into any area of PLC data table
memory.

Command Format

CMD

STS

TNS

08

ADDR

DATA

244 bytes max.

Reply Format

CMD

STS

TNS

48

Important: If you are communicating to an SLC-500 using the
unprotected read or unprotected write commands, create a Data File 9 in
the SLC-500. The SLC-500 uses this file for DH-485 communication.
The data table address (defined as dt_addr in the Appl_StdDrv() function)
will be defined as a logical offset (in words) into Data File 9. See the
SLC-500 Advanced Programming Software Manual, chapter A3, for more
information on the SLC-500 memory organization.

Unprotected Read

Unprotected Write

Advertising