Home
Allen Bradley 1771DB Manual
Contents
1. may SATEC POWERMETERS SATEC COMMUNICATION DRIVER FOR ALLEN BRADLEY 1771 DB BASIC MODULE Installation and Operation Manual SATEC Ltd The driver is provided as is without any warranty of any kind The entire risk to the results is assumed by the user Those responsible for applying and using this product must satisfy themselves as to the acceptability of each application and the use of the product No patent liability is assumed by the manufacturer with respect to the use of information circuits equipment or software described in this text Every effort has been made to ensure complete and accurate information concerning the material presented in this book However the manufacturer can neither guarantee nor be held legally responsible for any mistakes in printing or faulty instructions contained in this book The authors always appreciate receiving notice of any errors or misprints COPYRIGHT 1995 SATEC Ltd BG0094 Rev A Table of Contents 1 ABOUT THE COMMUNICATION 4 2 INSTALLATION siirsi 5 2 1 EPROM ISAO EEE PA abnekeeqaiasaeinataasbeptactcasain 5 2 2 BASIC Module Peripheral Port Configuration 5 2 3 Powermeters Communications Settings 5 24 ONS TTT dir pisans if on eee E dete kouti 5 3 GENERAL OPERATION kk ob
2. 64 of the BTR buffer For the possible error codes refer to Table 4 1 below If the E option is not used the processor is not informed of an error and the driver goes to the next Powermeter Note that disabled Powermeters are resuscitated after 3 6 minutes depending on the number of instruments being polled On reconnecting a Powermeter it gets back to the polling mode When the reset R option is used then before entering the next polling loop the driver always checks whether there are any writes pending in the BTW buffer If no data transfer occurs within 2 seconds the driver returns to the polling loop If there is data pending in the BTW buffer then the appropriate command is sent to the addressed Powermeter or Powermeters and driver goes back to the polling loop 4 APPLICATION INFORMATION 4 1 Acquiring Data From the BASIC Module 4 1 1 Data Sets 1 and 2 The driver reads measured values from the Powermeters and transfers them to the PLC processor via the BTR buffer in suitable format There are two versions of the driver available that have different data sets being transmitted to the processor The BTR buffer structures are shown in Appendix A To transfer numbers greater than 65535 or between 0 and 1 a special technique is used When a value range is above 65535 the driver splits the value into two words with the range 0 9999 The number is divided by 10 000 and represented in the next manner the high word contains the int
3. LO 9 14 15 16 kW SIGN 0 means 0 5 184 000 SIGN 1 means 11 PowerFactorA 20 47 10 00 12 PowerFatorB 22 23 SIGN 0 means Power Factorc 4 25 _ SIGN 1 4 Total Active Power 26 27 kw 000040 0 5184 000 LO 100 System Power Factor 28 29 SIGN 0 means 0 1 00 SIGN 1 means Active Energy 30 31 KWh 10000 0 or Ground Leakage 18 Frequency 33 me TO HI 10000 LO SIGN 0 means 0 5 184 000 SIGN 1 means 22 THDofVoltageA 43 23 THDofVotageB 44 24 THDofVoltageC 45 Lono 25 THDofCurntA 46 THD ofCumentB 47 THD ofCurrentC 48 J HI 10000 LO 9 999 000 Reactive Energy SIGN 0 means 99 999 000 SIGN 1 means HI 10000 LO Total Reactive Power SIGN 0 means 4 0 5 184 000 SIGN 1 means p esc Power rie je rmo feo Maximum Demand Power Demand ral al p Demand A bel sal EG Demand B pT Demand E with E option NJO wo N N NIN NJO N 14 APPENDIX CABLE DRAWINGS B 1 RS 232 Cable Configuration Series PM 280 288 270 290 290H 1771 DB BASIC module Powermeter DB9 male connector Series PM 170 Powermeter 1771 DB BASIC module Powermeter DB25 male connector DB
4. data transmission a twisted pair cable should be used for each communication link To minimize reflections and reduce cross talk it is recommended to terminate the ends of lines with the termination resistor of 120 Q as shown in Appendix B 2 1 When lines are routed through electrically noisy environment input protection against switching or lightning induced surge voltages is required in addition to line termination Surge voltages can be generated by switching operations in power substations or can occur as a result of voltage deep fade phase gating controls contactor relay controls etc Transient surge voltage effects may put the BASIC module or PLC out of action and in the worst case lead to destruction of unprotected electronic components A diagram of the input protective circuit is shown in Appendix B 2 2 You can also use complete surge voltage protection units for RS 422 communication available from Phoenix or from other manufacturers of similar protective equipment 3 GENERAL OPERATION 3 1 Interfacing to the BASIC Module The BASIC module interfaces with the PLC processor via the PLC backplane interface Data is transferred through the block transfer read BTR and block transfer write BTW buffers as 16 bit unsigned integers up to 65535 The data to be sent to the BASIC module must be placed in the BTW buffer The size configuration and contents of the BTW buffer are discussed in Section 4 2 The data to be sent to the proc
5. the socket for a 32 Kbyte PROM size by setting a configuration jumper in the BASIC module Refer to the 1771 DB BASIC Module User s Manual for additional information on EPROM location and the jumper pin assignments 2 2 BASIC Module Peripheral Port Configuration The BASIC module peripheral port must be configured for the appropriate baud rate by setting a jumper in the BASIC module You can select the baud rate of 1200 2400 4800 or 9600 baud The baud rate is factory set at 1200 baud Refer to the 1771 DB BASIC Module User s Manual for additional information on the jumper location and pin assignments 2 3 Powermeters Communications Settings The Powermeters should be configured properly to operate with the BASIC module The Powermeters communications settings must be compatible with the BASIC module port interface RS 422 RS 232 and baud rate used The Powermeters communications settings are as follows ASCII 422 or ASCII 232 mode accordingly to the interface you apply e Software handshake e Baud rate 1200 2400 4800 or 9600 accordingly to the baud rate jumper setting e 8 bits no parity The Powermeters communication addresses can be selected from 1 up to the maximum number that the applied version of the driver supports Refer to the Powermeter User s Guide for information on how to set communications parameters in your instruments 2 4 Cable Connections For the cable drawings refer to Appendix B For RS 422 balanced
6. to the improper cable connection or incompatible communications settings made in the instruments The following indications might help you to detect what the problem is related to 1 When the driver requests the instrument the XMTG LED flashes for a short time If the instrument doesn t respond then the XMTG LED flashes three times with a short interval between flashes 2 When the instrument responds the RCVG LED flashes for about 1 2 of a second If the response is OK then there will be an interval for about 4 5 seconds while the driver processes the acquired data until the next request is made 3 If there are no connections in the communication network the XMTG LED will flash continuously by series of three flashes with a short interval between series 11 6 ORDERING INFORMATION The ordering number is formed by a combination of AB 1771 DB DRIVER VERSION X XX R E Data set 1 2 The number of instruments 1 31 Reset option Error reporting option Example order for 16 instruments data set 2 plus reset option AB 1771 DB DRIVER VERSION 2 16 R 12 APPENDIX DATA SETS Table A 1 Data set 1 Field Name BTR buffer word Units Value evaluation Range SIGN formula HE eee uo 2 VotageA 2 3 3 VotageB 4 5 HI 10000 LO 0 999 000 4 VotageC 6 7 5 CurentA f8 a 6 CurntB fo a 0 60000 7 CurentC 4590 a 8 ActivePowerA 11 12 1
7. 25 male connector 15 2 RS 422 Cable Configuration B 2 1 RS 422 Connection Series PM 280 288 270 290 1771 DB BASIC module Powermeters DB9 male connector DB25 male connector DB9 male connector R1 R2 120 Q R3 R4 1 2kQ A termination resistor should only be connected at the furthest end of the cable In RS 422 communication a reference or common line should be used in addition to signal lin for stable operation Connect pin 1 of the instruments with pin 7 on the BASIC module If you use a reference line place pull down resistors R4 on both outputs of the driver to avoi leaving the line floating when the line is idle 16 2 2 RS 422 Connection with Surge Voltage Protection Series PM 280 288 270 290 Powermeters 1771 DB BASIC module DB9 male connector DB25 male connector DB9 male connector Series PM 170 Powermeters TxD DB25 male connector JI gee GND 21 23 25 27 1N4736A Z2 Z4 Z6 Z8 1N4728A R1 R2 120 Q R3 R4 R5 R6 33Q R7 R8 1 2kQ A termination resistor should only be connected at the furthest end of the cable In RS 422 communication a reference or common line should be used in addition to signal lines for stable operation Connect pin 1 of the instruments with 7 on the BASIC module If you don t use a reference line place pull down resistors R7 and R8 on both outputs of the driver to avoid leaving the line floating when th
8. 3 HI 10000 LO 9 ActivePowerB 14 15 16 SIGN Omeans 0 5 184 000 SIGN 1 means 11 PowerFactorA 20 21 LOM100 12 PowerFactorB 22 23 2 SIGN 0 means 3 Power Factorc 4 12 _ SIGN 1 means 4 Total Active Power 26 27 kw 000040 0 5 184 00 LO 100 System Power Factor s fa SIGN 0 means IGI 1 means Active Energy 30 31 kWh 0 99 999 000 e or Ground Leakage mA __ lono 450 60 HI 10000 LO SIGN 0 means 4 0 5 184 000 SIGN 1 means 22 ApparentPowerA 43 44 23 ApparentPowerB 45 46 HI 10000 LO 0 5 184 000 24 47 48 HI 10000 LO 9 999 000 Reactive Energy SIGN 0 means 4 99 999 000 SIGN 1 means eye Total Reactive Power kvar SIGN 0 means 4 0 5 184 000 SIGN 1 means ee p EES mee Power 74 kk ee Maximum Demand A amase eje ki Power Demand EE with E option 13 Table 2 Data set 2 t Field Name BTR buffer word Units Value evaluation Range SIGN formula a ee ae oo LO PA O 2 VotageA 2 3 v 3 VotageB 4 5 HI 10000 LO 0 999 000 L4 6071 Ww ____ ec JAJ LO 0 60 000 PE Crete 8 ActivePowerA 11 12 13 kW HI 10000
9. cate that the communications do not operate properly 1 A non zero error code is received by the processor in word 64 in the BTR buffer when you are using the driver with E option 2 No data transfer occurs when you have the driver without E option A problem might exist for all the Powermeters connected to the BASIC module or for some of them Note that for the disconnected instruments that would be a normal response If you use the driver with the E option to check communications you must have the processor running the ladder program that controls the data transfer If you encounter that the problem exists for all the instruments determine whether one of the following is the cause 1 Make sure that the baud rate for the BASIC module peripheral port is set correctly For information on the jumper setting for the peripheral port refer to Section 2 2 2 Check whether the Powermeters turned on you have the correct cable and it is properly connected to the BASIC module peripheral port and to the Powermeters For the cable drawings refer to Appendix B 3 Make sure all communications settings baud rate data bits parity protocol instrument address are set correctly in the instruments and the baud rate setting conforms to the BASIC module peripheral port baud rate For information about communications settings for the Powermeters refer to Section 2 3 When the problem exists for some of the Powermeters the cause is often related
10. d reactive kvarh energies The command value of 2 will reset the active power maximum demand apparent power maximum demand and all of the ampere maximum demand values The command value of has no action 5 TROUBLESHOOTING This chapter describes common problems you might encounter during installation of the communication driver and offers suggestions for corrective action The processor doesn t interface to the BASIC module The symptom indicating the problem is that the address of the instrument being polled that is located in word 1 in the processor input data file is still unchanged while you are monitoring the file When you are using the driver with the E option the problem may be located in the BASIC module or in the processor If you are using the driver without the E option then the problem may be also related to the improper operation of the communication network Once the driver doesn t transmit data unless it receives a correct response from the Powermeter the processor may not receive data from the BTR buffer when the network doesn t operate properly Note that the BASIC module requires CTS pin 5 on the peripheral port connector to be true before date can be output To satisfy this requirement pin 5 should be connected to pin 4 The BASIC module driver will not interface to the PLC processor if there is no jumper between the peripheral port pins 4 and 5 To ensure that the BASIC module operates properly carry out
11. e line is idle 17
12. eger part of the value in units of 10000 and the low word contains a fractional part of the value up to 9999 When the value is written to the BTR buffer the low order word is written first followed by the high order word To process these types of numbers the number in the high word must be multiplied by 10 000 and added to the number in the low word Example The phase B voltage value of 25 100 V is represented by a combination of word 4 5100 word 5 2 The actual value is 2 10000 5100 25100 When a value is a fractional number it is multiplied by scale factor of 10 or 100 depending on the number of digits in the fractional part To process numbers received in these format they must be divided by scale factor Example The frequency value of 50 1 scaled up by 10 is represented as word 33 501 The actual value is 501 10 50 1 In the case of a negative value the sign is transferred in the additional word following the value as an integer of for the positive sign and of 1 for the negative sign Examples 1 The phase A reactive power of value 130 750 kvar is transferred as word 34 750 word 35 13 word 36 0 The actual value is 13 10000 750 130 750 2 The phase A reactive power of value 130 750 kvar is transferred as word 34 750 word 35 13 word 36 1 The actual value is 13 10000 750 130 750 Total active power is transferred only for positive values In the case of the
13. essor is placed into the BTR buffer There are two user selectable formats of data exchange The structure and contents of these data sets are provided in Appendix A and discussed in Section 4 1 For more information concerning a programming technique when applying BTR and BTW buffers refer to the 1771 DB BASIC Module User s Manual 3 2 Principles of Operation The data transfer between the processor and the BASIC module operates differently when you are using the driver with or without the E option On power up the driver automatically enters a polling loop and continuously polls all the Powermeters listed in the polling list The driver checks the response time message integrity and data value ranges If the Powermeter response is OK then data is placed to the BTR buffer and the request to the processor for a data transfer is issued When the E option is used the driver waits until a block transfer occurs After the processor has read data from the BTR buffer the driver goes to the next Powermeter In the driver without the E option if no data transfer occurs within 2 seconds the driver goes to the next Powermeter When the driver fails to receive an acceptable response for a certain Powermeter it retries twice If the driver has failed to get any response from the Powermeter then it considers the Powermeter dead and disables it If the E option is used then the processor is informed of the error by a non zero error code in word
14. ka kt a kk kb kk kk ki 7 3 1 Interfacing to the BASIC MOUUIB 7 kan kk kk jn kk ay na l a e a ke ja a 7 4 APPLICATION INFORMATION 4 0 0 0 8 4 1 Acquiring Data From the BASIC Module 8 41 1 Data Sets 1 aNd 2 asics EE Uk ielo 8 4 1 2 Error RODIO E EE ao 9 4 2 Writing Data to the BASIC Module 9 5 TROUBLESHOOTING kaa ok po aina ka EGO Ruka adinin 10 6 ORDERING INFORMATION beke saasina 12 APPENDIX DATA SETS 13 APPENDIX CABLE DRAWINGS 15 B 1 RS 232 Cable Configuration iicsicccticecccascenssiccesaieseinssstanstontaatiacaacasasncasioeds 15 RS 422 Cable za Sad 16 B 2 1 Aks 16 B 2 2 RS 422 Connection with Surge Voltage Protection 17 1 ABOUT THE COMMUNICATION DRIVER The driver provides data exchange between the PLC 2 PLC 3 and PLC 5 programmable controllers and SATEC Powermeters via the 1771 DB BASIC module The EPROM firmware versions can be supplied for to 31 instruments Two data sets are available upon order For available data sets refer to Appendix A Two additional options are available upon order The first is com
15. munication error reporting to the PLC processor the option is refered to as the E option The second is resetting accumulated energies and demands in the connected Powermeters that can be made from the PLC processor this option is refered to as the R option The driver supports all the models of SATEC Powermeters although some of parameters might not be relevant to some of models and in this case will be transmitted as zeroes The time required for polling one instrument and processing the acquired data until the data transfer to the PLC processor occurs is 4 to 5 seconds depending on the model of the instrument being polled The instruments are connected to the BASIC module peripheral port that can be used for RS 422 or RS 232 communication When using RS 232 interface only one Powermeter may be connected to the BASIC module With RS 422 communications up to 31 instruments can be connected to the BASIC module in multidrop mode The peripheral port baud rate can be configured from 1200 to 9600 baud by setting configuration jumper in the BASIC module 2 INSTALLATION 2 1 EPROM Installation The SATEC communication driver is supplied in 32 Kbyte EPROM memory modules The version of the driver is marked on the EPROM label by a combination of X XX R E Data set 1 2 The number of instruments 1 31 Reset option Error reporting option ke Before installing the EPROM in the memory module socket configure
16. negative total power the value will be zeroed 4 1 2 Error Reporting When the E option is used the status of the instrument being polled is always reported in word 64 of the BTR buffer When reading the BTR buffer the processor should check this word before applying data The value of 0 shows the data in the BTR buffer is OK When the BASIC module fails to receive data from the instrument a non zero error code is written to word 64 accompanied by the instrument address in word 1 All other words will be zeroes The possible error code values are shown in Table 4 1 Table 4 1 Error Codes Error code word 64 e Noerrorsfound 0 The instrument doesn t respond Check error framing or check field error is detected 4 2 Writing Data to the BASIC Module When the R option is used the driver allows the processor to reset accumulated energies and demands in the selected Powermeter or synchronously in all Powermeters on line if this function is supported by the instruments The processor request is transmitted to the BASIC module via the BTW buffer The BTW buffer structure is shown in Table 42 Table 4 2 BTW buffer structure word Instrument address O all the instruments 2 Command 2 1 2 1 Reset accumulated energies 2 Reset maximum demands The instrument address value of 0 will apply to all the instruments connected to the BASIC module The command value of 1 will result in resetting the active kWh returned kWh an
17. the following procedure 1 Switch the power supply off 2 Unplug the network connector from the BASIC module peripheral port 3 Jumper the peripheral port pins 4 and 5 4 Turn power on If on power up LED XMTG located on the front panel of the BASIC module doesn t flash it could be for one of the following reasons 1 Incorrect setting for the user PROM size jumper 2 Improper EPROM installation For information on the jumper setting for the PROM size jumper see Section 2 1 For additional information on EPROM location and jumper pin assignments refer to the 1771 DB BASIC Module User s Manual If on power up LED XMTG flashes three times with short intervals for about 1 2 of a second between flashes what means that the driver requests the instrument then the BASIC module operates properly Then use the following guidelines to solve the problem If you are using the driver without the E option then you should attach the communication connector to the BASIC module peripheral port On how to check whether the communication network operates properly refer to the next paragraph If you still have a problem determine whether one of the following is the cause 10 1 Check whether the processor is in RUN mode 2 Make sure the I O configuration settings for the BASIC module slot are correct 3 Check whether your ladder program is correct The BASIC module doesn t interface to the instruments The following symptoms indi
Download Pdf Manuals
Related Search
Related Contents
TellerScan 4120 - Digital Check Corporation Manuel de référence Bestellungen und Lieferungen verwalten - e-Shop LevelOne 3-Slot Gigabit Modular L2 Managed Switch HP Z 620 DICENTIS - Bosch Security Systems à turckheim Etiquetage Electronique de Gondole Pricer TLX Installation Manual Copyright © All rights reserved.
Failed to retrieve file