cobox modbus universal thin servers 1.1.4 modbus/rtu serial master talking to modbus/rtu serial...

Download CoBox Modbus Universal Thin Servers 1.1.4 Modbus/RTU Serial Master Talking to Modbus/RTU Serial Slave

Post on 23-Jan-2020

0 views

Category:

Documents

0 download

Embed Size (px)

TRANSCRIPT

  • CoBox Modbus

    Universal Thin Servers

    Installation Guide

  • Contents

    1 INTRODUCTION EXTENDED MODBUS SYSTEM EXAMPLE ...........................................................1-2

    Modbus/TCP Master Talking to Modbus/TCP Slave.................................1-3 Modbus/TCP Master Talking to Modbus/RTU Serial Slave ......................1-3 Modbus/RTU Serial Master Talking to Modbus/TCP Slave ......................1-4 Modbus/RTU Serial Master Talking to Modbus/RTU Serial Slave ............1-4

    2 COBOX MODBUS INTERFACES COBOX MODBUS SERIAL INTERFACE ...............................................................2-1 NETWORK INTERFACE......................................................................................2-1 NETWORK HARDWARE ADDRESS .....................................................................2-1

    CoBox Modbus with Ethernet ..................................................................2-2 CoBox Modbus with Token Ring .............................................................2-2

    POWER SUPPLY ...............................................................................................2-2 GROUNDING ....................................................................................................2-2

    3 NETWORK PROTOCOLS PACKING ALGORITHM......................................................................................3-1 IP ADDRESS AND MODBUS SLAVE ADDRESS ....................................................3-1

    4 CONFIGURATION SERIAL CONFIGURATION..................................................................................4-1 NETWORK CONFIGURATION .............................................................................4-2 COBOX’S IP ADDRESS .....................................................................................4-2

    Default IP Address...................................................................................4-2 Assigning a New IP Address ....................................................................4-3

    CONFIGURATION PARAMETERS ........................................................................4-3 BASIC COMMANDS (D/S/Q) .............................................................................4-4

    Default Settings (D) .................................................................................4-4 Save (S) ...................................................................................................4-4 Quit Without Saving (Q) ..........................................................................4-5

    NETWORK/IP SETTINGS ...................................................................................4-5 IP Address ...............................................................................................4-5 Set Gateway IP Address (Y/N) .................................................................4-5 Set Netmask (N for default)......................................................................4-5

    SERIAL & MODE SETTINGS ..............................................................................4-5 Attached Device (1=Slave, 2=Master) ......................................................4-6 Serial Protocol (1=Modbus/RTU, 2=Modbus/ASCII)................................4-6 Use Serial Connector (1=DB25, 2=DB9)..................................................4-6 Interface Type (1=RS-232, 2=RS-422, 3=RS-485)....................................4-6 Enter Serial Parameters (BBBB,D,P,S).....................................................4-6

  • MODEM CONTROL SETTINGS............................................................................4-6 DCD Mode (1=Fixed 2=Variable) ............................................................4-7 RTS/CTS Mode (1=Fixed 2=Variable) .....................................................4-7 Delay after Output of RTS (0-1275 msec, 5ms resolution) ........................4-7 Wait for CTS to Go Active (N/Y).............................................................4-7 Delay after CTS Going Active (0-1275 msec, 5ms resolution) ..................4-7 Delay Dropping RTS after Transmitting (0-1275 msec, 5ms resolution)....4-7

    ADVANCED MODBUS PROTOCOL SETTINGS ......................................................4-7 Slave Address (0 for auto, or 1..255 fixed otherwise) ................................4-8 Allow Modbus Broadcasts (1=Yes 2=No).................................................4-8 Character Timeout (10-1275 msec, 5ms resolution) ..................................4-8 Message Timeout (500-60000 msec, 250ms resolution) ............................4-8

    UNIT ID TO IP ADDRESS LOOKUP TABLE .........................................................4-9 Select Function A)dd, D)elete, E)xit .........................................................4-9 Modbus Address From/To........................................................................4-9 Slave IP Address......................................................................................4-9

    5 MONITOR MODE AND FIRMWARE UPGRADE MONITOR COMMANDS .....................................................................................5-1 FIRMWARE DOWNLOAD USING SERIAL PORT ....................................................5-2 FIRMWARE DISTRIBUTION................................................................................5-3 FIRMWARE DOWNLOAD USING A NETWORK HOST ............................................5-4

    6 CONFIGURING THIRD PARTY SOFTWARE FOR COXBUS MODBUS MODSOFT V2.6 OR LATER ................................................................................6-1 WIN-TECH MODSCAN32..................................................................................6-1 IO-SERVER OPC SERVER.................................................................................6-1 INTELLUTION FIX HMI ...................................................................................6-2

    7 CONNECTORS’ PINOUTS CHANNEL 1 (RS-232C)....................................................................................7-1 CHANNEL 1 (RS-422/485) ...............................................................................7-3 CHANNEL 2 (RS-232C)....................................................................................7-4

    8 LED STATUS DISPLAY YELLOW AND GREEN LED...............................................................................8-1 RED LED ........................................................................................................8-1

    9 TECHNICAL DATA CPU, MEMORY CONTROLLERS ........................................................................9-1 SERIAL INTERFACE ..........................................................................................9-1 NETWORK INTERFACE......................................................................................9-1 POWER SUPPLY ...............................................................................................9-1 POWER CONSUMPTION.....................................................................................9-1 LEDS..............................................................................................................9-1 CASE...............................................................................................................9-1 DIMENSIONS....................................................................................................9-2 WEIGHT ..........................................................................................................9-2

  • APPENDIX A TOKEN RING SPECIFIC

    APPENDIX B IP ADDRESSES, NETMASK ETC.

    APPENDIX C BINARY TO HEX CONVERSION

    WARRANTY AND DECLARATIONS

    INDEX

  • Introduction

    1-1

    1 Introduction When it comes to planning data communication for open, multi-vendor industrial control systems, Modbus is the undisputed first choice of end users and integrators alike. The Modbus/RTU protocol defines how a “master” device polls one or more “slave” devices to read and write data in real-time over RS-232, RS-422, or RS-485 serial data communication. Although it’s not the most powerful protocol available, its rare simplicity allows not only rapid implementation, but remains flexible enough to be applied in virtually all industrial situations. Modbus/TCP is a new extension of Modbus/RTU, which defines how Modbus/RTU messages are encoded within and transported over TCP/IP-based networks. Modbus/TCP is just as simple to implement and flexible to apply as the original Modbus/RTU. You can find the specification for both online at www.modicon.com.

    The CoBox Modbus is a new product from Lantronix that allows users to integrate new and existing Modbus/RTU and Modbus/ASCII serial devices to newer TCP/IP network- based devices. Section 1.1

Recommended

View more >