RTC48 Communication Quick Start Guide: 2. Wiring

Download as pdf or txt
Download as pdf or txt
You are on page 1of 2

RTC48 Communication Quick Start Guide 2.

Wiring
03/2013 1
+ 2 +

Safety Information –

SG
Read these instructions carefully and look at the equipment to become familiar with the device before trying to install, 3
operate, or maintain it. +
The following special messages may appear throughout this documentation or on the equipment to warn of potential 4

hazards or to call attention to information that clarifies or simplifies a procedure.
3
CAUTION
CAUTION indicates a potentially hazardous situation, which, if not avoided, can result in injury or equipment
damage.

Please Note
Electrical equipment should be installed, operated, serviced, and maintained only by qualified personnel. No
responsibility is assumed by Schneider Electric for any consequences arising out of the use of this material. This 3
document is not intended as an instruction manual for untrained persons. 1 Master
A qualified person is one who has skills and knowledge related to the construction and operation of electrical equipment 2 Shielded twist per cable
3 Zelio Temperature Controller
and its installation, and has received safety training to recognize and avoid the hazards involved. 4 RS485 Interface

1. Integration in a Network (Serial Communication) 2.1 Shielded wire


If both sides of the shielded wire are connected to the SG terminal, the circuit is closed between the shielded wire and
the ground. As a result, current will run through the shielded wire and this may cause noise. Be sure to ground the SG terminal.

1 CAUTION
UNINTENDED EQUIPMENT OPERATION
Connect only 1 side of the shielded wire (TWDXCAFJ010) to the Shielding Ground (SG) terminal so that current
RS-485 cannot flow to the shielded wire.
TWDXCAT3RJ TWDXCAT3RJ TWDXCAT3RJ TWDXCAT3RJ Failure to follow this instruction can result in equipment damage.

RJ45
Terminal block pin
Controller
YA (-) YB (+) SG
2 RTC48 RTC48 16 17 18
RTC48 RTC48 RTC48 RTC48
No. 1 No. 2 No. 3 No. 4 No. 31 YA (–)

YA (+)

Item Name SG

1 Programmable logic controller


2 RTC48 Temperature controller (Can connect up to 31 RTC48 units in serial communication (Modbus))
2.2 Specifications
Specifications Description
Tap junction box (Line end adapter and Line Pre-polarisation)
1.2 km (maximum)
The tap junction box TWDXCAT3RJ (sold separately) has a built-in line end adapter (RC 120 Ω, 1 nF). The junction Cable resistance: 50 Ω or less (terminators are not necessary,
Cable length
box is Din Rail Mounting. This junction box is for easy set up of RJ45 terminal and for line end termination. but if used, use 120 Ω or more on one side.)
Communication line EIA RS485
Step Action
Communication method Half-duplex communication
Connect the coaxial cable on the port L1 of the Modbus TAP (TWDXCAT3RJ) junction. The port L2 is
Communication speed 9600 bps (2400, 4800, 19200 bps) selectable by keypad
1 used to connect the temperature controller. The port L3 is used to connect the port L1 of the second
Modbus TAP junction. Use the switches of the tap configure the end line impedance and polarization. Synchronization method Start-stop synchronization
Code ASCII, Hexadecimal value
2 Repeat the above step for each device.
Error correction LRC (Modbus ASCII), CRC-16 (Modbus RTU)
3 Use the switches of the TAP as integrated end line of the device for the end line of the last device.

3. Configuration with PC (Console communication) 5. Communication procedure


RTC48 bottom view Communication starts with command transmission from the host computer (Master) and ends with the response
Item Name of the RTC48 (Slave).
1 1 RTC48 console port
Master Slave • Response with data
2 RTCCBL communication cable Command When the master sends the reading command, the slave responds with the
2 3
3 PC USB port Data corresponding set value or current status.

Note: Console communication only allows 1 • Acknowledgement


When the master sends the setting command, the slave responds by sending the
temperature controller to be connected at a time. Command
acknowledgement after the processing is terminated.
4. Parameters Setting Procedure Acknowledgement
• Negative acknowledgement
The following proceduce explains how to change the settings of each communication parameter. When the master sends non-existent command or value out of the setting range,
Step Action Remarks Command the slave returns the negative acknowledgement.
Negative
The display unit proceeds to Acknowledgement • No response
Press the key for approx. 3 seconds while Auxiliary function setting mode. The slave does not respond to the master in the following cases:
1 • Global address, Broadcast address (Modbus protocol) is set.
pressing the key in the PV/SV display mode. Command • Communication error (framing error, parity error)
• Checksum error (RTC48 protocol)
No response
• LRC discrepancy (Modbus ASCII mode)
The display unit proceeds
2 to Communication • CRC-16 discrepancy (Modbus RTU mode)
Press the key twice.
protocol selection. 5.1 RS-485 communication timing
Master side (Notice on programming)
3 Set the program so that the master can disconnect the transmitter from the communication line within a 1 character
Use the keys to set the following communication protocol:
transmission period after sending the command in preparation for reception of the response from the slave.
: RTC protocol (Default)
To avoid the collision of transmissions between the master and the slave, send the next command after carefully
: Modbus ASCII mode checking that the master received the response.
: Modbus RTU mode.
Slave side
4 When the slave starts transmission through the RS-485 communication line, the slave is arranged so as to provide
Press the key, then use the keys
to set the instrument number of the controller an idle status (mark status) transmission period of 1 or more characters before sending the response to ensure the
individually when communicating by connecting synchronization on the receiving side.
plural instruments. 0...95 (Default: 0). The slave is arranged so as to disconnect the transmitter from the communication line within a 1 character
5 transmission period after sending the response.
Press the key to confirm the setting. –
6. Modbus protocol
6 Use the keys to set the communication 6.1 Transmission mode
speed equal to that of the host computer. There are 2 transmission modes (ASCII and RTU) in Modbus protocol.
: 2400 bps 6.2 ASCII mode
: 4800 bps Hexadecimal (0 to 9, A to F), which is divided into high order (4-bit) and low order (4-bit) out of 8-bit binary data in
: 9600 bps command is transmitted as ASCII characters.
: 19200 bps (Default) Data format Start bit : 1 bit
Data bit : 7 bits
7 Parity : Even (No parity/Odd), Selectable
Press the key, then use the keys
Stop bit : 1 bit (2 bits), Selectable
to set the data bit and parity.
Error detection : LRC (Longitudinal Redundancy Check)
: 8 bits/No parity Data interval : 1 second or less
: 7 bits/No parity (1) Message configuration
: 8 bits/Even (Default) ASCII mode message is configured to start by Header [: (colon)(3AH)] and end by Delimiter
: 7 bits/Even [CR (carriage return) (0DH) + LF (Line feed)(0AH)].
: 8 bits/Odd Header Salve Function Error check Delimiter Delimiter
Data
: 7 bits/Odd (:) address code LRC (CR) (LF)

8 Press the key, then use the keys Slave address


to set the stop bit. Slave address is an individual instrument number on the slave side and is set within the range 0 to 95 (00H to 5FH).
: 1 (Default) 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
:2
message. Slave address 0 (00H, broadcast address) can identify all the slaves. However slaves do not respond.
9 Press the key to confirm the setting and

to return to PV/SV display mode.
Function code A request message from the master is composed of data item, number of data and setting data.
The function code is the command code for the slave to undertake the following action types. A response message from the slave is composed of number of bytes, data and exception codes in negative
acknowledgement.
Function code Contents The number of data to be dealt with in one message is “1”. Therefore the number of data is fixed as 0001H. The
Reading the set value and information from slaves number of response byte is 02H.
03 (03H)
Effective range of data is -32768 to 32767 (8000H to 7FFFH).
06 (06H) Setting to slaves Error check : 16-bit data to detect communication errors. Refer to (2) Error check of RTU mode.
Function code is used to discern whether the response is normal (acknowledgement) or if any error (negative (2) Error check of RTU mode
acknowledgement) has occurred when the slave returns the response message to the master. After calculating CRC-16 (Cyclic Redundancy Check) from the slave address to the end of data, the calculated
When acknowledgement is returned, the slave simply returns the original function code. When negative 16-bit data is appended to the end of message in sequence from low order to high order.
acknowledgement is returned, the MSB of the original function code is set as 1 for the response.
For example, when the master sends request message setting 10H to the function code by mistake, slave How to calculate CRC-16
returns 90H by setting the MSB to 1, because the former is an illegal function. In the CRC-16 system, the information is divided by polynomial series. The remainder is added to the end of the
For negative acknowledgement, the exception codes below are set to the data of response message and information and transmitted. The generation of polynomial series is as follows. (Generation of polynomial series:
returned to the master in order to inform it of what kind of error has occurred. X16 + X15 + X2 + 1) :
Exception Code Contents Step Action
1 (01H) Illegal function (Non-existent function) 1 Initialize the CRC-16 data (assumed as X) (FFFFH).
2 (02H) Illegal data address (Non-existent data address) 2 Calculate exclusive OR (XOR) with the 1st data and X. This is assumed as X.
3 (03H) Illegal data value (Value out of the setting range) 3 Shift X one bit to the right. This is assumed as X.
17 (11H) RTC48 error code 4 (Staus unable to be set, for example, AT is performing) When a carry is generated as a result of the shift, XOR is calculated by X of 3 and the
RTC48 error code 5 (During setting mode by keypad operation) 4
18 (12H) fixed value (A001H). This is assumed as X. If a carry is not generated, go to step 5.
5 Repeat steps 3 and 4 until shifting 8 times.
Data
Data depends on the function code. 6 XOR is calculated with the next data and X. This is assumed as X.
A request message from the master is composed of data item, number of data and setting data. 7 Repeat steps 3 to 5.
A response message from the slave is composed of number of bytes, data, and exception code in negative
acknowledgements. 8 Repeat steps 3 to 5 up to the last data.
The number of data to be dealt with in one message is “1”. Therefore, the number of data is fixed as (30H) (30H) 9 Set X as CRC-16 to the end of the message in sequence from low order to high order.
(30H) (31H).
Effective range of data is -32768 to 32767 (8000H to 7FFFH).
Error check : 2-character data to detect communication errors. 7. Data Address Mapping
Refer to (2) Error check of ASCII mode below. Modbus Parameter Description Relative Holding Setting Range
(2) Error check of ASCII mode Function Address Register
Names
After calculating LRC (Longitudinal Redundancy Check) from the slave address to the end of data, the calculated Code
8-bit data is converted to two ASCII characters and are appended to the end of message.
03H/06H SV SV 0001H 40002 Set value, Decimal point ignored
How to calculate LRC
03H/06H AT AT/Auto-reset 0003H 40004 0000H: Cancel
Step Action 0001H: Perform
1 Create a message in RTU mode. 03H/06H P OUT1 proportional band 0004H 40005 0...1000 °C (32...1832 °F)
2 Add all the values from the slave address to the end of data. This is assumed as X. Decimal point ignored
3 Make a complement for X (bit reverse). This is assumed as X. 03H/06H P2 OUT2 proportional band 0005H 40006 0...1000 °C (32...1832 °F)
Decimal point ignored
4 Add a value of 1 to X. This is assumed as X.
5 Set X as an LRC to the end of the message. 03H/06H I Integral time 0006H 40007 0...1000
6 Convert the whole message to ASCII characters. 03H/06H d Derivative time 0007H 40008 0...300
03H/06H c OUT1 proportional cycle 0008H 40009 1...120
6.3 RTU mode
03H/06H c2 OUT2 proportional cycle 0009H 40010 1...120
8-bit binary data in command is transmitted as it is.
Data format Start bit : 1 bit 03H/06H A1 Alarm 1 value 000BH 40012 Set value, Decimal point ignored
Data bit : 8 bits 03H/06H A2 Alarm 2 value 000CH 40013 Set value, Decimal point ignored
Parity : Even parity (default), No parity, and Odd parity (Selectable) 03H/06H LocK Set value lock 0012H 40019 0000H: Unlock 0002H: Lock 2
Stop bit : 1 bit (2 bits), Selectable
0001H: Lock 1 0003H: Lock 3
Error detection : CRC-16 (Cyclic Redundancy Check)
03H/06H So Sensor correction 0015H 40022 -100.0...100.0 °C Vdc voltage,
Data interval : 3.5 characters transmission time or less
current input: -1000...1000
(1) Message configuration
03H/06H db Overlap/Dead band 0016H 40023 -100.0...100.0 °C Vdc voltage,
RTU mode is configured to start after idle time is processed for more than 3.5 character transmissions and
current input: -1000...1000
end after idle time is processed for more than 3.5 character transmissions.
03H/06H STLH Scaling high limit 0018H 40025 -2000...10000 °C, Decimal point ignored
3.5 idle Salve Function Error check 3.5 idle
Data 03H/06H STLL Scaling low limit 0019H 40026 -2000...10000 °C, Decimal point ignored
characters address code CRC-16 characters
03H/06H dP Decimal point place 001AH 40027 0000H: xxxx 0002H: xx.xx
Slave address : The same as that of ASCII mode. 0001H: xxx.x 0003H: x.xxx
Function code : The same as that of ASCII mode.
03H/06H FILT PV filter time constant 001BH 40028 0.0...10.0 s, Decimal point ignored
Data : Data depends on the function code.

Modbus Parameter Description Relative Holding Setting Range Modbus Parameter Description Relative Holding Setting Range
Function Names Address Register function Names Address Register
Code code

03H/06H oLH OUT1 high limit 001CH 40029 OUT1 low limit value...100% 03H/06H SENS Input type 0044H 40069 0000H: K -200...1370 °C 000FH: K -320...2500 °F
0001H: K -200.0...400.0 °C 0010H: K -320.0...750.0 °F
03H/06H oLL OUT1 low limit 001DH 40030 0...OUT1 low limit value %
0002H: J -200...1000 °C 0011H: J -320...1800 °F
03H/06H HYS OUT1 ON/OFF hysteresis 001EH 40031 0.1...100.0 °C, Vdc voltage 0003H: R 0...1760 °C 0012H: R 0...3200 °F
1...1000, current input, 0004H: S 0...1760 °C 0013H: S 0...3200 °F
Decimal point ignored 0005H: B 0...1820 °C 0014H: B 0...3300 °F
03H/06H cAcT 001FH 40032 0006H: E -200...800 °C 0015H: E -320...1500 °F
OUT2 cooling mode 0000H: Air cooling
0007H: T -200.0...400.0 °C 0016H: T -320.0...750.0 °F
0001H: Oil cooling 0008H: N -200...1300 °C 0017H: N -320...2300°F
0002H: Water cooling 0009H: PL- 0...1390 °C 0018H: PL- 0...2500°F
OUT2 low limit value...100% 000AH: 0019H:
03H/06H oLH2 OUT2 high limit 0020H 40033
C(W/Re5-26) 0...2315 °C C(W/Re5-26) 0 to 4200 °F
03H/06H oLL2 OUT2 low limit 0021H 40034 0...OUT2 low limit value % 000BH: Pt100 -200.0...850.0 °C 001AH: Pt100 -320.0...1500.0 °F
03H/06H HYSb OUT2 ON/OFF hysteresis 0022H 40035 0.1...100.0 °C, Vdc voltage 000CH: JPt100 -200.0...500.0 °C 001BH: JPt100 -320.0...900.0 °F
1...1000, current input, 000DH: Pt100 -200...850 °C 001CH: Pt100 -320...1500 °F
Decimal point ignored 000EH: JPt100 -200...500 °C 001DH: JPt100 -320...900 °F
001EH: 4...20 mA -2000...10000
03H/06H AL1T Alarm 1 type 0023H 40036 0000H: No alarm action 001FH: 0...20 mA -2000...10000
0001H: High limit alarm 0020H: 0...1 V -2000...10000
0021H: 0...5 V -2000...10000
0002H: Low limit alarm 0022H: 1...5 V -2000...10000
0003H: H/L limits alarm 0023H: 0...10 V -2000...10000
0004H: H/L limit range 03H/06H coNT Direct/Reverse 0045H 40070 0000H: Reverse action
action 0001H: Direct action
0005H: Process high alarm
03H/06H AT_b AT bias 0047H 40072 Set value
0006H: Process low alarm
03H/06H ARW ARW 0048H 40073 Set value
0007H: High limit w/standby
03H/06H oRAT OUT1 004AH 40075 0...100
0008H: Low limit w/standby rate-of-change
0009H: H/L limits w/standby 03H/06H dPTM Backlight 0050H 40081 0000H: All are backlit 0003H: Action indicators backlit
0001H: PV display backlit 0004H: PV+SV displays backlit
03H/06H AL2T Alarm 2 type 0024H 40037 0002H: SV display backlit 0005H: PV+Action indicators backlit
The same as Alarm 1 type
0006H: SV+Action indicators backlit
03H/06H A1HY Alarm 1 hysteresis 0025H 40038 0.1...100.0 °C, Vdc voltage
03H/06H coLR PV color 0051H 40082 0000H: Green 0004H: When Alarm ON:
1...1000, current input, 0001H: Red Orange Red
Decimal point ignored 0002H: Orange 0005H: PV continuous change
0003H: When Alarm ON: 0006H: PV continuous
03H/06H A2HY Alarm 2 hysteresis 0026H 40039 0.1...100.0 °C, Vdc voltage Green Red change+ Alarm ON, Red
1...1000, current input,
Decimal point ignored 03H/06H cLRG PV color range 0052H 40083 Set value, Decimal point ignored
03H/06H dPTM Backlight time 0053H 40084 0...99
03H/06H A1dY Alarm 1 delay time 0029H 40042 0...10000 s
06H - Key operation 0070H 40113 0000H: No action
03H/06H A2dY Alarm 2 delay time 002AH 40043 0...10000 s change flag clearing 0001H: Clear all
03H/06H PSV Indication when output OFF 0032H 40051 0000H: OFF indication 03H - PV (Process 0080H 40129 Current PV (Process variable),
Variable) Decimal point ignored
0001H: No indication
03H - OUT1 MV 0081H 40130 OUT1 MV, Decimal point ignored
0002H: PV indication
0003H: PV+ Alarm action 03H - OUT2 MV 0082H 40131 OUT2 MV, Decimal point ignored
03H - SV (When SV 0083H 40132 Current SV (Desired value),
03H/06H RATU SV rise rate 0033H 40052 Set value, Decimal point ignored rises or falls) Decimal point ignored
03H/06H RATd SV fall rate 0034H 40053 Set value, Decimal point ignored 03H - Status flag 0085H 40134 20 : OUT1 0: OFF, 1: ON
(DC current output: Not fixed)
03H/06H dIIN Control OUT/OFF function 0037H 40056 0000H: Control output ON 2 : OUT2
1
0: OFF, 1: ON
0001H: Control output OFF 22 : Alarm 1 output 0: OFF, 1: ON
23 : Alarm 2 output 0: OFF, 1: ON
03H/06H MANU Auto/Manual control 0038H 40057 0000H: Automatic control 2 : Heater burnout alarm
6
0: OFF, 1: ON
output (When sensor burnout, 0: OFF)
0001H: Manual control
28 : Overscale 0: OFF, 1: ON
03H/06H - Manual control MV 0039H 40058 Set value 29 : Underscale 0: OFF, 1: ON
2 : Control output OUT/OFF
10
0: ON, 1: OFF
03H/06H A1LM Alarm 1 Energized/ 0040H 40065 0000H: Energized 211 : During AT/Auto-reset 0: OFF, 1: During AT/Auto-reset
De-energized 0001H: De-energized 212 : OUT/OFF key function 0: OUT/OFF function
1: Auto/Manual control
03H/06H A2LM Alarm 2 Energized/ 0041H 40066 0000H: Energized 214 : Auto/Manual control 0: Auto, 1: Manual
De-energized 0001H: De-energized 215 : Change in key operation 0: No, 1: Yes
2,2,2,2
4 5 7 13 Not used, Always 0

www.schneider-electric.com
© 2013 Schneider Electric. All rights reserved. HRB7810101-00

You might also like