Home

USER MANUAL for "RS 485" OUTPUT of MX48 and MX52

image

Contents

1. parking mode level 0 parking mode level 1 parking mode level 2 parking mode level 3 reserved for parking mode 24 C V x dip statuses of the facilities on the analogue card C V x blink statuses of the flashing leds Vill WIRING OF THE RS 232 OUTPUT Connector located at the rear of the MX48 and MX52 unit on the micro circuit Pin No I Br XD R832 Li RXD R3535 LinkRS232 GND R S232 OO NTU We If you wish to use the RS485 link the male DB9 plug connector must be connected to the female DB9 connector internal strap between 3 and 4 PIN LAYOUT FOR THE RS 232 SERIAL LINK CONNECTOR 25 IX WIRING OF THE RS 485 OUTPUT Connector located at the rear of the MX48 and MX52 unit on the micro circuit gt Remote receipt GND 1 2 E 485 A T R 4 Pasi output 485 0 T R 5 1 shielded or unshielded CONNECTION TO THE CONNECTOR LOCATED AT THE REAR OF THE MX52 26 FT SAV_ INSTRUCTIONS SAV com100 CONNECTIONS INSTALLATION R vision A COM1000 MX 48 52 CARD NI National Instrument INSTALLATION Win 95 98 Win NT Put the floppy supply with card NI Put the floppy supply with card NI Throw setup exe Throw setup exe Answer yes to different question Answer yes to different questions For the card will install on coms and com6 For the card will install on com5 and com6 Stop PC and insert the floppy card NI in a
2. value of the the Ist word of words lof bytes Ist word l byte 1byte 2 bytes 2 bytes lbyte 2 bytes RESPONSE number of number the Ist word of words 2 bytes 1 byte 1 byte 2 bytes 2 bytes 2 bytes Example writing the values 1 and 2 into words W16 and W17 of slave 11 Question el 0010 0002 0001 0002 CRCI6 Response ei 0010 0002 CRCI6 Exception responses An exception response 1s returned by a slave when the latter cannot execute the request addressed to it Error message In the case of wrong transmission a data error or a processing problem the unit can return two types of messages Checksum error the checksum received by the unit is wrong Function error the arguments received by the unit are wrong non existent function attempt to write to an area reserved for reading only etc gt Response from the slave in respect of unknown function code Slave No XxX OI CRC16 function code 80H gt Response from the slave in respect of incorrect address Slave No XxX 02 CRC16 function code 80H gt Response from the slave in respect of incorrect data item Slave No XX 03 CRC16 function code 80H Format of an exception response Slave response error CRC16 No code code 1 byte 1 byte 1 byte 1 byte 17 V COMPUTATION of the CRC16 The CRC16 is computed on all the bytes of the message by applying the following method initialize the CRC 16 bit register to H FFFF do from
3. OLDHAM GAS OLDHAM GmbH Switzerland DETECTION Ltd WINTER UK Deutschland amp 41 26 652 51 18 amp 44 0 1782 20 8020 amp 49 231 924 10 41 26 652 51 19 44 0 1782 20 8228 C 49 231 924 125 info oldham ch sales oldham biz info winter gaswarn de
4. as quickly as possible Quality OLDHAM undertakes to provide you with products and services of a quality that meets your requirements in accordance with the specifications of ISO 9001 and ATEX standards Reliability and inspections OLDHAM undertakes to supply you with reliable equipment The quality of our production is essential to achieve reliability Quality is ensured by extremely strict verifications carried out as soon as raw materials are received during production and at the end of manufacture all shipped equipment is configured to meet your requirements Start up OLDHAM undertakes that our expert technicians will start up your equipment if you so wish This gives you the guarantee of additional safety B Training OLDHAM undertakes to provide the users ofits products with a complete training service a number of engineers specialized as instructors conference rooms equipment available for practical exercises computer equipment display equipment etc a Maintenance contract OLDHAM undertakes to offer you open ended maintenance contracts according to your needs so as to give you the guarantee of complete safety e one or more visits a year comprehensive or partial warranty e renewal by tacit agreement e including the adjustment of measuring units the calibration of equipment and the verification of servo control systems Field servicing OLDHAM undertakes to send out its After Sales Service technicians quickly for s
5. slot PCI Stop PC and insert the floppy card NI in a slot PCI Take off PC Take off PC In program detail National Instrument serial throw NI In program detail National Instrument serial throw diagnostic The result has to be PASS NI diagnostic The result has to be PASS In program parameter configuration system In program parameter NI communication of port peripheral of management port COM LPT COMS settings to put 2 wires TXRX auto rdy communication port COMS property parameter put control of no flood None in detail hold out to put 2 wires TXRX auto rdy CONNECTIONS COMPUTER ENVIRENNENT NECESSARY CHARACTERISTIC OF THE SERIES CONNECTION PC gt Measurement of central Computer IBM PC or compatible PC capable to hold up WINDOWS NT Win 95 and upper 400 MHZ 120 MO of RAM Cable armoured 2 or 3 potential memory 300 wires Fit out of a graphics scream the minimum configuration 800x600 pixels in 256 colours 17 Wires twist 6 10 pouces e Fit out of a card RS485 2 ports PCI 4852 of Maximum length National Instruments me e 1 resistance 120 ohms 1 4 W line of ending to connect up on the connective of Port 5 of the card PCI and on the connective RS485 last MX 48 52 ORDINATEUR PG IMPRIMANTE National Instrument 2voies Connect up a sheet SUBD9 a shunt between 3 and 4 on the connective go out RS232 Disconnect the sheet provide of shut In case of utilis
6. the MX48 and MX52 units Reading of N bits function 1 or 2 not used Reading of N words function 3 or 4 QUESTION Slave 3 or 4 No of ji word number of words CRCI6 No PF Pf PF Pf 1 byte 1 byte 2 bytes 2 bytes 2 bytes 13 RESPONSE Slave 3 or 4 Number value of the 1st word No of bytes read PF Pf 1 byte 1 byte 1 byte 2 bytes CRC 16 last word value PF Pf 2 bytes 2 bytes Example reading words w20 to w24 of slave 6 question 06 04 14 05 CRC 16 response 02 OI OA XXX CRC 16 value of value W20 i a of W 24 Writing of an output bit function 5 QUESTION Slave 5 bit No bit value CRC 16 No Pf Pf The bit Value 1 bit at O 0000 bit at 1 FFOO REPONSE Slave 5 bit No bit value CRC 16 No PF Pf 1 byte l byte 2 bytes 2 bytes 2 bytes Example writing the value 1 into bit B3 of slave 2 question FFOO CRC 16 Response FFOO CRC 16 Writing an output word function 6 QUESTION word value RESPONSE word value PF Pf l byte lbyte 2 bytes 2 bytes 2 bytes Example writing the value 3A15 into word W12 of slave 5 owon LAN LA Li RES EL ES eepose 0 oe Joe sas erie Reading the exception status function 7 not used Reading the events counter function 11 not used Reading the log on events function 12 not used Writing N output bits function 15 not used Writing N output words function 16 QUESTION number of number
7. Em USER MANUAL En for RS 485 OUTPUT of MX48 and MX52 DETECTION UNITS under the MODBUS JBUS PROTOCOL COMPUTER PRINTER COMPUTER INTERFACE COMPUTER INTERFACE S OLDHAM Ka gab tio DETECTION GAZ MESURE A L EMISSION ISO 9001 fran aise GAS DETECTION STACK GAS MONITORING OLDHAM SA GAS AND FLAME DETECTION STACK GAS AND DUST MONITORING We thank you for choosing an OLDHAM SA instrument We have taken every step to ensure that this equipment continues to give you complete satisfaction Please read the instruction manual carefully before using the instrument OLDHAM DETECTION GAZ MESURE A L EMISSION GAS DETECTION STACK GAS MONITORING LIMITS OF RESPONSIBILITY OLDHAM SA hereby rejects any and all responsibility with regard to any person for material damage bodily injury or death resulting in whole or in part from the inappropriate use installation or storage of its equipment not conforming to the instructions and to warnings and or not conforming to standards and regulations in force OLDHAM SA does not allow or authorize any company person or legal entity to assume such responsibility on the part of OLDHAM SA even if involved in the sale of the products of OLDHAM SA OLDHAM SA shall not be liable for any direct or indirect damage or any direct or indirect legally awarded damages resulting from the sale and use of any of its products UNLESS THOSE PRODUCTS WERE SPECIFIED AND CHOSEN BY OLDHA
8. M SA FOR THE USE MADE OF THEM OWNERSHIP CLAUSES Sketches drawings specifications and data included herein contain confidential information which is the property of OLDHAM SA These information shall not be in part or in whole physically electronically or in any other form whatsoever reproduced copied divulged translated used as a basis for the manufacture or sale of OLDHAM SA equipment or used for any other reason without the prior approval of OLDHAM SA WARNINGS This document is not a contractually binding document OLDHAM SA reserves the right to make any changes without notice to the technical characteristics of its equipment in order to improve performance levels in the interest of its customers CAREFULLY READ THE INSTRUCTIONS BEFORE ALL FIRST USE This instruction manual must be read by any person who is or will be responsible for the use maintenance or repair of this equipment This equipment will conform with the specified performance levels only if it is used maintained and repaired in accordance with the directives of OLDHAM SA and by OLDHAM SA personnel or personnel authorized by OLDHAM SA CONTENTS INTRODUCTION nus a ia iai iia lan d 6 I THE MODBUS PRO FOG OD a anni nommant 7 1 DEFINITION OF A PROTOCOLE sn Ed tek Le waa are ed ee 7 1 1 ERP TEA MAPS STE sols En tbe mis elena ena tetes ton Ant ERA ET F 2 OUTLINE OF THE MODBUS PROTOCOL ccccscccecceccescceccesccsceeccesceusces
9. ation COMS2 OLDHAM s engage OLDHAM undertakes Parce que la s curit dessyhommes et la protection de l environnement sont notre priorit OLDHAM s engage et d finit ses normes qualit Because safety for personneland protection of the environment are our priorities OLDHAM gives the following undertakings and defines its quality standards Les Plus OLDHAM s engage au travers de son personnel qualifi r pondre rapidement et efficacement a vos besoins de conseil de suivi de commande et ce partout dans le monde OLDHAM s engage r pondre dans les plus brefs d lais toutes questions d ordre technique Qualit OLDHAM s engage a vous assurer une qualit de produits et de services ala hauteur de vos exigences conform ment au cahier des charges de la norme ISO 9001 et ATEX Fiabilit amp Contr les OLDHAM s engage vous fournir un mat riel fiable La qualit de notre production est une condition essentielle cette fiabilit Elle est garantie gr ce des v rifications tr s strictes r alis es d s l arriv e des mati res premi res en cours et en fin de fabrication tout mat riel exp di est configur selon vos besoins Mise en service OLDHAM s engage si vous le d sirez la mise en service de votre mat riel par nos techniciens sp cialis s Un gage de s curit suppl mentaire Formation OLDHAM s engage faire disposer aux utilisateurs de ses produ
10. broadcasting The master manages the exchanges on its initiative alone This master repeats the question when the exchange is erroneous and decrees is the interrogated slave that is absent if there is no response within a given time There can only be one item of equipment transmitting over the line No slave can send a message without permission slave 1 slave 2 slave X The basics of master slave dialogue can be schematized in the form of a succession of point to point links The master manages the position of a fictitious switch which may be likened to the No of the destination selected SLAVES Any sideways communication slave to slave can exist only if the master s application software was designed to receive data and resent them from one slave to another 3 Basics of Modbus exchanges The Modbus protocol makes it possible to exchange data bits and words between a master and slaves and checks the exchanges Accordingly bit areas and word areas are defined in each slave entity and will be read or written by the master The Modbus protocol being defined a Modbus address must be associated with each object bit or word for access thereto e An input object can only be read e An output object can be read and written 10 ll PROTOCOL MANAGEMENT 1 Images of the Modbus objects 1 1 Definition The protocol defines four types of accessible objects e input bits e output bits e input word
11. ceusces 9 le s F SI ERs Serie NE OEE ETE Ae Tne SSPE OEE es eT Te I OT 9 3 BASICS OF MODBUS EXCHANGES ccsccssccecccsccscccceuccesccuccesscescesseccusceuseens 10 I PROTOCOL MANAGEMENT cccccssccsssccscsccscccccscccccccscsccsccccees 11 1 IMAGES OF THE MODBUS OBJECTS c cceccsscceccesccsceuccesccuscesscesceussesscusceueeens 11 obs PICTON EDA RNS OCOD MS CR Ghia nll AR de de alu Loy 11 2 MASTER SLAVE EXCHANGES oi cubist dedi RE ttes tes dias Use ne 11 D DUO RS Re a dt id as ste 11 3 DETAILS OF THE FUNCTIONS SUPPORTED BY THE MX 48 AND MX 52 UNITS 12 HI JBUS AND MODBUS FUNCTIONS sscsssssssssscssssssscccssssceeeooees 13 IV DETAILS OF THE FRAMES USED BY THE MX48 AND MX52 UNEIS noie is een iris aeii sass 13 V COMPUTATION OF THE CRC 18 VI CENTRAL STRUC TUR Eisssessessesasscccassscccssencsctesanseussesenasceseisaqseusssceserees 18 VIL CHANNEL STRUCTURE vosssaicssscseasescccatsccsacosseeaiconedsssuasevonsessaspacates 21 VII WIRING OF THE RS 232 OUTPUT 0 ccsssssscrrcssssssscccorecees 25 IX WIRING OF THE RS 485 OUTPUT sssssssssssrsccssssscccsssccceeooees 26 INTRODUCTION OLDHAM s type MX48 and MXS52 detection units can be connected to an RS 485 network The protocol employed is Jbus Modbus This protocol comprises multiple instructions but the MX48 and MX52 units utilize only some of them The units operate as slaves and they respond to requests i
12. ervicing on your site This is made possible by the efficient network of our branches throughout France and other countries E Factory repairs OLDHAM gives the undertaking that any problem that cannot be solved in the field will be dealt with by the return of the equipment concerned to our factory Teams of specialized technicians are on hand to ensure the immediate repair of your equipment in the shortest possible time so keeping downtimes for your equipment to a minimum For any specific technical question please contact our After Sales Service M Miguel RIESGUO 00 33 3 21 60 80 80 OLDHAM DETECTION GAZ MESURE A L EMISSION GAS DETECTION STACK GAS MONITORING Usine et si ge social Z I Est rue Orfila B P 417 62027 ARRAS Cedex FRANCE Plant and head office Z I Est rue Orfila B P 417 62027 ARRAS Cedex FRANCE AUDACE 03 A 135 600 T l 03 21 60 80 80 Fax 03 21 60 80 00 E mail information oldham fr OLDHAM BELGIUM Belgium amp 33 03 21 60 81 20 33 03 21 60 81 02 oldham belgium oldham fr OLDHAM DO BRASIL Brasil amp 55 11 50 34 03 12 55 11 50 34 12 80 oldham brasil uol com br OLDHAM CS esk Republica 42 02627 6476 X 42 0222 728296 oldham telecom cz www oldham fr OLDHAM ROMANIA Romania amp 40 21 222 4846 40 21 222 5037 eduard docolin fx ro T l 33 3 21 60 80 80 Fax 33 3 21 60 80 00 E mail export department oldham fr OLDHAM CH
13. ing of N input bits code 02 function not used Reading of N output words code 03 this function makes it possible to read output words words which can be read or written defined in the memory of a slave Reading of N input words code 04 this function identical to the above possesses the same limits and is addressed at input words words which the master can only read Writing of an output bit code 05 this function makes it possible to set an output bit to 0 or 1 those bits which are write accessible only defined in the memory of a slave Writing of an output word code 06 this function writes a 16 bit output word those which are write accessible only defined in the memory of a slave Writing of N output bits code 15 this function is not used Writing of N output words code 16 this function allows the master to write output words words which can be read or written to the memory of a slave 12 lll Jous and Modbus FUNCTIONS Certain functions used by Jbus and by Modbus are common while others show differences OLDHAM s type MX 48 and MX 52 detection units use functions which are common to Jbus and Modbus The MX 48 and MX 52 units transmit messages in RTU mode The transmission parameters are e No parity e 8 data bits e 1 stop bit e rate selectable at the unit 1200 2400 4800 9600 19200 baud e slave No selectable at the unit IV Details of the FRAMES used by
14. its d un service de formation complet plusieurs ing nieurs p dagogues salle de conf rences mat riels disponibles pour les manipulations mat riel informatique et de visualisation etc A Contrat d entretien OLDHAM s engage vous proposer des contrats d entretien volutifs au regard de vos besoins pour vous garantir une parfaite s curit une ou plusieurs visites par an garantie totale ou partielle e renouvelable par tacite reconduction e incluant le r glage des centrales de mesure l talonnage des appareils et le contr le des asservissements D pannage sur site OLDHAM s engage faire intervenir ses techniciens du Service Apr s Vente rapidement Ceci est possible gr ce la r partition judicieuse de nos agences en France et de nos agents l tranger El D pannage en usine OLDHAM s engage traiter tout probl me qui ne pourrait tre r solu sur site par le renvoi du mat riel en usine Des quipes de techniciens sp cialis s seront mobilis es pour r parer votre mat riel dans les plus brefs d lais limitant ainsi au maximum la p riode d immobilisation Pour toute intervention du Service Apr s Vente en France un num ro Indigo a t mis en place le o 825 842 843 Strong points Through its qualified personnel OLDHAM undertakes to respond to your needs for advice and order follow up services wherever in the worid you may be OLDHAM undertakes to answer all your technical questions
15. on of printout characters mode generation of display characters mode statuses of flashing Leds C pstatus status of the peripherals immediate to the unit status of the WD line status of the DIR line of the RS 485 buzzer of the unit buzzer defered common fault relay common relay 3 C update update request word update the display update the average measurements update the I2C facilities auto poling of the channel on display update the immediate peripherals conversion terminated restart the measurements set flashing update the alarms the Jbus has written to memory C key status of the keypad Adr Jbus 4BXX READ mode only no event test enter key programming key calibration key plus key right minus key left plus and minus key receipt key 20 Vil CHANNEL STRUCTURE Remark The size of the CHANNEL structure must necessarily be even otherwise the Jbus addressing functions would pose a problem CHANNEL READ and WRITE AREA address meaning S1XX see below for definition of C V x rprog 21 CHANNEL READ ONLY AREA see below for definition of C V X gstatus see below for definition of C V X astatus see below for definition of C V X rstatus currently active range instantaneous measurement average measurement see below for definition of C V X di
16. p flashing of the leds ditto C V X dip channel on off monitoring monitoring of the alarm steps monitoring of the fault steps monitoring of the fault steps monitoring of the relay steps monitoring of the buzzer defer steps C VIx gprog general programming bits of a channel 0200 fire sensor 4 20 mA special 8000 the channel is programmed to be on 22 C V x rprog programming bits for the relays of a channel relay 1 positive safety relay 2 positive safety relay 1 set to 0 relay 1 set to 1 relay 2 set to 0 relay 2 set to 1 relay 3 set to 0 relay 3 set to 1 fault relay set to 0 fault relay set to 1 C V x gstatus overall status of a channel 0080 channel in high fault 0400 channel in alarm 3 8000 the channel is ready 23 C VIx astatus status bits of the fault alarms low fault threshold reached low fault reached high fault threshold reached high fault active alarm threshold reached alarm active alarm 2 threshold reached alarm 2 active alarm 3 threshold reached alarm 3 active autocalibration threshold reached autocalibration threshold active C VIx Status intermediate status bits for the relays common fault relay relay 1 relay 2 common relay 3 buzzer buzzer defered
17. s e output words Any slave attached to a Modbus line defines a number of objects for each type Within the same entity all the objects are labelled by consecutive addresses Bit objects The Modbus address of the first bit configured must necessarily correspond to the bit of rank 0 of an internal word The other bits are consecutive with the first Word objects All the word objects are located in the internal word area of the controller 2 Master slave exchanges 2 1 Basics The exchanges are under the initiative of the master or supervisory module This master will address a slave by providing it with four types of information e Address of the slave e Function requested of the slave e Data area variable depending on the request e Exchange check The master of the link waits for the slave s response before sending the next message thus avoiding any conflicts on the line Hence this allows half duplex operation Checking the exchanges Any management of the exchanges between two entities talking via an asynchronous serial link obviously includes exception responses when exchange faults have appeared Various inconsistent messages may arrive at the slave In this case the latter informs the master of his non comprehension and the latter may or may not decide to repeat the exchange 3 Details of the functions supported by the MX 48 and MX 52 units Reading of N output bits code 01 function not used Read
18. ss request Data LRC End CRLF LRC Longitudinal redundancy check CR Carriage return LF Line feed Jbus PROTOCOL The Jbus protocol uses functions identical to those of Modbus so that these common functions enable Modbus equipment to communicate with Jbus equipment In the MX 48 and MX 52 units the address of the words in BITS is as follows BIT addressing function 05 ee 1 Channel No Address of the word BIT Address of the word see tables Addressing of the words SERIAL addressing makes it possible to read consecutive data from one channel Ist nibble 2nd nibble 0000 4th nibble see addresses me address in CHANNEL Structures PARALLEL addressing makes it possible to read the same data item on several channels Ist nibble 2nd nibble 0001 4thnibble Channel addressing See address in CHANNEL structures 2 OUTLINE of the Modbus protocol 2 1 BASICS The Modbus protocol is a dialogue protocol which creates a hierarchical structure a master and several slaves The Modbus protocol makes it possible to interrogate one or more intelligent slaves from the master A multipoint link interconnects the master and slaves Two types of dialogue are possible between master and slaves The master speaks to a slave and waits for his response The master speaks to all the slaves without waiting for a response the principle of general
19. ssued by one master connected up to the same network IMPORTANT Refer to the manual D 813 580 to find all the instructions required for wing the MX52 controller l THE Modbus PROTOCOL 1 Definition of a protocol 1 1 General features The exchange of data between computer systems programmable controllers and other intelligent systems must be done in the simplest possible common language understood by each party Nevertheless it must be possible to check each exchange so as to ensure the integrity of the transfers The variables exchanged are then inserted into a frame which is generally made up as follows Header Address Request Data Check End Each protocol defines the presence format and contents of the various groups of variables surrounding the data area This structure makes it possible to define the start of messages their size possibly the system to which the data are addressed the type of function requested the variables themselves a check parameter and an end code validating the complete message This frame differs in its contents and form for each type of protocol Modbus Jbus FRAME In RTU mode the frame defined for the Modbus protocol contains neither a header byte nor an end of message byte It is defined as follows Address Request Data CRC 16 CRC 16 Cyclic redundancy check In ASCII mode the frame is complete and is defined as follows Header Addre
20. the first to the last byte of the message CRC XOR lt byte gt gt CRC do 8 times shift the CRC by one bit to the right if the bit 1 do CRC XOR H A001 gt CRC Do end The CRC obtained will be transmitted low order bit first followed by high order bit XOR exclusive OR VI CENTRAL STRUCTURE READ and WRITE AREA of the UNIT Meaning see below for definition of C gProg pointer to the language used gt response time of the unit RL1 and RL2 shutdown time parking READ ONLY AREA of the UNIT see below for definition of C gstatus see below for definition of C pstatus see below for definition of C update see below for definition of C key currently displayed channel channel being measured number of measurements being made aggregate of measurements in progress monitor keyboard activity monitor timed display flashing used by the character generator position of the printout character version of the software C gprog the unit s general programming word defer no audible alarm buzzer connected or not buzzer continuous intermittent C gstatus overal status of the unit manual or automatic poling mode t l loading central programming mode goes into programming mode unit in autotest mode flashing status of the display display in timed flashing mode do not update the display of measurements no automatic poling generati

Download Pdf Manuals

image

Related Search

Related Contents

Microsoft Office Word - Security User Manual 2003_2_19  Philips Entertainment Tablet PI3000L2  Mode d`emploi - Accueil du site photo de r2lorme  Betriebsanleitung Personenwaagen mit BMI-Funktion  Operating Instruction Manual Loctite® High Force Pneumatic  Samsung 삼성 스마트카메라  取扱説明書  GBH 36 V-LI Compact  Eléa II - Leroy Merlin  Wireless Desktop Mouse User Manual Product Features  

Copyright © All rights reserved.
Failed to retrieve file