The following is a sample configuration file specifying register mappings for two slave devices (address 3 and 7).
#
# MTCPSI - sample configuration file - Single Unit ID
# - note that all blank lines and comment lines (start with '#') are ignored by MTCPSI
#
# IP Address definition:
IP 155.177.177.102
#
# Trace log flag definition:
TF,Off
#
# Modbus register limits definition:
RL, – 2147483648, 2147483647
#
# Register mapping definitions:
#
# Unit ID: 1
# - the following register mapping definitions allocate the first two registers of each register type
# Discrete outputs
RM,1,1,TEST_POINT_DOUT_A
RM,1,2,TEST_POINT_DOUT_B
# Discrete inputs
RM,1,10001,TEST_POINT_DIN_A
RM,1,10002,TEST_POINT_DIN_B
# Analog inputs
RM,1,30001,TEST_POINT_AIN_A
RM,1,30002,TEST_POINT_AIN_A
# Analog outputs
RM,1,40001,TEST_POINT_AOUT_A
RM,1,40002,TEST_POINT_AOUT_B
Step 1. Edit the Modbus TCP Slave configuration file. |