Рук_п_Имп-4 (1031891), страница 10
Текст из файла (страница 10)
This command is sentfollowing a failed attempt to calibrate a module (themodule shows no effect from an attempted calibration).Following initialization, the problem module shouldreadily accept calibration.Syntax$aaSiER(cr)$ is a delimiter character.aa (range 00-FF) represents the 2-character hexadecimaladdress of the ADAM-5000 system.Si identifies the I/O slot for which you wish to initializeall EEPROM data.ER is Initialize all EEPROM data command.(cr) is the terminating character, carriage return (0Dh)Response!aa(cr) if the command is valid.?aa(cr) if an invalid operation was entered.There is no response if the module detects a syntax erroror communication error or if the specified address doesnot exist.! delimiter character indicating a valid command wasreceived.? delimiter character indicating the command wasinvalid.aa (range 00-FF) represents the 2-character hexadecimaladdress of an ADAM-5000 system.(cr) is the terminating character, carriage return (0Dh)6-50ADAM-5000Chapter 6$aaSiØName$aaSi0Span CalibrationDescription Calibrates a specified analog input module to correct forgain errorsSyntax$aaSiØ(cr)$ is a delimiter character.aa (range 00-FF) represents the 2-character hexadecimaladdress of the ADAM-5000 system which is to becalibrated.Si identifies the I/O slot which is to be calibrated.Ø represents the span calibration command.(cr) is the terminating character, carriage return (0Dh)Response!aa(cr) if the command is valid.?aa(cr) if an invalid operation was entered.There is no response if the module detects a syntax erroror communication error or if the specified address doesnot exist.! delimiter character indicating a valid command wasreceived.? delimiter character indicating the command wasinvalid.aa (range 00-FF) represents the 2-character hexadecimaladdress of an ADAM-5000 system.(cr) is the terminating character, carriage return (0Dh)Note:ADAM-5000In order to successfully calibrate an analog inputmodule's input range, a proper calibration input signalshould be connected to the analog input modulebefore and during the calibration process.
(See alsoChapter 4, Section 4.5 on Calibration)6-51Command Set5017/5018 Analog Input$aaSi1Name$aaSi1Zero CalibrationDescription Calibrates a specified analog input module to correct foroffset errorsSyntax$aaSi1(cr)$ is a delimiter character.aa (range 00-FF) represents the 2-character hexadecimaladdress of the ADAM-5000 system which is to becalibrated.Si identifies the I/O slot which is to be calibrated.1 represents the zero calibration command.(cr) is the terminating character, carriage return (0Dh)Response!aa(cr) if the command is valid.?aa(cr) if an invalid operation was entered.There is no response if the module detects a syntax erroror communication error or if the specified address doesnot exist.! delimiter character indicating a valid command wasreceived.? delimiter character indicating the command wasinvalid.aa (range 00-FF) represents the 2-character hexadecimaladdress of an ADAM-5000 system.(cr) is the terminating character, carriage return (0Dh)Note:6-52In order to successfully calibrate an analog inputmodule's input range, a proper calibration input signalshould be connected to the analog input modulebefore and during the calibration process.
(See alsoChapter 4, Section 4.5 on Calibration)ADAM-5000Chapter 6$aaSi3Name$aaSi3CJC Status Command (ADAM-5018 only)Description Returns the value of the CJC (Cold Junction Compensation) sensor for a specified analog input moduleSyntax$aaSi3(cr)$ is a delimiter character.aa (range 00-FF) represents the 2-character hexadecimaladdress of the ADAM-5000 system.Si identifies the I/O slot which contains the CJC Statusyou wish to retrieve.3 is CJC Status command.(cr) is the terminating character, carriage return (0Dh)Response>(data)(cr) if the command is valid.?aa(cr) if an invalid operation was entered.There is no response if the module detects a syntax erroror communication error or if the specified address doesnot exist.>delimiter character indicating a valid command wasreceived.? delimiter character indicating the command wasinvalid.aa (range 00-FF) represents the 2-character hexadecimaladdress of an ADAM-5000 system.(data) is the value that is retrieved by the module byreading its CJC sensor.
The data format, in degreesCelsius, consists of a “+” or “-” sign followed by fivedecimal digits and a fixed decimal point. The resolutionof the data is 0.1°C.(cr) is the terminating character, carriage return (0Dh)ADAM-50006-53Command Set5017/5018 Analog Input$aaSi3Example$aaSi3command: $09S13(cr)response: >+0036.8(cr)The command requests the analog input module in slot 1of the ADAM-5000 system at address 09h to read itsCJC sensor and return the data.
The analog inputmodule responds with 36.8°C.6-54ADAM-5000Chapter 6$aaSi9shhhhName$aaSi9shhhhCJC Zero Calibration (ADAM-5018 only)Description Calibrates an analog input module to adjust for offseterrors of its CJC (Cold Junction Compensation) sensorSyntax$aaSi9shhhh(cr)$ is a delimiter character.aa (range 00-FF) represents the 2-character hexadecimaladdress of the ADAM-5000 system.Si identifies the I/O slot which contains the CJC Statusyou wish to retrieve.9 is CJC Status command.s sign, + or -, indicates whether to increase or decreasethe CJC offset value.hhhh is a four character hexadecimal “count” value.Each count equals approximately 0.009°C.
The value canrange from 0000 to FFFF.(cr) is the terminating character, carriage return (0Dh)Response!aa(cr) if the command is valid.?aa(cr) if an invalid operation was entered.There is no response if the module detects a syntax erroror communication error or if the specified address doesnot exist.! delimiter character indicating a valid command wasreceived.? delimiter character indicating the command wasinvalid.aa (range 00-FF) represents the 2-character hexadecimaladdress of an ADAM-5000 system.(cr) is the terminating character, carriage return (0Dh)ADAM-50006-55Command Set5017/5018 Analog Input$aaSi9shhhh$aaSi9shhhhExamplecommand: $07S29+0042(cr)response: !07(cr)The command increases the CJC offset value of theanalog input module in slot 2 of the system at address07h with 66 counts (42 hex) which equals about 0.6°C.Note:6-56An analog input module requires a maximum of 2seconds to perform auto calibration and ranging afterit receives a CJC Calibration command.
During thisinterval, the module cannot be addressed to performany other actions.ADAM-5000Chapter 66.6 ADAM-5017H Analog Input Command SetCommandSyntaxCommandName$aaSiCjArrFFSet Input Range Sets input range for See pagea specified channel 6-59of an analog inputmodule in aspecified system$aaSiCjBRead InputRangeSee pageReturns the inputrange for a6-61specified channel ofa specified analoginput module in aspecified system$aaSiAFFffSet DataFormatSets data format in See pageengineering units or 6-63two's complementfor a specifiedanalog inputmodule in aspecified system$aaSiBRead DataFormatReturns the dataformat for aspecified analoginput module in aspecified systemSee page6-65$aaSi5mmEnable/DisableChannels forMultiplexingEnables/Disablesmultiplexing forseparate channelsof the specifiedinput moduleSame asADAM-5017See page6-42$aaSi6Read ChannelsStatusAsks the specifiedinput module toreturn the status ofall channelsSame asADAM-5017See page6-44ADAM-5000DescriptionRemarks6-57Command SetCommandSyntaxCommandName#aaSiSee pageAll Analog Data Returns the inputInvalue of all channels 6-67for a specifiedanalog inputmodule of aspecified system incurrently configureddata format#aaSiCjSpecifiedAnalog Data InSee pageReturns the inputvalue of a specified 6-69channel of aspecified analoginput module of aspecified system incurrently configureddata format$aaSiERInitializeEEPROM DataInitializes allEEPROM data in aspecified analoginput module totheir default values.Same asADAM-5017See page6-50$aaSi0SpanCalibrationCalibrates aspecified analoginput module tocorrect for gainerrorsSame asADAM-5017See page6-51$aaSi1Zero Calibration Calibrates aspecified analoginput module tocorrect for offseterrorsSame asADAM-5017See page6-52Note:6-585017H Analog InputDescriptionRemarksThe ADAM-5017H module also has "Alarm Setting"functions.
The alarm command set for the ADAM5017H is the same as that for the ADAM-5013,ADAM-5017, and ADAM-5018. Please refer to pages6-71 to 6-89 for this set of commands.ADAM-5000Chapter 6$aaSiCjArrFFName$aaSiCjArrFFSet Input RangeDescription Sets the input range for a specified channel of a specified analog input module in a specified system.Syntax$aaSiCjArrFF$ is a delimiter character.aa (range 00-FF) represents the 2-character hexadecimaladdress of the ADAM-5000 system you want toconfigure.SiCj identifies the slot i (i:0 to 3) of the ADAM-5000system and the channel j (j:0 to 7) of the ADAM-5017Hwhose range you want to set.A represents the set input range command.rr represents the 2-character hexadecimal code of theinput range. (See Appendix B)Note:Each channel in a ADAM-5017H module may be setto a different range, but the data formats of allchannels in this module must be the same.(cr) is the terminating character, carriage return (0Dh).Response!aa(cr) if the command is valid.?aa(cr) if an invalid operation was entered.There is no response if the module detects a syntax erroror communication error or if the specified address doesnot exist.! delimiter character indicating a valid command wasreceived.? delimiter character indicating the command wasinvalid.aa (range 00-FF) represents the 2-character hexadecimalADAM-50006-59Command Set5017H Analog Input$aaSiCjArrFF$aaSiCjArrFFaddress of an ADAM-5000 system.(cr) is the terminating character, carriage return (0Dh).Examplecommand: $35S3C1A0bFF(cr)response: !35(cr)Channel 1 of the ADAM-5017H module in slot 3 of theADAM-5000 system at address 35h is set to the inputrange 0-20 mA, engineering unit data format.
Theresponse indicates that the command has been receivedas a valid command.6-60ADAM-5000Chapter 6$aaSiCjBName$aaSiCjBRead Input RangeDescription Returns the input range in engineering units for aspecified channel of a specified analog input module in aspecified system.Syntax$aaSiCjB$ is a delimiter character.aa (range 00-FF) represents the 2-character hexadecimaladdress of the ADAM-5000 system you want tointerrogate.SiCj identifies the slot i (i:0 to 3) of the ADAM-5000system and the channel j (j:0 to 7) of the ADAM-5017Hmodule you want to interrogate.B represents the read input range command.(cr) is the terminating character, carriage return (0Dh).Response!aarr00(cr) if the command is valid.?aa(cr) if an invalid operation was entered.There is no response if the module detects a syntax erroror communication error or if the specified address doesnot exist.! delimiter character indicating a valid command wasreceived.? delimiter character indicating the command wasinvalid.aa (range 00-FF) represents the 2-character hexadecimaladdress of an ADAM-5000 system.rr represents the 2-character hexadecimal code of theinput range.
(See Appendix B)(cr) is the terminating character, carriage return (0Dh).ADAM-50006-61Command Set5017H Analog Input$aaSiCjBExample$aaSiCjBcommand: $35S3C1B(cr)response: !350b00(cr)Channel 1 of the ADAM-5017H module in slot 3 of theADAM-5000 system at address 35h responds with aninput range 0-20 mA, engineering unit data format.6-62ADAM-5000Chapter 6$aaSiAFFffName$aaSiAFFffSet Data FormatDescription Sets the data format in engineering units or in two'scomplement format for a specified analog input modulein a specified system.Syntax$aaSiAFFff$ is a delimiter character.aa (range 00-FF) represents the 2-character hexadecimaladdress of the ADAM-5000 system you want toconfigure.Si identifies the I/O slot of the ADAM-5000 systemcontaining the ADAM-5017H module you want toconfigure.AFF represents the set data format command.ff represents the 2-character hexadecimal code of thedata format.















