MODBUS TCP: DM Properties

Registry Key

Data Type

Default Value

Description

DbgMsgOn

REG_DWORD

0

Enables (1) or supresses (0) DM debug messaging.

dbgOn

REG_DWORD

0

Sets the verbose level of debug output for the driver module. 0 disable verbose logging while 255 enables most verbose logging.

Description

REG_SZ

 

Specifies a user-definable description of the driver module.

Gateway_IP

REG_SZ

127.0.0.1

Specifies the Modbus TCP gateway IP address.

Gateway_PORT

REG_DWORD

502

Specifies the TCP port used for Modbus communications.

LogDays

REG_DWORD

0

Specifies the number of days of logged DM debug data that is stored before being overwritten.

LogMode

REG_DWORD

1

Specifies the DM debug logging mode: 0=create a new log file per day, 1=create a new log file per hour, 2=create a new log file per 10 minutes.

LogPath

REG_DWORD

Not Defined

Specifies the path where the DM log is to be stored. This path must already exist.

Max_poll_cycle

REG_DWORD

2000

Specifies the longest time, in milliseconds, between device polls.

MaxDebugLines

REG_DWORD

1

Specifies the maximum number of lines of DM debug logging to generate during operation.

MaxIO

REG_DWORD

1000

Specifies a limit to the number of tags that the interface will support.

PeriodForStats

REG_DWORD

180000

Reserved

ReConnectDelay

REG_DWORD

30000

In the event of a connection being lost, attempts to reconnect in intervals of no shorter than ReConnectDelay milliseconds.

ShowMsg

REG_DWORD

0

Turns debugging on(1) or off(0) for internal TCP object. Used for tracing the TCP object engine.