Modbus Protocol User Guide
3
Table of Contents
Copyright and Trademark ____________________________________________________ 2
Contacts__________________________________________________________________ 2
Disclaimer ________________________________________________________________ 2
Revision History____________________________________________________________ 2
Figures ___________________________________________________________________ 5
Tables ___________________________________________________________________ 5
1:
Introduction
6
2:
Modbus
7
Extended Modbus System Example ____________________________________________ 7
Modbus/TCP Master Talking to Modbus/TCP Slave ____________________________ 8
Modbus/TCP Master Talking to Modbus/RTU Serial Slave _______________________ 8
Modbus/RTU Serial Master Talking to Modbus/TCP Slave _______________________ 8
Modbus/RTU Serial Master Talking to Modbus/RTU Serial Slave __________________ 8
3:
Configuring Modbus
9
Network Protocols __________________________________________________________ 9
Packing Algorithm __________________________________________________________ 9
IP Address ________________________________________________________________ 9
Configuration Methods ______________________________________________________ 9
IAP Device Server’s IP Address ______________________________________________ 10
Using the Setup Mode Screen________________________________________________ 10
Basic Commands (D/S/Q) ___________________________________________________ 11
Default Settings (D) _____________________________________________________ 11
Save (S) _____________________________________________________________ 11
Quit Without Saving (Q) _________________________________________________ 11
Network/IP Settings ________________________________________________________ 12
IP Address ____________________________________________________________ 12
Set Gateway IP Address (Y/N) ____________________________________________ 12
Set Netmask (N for default) ______________________________________________ 12
Telnet Configuration Password ____________________________________________ 12
Serial and Mode Settings ___________________________________________________ 12
Attached Device (1=Slave, 2=Master) ______________________________________ 12
Serial Protocol (1=Modbus/RTU, 2=Modbus/ASCII) ___________________________ 12
Interface Type (1=RS232 2=RS422/RS485+4-wire 3=RS485+2-wire) _____________ 13
Enter Serial Parameters (B,D,P,S) _________________________________________ 13
Modem Control Settings ____________________________________________________ 13