# MNET.CFG # # This is an example configuration file for the MVI56-MNET module. # # COMPANY : # DATE : # LOCATION : # # # # This section of the file describes the database setup and module level # parameters. # [Module] Module Name : MVI56-MNET Communication Module Test Error/Status Pointer : 4500 Read Register Start : 600 #Starting DB address where read data stored Read Register Count : 600 #Number of regs to read from module for processor Write Register Start : 0 #Starting DB address where write data accessed Write Register Count : 600 #Number of regs to write to module from processor Failure Flag Count : 0 #Determines if BP failure will cause protocol to be #disabled (0=Ignore, >0 = failure count to disable) Initialize Output Data : 0 #Read output values from controller (1= Yes or 0= No) # 1 enables option and 0 disables option. Pass-Through Mode : 0 #Handling of write request messages on server ports. #0=place data directly in internal database #1=place received message in unformatted block for processor #2=place received data in formatted block for processor #3=place received data in formatted block for processor #after swapping bytes Duplex/Speed Code : 0 # 0=Auto-negotiate, 1=10MB/half-duplex, 2=10MB/full-duplex, # 3=100MB/half-duplex, 4=100MB/full-duplex # This section is used to define the configuration for the master device # simulated on MNet port # [MNet Client 0] Error/Status Pointer : 4800 #Database offset for client status data Command Error Pointer : 4810 #Database offset for client command error list Minimum Command Delay : 50 #Minimum number of msec's between commands Response Timeout : 1000 #Response messgage timeout (0-65535 mSec) Retry Count : 0 #Response failure retry count Float Flag : No #Use floating-point data type Y=Yes, N=No Float Start : 7000 #Register offset in message for floats Float Offset : 1000 #Internal Address for floats ARP Timeout : 5 #Number of seconds to wait for ARP response (1 to 60 seconds) Command Error Delay : 250 #Number of .1 second intervals to wait after command error (0 to 300) [MNet Client 0 Commands] # # The file contains examples for a Modbus TCP/IP control using MBAP (port 502) # and MNET (port 2000) service ports. # # LOCATION : # DATE : # CONFIGURED BY : # MODIFIED : # # 1 2 3 4 5 6 7 8 9 10 # DB Poll Reg Swap Serv Slave Func Address # Enab Addr Delay Count Code Node IP Address Port Addr Code In Dev START # 0 600 1 30 0 192.168.0.131 502 1 3 200 # 0 0 1 100 0 192.168.0.157 502 1 16 0 END # This section contains database offset information used by the servers when # accessed by external clients. These offsets can be utilized to segment the # database by data type. [MNet Servers] Float Flag : NO #Use floating-point data type Y=Yes, N=No Float Start : 2000 #Register offset in message for floats Float Offset : 1000 #Internal Address for floats Output Offset : 0 #Bit offset used for func 1, 5, 15 Bit Input Offset : 0 #Bit offset used for func 2 Holding Register Offset : 0 #Word offset used for func 3, 6, 16, 23 Word Input Offset : 0 #Word offset used for func 4