Download MODBUS Master/Slave Communication Server (TCP
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 Uninstalling the Server................................................................................................ 6 Licensing by using HASP HL key ............................................................................... 7 Software license key ................................................................................................... 7 Transferring the software license to other computer ................................................... 8 Installing the I/O Server Infrastructure ........................................................................ 10 Configuring the MODBUS MASTER/SLAVE Server ...................................................... 12 Server Settings Command.......................................................................................... 12 Com Port Settings Command ..................................................................................... 14 Saving of the MODBUS Server Configuration File ..................................................... 15 Configuration File Location ......................................................................................... 16 Socket Settings Command ......................................................................................... 16 Topic Definition Command ......................................................................................... 19 Item Names .................................................................................................................... 28 Modbus Function 7 (Read Exception Status) Support ................................................ 29 Modbus Function 8 (Diagnostics) Support .................................................................. 30 Notes on Data Processing in Slave Mode .................................................................. 31 Monitoring and Controlling Communication with MODBUS Bus ................................. 32 Using the MODBUS Server with OPC Clients ................................................................ 34 Configuring DCOM ..................................................................................................... 35 Configuring DCOM to access MODBUS Server as a local OPC Server ................. 35 Configuring DCOM to access MODBUS Server as a remote OPC Server ............. 36 Most frequent errors when configuring DCOM ........................................................ 37 Running MODBUS "OPC & DDE" version as Windows NT Service ........................... 38 Using MODBUS with OPCLink Server ....................................................................... 38 OPCLink Topic Definition ........................................................................................ 38 Accessing MODBUS Items via the OPCLink Server ............................................... 39 Using the MODBUS Server with Suite Link and DDE Clients ........................................ 41 Using the MODBUS Server with InTouch....................................................................... 41 Defining the Access Names........................................................................................ 41 Defining the Tag names.............................................................................................. 43 Monitoring the Status of Communication with InTouch ............................................... 45 Notes on Using Microsoft Excel ..................................................................................... 46 Reading Values into Excel Spreadsheets ................................................................... 46 Writing Values to MODBUS MASTER/SLAVE Points ................................................ 46 Troubleshooting ............................................................................................................. 48 WIN.INI entries ........................................................................................................... 48 Troubleshooting menu ................................................................................................ 50 Internal Logger ........................................................................................................... 51 MODBUS MASTER/SLAVE Serial&Ethernet Comm. Server Ver 1.x User Manual Rev 2.3 380xxm23S