Panasonic KT2 Communication Instruction Manual page 6

Hide thumbs Also See for KT2:
Table of Contents

Advertisement

• A response message from the slave in exception (error) status (When data item is mistaken)
The function code MSB is set to 1 for the response message in exception (error) status [83H (38H 33H)].
If an exception code [02H (30H 32H): Non-existent data address] is returned, the error can be
determined by reading this code.
Slave
Header
address
(3AH)
(30H 31H)
1
2
2
Reading (Address 1, SV1)
• Request message from the master
The number of the data indicates the data item to be read and it is fixed as (30H 30H 30H 31H).
Slave
Header
address
(3AH)
(30H 31H)
1
2
• A response message from the slave in normal status [When SV1=600
The number of response bytes indicates the number of bytes of the data which has been read, and
it is fixed as (30H 32H).
Slave
Header
address
(3AH)
(30H 31H)
1
2
• A response message from the slave in exception (error) status (When data item is mistaken)
The function code MSB is set to 1 for the response message in exception (error) status [83H (38H 33H)].
If an exception code [02H (30H 32H): Non-existent data address] is returned, the error can be
determined by reading this code.
Slave
Header
address
(3AH)
(30H 31H)
1
2
3
Setting (Address 1, SV1)
• A request message from the master: When setting SV1 to 600
Slave
Header
address
(3AH)
(30H 31H)
1
2
• A response message from the slave in normal status
Slave
Header
address
(3AH)
(30H 31H)
1
2
• A 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 [86H (38H 36H)].
If an exception code [03H (30H 33H): Value out of the setting range] is returned, the error can be
determined by reading this code.
Slave
Header
address
(3AH)
(30H 31H)
1
2
Function
Exception
code
code
(38H 33H)
(30H 32H)
2
2
(Fig.6.3-4)
Function
Data item
code
(30H 30H 30H 31H) (30H 30H 30H 31H)
(30H 33H)
2
4
(Fig. 6.3-5)
Function
Number of
code
response bytes
(30H 33H)
(30H 32H)
2
2
(Fig. 6.3-6)
Function
Exception
code
code
(30H 32H)
(38H 33H)
2
2
(Fig. 6.3-7)
Function
Data item
code
(30H 36H)
(30H 30H 30H 31H) (30H 32H 35H 38H)
2
4
(Fig. 6.3-8)
Function
Data item
code
(30H 30H 30H 31H) (30H 32H 35H 38H)
(30H 36H)
2
4
(Fig. 6.3-9)
Function
Exception
code
code
(38H 36H)
(30H 33H)
2
2
(Fig. 6.3-10)
6
Error check
Delimiter
LRC
(37H 41H)
(0DH 0AH)
2
Error check
Number of data
LRC
(46H 41H)
4
(0258H)]
Error check
Data
LRC
(41H 30H)
(30H 32H 35H 38H)
4
2
Error check
Delimiter
LRC
(37H 41H)
(0DH 0AH)
2
(0258H)
Error check
Data
(39H 45H)
4
Error check
Data
(39H 45H)
4
Error check
Delimiter
LRC
(37H 36H)
(0DH 0AH)
2
2
Number of
2
characters
Delimiter
(0DH 0AH)
Number of
characters
2
2
Delimiter
(0DH 0AH) Number of
characters
2
Number of
2
characters
Delimiter
LRC
(0DH 0AH)
Number of
characters
2
2
Delimiter
LRC
(0DH 0AH)
Number of
characters
2
2
Number of
characters

Advertisement

Table of Contents
loading

Table of Contents