beautypg.com

3 mcm protocol configuration – ProSoft Technology 5202-DFNT-MCM4 User Manual

Page 17

background image

MCM Protocol Configuration

MCM ♦ ProLinx Gateway

Driver Manual

Modbus Master/Slave


ProSoft Technology, Inc.

Page 17 of 80

October 16, 2009

3 MCM

Protocol

Configuration

In This Chapter

™ [Modbus Port x] ................................................................................. 18

™ [Modbus Port X Commands] .............................................................. 27

#This is an example of a Master port using Modbus RTU protocol

[Modbus Port 0]

# Settings required by both Master and Slave

Enabled : Yes #Port enable flag Y=Yes, N=No

RS Interface : 0 #0=RS-232, 1=RS-485, 2=RS-422

Type : Master #Port type M=Master, S=Slave

Float Flag : No #Use floating data type Y=Yes, N=No

Float Start : 7000 #Register offset in message for floats

Float Offset : 2000 #Internal Address for floats

Protocol : RTU #Modbus Protocol R=RTU, A=ASCII

Baud Rate : 384 #Baud rate for port

Parity : None #N=None, O=Odd, E=Even

Data Bits : 8 #5 to 8 data bits for messages

Stop Bits : 1 #1 or 2 stop bits for messages

RTS On : 0 #Delay after RTS set before msg sent (mSec)

RTS Off : 1 #Delay after message before RTS dropped(mSec)

Minimum Response Delay : 2 #Number of mSec to delay before respose

Use CTS Line : No #Monitor CTS modem line (Y/N)

Response Timeout : 1000 #mSec for response timeout of command

Retry Count : 2 #retry count for failed requests

# Settings required for Slave Driver

Internal Slave ID : 1 #Modbus Node address for this port on network

Bit Input Offset : 0 #Internal DB offset to bit input data

Word Input Offset : 0 #Internal DB offset to word input data

Output Offset : 0 #Internal DB offset to bit output data

Holding Register Offset : 0 #Internal DB offset to holding reg data

Use Guard Band Timer : N #Use packet gap timeout for messages

Guard Band Timeout : 0 #0=Use default for baudrate, or set timeout

# Settings required for Master Driver

Minimum Command Delay : 0 #mSec delay between commands

Error Delay Counter : 100 #0-65535 Command cycle count if error

Command Control Reg : -1 #DB start reg for Cmd Control (-1=disable)

[Modbus Port 0 Commands]

# Internal Poll Reg Swap Node Modbus MB Address

# Enable Address Interval Count Code Address Func in Device

START

1 0 0 10 0 1 3 0

1 10 0 10 0 1 4 10

END