Download MODBUS MASTER/SLAVE Serial and Ethernet
Transcript
Klinkmann Automation MODBUS MASTER/SLAVE Serial and Ethernet Communication Server i Table Of Contents Overview ........................................................................................................................ 1 Communication Protocols .............................................................................................. 1 Accessing Remote Items via the Server ........................................................................ 3 Installing the MODBUS MASTER/SLAVE Server .......................................................... 4 Installing the Server ................................................................................................... 4 Installing the I/O Server Infrastructure........................................................................ 5 Configuring the MODBUS MASTER/SLAVE Server ...................................................... 5 Server Settings Command ......................................................................................... 6 Com Port Settings Command .................................................................................... 8 Saving of the MODBUS Server Configuration File ..................................................... 9 Configuration File Location ........................................................................................ 9 Socket Settings Command......................................................................................... 10 Topic Definition Command ......................................................................................... 13 Item Names ................................................................................................................... 23 Modbus Function 7 (Read Exception Status) Support ............................................... 24 Modbus Function 8 (Diagnostics) Support ................................................................. 25 Notes on Data Processing in Slave Mode .................................................................. 26 Monitoring and Controlling Communication with MODBUS Bus ................................ 27 Using the MODBUS Server with OPC Clients ............................................................... 29 Configuring DCOM ..................................................................................................... 30 Configuring DCOM to access MODBUS Server as a local OPC Server ................. 30 Configuring DCOM to access MODBUS Server as a remote OPC Server ............. 31 Most frequent errors when configuring DCOM ....................................................... 32 Running MODBUS "OPC & DDE" version as Windows NT Service .......................... 33 Using MODBUS with OPCLink Server ....................................................................... 33 OPCLink Topic Definition........................................................................................ 33 Accessing MODBUS Items via the OPCLink Server .............................................. 34 Using the MODBUS Server with Suite Link and DDE Clients ........................................ 35 Using the MODBUS Server with InTouch ...................................................................... 35 Defining the Access Names ....................................................................................... 35 Defining the Tag names ............................................................................................. 37 Monitoring the Status of Communication with InTouch .............................................. 39 Notes on Using Microsoft Excel ..................................................................................... 40 Reading Values into Excel Spreadsheets .................................................................. 40 Writing Values to MODBUS MASTER/SLAVE Points ................................................ 40 Troubleshooting ............................................................................................................. 42 WIN.INI entries ........................................................................................................... 42 Troubleshooting menu ............................................................................................... 44 Internal Logger ........................................................................................................... 45 MODBUS MASTER/SLAVE Serial&Ethernet Comm. Server Ver 1.x User Manual Rev 2.2 380xxm22