# MNET.CFG # # This is an example configuration file for the MVIxx-MNET module. # # COMPANY : # DATE : # LOCATION : # # # This section of the file describes the database setup and module level # parameters. [Module] Module Name : MVI46-MNET Communication Module Test #This parameter is used for the MVI46 module to limit the M1 data transferred from the processor to the #module. This parameter is only available in versions 1.31 and newer. The module application will #automatically adjust the size to an even 50 word boundary as this is the minimum data transfer size #for the application. Error/Status Pointer : 4000 # Location of where to write Error/Status Data (-1 = Disable) M1 Write Size : 1000 # 0 to 4999 words to be transferred. 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) Duplex/Speed Code : 1 # 0=Auto-negotiate, 1=10MB/half-duplex, 2=10MB/full-duplex, # 3=100MB/half-duplex, 4=100MB/full-duplex # This table contains a list of static IP/MAC addresses that the module will utilized when an # ARP is required. The module will accept up to 40 static IP/MAC address data sets. # WARNING: If the device in the field is changed, this table must be updated to contain the # new MAC address for the device and downloaded to the module. If the MAC is not # changed, no communications with the module will be provided. [STATIC ARP TABLE] #IP ADDRESS HARDWARE MAC ADDRESS START # 105.102.0.15 00:0D:8D:B0:0A:16 # 105.102.0.16 00:0D:8D:B0:0A:17 END # 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 : 0 #Minimum number of msec's between commands Response Timeout : 300 #Response messgage timeout (0-65535 mSec) Retry Count : 0 #Response failure retry count Float Flag : N #Use floating-point data type Y=Yes, N=No Float Start : 7000 #Register offset in message for floats Float Offset : 4000 #Internal Address for floats ARP Timeout : 2 #Number of seconds to wait for ARP response (1 to 60 seconds) Command Error Delay : 0 #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 200 0 20 0 192.168.0.130 502 1 3 0 # 1 200 0 20 0 192.168.0.130 502 1 16 20 # 0 3520 0 20 0 192.168.0.139 502 1 1 0 # 0 3522 0 20 0 192.168.0.139 502 1 2 20 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 : N #Use floating-point data type Y=Yes, N=No Float Start : 7000 #Register offset in message for floats Float Offset : 4000 #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