26
2. Make sure that the communication protocol selection of the main module dial switch selects
the MCbus protocol, otherwise the main module and MTC cannot communicate through MCbus.
3.2.3 Use the MTC wizard Settings
The MTC wizard Settings are subfunction modules of X_Builder, which are started by X_Builder. Its main
function is to configure MTC parameters through the PC, while monitoring MTC status and data. See
chapter 4 for the MTC wizard Settings.
Note: 1. After the user completes the configuration of MTC and runs the MTC on power by using
the MTC wizard Settings, the user can use the man-machine interface of any PLC that supports
MEGMEET to configure and monitor the parameters of MTC. Please refer to the relevant manual
of man-machine interface for details.
2.When the user program USES the MCbus protocol swap buffer D7500 ~ D7755, the MCbus
wizard Settings are not available.
3.2.4 Use command word to set parameters
After setting and configuration through the MTC wizard, if the user USES the man-machine interface to
connect the MC series main modules through Modbus (or free port), the following instructions should be
written in the user program to modify the MTC configuration parameters. MC main module station
number is 0, MTC station number is 1, write a simple McBus-based user program. The main module
provides some special D and M components for MTC. For M components, the user can operate directly
(see appendix I list of MCbus dedicated M components). For the D element, the user can operate
through the following five command words.
1) read command 4: read the measured value of channel 1 ~ 4, the output value of heating control and
the current execution section of multiple segments, the output state of refrigeration control, the error state
word, the wrong address of setting value range, and the cold end temperature.
2) read command 5: read the refrigeration control output value of channel 1 ~ 4.
3) write command 6: write channel type of channel 1 ~ 4, temperature setting value, control output cycle,
temperature control starts and stops.
4) write command 7: write the heating side proportional band of channel 1 ~ 4, the heating side integral
time, the heating side differential time.
5) write command 8: write the proportional band of the cooling side of 1-4 channels, the integral time of
the cooling side, and the differential time of the cooling side. The definition of the MCbus communication
buffer (the D element in the main module) is shown in table 3-2.
Table 3-2 MCbus communication buffer (D element in the main module) definition table
MCbus communication
buffer for main module
MCbus communication
buffer for MTC#4
MCbus communication
buffer for MTC#1
MCbus communication
buffer for MTC#5
MCbus communication
buffer for MTC#2
MCbus communication
buffer for MTC#6