FCP manual
Code +030220391 – rel 1.2 25/03/08
34
9. Supervision
The following protocols are supported in slave mode (response to a query from a Master).
Carel supervisor ver 3.0s
Modbus over serial line V1.0 (specification V1.1a)
Both protocols use the RS485 serial line, with the following settings (11 bit frame):
Transmission
Modbus
Reception Transmission
Carel supervisor
SERM=0 (default) SERM=1
baud rate 19.200
start 1 bit
data 8 bit
parity 1 bit (no check) (NOTE) no parity (0 bit) even parity (1 bit)
no parity (0 bit)
stop 1 bit 2 bit 1 bit 2 bit
Table 9.a
The protocol used is recognised automatically. If the controller is connected to a Carel supervisor, the controller will respond with the Carel protocol, similarly if the
controller is connected to a Modbus supervisor, the controller will respond with the Modbus protocol.
NOTE:
this allows any type of 11 bit frame to be received, irrespective of whether the penultimate bit is a stop bit or the type of parity.
9.1 Carel supervisor protocol
This allows immediate connection to all Carel devices and supervisory systems that support version 3.0s. For the addresses of the individual variables, see the
column “Carel spv var” in the table of parameters.
The variables are grouped into blocks: if a variable in a certain block is modified, the entire block is sent:
integer variables relating to parameters I1 -- I24
integer status variables I31 -- I42
analogue variables relating to parameters A1 -- A5
analogue status variables A11 -- A13
digital variables relating to parameters D1 -- D11
digital status variables/commands D15 -- D28
9.2 Modbus protocol
This allows connection to all the devices and supervisory systems that support Modbus over serial line V1.0 (specification V1.1a).
The table below lists the function codes that are currently supported:
Code Short description Description
01 (0x01) Read Coils Reads from 1 to 32 consecutive digital variables
02 (0x02) Read Discrete Inputs Reads from 1 to 32 consecutive digital variables
03 (0x03) Read Holding Registers Reads from 1 to 16 consecutive analogue variables or from 1 to 16 consecutive integer variables
04 (0x04) Read Input Registers Reads from 1 to 16 consecutive analogue variables or from 1 to 16 consecutive integer variables
05 (0x05) Write Single Coil Writes 1 digital variable
06 (0x06) Write Single Register Writes 1 analogue or integer variable
17 (0x11) Report Slave ID Returns the MAC identifier and the status of the controller
Table 9.b
The table below lists the Modbus exceptions that are currently supported:
Code Short description Description
1 Illegal function Function code not supported
2 Illegal data address Address not valid for the Slave
3 Illegal data value Data not valid for the Slave
4 Slave device failure An irreversible error has occurred during running of the function code
Table 9.c