Download Print this page

Panasonic KT4R Communication Instruction Manual page 22

Temperature controller
Hide thumbs Also See for KT4R:

Advertisement

5.5 Message Configuration
5.5.1 ASCII Mode
ASCII mode message is configured to start by Header [: (colon) (3AH)] and end by Delimiter
[CR (carriage return) (0DH) + LF (Line feed) (0AH)].
Data section: Max. 2 x 252 characters
Header
Slave
(:)
address
5.5.2 RTU Mode
RTU mode is configured to start after idle time is processed for more than 3.5 character
transmissions, and end after idle time is processed for more than 3.5 character transmissions.
(Communication speed 9600 bps, 19200 bps: 1.5 character transmission times,
Communication speed 38400 bps: 1.75 ms)
Data section: Max. 252 bytes
3.5 idle
Slave
characters
address
(1) Slave Address Field
Slave address is an individual instrument number on the slave side, and is set within the range
1 to 95 (01H to 5FH). The master identifies slaves by the slave address of the requested message.
The slave informs the master which slave is responding to the master by placing its own address
in the response message.
Slave address 0 (00H, Broadcast address) can identify all the slaves connected. However, slaves
do not respond.
(2) Function Code Field
The function code is the command code for the slave to undertake one of the following actions.
Type
Data access
Diagnostics
The function code is used to discern whether the response is normal (acknowledgement) or if any
error (negative acknowledgement) has occurred when the slave returns the response message to
the master.
When acknowledgement is returned, the slave simply returns the original function code.
When negative acknowledgement is returned, the MSB of the original function code is set as 1 for
the response.
(For example, if the master sends request message setting 13H to the function code by mistake,
slave returns 93H by setting the MSB to 1, because the former is an illegal function.)
For negative acknowledgement, the exception codes below are set to the data of the response
message, and returned to the master in order to inform it of what kind of error has occurred.
Exception Code
1 (01H)
2 (02H)
3 (03H)
17 (11H)
18 (12H)
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
Function
Data
code
Function
Data
code
Function
Sub-Function
Code
Code
03 (03H)
04 (04H)
06 (06H)
16 (10H)
08 (08H)
00
43 (2BH)
14
Illegal function (Non-existent function)
Illegal data address (Non-existent data address)
Illegal data value (Value out of the setting range)
Status unable to be written. [(e.g.) AT is performing.]
During setting mode by keypad operation
Error check
Delimiter
LRC
(CR)
Error check
3.5 idle
CRC-16
characters
Contents
Reads a single or multiple piece(s) of data
from slave(s).
Reads information from slave(s).
Writes a single piece of data to slave(s).
Writes multiple pieces of data to slave(s).
Echoes back the request message.
Reads device identification information.
Contents
Delimiter
(LF)

Advertisement

loading