
104
Rockwell Automation Publication 5069-UM003A-EN-P - May 2018
Appendix C
Programming Example
Modbus Sample Code
Configuration
The following images show sample code configuration for Modbus Master and
Modbus Slave communication.
Modbus Master Command List
Modbus Slave Address Mapping Table
Modbus Sample Code Configuration Example
To test the Modbus capabilities by configuring Channel 0 for Master and
Channel 1 for Slave, connect the two serial ports together using a 1761-CBL-
AC00 cable. On the Module Properties Channel screens, verify that both
channels are configured identically for RS-232C.
Summary of Contents for 5069-SERIAL
Page 1: ...Compact 5000 I O Serial Module Catalog Number 5069 SERIAL User Manual OriginalInstructions...
Page 9: ...Rockwell Automation Publication 5069 UM003A EN P May 2018 9 Preface Notes...
Page 10: ...10 Rockwell Automation Publication 5069 UM003A EN P May 2018 Preface...
Page 88: ...88 Rockwell Automation Publication 5069 UM003A EN P May 2018 Appendix A Module Tags Notes...
Page 101: ...Rockwell Automation Publication 5069 UM003A EN P May 2018 103 Programming Example Appendix C...
Page 104: ...106 Rockwell Automation Publication 5069 UM003A EN P May 2018 Appendix C Programming Example...
Page 109: ......