background image

Programming examples mode 1

71

TGH1367en/06.2010

7.4   Requesting the correction factor for CT of an RCMS470-12

A Modbus RTU Master is to query the defined correction factor of all 12 channels (BMS in-
struct. code 35) for the transformation ratio of a CT from an RCMS470-12 with BMS address 5.

The 

Configuration register

 must be written as follows:

In this example, the 

Read register

 provides the following information:

Word

Start address

Config. 

register

BMS instruc-

tion code

High-Byte

BMS address

Low-Byte

Meaning

1

0451h

023h

005h

Setting the configuration register

Word

Start address

read register

BMS instruc-

tion code

High-Byte

BMS address

Low-Byte

Meaning

see table 6.32

1

0051h

023h

005h

Repetition of configuration data:

instruction code 35 (23h), address 5

Address

read register

Data value per channel

Data type per channel

High-Byte            Low-Byte

2

0052h

00h

01h

Channel 1

:    

data value 1 (01h) = correction factor
data type 1 (01h) = multiplication
=> multiplication with correction factor

3

0053h

00h

01h

4

0054h

00h

01h

Channel 2

:   data value and data type like chan-

nel 1

5

0055h

00h

01h

6

0056h

00h

01h

Channel 3

:   data value and data type like chan-

nel 1

7

0057h

00h

01h

8

0058h

00h

01h

Channel 4

:   data value and data type like chan-

nel 1

9

0059h

00h

01h

10

005Ah

00h

01h

Channel 5

:   data value and data type like chan-

nel 1

11

005Bh

00h

01h

12

005Ch

00h

01h

Channel 6

:   data value and data type like chan-

nel 1

13

005Dh

00h

01h

14

005Eh

00h

01h

Channel 7

:   data value and data type like chan-

nel 1

15

005Fh

00h

01h

16

0060h

00h

01h

Channel 8

:   data value and data type like chan-

nel 1

17

0061h

00h

01h

18

0062h

00h

01h

Channel 9

:   data value and data type like chan-

nel 1

19

0063h

00h

01h

20

0064h

00h

01h

Channel 10

:   data value and data type like chan-

nel 1

21

0065h

00h

01h

22

0066h

00h

01h

Channel 11

:   data value and data type like chan-

nel 1

23

0067h

00h

01h

24

0068h

00h

01h

Channel 12

:   Data value and data type like chan-

nel 1

25

0069h

00h

01h

Summary of Contents for FTC470XMB

Page 1: ...Power in electrical safety Operating Manual FTC470XMB Protocol converter for the connection of the Bender measuring interface to the Modbus RTU Software version D143 V2 1x TGH1367en 06 2010...

Page 2: ...nly with permission of the publisher Subject to change Dipl Ing W Bender GmbH Co KG Londorfer Str 65 35305 Gr nberg Germany Postfach 1161 35301 Gr nberg Germany Tel 49 0 6401 807 0 Fax 49 0 6401 807 2...

Page 3: ...er 13 4 1 Scope of delivery 13 4 2 Display and operating elements 13 4 2 1 DIP switch for Modbus RTU address setting 14 4 2 2 DIP switch for setting the baud rate 15 4 2 3 DIP switches for Modbus RTU...

Page 4: ...sting measuring values via the channel number 42 6 4 Taking over or returning the Master function 43 6 4 1 Taking over the Master function 43 6 4 2 Returning the Master function 44 6 5 Parameterizatio...

Page 5: ...mode 1 67 7 1 Requesting the operating messages of an RCMS470 12 68 7 2 Requesting the response values of an RCMS470 12 69 7 3 Requesting the type of CT of an EDS470 12 70 7 4 Requesting the correcti...

Page 6: ...er the FTC470XMB has taken over the Master function 91 9 Service and support 93 9 1 Damage in transit 93 9 2 Malfunctions 93 9 2 1 What shall be checked 93 9 2 2 Where do you get help 93 9 3 Warranty...

Page 7: ...eration Basic application This chapter deals with the normal use of this product The protocol converter FTC470XMB gateway This chapter describes the scope of delivery the operating and display element...

Page 8: ...3 Brief instruction If you are familiar with automation engineering particularly with the Modbus RTU it may be helpful to start right away with Chapter 4 The FTC470XMB protocol converter and Chapter 5...

Page 9: ...dard EN 50110 is recom mended to be used as a directive 2 2 Intended use The FTC470XMB protocol converter connects the serial Bender BMS bus to the serial Modbus RTU The converter is capable of transm...

Page 10: ...g and termination of the FTC470XMB For details refer to the chapter basic configuration on page 31 2 4 Setting of the DIP switches for Modbus RTU Addresses assigned twice may lead to serious malfuncti...

Page 11: ...f an interface between the BMS bus and Modbus RTU 3 2 Modbus RTU The fieldbus Modbus RTU Remote Terminal Unit has been specified by Modicon a subsid iary of Schneider Automation and is freely availabl...

Page 12: ...ta are to be indicated in the software of a building services management system incorporating a Modbus RTU interface The configuration of devices of the BMS side is to be carried out via a personal co...

Page 13: ...2 DIP switch for Modbus RTU termination ON terminating resistor activated 3 DIP switch for binary Modbus RTU address setting 1 127 detailed information below 4 DIP switch for binary Modbus RTU addres...

Page 14: ...the supply after changing the DIP switch settings Reconnection to the power supply provides the actual indica tion of the Modbus RTU status DIP switch of the Modbus group in down position means binar...

Page 15: ...arity settings are none even odd The standard value for Modbus RTU is none pari ty If Parity is none two stop bits are used if parity is even or odd only one stop bit is used Setting 0 all DIP switche...

Page 16: ...TU or the CRC error rate is above 10 Data exchange is not possible RUN Bus function Green LED lights up FTC470XMB is connected to the Modbus RTU and is ready for data exchange DIAG Status of DIP switc...

Page 17: ...0 1 0 0 0 23 1 0 1 1 1 9 0 1 0 0 1 24 1 1 0 0 0 10 0 1 0 1 0 25 1 1 0 0 1 11 0 1 0 1 1 26 1 1 0 1 0 12 0 1 1 0 0 27 1 1 0 1 1 13 0 1 1 0 1 28 1 1 1 0 0 14 0 1 1 1 0 29 1 1 1 0 1 15 0 1 1 1 1 30 1 1 1...

Page 18: ...by BMS commands Redundant Master function FTC470XMB can be used as a redundant Master In the event failure of the regular Master bus address 1 the FTC470XMB takes over the Master function after approx...

Page 19: ...refore the Modbus Master must set the configuration register con sisting of 10 segments in an appropriate way 10 address ranges of the read register are per manently linked with the 10 segments of the...

Page 20: ...the Modbus Master are also read out from pre defined read registers of the FTC470XMB The segment addresses of the read registers are coupled to those of the configuration registers using an offset of...

Page 21: ...r Master function EDS460 461 EDS490 491 software version 2 00 or higher FTC470XDP software version 1 31 or higher FTC470XET software version 1 00 or higher FTC470XMB software version 1 31 or higher IR...

Page 22: ...Modbus Master For this purpose the Master rewrites the 10 seg ments of the configuration register defined via their address with the desired BMS instruction codes and BMS addresses The Modbus Master...

Page 23: ...alue Channel 1 3 Data type Channel 1 Data type Channel 1 4 Data value Channel 2 Data value Channel 2 5 Data type Channel 2 Data type Channel 2 6 Data value Channel 3 Data value Channel 3 7 Data type C...

Page 24: ...t can take the value 0 1 or 2 0 no alarm on this channel 1 device signals an alarm on this channel 2 no device available with this address monitoring of device failures possible Word 3 Low Byte BMS da...

Page 25: ...to receive from the BMS device The allocation of input and output data is organized via a consecutive ID number A request with the ID number 1 must be followed by an answer from the Slave with the ID...

Page 26: ...roximately 6 seconds but may be up to 60 seconds in extended systems The returning typical demands 100 ms in maximum up to 200 ms The time needed to execute the instruction codes 1 2 3 4 105 102 and 1...

Page 27: ...Modbus Master starts the read access to the requested data with function 3 4 FTC470XMB transmits the requested data in defined format All addresses 1 based Address ranges for output and input data Th...

Page 28: ...e via the Modbus function 3 reading of several Words The address can be entered in decimal or hexadecimal format depending on the Modbus Master The address range for read access is preset Start addres...

Page 29: ...to the previous request is received Word 2 High Byte BMS address of the addressed device Note TM operator panels and PRC1470 must be addressed via their internal interface Data of the external interfa...

Page 30: ...es beginning on page 33 The instruction code corresponds to the associated request output data Word 4 High Byte No function the device always reads zero 0 here Word 4 Low Byte BMS data type see tables...

Page 31: ...P for setting the baud rate Factory setting 9600 Bit s 5 Set the parity bit Parity for data transmission none even odd Factory setting none 6 Set the termination switch R to the required position in o...

Page 32: ...pective plug of the Modbus RTU cable If the FTC470XMB is located at the end of the Modbus RTU network set the terminating resis tor to ON position When all the points above are considered the protocol...

Page 33: ...nstruction code Word 3 only Low Byte BMS data type Word 4 only Low Byte BMS data value Word 5 Word 1 is not listed in the table The ID number included in Word 1 is generated by the Mod bus Master acco...

Page 34: ...4 Word 5 BMS address channe l No 0 BMS comma nd 0 Data type Data value Request for the actual number of alarm mes sages of a BMS device all address 0 0 1 0 0 0 No alarm messages all address 0 0 1 0 1...

Page 35: ...K2418 11 SMI470 9 3 3 3 3 0 2 0 11 3 Failure Line 1 PRC487 MK2418 11 SMI470 9 1 4 4 0 2 0 11 4 Failure Line 2 PRC487 MK2418 11 SMI470 9 2 5 5 0 2 0 11 5 Insulation fault operating theatre lamp 107TD47...

Page 36: ...circuit closing coil K2 PRC487 6 0 2 0 12 120 Switching element 1 cannot be switched on PRC487 5 0 2 0 12 121 Switching element 1 cannot be switched off PRC487 5 0 2 0 12 122 Switching element 2 canno...

Page 37: ...as value in A RCMS460 490 1 12 0 2 0 47 value Total hazard current in A LIM2010 1 0 2 0 48 value Total hazard current as value in A LIM2010 1 0 2 0 49 value Residual current fault as value in mA RCMS...

Page 38: ...27 2 0 2 0 67 value Alarm digital input value Mk2418C TM SMI471 1 8 1 8 1 8 0 2 0 70 value Overvoltage in V ATiCS 1 2 0 2 0 72 value Undervoltage in V ATiCS IZ427 1 2 4 0 2 0 75 value Undervoltage as...

Page 39: ...g from FTC470XMB input data of the Modbus RTU Master Table 6 6 FTC reply to number of operating messages Function Devices Word 2 Word 3 Word 4 Word 5 BMS address channe l No 0 BMS comma nd 0 Data type...

Page 40: ...g element 2 is switched on PRC487 4 0 4 0 13 204 Insulation of the main Op light ok 107TD47 8 0 4 0 13 205 Switchover module in automatic mode PRC487 5 0 4 0 13 206 Switchover module in manual mode PR...

Page 41: ...current overcurrent undercurrent fault as value in A RCMS 1 12 0 4 0 57 value Insulation value in k 107TD47 IRDH 1 1 2 0 4 0 61 value Insulation value in 107TD47 IRDH 1 1 2 0 4 0 62 value Insulation...

Page 42: ...uest measuring values via channel number Reading from FTC470XMB input data of the Modbus RTU Master Table 6 10 FTC reply to request for actual measuring values via channel number Function Devices Word...

Page 43: ...e Master function is not required for requesting alarm and operating messages meas uring values and in case of control functions for EDS systems The FTC470XMB must take over the Master function in cas...

Page 44: ...ble 6 14 FTC reply to Master return by FTC470XMB Function Devices Word 2 Word 3 Word 4 Word 5 BMS address Chann el No 0 BMS comma nd 0 Data type Data value Command to FTC470XMB to return the Mas ter f...

Page 45: ...DS470 address 1 12 0 30 0 51 value Response value insulat fault location in A EDS473 474 1 12 0 30 0 52 Response value of the residual current mA range 1 1000 mA RCMS 1 12 0 30 0 55 Response value of...

Page 46: ...osition mode indication of the channel number IRDH 18 0 30 0 95 Value alarm address 100 channel No of the alarm giving device reference to the subsequent pages SMO482 12 1 12 0 30 0 96 Test address 0...

Page 47: ...Mode current output 0 0 20 mA 1 4 20 mA IRDH 5 0 28 0 82 Mode coupling units 0 none 1 AGH204 AK80 2 AGH520S 3 AGH204 AK160 4 AGH150WAK160 IRDH 6 0 28 0 83 Max leakage capacitance ISOMETER 0 1 F 1 10 F...

Page 48: ...nnel no 2 Data value 3 x 100 2 302 value to be entered 302 Function Devices Word 2 Word 3 Word 4 Word 5 BMS address Chann el No 0 BMS comma nd 0 Data type Data value Test address 0 all connected devic...

Page 49: ...t data of the Modbus RTU Master Table 6 22 FTC reply to setting the delay on response Function Devices Word 2 Word 3 Word 4 Word 5 BMS address Chann el No 0 BMS comma nd 0 Data type Data value Request...

Page 50: ...MS address Chann el No 0 BMS comma nd 0 Data type Data value Request for the sensor type of a device CT type EDS address 1 12 0 32 0 0 0 Standard CT W0 W5 S P WR EDS Address 1 12 0 32 0 1 0 Split core...

Page 51: ...to switching the CT monitoring ON or OFF Function Devices Word 2 Word 3 Word 4 Word 5 BMS address Chann el No 0 BMS comma nd 0 Data type Data value Request for the status of CT monitoring of a device...

Page 52: ...esting the correction factor for the CT transformation ratio via channel number RCMS address 1 12 0 35 0 0 0 Multiplication with correction factor data value correction factor RCMS address 1 12 0 35 0...

Page 53: ...able 6 38 FTC reply to switching the fault memory on or off Function Devices Word 2 Word 3 Word 4 Word 5 BMS address Chann el No 0 BMS comma nd 0 Data type Data value Request for the status of the fau...

Page 54: ...ta of the Modbus RTU Master Table 6 42 FTC reply to setting the operating mode of the alarm relay Function Devices Word 2 Word 3 Word 4 Word 5 BMS address Chann el No 0 BMS comma nd 0 Data type Data v...

Page 55: ...dress Chan nel No 0 39 0 1 0 Overcurrent monitoring residual current monitoring RCMS Address 1 12 0 39 0 1 1 Undercurrent monitoring open circuit RCMS 1 12 0 39 0 1 2 Input switched off RCMS 1 12 0 39...

Page 56: ...surements per channel Reading from FTC470XMB input data of the Modbus RTU Master Table 6 50 FTC reply to setting the number of measurements per channel Function Devices Word 2 Word 3 Word 4 Word 5 BMS...

Page 57: ...put data of the Modbus RTU Master Table 6 53 Master request setting of the maximum number of measurements Reading from FTC470XMB input data of the Modbus RTU Master Table 6 54 FTC reply to setting of...

Page 58: ...rameterization below Take into consideration that the Master function must be returned by the FTC470XMB after Master function transfer and the parameterization Function Devices Word 2 Word 3 Word 4 Wo...

Page 59: ...0 22 0 0 0 Number of the device software version x 100 Example answer 112 V 1 12 All Address 0 0 22 0 1 Version x 100 Function Devices Word 2 Word 3 Word 4 Word 5 BMS address Chann el No 0 BMS comma...

Page 60: ...ter digital inputs BMS SMI471 0 0 20 0 112 Converter digital inputs BMS SMI472 0 0 20 0 113 Converter BMS digital outputs SMO480 0 0 20 0 71 Converter BMS digital outputs SMO481 0 0 20 0 73 Invalid va...

Page 61: ...70XMB works in the BMS Slave mode a temporary Master take over is required before carrying out the control commands below Take into consideration that the Master function must be returned by the FTC47...

Page 62: ...tem Reading from FTC470XMB input data of the Modbus RTU Master Table 6 66 FTC reply to starting the self test of an EDS system Function Devices Word 2 Word 3 Word 4 Word 5 BMS address Chann el No 0 BM...

Page 63: ...ply to switching relays of a certain channel Function Devices Word 2 Word 3 Word 4 Word 5 BMS address Chann el No 0 BMS comma nd 0 Data type Data value Buzzer mute MK2418 SMI470 address 0 0 14 0 0 add...

Page 64: ...TU Master Table 6 72 FTC reply to BMS Master is intended to control the EDS system Function Devices Word 2 Word 3 Word 4 Word 5 BMS address Chann el No 0 BMS comma nd 0 Data type Data value Command to...

Page 65: ...Writing to FTC470XMB output data of the Modbus RTU Master Table 6 75 Master request output of Modbus messages to the BMS bus Reading from FTC470XMB input data of the Modbus RTU Master Table 6 76 FTC r...

Page 66: ...Function 66 TGH1367en 06 2010...

Page 67: ...ow in succession Depending upon the Modbus Master used the entries must be made in decimal or hexadec imal notation After the configuration registers have been written once the corresponding read regi...

Page 68: ...CT connected 3 0008h 00h 16h 4 0009h 00h 00h Channel 2 data value and data type like chan nel 1 5 000Ah 00h 16h 6 000Bh 00h 2Ah Channel 3 data value 42 2Ah measured value data value 55 37h residual c...

Page 69: ...in mA response value 100 mA 3 0021h 00h 37h 4 0022h 00h 64h Channel 2 data value and data type like chan nel 1 5 0023h 00h 37h 6 0024h 00h 55h Chan 3 data value 85 55h measured value data value 55 37...

Page 70: ...type 1 01h standard CT 3 003Ah 00h 01h 4 003Bh 00h 01h Chan 2 data value 1 01h data type 1 01h split core CT 5 003Ch 00h 01h 6 003Dh 00h 00h Channel 3 data value and data type like chan nel 1 7 003Eh...

Page 71: ...nnel 1 data value 1 01h correction factor data type 1 01h multiplication multiplication with correction factor 3 0053h 00h 01h 4 0054h 00h 01h Channel 2 data value and data type like chan nel 1 5 0055...

Page 72: ...01h Chan 1 Data value 1 01h data type 1 01h CT monitoring activated 3 006Ch 00h 01h 4 006Dh 00h 01h Channel 2 data value and data type like chan nel 1 5 006Eh 00h 01h 6 006Fh 00h 01h Channel 3 data v...

Page 73: ...1 01h data type 1 01h overcurrent or residual current monitoring activated 3 0085h 00h 01h 4 0086h 00h 01h Channel 2 data value and data type like chan nel 1 5 0087h 00h 01h 6 0088h 00h 01h Channel 3...

Page 74: ...lue data type 75 4Bh delay in ms response delay 2000 ms 3 009Eh 00h 4Bh 4 009Fh 00h 00h Channel 2 data value 0 00h measured value data type 75 4Bh delay in ms response delay 0 ms 5 00A0h 00h 4Bh 6 00A...

Page 75: ...ed input open 3 00B7h 00h 16h 4 00B8h 00h 00h Channel 2 data value and data type like chan nel 1 5 00B9h 00h 16h 6 00BAh 00h 2Ah Channel 3 data value 42 2Ah measured val data type 0 00h High Byte no a...

Page 76: ...Programming examples mode 1 76 TGH1367en 06 2010...

Page 77: ...onitoring device 107TD47 requesting the current number of alarm messages The Modbus RTU Master sends an appropriate command to FTC470XMB function 16 output data The addressed 107TD47 provides 3 stored...

Page 78: ...tion is available at channel 1 of PRC487 The Modbus RTU Master sends an appropriate command to FTC470XMB function 16 output data The addressed PRC487 signals failure of Line 1 function 3 input data Wo...

Page 79: ...gnals a fault current of 3 A depending on the setting of residual cur rent overcurrent undercurrent as alarm value function 3 input data Word 1 Word 2 Word 3 Word 4 Word 5 H Byte L Byte H Byte L Byte...

Page 80: ...lable at channel 1 of the IRDH The Modbus RTU Master sends an appropriate command to FTC470XMB function 16 output data The IRDH replies that the value of the actual insulation resistance is 185 kOhm f...

Page 81: ...n appropriate command to FTC470XMB function 16 output data The 107TD47 replies that the transformer utility is 66 function 3 input data Word 1 Word 2 Word 3 Word 4 Word 5 H Byte L Byte H Byte L Byte H...

Page 82: ...available at channel 10 The Modbus RTU Master sends an appropriate command to FTC470XMB function 16 output data The RCMS470 12 signals a fault current of 9 A as the actual measuring value function 3...

Page 83: ...mand to FTC470XMB function 16 output data The 107TD47 signals an insulation resistance of 100 kOhm as measuring value function 3 input data Word 1 Word 2 Word 3 Word 4 Word 5 H Byte L Byte H Byte L By...

Page 84: ...470XMB acknowledges the change to Slave mode function 3 input data The FTC470XMB must take over the Master function in case of parameter re quests and new parameter settings Take into account that the...

Page 85: ...5 The Modbus RTU Master sends an appropriate command to FTC470XMB function 16 output data The existing alarms of the EDS470 12 are being deleted but not acknowledged by the device function 3 input dat...

Page 86: ...ut data The 107TD47 carries out a self test and acknowledges it function 3 input data Word 1 Word 2 Word 3 Word 4 Word 5 H Byte L Byte H Byte L Byte H Byte L Byte H Byte L Byte H Byte L Byte always 0...

Page 87: ...XMB function 16 output data The Modbus RTU Master receives data type 203 as identification for FTC470XMB function 3 input data Word 1 Word 2 Word 3 Word 4 Word 5 H Byte L Byte H Byte L Byte H Byte L B...

Page 88: ...n 16 output data Insulation fault location in POSITION mode is being started and acknowledged function 3 input data In this example the value results from linking High Byte and Low Byte byte 7 8 The v...

Page 89: ...of 8 A to channel 3 function 3 input data Channel 4 is being requested function 16 output data The RCMS470 12 replies that channel 4 has been switched off function 3 input data The channels 5 to 12 a...

Page 90: ...owledged function 3 input data The Modbus RTU Master interrogates the device type of EDS470 12 function 16 output data The Modbus RTU Master reads the device type of EDS470 12 function 3 input data Th...

Page 91: ...output data The transfer of the Master function will be acknowledged function 3 input data The Modbus RTU Master sets the operating mode of the alarm relay of the 107TD47 to N C operation function 16...

Page 92: ...0 12 function 16 output data Acknowledgement that channel 12 has been disabled function 3 input data The Modbus RTU Master instructs FTC470XMB to return the Master function to the initial Master funct...

Page 93: ...input are shown in chapter 7 5 1 Requesting the device type of the FTC470XMB the Modbus RTU commands for FTC470XMB show the correct syntax 9 2 2 Where do you get help If after thorough reading of the...

Page 94: ...in cases of damage to persons and property shall be excluded if they are attributable to one or more of the following causes Use of the FTC470XMB other than for the intended purpose Incorrect assembly...

Page 95: ...dress assignment Modbus RTU DIP switches 1 127 Address assignmentBMS DIP switches 1 30 Baud rate Modbus RTU 1 2 57 6 kBit s factory setting 19 2 kBit s Baud rate BMS 9 6 kBit s General data EMCimmunit...

Page 96: ...8 2 6 1 6 mm 10 25 Hz 4 g 25 150 Hz Ambient temperature during operation 25 C 70 C Ambient temperature storage 40 C 85 C Screw mounting 2x M4 10 2 Dimension diagram FTC470XMB is incorporated in a Bend...

Page 97: ...he CT transformation ratio re questing and setting 52 CT monitoring requesting and setting the status 51 CT type requesting and setting 50 D Damage in transit 93 Deleting all existing alarm messages o...

Page 98: ...dress setting 31 Modbus RTU status indicators 16 Mode 1 Operating mode 19 usable BMS commands 19 Mode 2 Operating mode 25 Mounting and connection 31 N Number of measurements per channel requesting and...

Page 99: ......

Page 100: ...pl Ing W Bender GmbH Co KG Londorfer Str 65 35305 Gr nberg Germany Postfach 1161 35301 Gr nberg Germany Tel 49 6401 807 0 Fax 49 6401 807 259 E Mail info bender de com Web server http www bender de co...

Reviews: