# MNET.CFG # # This is an example configuration file for the MVI69-MNET module. # # COMPANY : PROSOFT # DATE : 7/16/2004 # LOCATION : Bakersfield # # # # This section of the file describes the database setup and module level # parameters. # [Module] Module Name : MVI69-MNET Communication Module Test Error/Status Pointer : 4500 Read Register Start : 0 #Starting DB address where read data stored Read Register Count : 600 #Number of regs to read from module for processor Write Register Start : 600 #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) Error/Status Block Ptr : 3000 #Number of register to store error and status Block Transfer Size : 60 #Data size for BTR/BTW 60, 120 or 240 Initialize Output Data : 0 #Read output values from controller (Yes = 1 or No = 0) 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 # 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 : 10 #Minimum number of msec's between commands Response Timeout : 100 #Response messgage timeout (0-65535 mSec) Retry Count : 1 #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 [MNet Client 0 Commands] # # The file contains examples for a Modbus TCP/IP control using MBAP (port 502) # and MNET (port 2000) service ports. # # # 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 20 0 192.168.0.156 502 1 16 200 # 0 0 1 20 0 192.168.0.156 502 1 3 200 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 : 7000 #Register offset in message for floats Float Offset : 2000 #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