Home

40075 UCB-XX_RM datablad 20_02.p65

image

Contents

1. UCR 32DI UCL 08DO UCL 08AI UCL 04A0 UCL 16DIO WIO WI4 TA PEN BIO BH BI4 BIS address 90 n HZ i 8DI sl ne 8DI 8DI oooo000000Ho000000000 C01234567C C8 9101112131415 C 4 Dd q D 4 b C01234567C C89101112131415 ATT cocecece ee ee ee Systeme O BR DERSEN UCB lt 2DID1 BR DERSEN BR DERSEN BR DERSEN se 6 F wv oee sees Feet b rere ure e TOT BASE TE ceswnuwwsel S hea rret FITTE Fe expert sey aot ced eo tease bee ry oo22000000H20000000000 2200000000 0000000000 22000000000 100000000009 20000000001000000009008 22000000000000000000 8DI 8DI 4DO 4DO 4Al 4Al 2A0 2AO 8DO 8DO RE Wve BI2 BI3 BOO 38382 gon e a 3 g BO2 BO3 GoGo ooo o O O O O B CON AAAA AAAA XN 8 x A woz address DE veg 2233 3333 Ses R Q In the B CONW programming language the following address and syntax are used for the I O Digital input DI Bit input i0 0 i0 1 i0 7 11 0 i1 7 i2 0 i0 0 loads the first digital input input 0 i1 0 loads digital input number 8 first input in byte 1 Byte input biO bi1 bi2 bi3 bi0 loads the first 8 digital inputs input 0 7 Word input wiO wi2 wi4 wi6 wiO loads the first 16 digital inputs input 0 15 Digital Output DO Bit output 00 0 00 1 00 7 01 0 01 7 02 0 00 0 sets the first digital output output 0 01 0 sets output number 8 first output in byte 1 bo0 bo1 bo2 bo3
2. DI AI YI 03 40301 Output DO AO YO 03 06 16 40400 Output DO AO YO 03 06 16 49999 Communication state 03 06 16 The status word indicates any error in the remote unit The individual flags are similar to those in other Series 2000 4000 products refer to IOTOOL32 manual Brodersen Controls A S DK 4000 Roskilde 4 Industrivej 3 td BRODERSEN To be able to interface to existing third party products the analogue digital I Os can be operated in parallel alternatively with specific MODBUS 1 O commands MODBUS 1 0 Data type MODBUS register command 00001 00497 DO Boolean Bit 01 05 10001 10497 DI Boolean Bit 02 30001 30121 DI AI YI Integer word 04 It is possible to read the status of the outputs by a read command to a given output reference If a register is addressed which is not represented by an I O correct response is still given at the MODBUS Non existing inputs will be returned with the value 0 Non existing outputs addressed will be disregarded Denmark Tel 45 4674 0000 ig Fax 45 4675 7336 40075 1 00 20 02 BRODERSEN CONFIGURATION Station address net No When using dial up modems connected to the Public Switched Telephone Network a number of Remote units will normally enter a central monitoring station through the same physical connection In order to be able to identify the Remote units the station number is transferred in the first input holding register The station no 0
3. _ O K pee Met EEG i a y gt Outputs 10 30V DC note 6 7 Max 1 5V output activated External voltage Output voltage drop Output current Max 0 5A Output peak current Max 5A in 1 second note 6 Output leakage current off Max 0 5mA Output delay Max 1ms Output circuit Isolation input or output to electronics input to output 1kV AC Indicators UCB 16DIO RM only Digital input One for each digital input red indicat ing active input One for each digital output yellow indicating active output Digital output System Indicating RM OK green I O Indicating I O and local bus OK green Rxd Txd Indicating serial communication on RS232 line GENERAL Current consumption 12V UCB 16DIO RM max 175 mA UCB 61MD RM max 210 mA Brodersen Controls A S Industrivej 3 DK 4000 Roskilde 40075 1 00 20 02 Remote Bitbus Master networking module UCB XX RM IEC class Il 3 75 kV mains supply versions Safety earth required Isolation Ambient temperature 10 55 C EMC EN 50081 1 EN50082 2 Climatic Dry heat IEC 68 2 2 Test Bd Temp 55 C Duration 8h Cold IEC 68 2 1 Test Ad Temp 10 C Duration 8h Damp heat IEC 68 2 3 Test Ca Temp 40 C RH 95 Duration 8h Mechanical Vibration IEC 68 2 6 Test Fc sinusoidal Freq 10 150Hz Amp 4g 5 sweeps in 3 orthogonal axes Shock IEC 68 2 27 half sine Ac
4. 65535 is the sum of the binary value selected using code switches 1 5 and the binary value of the logical address configured in the EEPROM default 0 The central monitoring station must use the station number address to direct the received data to the correct location MSB LSB XN A Station number address 0 65535 sum of code switch 1 5 and logical address configuration word MSB LSB SS eed WD Physical address 1 31 MODBUS address code switch 1 5 logical address is ignored Modem enabled Modem disabled Remote Bitbus Master in Modem mode The MODBUS address physical address is set to address 1 independent of the switch when modem control is enabled Please note that the PC MODBUS driver only supports station numbers 0 1999 Remote Bitbus Master in NullModem mode direct connected When set to direct connection NullModem the Modbus address can be selected with the switches All the Bitbus Slaves connected to the Remote Bitbus Master will be seen from the Modbus Master as Modbus nodes Please plan your application node addressing by selecting unique addresses to all notes in your network both Bitbus Slaves and RMs Note Multi drop applications with more than 50 nodes in one net is not recommended due to long communication delays In such application it is better to split the application into separate nets Brodersen Controls A S Industrivej 3 e DK 4000 Roskilde 40075 1 00 20 02 Re
5. BM2 command register 1 dial 2 hang up BM3 telephone no BM4 m4 0 m4 3 handshake inputs CONTROLIEC1131 1 m4 4 4 5 Com state m4 7 Dial time out error IEC 1131 3 B CONW BM5 communication counter Program memory Flash 23 Kbytes note 19 BM6 User info derived from USER field in the IOExplorer Memory usage per instruction line 6 24 bytes BM7 config menu Typical maximum BM8 m8 0 switch1 Address program size 1500 instruction lines m8 1 switch2 Address Scan interval 50 250 ms note 1 m8 2 switch3 Address m8 3 switch4 Address Internal registers BM 1024 m8 4 switch5 Address m8 5 switch6 Baud rate I O expansion bus m8 6 switch7 Baud rate Capacity m8 7 switch8 Baud rate max 31 I O sections up to 30 expan BM9 m9 0 switch9 Modem on off sion modules m9 1 switch10 Bitbus speed max 104 analogue or 496 digital I O 104 words total Connector RJ45 Modular jack 8 10 pole Signal level 5V CMOS Protocol Synchronous data shift register type Local bus cable length Max 1 m between 2 modules Max 5 m totally TECHNICALDATA INTERFACE POWER SUPPLY Serial interface RS232 ModbusRTU External power supply Signal level RS232C v 24 System supply UCS 53 54 Connector 9 pole sub D male Hardware handshake DCD DTR DSR RTS CTS RI Built in power supply Modem control Hayes compatible Dial up modem DTMF or pulse dialling to pre stored Mains supply 10 30 telephone numbers Supply
6. must be switched off Data registers details Error indicator alert inputs Run time errors and corresponding indicators are monitored control led using BMO and BM1 Details in B CONW manual Register BMO BM1 Description Runtime error overflow m1 0 m1 1 System indicator System indicator Modem control registers The modem is controlled from 4 internal registers M registers Register Description Command register output 0 No action st by 1 Dial no selected by bm3 2 Hang up BM3 Telephone selection no 0 9 BM4 m4 0 m4 1 m4 2 m4 3 m4 4 m4 5 CTS Clear to send input DSR Data set ready input RI ringing indicator input DCD Data carrier detect input Communication state read only Remark No communication comcounter 0 Communication comcounter gt 1 Set when all inputs has been read once Idle Active All updated Not used Dial request suspended 1 Error Communication counter The command register output is used to initiate and terminate a call The call is made to the pre stored number selected in the telephone register see above The telephone number output is selected from up to 10 pre stored telephone numbers to decide which number to dial The pre stored Brodersen Controls A S Industrivej 3 i DK 4000 Roskilde 40075 1 00 20 02 Remote Bitbus Master networking module UCB XX RM telephone nu
7. selected the module in increasing order tries the first 3 pre stored numbers As soon as a proper connection is established following numbers will not be tried 7 Defines the delay from an unsuccessful attempt to dial to a new attempt to establish connection 8 Up to 10 pre stored telephone numbers each number can be up to 20 digits Dial digits 0 9 A B C D can be entered to select a phone number A number of control characters can also be entered T Tone dial P Pulse dial Delay pause 2 seconds Ww Wait for dial tone 5 seconds Some special functions may be selected refer to modem user manual for further information 9 Modem initialisation string Experience shows that many manufac turers of modems make minor additions or variations from the standard therefore reference must be made to the user manual for the actual modem to be sure that correct initialisation of the modem is made The following default string is used AT E0 VO amp C1 S0 1 The string can be changed by entering appropriate ASCII characters Any data compression or error correction MUST be switched OFF 10 User defined parameter which can be used for set points or other programme controls in the B CONW application pro gramme The value entered in field 10 is copied to registers bm6 bm7 wm6 in the B CONW programme The value is entered as an integer 0 65535 however in practice this could be separated into 16 individual bits or 2 bytes each ha
8. voltage nominal 110 240V AC DC 24 48V DC Up to 10 pre stored numbers Supply voltage absolute Each number can be up to 20 digits maximum input range 100 265V 20 65V Mains frequency 40 60 Hz DC only Baud Rate 300 600 1200 2400 4800 9600 Power consumption Max 18W Max 14W 19200 Format default 8 bit binary 1 start bit Outputs No parity 1 stop bit Output current total 1 1A 0 9 A a ia cla RTU mode Output 12V DV 0 5V T2V 47 05V i expansion local bus note 3 4 note3 4 BITBUS interface Output 12V 12V 1 5V 12V 0 5V Signal level RS485 multidrop external output max 400mA max 400mA Isolation to other note 3 4 5 note 3 4 5 electronics 500V AC Protocol Intel standard Serie 2000 compatible Isolation Input mains primary to 3 75 kV 1500V AC Capacity Max 1 master 31 slaves electronics secondary Max 496 digital I O signals or max 196 analog I O signals per island Scantime 375KBPS Approx 5 ms per island slave 62 5kBPS Approx 15ms per island Brodersen Controls A S Industrivej 3 td DK 4000 Roskilde ig Denmark Tel 45 4674 0000 i Fax 45 4675 7336 10 40075 1 00 20 02 BRODERSEN DIGITAL INPUT OUTPUT UCB 16DI0 RM only Inputs Input voltage activated 10 30V DC note 6 7 Input voltage deactivated Max 3V DC Input current 12V DC Typical 3mA 24V DC Typical 6mA Input delay Typical 1ms Input circuit gt
9. BRODERSEN INTRODUCTION The Remote Master Module UCB xxxx RM is a Bitbus Master module having both BITBUS and Modbus Slave for serial communication The module can be used as a Remote Networking module in a RTU network or and as a Bitbus Master module in a standalone Bitbus application system The Modbus interface can be used to programme control and monitor the remote unit either directly or via a hayes compatible dial up modem connections The Remote Master has a BITBUS interface that enables the master to control a number of BITBUS slave modules including Bitbus Slave modules with Datalogging facilities IEC 1131 3 programming facilities via BCONW are used for control of the BITBUS communication and the logical control including dial up procedures via modems The application program can be developed down loaded and de bugged through the RS232 interface the PC do not require a BITBUS interface a normal COM port can be used When the B CONW programme which can control the process is made and installed in the Remote BITBUS master the RS232 port can be used for monitoring purpose directly or via modem or radio Downloading IEC1131 3 BCONW application program to the connected Bitbus Slave modules is also done via the Serial link on Remote Master For Remote Networking the Remote Master can be a part of a RTU network together with the Series 4000 RTU8 modules Logged data in connected Bitbus Slave Datalogging modules can be transferred
10. Mast E EEPROM emote aster UL AA Integrated editor debugger compiler The application programmes are written by use of Instruction Lists according to the IEC 1131 programming language Examples of instructions in the IEC 1131 language LD load read value e g input or internal register ST store write value e g output or internal register AND logical and e g 2 inputs ADD add 2 values MUL multiply 2 values R reset e g an output GT greater than compare 2 values The B CONW application programme resides in the master module controlling the entire intercommunication in the BITBUS network and performing simple logical operating Also the B CONW pro gramme can include limits or conditions for making a call via the telephone network to a central monitoring station The compiled instructions are down loaded to an EEPROM in the actual slave or master module A simple load LD or store ST instruction require only about 10 bytes of memory In general software tools register layout I O addressing and principles are as in other Series 2000 4000 with only minor additions The IOTOOL32Pro is a total software package with nessesary drivers and programming tools A number of internal registers are dedicated to control the modem dial up etc Brodersen Controls A S Industrivej 3 DK 4000 Roskilde 40075 1 00 20 02 Remote Bitbus Master networking module UCB XX RM I O addressing B CONW The addr
11. RODERSEN Remote Bitbus Master networking module UCB XX RM Brodersen Controls A S Industrivej 3 DK 4000 Roskilde Denmark Tel 45 4674 0000 Fax 45 4675 7336 40075 1 00 20 02 13
12. X RM CONTENT Introduction Introduction text billed af modul s Typical application Version ordering code Technical description 0 0 0 0 eee rere eeeeeeeeeees 2 INPUVOUTPUL erinran ennaa 2 VO Expansion museer indenni rdet aani 2 CPU capaian en raea ener EERE 2 Bitbus Network snanvuarnnunvmannnin dusin 2 Serial interface RS232 iarsna 3 H ndshake RTS CTS roret istia areae 3 Modbus protocol I O database uens 3 Configuration asnoisan ris eieae adanida 5 Station ddressing xc issecsisescevesasieseseetsscenenniestessaxetironneay 5 Code SWIHCH sassis rianne daiak 5 Module configuration table overview s 5 Module configuration table description 1 1 1 1 6 Application program parameteres 0 0 eee 7 Local control B CONW sss asics enece anassen 7 I O addressing _ Structure srmrsrrrrrnrnrern vnr rrrnrernnnrnnn 7 Modem control sicvccesisnccecesvececcaereavcnseesects ssateee cacesccnscerden 8 Data registers details uiuvunnernrennnnig mm iene 9 Error h ndlingvveviarvssisnnsepsan sin arian 9 010 TE 9 User registers usuuvaennssnnipnngenrvet 9 Code Switch Address selector mssrrnrnnennvrnrnnvrrnrnnnn 9 Data registers overview urrnisrnrananernnernvsvannnnsernnaveseen 9 Technical data ce 10 Interfaces cece 510 Serial interface 10 BitbuS sussie 10 Control IEC1131 10 IO expansion
13. bo0 sets the integer of the first 8 outputs 0 255 wo0 wo2 wo4 WO6 wo0 sets the integer of the first 16 outputs 0 65535 Analogue input Al Input word wi2000 wi2002 wi2014 wi2016 wi2000 loads the integer 0 4095 of the first analogue input channel 0 wi2014 loads the integer 0 4095 of the analogue input channel 7 Byte output Word output Analogue output AO Output word wo2000 wo2002 wo2014 wo2016 wo2000 sets the first analogue output channel 0 wo2014 sets the analogue output channel 3 at the second AO module Aux input YI e g setpoint transfered via the MODBUS from a central station Aux output YO e g result to be transfered via the MODBUS to a monitoring station Bit output 06000 0 06000 1 06000 7 06001 0 06001 7 06002 0 06000 0 sets the first output output 0 06001 0 sets output number 8 first output in byte 1 bo6000 bo6001 bo6002 bo6003 bo6000 sets the integer of the first 8 outputs 0 255 wo6000 wo6002 wo6004 wo6006 wo6000 sets the integer of the first 16 outputs 0 65535 Byte output Word output Modem control Dial up Both the Remote Bitbus Master and the central monitoring station can initiate a dial up to each other The central monitoring station may dial the Remote Bitbus Master at time intervals if the Remote Bitbus Master detects a situation which is pre defined to be a ca
14. bus 10 Power Supply sceseee 10 Supply versions sO Digital input output 2 10 Inputs incl circuit 10 Outputs incl circuit 10 Isolation aiiis dd Indicators vl General data 0 0 eects seh Current consumption 11 Isolation ss did Ambient temp sd EMG stevie wel Climatic yl Mechanical Protection IP si dd Mounting wl Terminals eral Housing wil I Note remarks 000 aT Appendix eee ee 12 System application notes aeee 12 SCANNING asians vai V2 Download procedure will Example of application va 12 Procedure example w12 Append ik B usnansmanaksinsnsemsmasmiskamndnue Installation and connection guide Brodersen Controls A S DK 4000 Roskilde 2 Industrivej 3 td BRODERSEN TECHNICAL DESCRIPTION Input output The Remote Master is available in 2 versions one with buit in I O and one without The UCB 16DIO RM include 16 digital inputs 10 30VDC and 16 digital outputs PNP open collector All digital O s are equipped with opto couplers All Remote Master modules have local bus connector for adding I O Expansion modules I O expansion The basic I O fit of the Remote Bitbus Master can be expanded by attaching System expansion modules Remote Master with expansion modules Expansion modules are available with the following I O configuration 8 32 10 30V inputs 8 32 10 30 V PNP or NPN open collector
15. c 15g Pulse time 11msec 3 x 6 shocks Protection IP20 Mounting 35 mm DIN rail EN50022 Terminals Max 1 5 mm wire Housing Anodized aluminium with plastic ends According to DIN 43880 Dimensions HxWxD 80 connectors x108 162x62 mm NOTES REMARKS 1 The scan interval can not be selected by the user it is the capacity of the micro controller that limit the minimum scan time The time related performance versus capacity for the RTU is a result of the actual CPU load The technical data related hereto must be considered in total Setup can be configured using the IO Explorer The sum of current consumed from the 12V rail i e internal consumption consumption from the external screw terminals and by expansion modules at the local bus must never exceed the maximum total output current The 12V external supply is not isolated from the circuit supplying the electronics It is therefore recommended to use an external source for the I O if the I O signals are influenced by electrical noise e g from long cables or inductive load The external output is short circuit protected and overload protected The maximum current is limited at high ambient temperature The maximum load current should be de rated approximately 1 per C above 25 C Input signals exceeding the maximum values MAY CAUSE PERMANENT DAMAGE to the module The polarity at the input must be positive The common terminal must be connected to the nega
16. cified by type i and number The MODBUS driver automatically imports the data Aer high at all time RTS Leading and Trailing values received via the MODBUS into the correct position in the data base For each remote station it is possible to configure the driver to perform Handshake RTS On Off 3 automatically polling of the station with a given interval Further the RTS is inactive when receiving data and become active when driver will accept calls initiated by the remote station transmitting data Brodersen Controls A S Industrivej 3 j DK 4000 Roskilde Denmark Tel 45 4674 0000 h Fax 45 4675 7336 40075 1 00 20 02 3 Remote Bitbus Master networking module UCB XX RM The data collected by the driver is easily accessed from the application by a specifying an unique address built of lt datatype gt lt Network station gt lt node island gt lt module group gt lt l Oterminal gt Using gateway to Series 2000 BITBUS system The protocol used for the remote slave is compatible with the protocol used in the MODBUS gateway UCB 61SD MO In case I Os in a BITBUS system have to use telephone lines a remote slave island can therefore be integrated in the BITBUS network by using a gateway and 2 external modems Both leased lines and dial up lines can be used Up to 100 leased lines or parallel dial up lines can be operated Each line will be served by a gateway which are linked by the BITBUS W
17. cult to changes configuration and download Bcon programs due 3 Transmit data out timeouts in the driver It is advisable not to use longer delay than 4 Data terminal ready out necessary and configure RTS Leading delay as the last part when 5 Signal ground using long delays If the RM is inaccessible due long delays the 6 Data set ready in module setting could be reset to default by setting all code switches 7 Request to send out ON 8 Clear to send in 9 Ringing indicator in Modbus protocol Data base DLL DDE Serial communication according to MODBUS RTU mode specifi MODBUS holding registers 40000 are used for the I O transfer cation is used The layout of the data base is very similar to the one The actual I O s are automatically mapped into the holding registers being used in BITBUS modules first module first register according to the actual I O configuration number and type of expan All I O can be addressed as holding registers The holding register sion modules addressing Multiple read preset command type 03 16 is used for For programme down load setup and log data a transfer special transfer to other Series 2000 4000 products protocol is used still using the MODBUS frame The Remote Bitbus Master has a selectable MODBUS address low Using IOTOOL32Pro Modbus PC driver level address 1 31 used in radio or multi drop systems For modem Series 2000 4000 products are supported by low level PC d
18. ess of the I O in the Remote Bitbus Master has the same structure as other Series 2000 4000 products The I O s are separated into 4 data types digital DI DO analogue AI AO and 2 auxiliary types ZI ZO and YI YO In the Remote Bitbus Master the YI YO is used for transfer of derived values or set points to and from the local CPU to the central PC The RTU8 handles bits Boleans and Integers 8 16 bit Analogue values have to be handled as integers floating point operation Reals is not supported The PC software tools use words 16 bits as a reference for addressing the I O but as the Remote Bitbus Master is equipped with an 8 bit controller the addressing uses bytes 8 bits as a reference The inputs and outputs are numbered in the order they appear physically left to right Please note that input output and analogue digital are numbered separately Database interface Register layout Digital Analog Reserved DO WO 0 1999 f B CON Application program i WI 2000 3999 WI 4000 5999 WI 6000 7999 WI 0 1999 DI Yl Digital Analog Reserved Address status LL TI I MODBUS master yy yy Denmark Tel 45 4674 0000 i Fax 45 4675 7336 7 Remote Bitbus Master networking module UCB XX RM Example of an island BRODERSEN
19. hen using a gateway the data received via the MODBUS is mapped into the BITBUS as for other gateways meaning that the data will appear as Zls ZOs 4000 registers at the BITBUS Example BITBUS Master reference MODBUS Holding Register Remote unit Station address 40001 ZIx 0 x wi4000 Status H L 40002 ZIx 1 x wi4001 inputs 40003 ZIx 2 x wi4002 inputs 40100 ZIx 99 x wi4194 outputs 40301 ZOx 0 x w04000 outputs 40400 ZOx 99 x wo41 98 x is the slave address for the BITBUS gateway module It should be noted that if using a BITBUS gateway as counterpart the gateway limits the data transfer to 120 words in total in each direction Also it should be noted that designation input output is defined seen from the master The data will be located in the same registers independent of the actual station connected meaning that in case more remote stations use the same gateway the application programme must use the station no to designate the data Using third party MODBUS interface The inputs always starts in the first holding register with the Logical address and the status in the two first words The start and the size of the area of holdings register used for inputs and outputs must be configured using SM The inputs always starts at holding register 40001 Example default configuration MODBUS 1 0 MODBUS command register 40001 Logical address integer 03 40002 Status H L word 40003 Input DI AI Y1 40100 Input
20. is initiated i6000 0 is the first input in the first byte word i6001 0 is the first input in byte 1 The following Hayes commands are used to control the external Byte input bi6000 bi6001 bi6002 b600i3 modem bi6000 loads the first 8 digital inputs input 0 7 Enter command mode Word input wi6000 wi6002 wi6004 wi6006 ATZ Reset modem wi6000 loads the first 16 digital inputs input 0 15 ATEO Echo off ATD Dialup ATH Hang up vo Displays digital format Brodersen Controls A S DK 4000 Roskilde 8 Industrivej 3 bd Denmark Tel 45 4674 0000 ig Fax 45 4675 7336 40075 1 00 20 02 BRODERSEN The string ATZ ATEO VOis used for modem initialisation by the Remote Bitbus Master Experience shows that many manufacturer of mo dems make minor additions or variations from the standard Therefore reference must be made to the user manual for the actual modem to be sure that correct initialisation of the modem is made The second part of the initialisation string can be configured to fit the actual modem using the IO Explorer which is part of the tool kit in IOTOOL32Pro Default string AT E0 VO amp C1 S0 1 amp C1 S0 1 Track presence of data carrier DCD Auto answer Some modems store the setup in non volatile memory in which case the setup can be made directly in the modem and the initialisation string can be omitted Please note that if a modem has data compression capabilities this facility
21. ll situation it can immediately dial up the central monitoring station and report the actual condition The application related modem control related to the process values and conditions for making dial up etc are handled by the B CONW application programme in the Remote Bitbus Master Modem control is performed through 4 internal registers BM2 to BM5 The calls are made to pre stored numbers By specifying alternative numbers if a connection is not made to the primary number then the secondary numbers will be called in turn until a successful connection has been made The number of retries is limited to one cycle i e after the pre stored numbers and the number of retries per number have been called without success the Remote Bitbus Master will suspend the dial up The maximum allowed number of dial up attempts will be the number of pre stored numbers to try multiplied by Retry count If the Remote Bitbus Master is unable to make a connection an error indication is given to the application m4 7 is set The error flag is reset when the Remote Bitbus Master receives an incoming call carrier detected or when the value in the dial register bm2 is activated changed from 0 to 1 in order to force a new dial up Low level modem control is performed by the firmware which includes a modem initialisation routine which is executed at power up and Bit input i6000 0 i6000 1 i6000 7 6001 0 i6002 0 every time a dial up
22. mbers are defined in the configuration menu using the IOTOOL32 software The telephone number register om3 can be used either to force the use of a given pre defined number by writing the number into the register or itcan be used to read the actual number currently being dialled The automatic dial procedure writes the actual number into the register allowing the B CONW application pro gramme to monitor the number being dialled and control it accordingly CTS DSR RI and DCD input are the handshake signals bit inputs from the modem which may be used in the application programme to control the modem The communication state input can be used to monitor when a transfer of I O data has successfully taken place The communication state is controlled by MODBUS Holding register 49999 The PC driver MODBUS master writes to the register when the PC has received all the registers defined The communication counter input can be used to monitor if the transfer of data is successful In every read or write cycle on the MODBUS the counter is incremented The Remote Bitbus Master requires at least two messages Read and Write to update For third party equipment software several messages might be required to update a remote unit depending on the actual MODBUS commands being used In such cases data for the actual protocol driver must be consulted or the value must be set to a suitably high figure When the line connection is te
23. mote Bitbus Master networking module UCB XX RM Code switch Address selector The code switch at the slave module selects the address baud rate etc Code switch 190000 123 45 67 8 9 10 er WY Baud rate OFF 62 5kBPS Physical address BITBUS ON 375KBPS Modem OFF Modemcontrol disabled ON Modem control enabeld 678 000 100 010 Baud rate 300 600 1200 2400 4800 9600 19200 Switch no 110 001 101 011 The station number address modem mode is defined as the sum of the binary value selected using switch 1 5 and the binary value of the logical address configured in the EEPROM default 0 The EEPROM value can be changed by using IOExplorer see configuration section Setting all swtiches on and power up will reset the module to factory setting Configuration table in Remote Bitbus Master After scanning the Remote Bitbus Master with the IO Explorer it is possible to select the Config folder and there configure the Remote Master and also enter the pre define telephone numbers Refer to separate description Remote Master configuration table note 2 Product UCB XX RM Software version 1 30 Field Type Description Min Max Current Value Unit 1 W PLC TX Dreg 40001 40300 40001 Holding reg 2 WPLC RX Dreg 40301 40600 40301 Holding reg 3 W Logical addr 0 65503 0 4 WRetry coun
24. nning all found Bitbus nodes The system LED is initially ON If the local configuration i e connected Bitbus slaves is changed after powering up the I O led will go off When the system is configured all nodes registered will be scanned cyclicly When connection to a slave is obtained the input data buffer is read from the slave and placed in the master RX buffer The data is checked and if valid the status and data is moved to the data base Denmark Tel 45 4674 0000 Fax 45 4675 7336 40075 1 00 20 02 BRODERSEN Remote Bitbus Master networking module UCB XX RM Next output data is moved from data base to the local TX buffer and The RTS Leading setting defines the delay from activating the RTS is transmitted via BITBUS to the slave to the first character is transmitted The RTS Trailing setting defines the delay from the last character is transmitted to RTS is deactivated Handshake RTS CTS RTS is inactive when receiving data and is activated when the RM Serial interface wants to transmit data After activating the RTS the RM will wait for The Remote Bitbus Master RS232 interface includes a driver which the CTS to become active before start transmitting The RTS Leading is able to handle both the Modbus protocol RTU slave and Brodersen delay is still valid in this mode and an adjustable delay from CTS is RAC commands Hayes compatible modem control is implemented activated to first character is then possible Howeve
25. ork This way are all the sub network nodes configured and finally you can rescan the whole system from the main Master PC and your system is configured Application example PC with LL modems connected via LL to 2 Master networks with each 2 Slaves attached Programming After system design and implemetation of the modules the system can be scanned and application programs downloaded after the procedure described in this appendix M20 RM Modbus address 20 Remote BITBUS slave I O M10 S11 12 S13 Remote Master BITBUS slave I O S21 Slave Modbus Bitbus address 21 Brodersen Controls A S DK 4000 Roskilde 12 Industrivej 3 s BRODERSEN Procedure example All hardware is wired up as required and power supply is applied Pre scanning the system Start IOTOOL32Pro Choose new project Choose New NET delete all other NETs not used Select the highest node number to scan and press scan and await scanning procedure to finish Download B CONW application programs to the Bitbus Slaves in the first sub net Open the B CONW program for the actual slave e g Node 11 In the option communication program menu you set the device to Slave and define the node address Compile and download the program to the actual slave After download start the program system LED on module on Reset the Slave by highlighting it in IOExplorer and right click the m
26. ouse optional Repeat these three points for all the Bitbus Slaves in the sub net Download B CON application program to the Remote Bitbus Master Make a Auto Config in drop down menu gt Option lt gt Communications and program lt you set the device type to Master and choose OK and start the auto config The auto config scan the modules for physical connected net Open the B CONW program for the actual Remote Bitbus Master e g Node 10 In the option communication program menu you set the device to Master and define the node address Compile and download the program to the actual Master After download start the program system LED on module on Reset the Remote Bitbus Master by highlighting it in OExplorer and right click the mouse optional Repeat for all the Bitbus Masters in the net Rescanning the whole network After programming all Masters and Slaves make sure that programs are running in all modules and all modules have been reset Select Rescan the Net in IOExplorer and the driver rescan your application and built up the final database Any errors detected after rescan can be read in the nodes status registers ST A description of the codes you find by holding your mouse steady on the register and IOTOOL32 will shortly show the failure description Also the IOTOOL32 manual you find on the IOTOOL32Pro CD will explain the error codes Denmark Tel 45 4674 0000 ig Fax 45 4675 7336 40075 1 00 20 02 B
27. outputs 8 230V inputs 8 230V outputs potential free relay 4 8 analogue inputs 0 10V 4 20mA etc 4 analogue outputs 0 10V 4 20mA etc A maximum of 30 expansion modules can be connected to a Remote Bitbus Master The total number of I O s is limited to 104 analogue or 496 digital I O s maximum 104 words or 31 I O sections A word equals one analogue channel or 16 digital channels Please note that modules with more than 16 I O s should be considered as 2 or 3 I O sections In the event that the current consumption of the expansion modules exceeds the capability of the power supply an additional power supply must be inserted CPU capacity performance The Remote Bitbus Master is equipped with an 8 bit micro controller The time related performance versus capacity of the Remote Master is dependent upon the actual load on the micro controller which directly relates to the application and therefore the technical data herewith cannot be considered in isolation Where doubt exists we recommend making a test to evaluate the actual performance Bitbus Network The BITBUS system is fully self configuring At powering up the master will search for up to 31 slave nodes numbered 2 250 on the BITBUS and I O modules on the local bus on the master When 31 nodes are found searching is stopped The configuration for every valid node is then stored in EEPROM A database check sum is computed and saved in EEPROM and the master starts sca
28. r by setting the in the Remote Bitbus Master The standard MODBUS protocol is used Leading time to zero there is no unnecessary delay from CTS to first for I O transfer and for configuration and up down load of pro character like normal RTS CTS function After activating RTS the grammes a special command set is used RM wait up to 10 sec for the CTS signal If timeout occur transmission The concept and the facilities are compatible with other Serie 2000 is discarded and the RM wait for a new request products enabling the user to combine products within the product range RTS Leading The IOTOOL32Pro MODBUS driver with DLL and DDE interface can The RTS Leading define the delay time from activating RTS to be used directly to link the RTU through the telephone network to a transmitting the first character central PC for monitoring data upload and analysis The RTS Leading value is configurable in the range 0 500 of 10ms units le up to 5000 ms The RS232 port 9 pole sub D is equipped with all hardware handshake signals DCD DTR DSR RTS CTS RI RTS Trailing The RTS Trailing define the delay time from the last character is RS232 port 9 pole sub D transmitted to RTS is deactivated The RTS Trailing value is configurable in the range 0 50 of 10 ms units le up to 500 ms Description Remarks Note 1 Data carrier detect in When setting the Leading value to a long time e g 5 sec it could be 2 Receive data in diffi
29. rivers for operation a logical address station no 0 65535 is used for identi Windows 95 98 WinNT and Win2000 plus a number of dedicated fication of each Remote Bitbus Master Using the IOTOOL32Pro tool drivers for standard SCADA packages kit each station will have its own net thus the station number and net The remote units can be operated by the IOTOOL32Pro Modbus number are the same driver which includes dial up and modem facilities The driver interface directly to most Windows programmes through Handshake on the Modbus port in NullModem mode DLL or DDE interface The use of RTS CTS handshake leading and trailing delays are user The data structure when using the driver is common for all Series configurable via the PC utility menu The settings are only active in non 2000 4000 products The DLL includes a database which is a mirror modem mode In modem mode Dial up the RTS is always on of the process values related to a given remote unit The values are The handshake functions are as follows separated into 4 data types digital DI DO analogue Al AO and one auxiliary types YI YO and gateway data ZI ZO Handshake RTS Off RTS is kept inactive low at all time RTS Leading and Trailing values are don t care Handshake RTS On When using a dedicated IOTOOL32Pro driver the user do not need to consider the actual MODBUS protocol being used for the remote units For each remote station the number of Os is spe
30. rminated the communication state and the communication counter are returned to 0 User registers BM6 and BM7 WM6 are directly derived from the User field in the configuration menu By using IOExplorer it is possible to enter parameters into an application programme e g a set point without having to re compile Register BM6 Description User register high byte User register low byte BM7 Code switch inputs The setting of the code switches are copied to internal registers BM8 BM9 for monitoring purposes Please note that the code switches are used by the firmware therefore they cannot be used independently Register BM8 Description Code switch 1 Code switch 2 Code switch 3 Code switch 4 Code switch 5 Code switch 6 Code switch 7 Code switch 8 m8 0 m8 1 m8 2 m8 3 m8 4 m8 5 m8 6 m8 7 Address Address Address Address Address Baud rate Baud rate Baud rate Modem OFF ON Bitbus speed Code switch 9 Code switch 10 m9 0 m9 1 Denmark Tel 45 4674 0000 i Fax 45 4675 7336 9 Remote Bitbus Master networking module UCB XX RM BRODERSEN Data registers overview Delay 375kBPS 2 islands Typical 40ms 2 islands Typical SOms 62 5kBPS 2 islands Typical 50ms BMO error overflow n islands Typical n x 25 ms BM1 m1 0 system indicator m1 1 system indicator Baud rate cable length etc Refer to installation guidelines
31. t 0 10 3 5 WMax comm cnt _ 1 256 256 6 W Subs to try 1 10 21 7 W Redial delay 2 120 90 Seconds 8 T Tel no 0 9 9 T Modem init 0 0 10 W User 0 65535 0 11 W HandShake 1 4 3 RTS On Off Modbus 12 WRTS Leading 0 500 1 of 10 msec 13 W RTS Trailing 0 50 0 of 10 msec Field Description 1 TX defines the first Modbus holding register to be used for data transferred from the Remote Bitbus Master to the PC Modbus Master 2 RX defines the first Modbus holding registers to be used for data transferred from the PC Modbus master to the Remote Master a Denmark Tel 45 4674 0000 i Fax 45 4675 7336 5 BRODERSEN Remote Bitbus Master networking module UCB XX RM 3 The Logical address for a given Remote Master The station address is defined as logical address code switch 1 5 address The station address corresponds to netnumber on the PC 4 Defines the number of retries which should be made to the same telephone number before giving up or continuing to the next number if the call is not successful 5 Number of successful communication requests before automati cally hanging up The value 256 will disable auto hang up The internal register BM5 contains the actual communication coun ter It is recommended that the controlling station PC should terminate the modem connection 6 Defines whether alternative telephone numbers should be tried E g if 3 is
32. tive General Firmware version 1 30 and later is covered by this data sheet Denmark Tel 45 4674 0000 Fax 45 4675 7336 11 Remote Bitbus Master networking module UCB XX RM APPENDIX A System Application Notes Scanning and application program download procedure After system design and hardware implementation of the modules the system can be scanned be the IOTOOL32Pro drivers for automatically building up a project After the drivers has detected the network you are able to download the B CONW application programs to the relevant modules This procedure can seem complicated but when you are following the procedure below you will understand the flow When your hardware is connected you start IOTOOL32Pro on your PC Choose new project The Scan box appear you must enter the highest node no to be scanned and select scan IOTOOL32 will scan the network and detect all modules connected Based on this scanning it create the project with all the scanning data like node no node types etc The I Os of the system is not yet all defined as your application program also has influence on the number of I O which are defined The network do now have two Master station levels the Remote Bitbus Masters and the PC which is the Master on the serial connection Modbus Master In order to configure the system you have to start backwards configure the slaves in the Bitbus sub network and then the Master in the Modbus sub netw
33. via the serial RS232 port to the RTU Master PC with IOTOOL32 The Remote Master is delivered in 2 general versions with or without I O Expansion I O modules can be added to both Remote Master versions The unit is designed in a very compact 108 162 mm wide module for DIN rail mounting 35 mm symmetrical Dimensions conform to DIN 43880 used for circuit breakers thus insuring easy installation in standard installation panels and boxes widely available in the electrical industry Typical Remote Master application PSTN Leased Line Multidrop BITBUS Remote Master Brodersen Controls A S Industrivej 3 DK 4000 Roskilde 40075 1 00 20 02 BITBUS slave I O data logging Remote Bitbus Master networking module UCB XX RM Remote Master modules VERSIONS ORDERING CODES Example UCB 16DI0 10 P1 RM Type UCB UCB Input Output 16 digital input 16 digital output 16DIO xx P1 None 61MD Power supply External Power Supply Built in mains PS 110 240V 10 Built in mains PS 24 48VDC 30 Option Remote Master RM only UCB 61MD RM rd per BITBUS slave I O BITBUS slave gateway PLC Denmark Tel 45 4674 0000 Fax 45 4675 7336 1 Remote Bitbus Master networking module UCB X
34. ving a specific function in the application programme 11 Primary serial port handshake Select RTS CTS function 12 Defines the delay from the Remote Bitbus Master is acti vating RTS to transmission of first character 13 Defines the delay from the Remote Bitbus Master is trans mitting last character to deactivating RTS Brodersen Controls A S Industrivej 3 j DK 4000 Roskilde ig Denmark Tel 45 4674 0000 i Fax 45 4675 7336 6 40075 1 00 20 02 BRODERSEN APPLICATION PROGRAMMING PARAMETERS Local control The Remote Bitbus Master modules can perform central control of a BITBUS network e g a sub network covering the actual site to be controlled or monitored The Remote Bitbus Master modules are directly compatible with other Series 2000 4000 units enabling the user to make any type of combination between intelligent and non intelligent BITBUS units The Remote Bitbus Master includes B CONW programming facili ties i e it can be programmed using IEC 1131 3 Instruction list programming language The processing and data handling to be performed is configured by use of a PC having the B CONW programming tool installed The B CONW programming tool includes an integrated editor compiler debugger and down load facility for developing application pro grammes and down loading them via the RS232 to the actual Remote Master module Program development RS232 GN Download through RE R te BITBUS

Download Pdf Manuals

image

Related Search

Related Contents

  MDS Lite User Guide (6 lgs)  Safety RCD Plug Operating Instructions  Toshiba 33474HU Laptop User Manual  Dico dingo  Xembedded / Xycom XVME-690 Manual  Consulter le catalogue  Clarion iDXZ378RMP User's Manual  HS427 - セイコークロック  Herunterladen - Canon Europe  

Copyright © All rights reserved.
Failed to retrieve file