Download Print this page

Panasonic KT4R Communication Instruction Manual page 24

Temperature controller
Hide thumbs Also See for KT4R:

Advertisement

5.6 Message Example
5.6.1 ASCII Mode
Numerals written below the command represent the number of characters.
(1) Read [Slave address 1, PV)]
• A request message from the master
Header
Slave
address
(3AH)
(30H 31H)
1
2
• Response message from the slave in normal status [When PV is 600
Header
Slave
address
(3AH)
(30H 31H)
1
2
(2) Write (Slave address 1, SV1)
• A request message from the master [When SV1 is set to 600
Header
Slave
address
(3AH)
(30H 31H)
1
2
• Response message from the slave in normal status
Header
Slave
address
(3AH)
(30H 31H)
1
2
• Response message from the slave in exception (error) status (When a value out of the setting range
is set.)
The function code MSB is set to 1 for the response message in exception (error) status, and
[86H (38H, 36H)] is returned. Exception code 03H [(30H, 33H, Value out of the setting range)
is returned (error).
Header
Slave
address
(3AH)
(30H 31H)
1
2
(3) Read (Slave address 1, SV1)
• A request message from the master
Header
Slave
address
(3AH)
(30H 31H)
1
2
• Response message from the slave in normal status [When SV1 is 600
Header
Slave
address
(3AH)
(30H 31H)
1
2
• Response message from the slave in exception (error) status (When a data item is misread)
The function code MSB is set to 1 for the response message in exception (error) status, and
[83H (38H 33H)] is returned. Exception code 02H (30H 32H, Non-existent data address) is
returned (error).
Header
Slave
address
(3AH)
(30H 31H)
1
2
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
Function
Data item
code
[0100H]
(30H 33H)
(30H 31H 30H 30H)
2
4
Number of
Function
response bytes
code
[02H]
(30H 33H)
(30H 32H)
2
2
Function
Data item
code
[0001H]
(30H 36H)
(30H 30H 30H 31H)
2
4
Function
Data item
code
[0001H]
(30H 36H)
(30H 30H 30H 31H)
2
4
Function
Exception code
code
[03H]
(38H 36H)
(30H 33H)
2
2
Function
Data item
code
[0001H]
(30H 33H)
(30H 30H 30H 31H)
2
4
Number of
Function
response bytes
code
[02H]
(30H 33H)
(30H 32H)
2
2
Function
Exception code
code
[02H]
(38H 33H)
(30H 32H)
2
2
Amount of data
[0001H]
(30H 30H 30H 31H)
4
Data
Error check
[0258H]
(30H 32H 35H 38H)
4
(0258H)]
Data
[0258H]
(30H 32H 35H 38H)
4
Data
[0258H]
(30H 32H 35H 38H)
4
Error check
Delimiter
LRC
CR+LF
(37H 36H)
(0DH 0AH)
2
2
Amount of data
[0001H]
(30H 30H 30H 31H)
4
Data
Error check
[0258H]
(30H 32H 35H 38H)
4
Error check
Delimiter
LRC
CR+LF
(37H 41H)
(0DH 0AH)
2
2
Error check
Delimiter
LRC
CR+LF
(46H 41H)
(0DH 0AH)
2
(0258H)]
Delimiter
LRC
CR+LF
(41H 30H)
(0DH 0AH)
2
2
Error check
Delimiter
LRC
CR+LF
(39H 45H)
(0DH 0AH)
2
Error check
Delimiter
LRC
CR+LF
(39H 45H)
(0DH 0AH)
2
Error check
Delimiter
LRC
CR+LF
(46H 41H)
(0DH 0AH)
2
(0258H)]
Delimiter
LRC
CR+LF
(41H 30H)
(0DH 0AH)
2
2
2
2
2
2

Advertisement

loading