Chapter 8 Exercising program
3) Communication protocol of temperature controller
For communication between Cnet I/F module and temperature controller, communication type of temperature
controller is to be informed of. The example describes how to prepare program supposing that communication
protocol is as shown in [Figure 8.20].
[Figure 8.20] Communication protocol of temperature controller
A) Write request frame(Cnet's request : Write data of 12 channels in temperature controller)
Classification
Frame
B) Read request frame(Cnet's request : Read temperature value of 12 channels in temperature controller)
Classification
Frame
A) Write request frame
B) Read request frame
C) Response frame
Header
Device ID
[DLE][STX]
01
Device
Header
ID
[DLE][STX]
01
Command
Address
01
30
BCC calculation range
Command
Address
02
80
BCC calculation range
8-38
Channel
Data
number
0c
12-word data
BCC
Tail
[DLE][ETX]
Channel
BCC
number
0c
[DLE][ETX]
Tail