
29
7-5 Communication Examples:
Example 1: Download the default values via the programming port
The programming port can perform Modbus communications regardless of the incorrect setup values of address, baud, parity, stop
bit, etc. It is especially useful during the first time configuration for the controller. The host must be set with 9600 baud rate, 8 data
bits, even parity and 1 stop bit.
The Modbus message frame with hexadecimal values is shown as follows:
01
10
00
00
00
34
68
4F
19
4E
83
4E
83
00
00
Addr. Func. Starting Addr. No. of words Bytes SP1=25.0 SP2=10.0 Sp3=10.0 LOCK = 0
00
01
00
00
00
01
4D
6D
51
C4
4D
6D
63
21
INPT = 1 UNIT = 0 DP = 1 INLO = -17.8 INHI = 93.3 SP1L = -17.8 SP1H = 537.8
4E
1F
00
02
00
00
00
64
00
64
00
FA
00
00
SHIF = 0.0 FILT = 2 DISP = 0 PB = 10.0 TI = 100 TD = 25.0 OUT1 = 0
00
00
4E
1F
00
01
00
B4
00
FA
00
00
00
00
O1TY = 0 O1FT = 0 O1HY = 0.1 CYC1 = 18.0 OFST = 25.0 RAMP = 0 RR = 0.0
00
02
4E
1F
00
00
4E
1F
00
01
00
B4
00
64
OUT2 = 2 RELO = 0.0 O2TY = 0 O2FT = 0 O2HY = 0.1 CYC2 = 18.0 CPB = 100
4E
1F
00
02
52
07
00
00
00
01
00
00
00
01
DB = 0 ALFN = 2 REHI = 100.0 ALMD = 0 ALHY = 0.1 ALFT = 0 COMM = 1
00
01
00
02
00
01
00
00
00
00
00
02
00
03
ADDR = 1 BAUD = 2 DATA = 1 PARI = 0 STOP = 0 SEL1 = 2 SEL2 = 3
00
04
00
06
00
07
00
08
00
0A
00
11
Hi
Lo
SEL3 = 4 SEL4 = 6 SEL5 = 7 SEL6 = 8 SEL7 = 10 SEL8 = 17 CRC16
Example 2: Read PV, SV, MV1 and MV2
Send the following message to the controller via the COMM
port or programming port:
Example 3: Perform Reset Function
(same effect as pressing key)
Query
03 00 H’40 00 04 Hi Lo
H’80
Addr. Func. Starting Addr. No. of words CRC16
06 00 H’48 H’68 H’25 Hi Lo
Addr. Func. Register Addr. Data Hi/Lo CRC16
Example 4: Enter Auto-tuning Mode
Query
Example 5: Enter Manual Control Mode
Query
06 00 H’48 H’68 H’27 Hi Lo
Addr. Func. Register Addr. Data Hi/Lo CRC16
06 00 H’48 H’68 H’28 Hi Lo
Addr. Func. Register Addr. Data Hi/Lo CRC16
Example 6: Read All Parameters
Query
Example 7: Modify the Calibration Coefficient
Preset the CMND register with 26669 before attempting to
change the calibration coefficient.
R
Summary of Contents for tec-220
Page 2: ...NOTES...
Page 4: ...NOTES...
Page 8: ...4 1 5 Menu Overview...
Page 9: ...5 1 6 Parameter Descriptions...
Page 10: ...6 1 6 Parameter Descriptions continued...
Page 22: ...18 NOTES...
Page 34: ...30 Table A 1 Error Codes and Corrective Actions A 1 Error Codes...