Рук_п_Имп-4 (1031891), страница 20
Текст из файла (страница 20)
TheEngineering Units format is readily parsed by the majority of computerlanguages as the total data string length is fixed at six characters: twodecimal digits, a decimal point and three decimal digits. The resolutionis 5 µA.Example:Channel 1 of the analog output module in slot 0 of an ADAM-5000system at address 01h is configured for a 0 to 20 mA range. If theoutput value +4.762 mA is desired, the format of the Analog Data Outcommand would be #01S0C14.762<cr>B.5Analog Output RangesRange Output Range Data Formats Maximum Minimum DisplayedCode DescriptionSpecified Specified Resolution(hex)SignalSignal30h31h32hB-80 to 20 mA4 to 20 mA0 to 10 VEngineeringUnits20.00000.0005 µA% of Span+100.00+000.005 µAHexadecimalBinaryFFF0005 µAEngineeringUnits20.00004.0005 µA% of Span+100.00+000.005 µAHexadecimalBinaryFFF0005 µAEngineeringUnits10.00000.0002.442 mV% of Span+100.00+000.002.442 mVHexadecimalBinaryFFF0002.442 mVADAM-5000Appendix BB.6ADAM-5013 RTD Input Format and RangesInput RangeDescription20h100 OhmsEngineering +100.00PlatinumUnitsRTD -100 to100° Ca=0.00385-100.00+-0.1° C21h100 OhmsPlatinumRTD 0 to100° Ca=0.00385Engineering +100.00Units+000.00+-0.1° C22h100 OhmsPlatinumRTD 0 to200° Ca=0.00385Engineering +200.00Units+000.00+-0.2° C23h100 OhmsPlatinumRTD 0 to600° Ca=0.00385Engineering +600.00Units+000.00+-0.6° C24h100 OhmsEngineering +100.00PlatinumUnitsRTD -100 to100° Ca=0.00392-100.00+-0.1° C25h100 OhmsPlatinumRTD 0 to100° Ca=0.00392Engineering +100.00Units+000.00+-0.1° C26h100 OhmsPlatinumRTD 0 to200° Ca=0.00392Engineering +200.00Units+000.00+-0.2° C27h100 OhmsPlatinumRTD 0 to600° Ca=0.00392Engineering +600.00Units+000.00±0.6° C28h120 OhmsNickel RTD-80 to100° CEngineering +100.00Units-80.00±0.1° C29h120 OhmsNickel RTD0 to 100° CEngineering +100.00Units+000.00±0.1° CADAM-5000DataFormatsMaximum Minimum DisplayedSpecified Specified ResolutionSignalSignalRangeCode (hex)B-9Data Formats and I/O RangesB-10ADAM-5000CRS-485 NetworkRS-485 NetworkEIA RS-485 is the industry’s most widely used bidirectional, balancedtransmission line standard.
It is specifically developed for industrialmulti-drop systems that should be able to transmit and receive data athigh rates or over long distances.The specifications of the EIA RS-485 protocol are as follows:• Maximum line length per segment: 1200 meters (4000 feet)• Throughput of 10 Mbaud and beyond -Differential transmission(balanced lines) with high resistance against noise• Maximum 32 nodes per segment• Bi-directional master-slave communication over a single set oftwisted-pair cables• Parallel connected nodes, true multi-dropADAM-5000 systems are fully isolated and use just a single set oftwisted pair wires to send and receive! Since the nodes are connectedin parallel they can be freely disconnected from the host withoutaffecting the functioning of the remaining nodes. An industry standard, shielded twisted pair is preferable due to the high noise ratio ofthe environment.When nodes communicate through the network, no sending conflictscan occur since a simple command/response sequence is used.
Thereis always one initiator (with no address) and many slaves (withaddresses). In this case, the master is a personal computer that isconnected with its serial, RS-232, port to an ADAM RS-232/RS-485converter. The slaves are the ADAM-5000 systems. When systems arenot transmitting data, they are in listen mode. The host computerinitiates a command/response sequence with one of the systems.Commands normally contain the address of the module the host wantsto communicate with. The system with the matching address carriesout the command and sends its response to the host.C-2ADAM-5000Appendix CC.1Basic Network LayoutMulti-drop RS-485 implies that there are two main wires in a segment.The connected systems tap from these two lines with so called dropcables.
Thus all connections are parallel and connecting or disconnecting of a node doesn’t affect the network as a whole. SinceADAM-5000 systems use the RS-485 standard and an ASCII-basedcommands set, they can connect and communicate with all ASCIIbased computers and terminals. The basic layouts that can be used foran RS-485 network are:DaisychainThe last module of a segment is a repeater. It is directly connected tothe main-wires thereby ending the first segment and starting the nextsegment. Up to 32 addressable systems can be daisychained .
Thislimitation is a physical one. When using more systems per segment theIC driver current rapidly decreases, causing communication errors. Intotal, the network can hold up to 256 addressable systems. Thelimitation on this number is the two-character hexadecimal addresscode that can address 256 combinations. The ADAM converter,ADAM repeaters and the host computer are non addressable unitsand therefore are not included in these numbers.Setgment 1Setgment 2CoverterRepeaterRS232/RS4851RS-485RS-23212N1Figure C-1 DaisychainingADAM-5000C-3RS-485 NetworkStar LayoutIn this scheme the repeaters are connected to drop-down cables fromthe main wires of the first segment.
A tree structure is the result. Thisscheme is not recommended when using long lines since it will cause aserious amount of signal distortion due to signal reflections in severalline-endings.Figure C-2 Star structureC-4ADAM-5000Appendix CRandomThis is a combination of daisychain and hierarchical structure.Figure C-3 Random structureADAM-5000C-5RS-485 NetworkCombination of an ADAM-4000 and an ADAM-5000 in aRS-485 NetworkThe following figure shows how to integrate ADAM-4000 andADAM-5000 systems in a network.Figure C-4 ADAM-4000 and ADAM-5000 in a networkNote:C.2The speed of ADAM-4000 and ADAM-5000 in a RS485 network should be the same.Line TerminationEach discontinuity in impedance causes reflections and distortion.When a impedance discontinuity occurs in the transmission line theimmediate effect is signal reflection.
This will lead to signal distortion.Specially at line ends this mismatch causes problems. To eliminate thisdiscontinuity, terminate the line with a resistor.C-6ADAM-5000Appendix CFigure C-5 Signal distortionThe value of the resistor should be a close as possible to the characteristic impedance of the line. Although receiver devices add someresistance to the whole of the transmission line, normally it is sufficientto the resistor impedance should equal the characteristic impedance ofthe line.Example:Each input of the receivers has a nominal input impedance of 18 kΩfeeding into a diode transistor- resistor biasing network that isequivalent to an 18 kΩ input resistor tied to a common mode voltage of2.4 V.
It is this configuration which provides the large common range ofthe receiver required for RS-485 systems! (See Figure C-6 below).ADAM-5000C-7RS-485 NetworkFigure C-6 Termination resistor locationsBecause each input is biased to 2.4 V, the nominal common modevoltage of balanced RS-485 systems, the 18 kΩ on the input can betaken as being in series across the input of each individual receiver.If thirty of these receivers are put closely together at the end of thetransmission line, they will tend to react as thirty 36kΩ resistors inparallel with the termination resistor. The overall effective resistancewill need to be close to the characteristics of the line. The effectiveparallel receiver resistance RP will therefore be equal to:RP = 36 x 103/30 = 1200 ΩWhile the termination receptor RT will equal:RT = RO / [1 - RO/RP]Thus for a line with a characteristic impedance of 100 Ω resistorRT = 100/[1 - 100/1200] = 110 ΩSince this value lies within 10% of the line characteristic impedance.Thus as already stated above the line termination resistor RT willnormally equal the characteristic impedance Zo.C-8ADAM-5000Appendix CThe star connection causes a multitude of these discontinuities sincethere are several transmission lines and is therefore not recommend.Note:C.3The recommend method wiring method, that causesa minimum amount of reflection, is daisy chainingwhere all receivers tapped from one transmission lineneeds only to be terminated twice.RS-485 Data Flow ControlThe RS-485 standard uses a single pair of wires to send and receivedata.














