Рук_п_Имп-4 (1031891), страница 8
Текст из файла (страница 8)
The (data)from all channels is shown in sequence from 0 to 2. If(data)=“ ”, it means the channel is invalid.(cr) is the terminating character, carriage return (0Dh).ADAM-50006-25Command Set5013 RTD Input$aaSiExample$aaSicommand: $35S3(cr)response: >+80.01 +20.00 -40.12(cr)The command requests the RTD input module in slot 3of the ADAM-5000 system at address 35h to return theinput values of all channels.The RTD input module responds with input values of allchannels in sequence from 0 to 2 : +80.01° C, +20.00° C,-40.12° C.6-26ADAM-5000Chapter 6$aaSiCjName$aaSiCjSpecified RTD Data InDescription Returns the input value of a specified channel for aspecified RTD input module of a specified system inengineering units only.Syntax$aaSiCj(cr)$ is a delimiter character.aa (range 00-FF) represents the 2-character hexadecimaladdress of the ADAM-5000 system you want tointerrogate.SiCj identifies the desired slot i (i:0 to 3) and the desiredchannel j (j:0 to 2) of the module you want to interrogate.(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 input value in engineering units of thespecified channel for the specified RTD input module ofthe specified system.
If (data)=“ ”, it means the channelis invalid.(cr) is the terminating character, carriage return (0Dh).ADAM-50006-27Command Set$aaSiCjExample5013 RTD Input$aaSiCjcommand: $35S3C0(cr)response: >+80.01(cr)The command requests the RTD input module in slot 3of the ADAM-5000 system at address 35h to return theinput value of channel 0. The RTD input moduleresponds that the input value of channel 0 is +80.01° C.6-28ADAM-5000Chapter 6$aaSiERName$aaSiERInitialize EEPROM DataDescription Initializes all EEPROM data in a specified analog inputmodule to their default values. 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 in which you wish to initialize allEEPROM data.ER represents the initialize 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)ADAM-50006-29Command Set5013 RTD Input$aaSi5mmName$aaSi5mmEnable/Disable Channels for multiplexingDescription Enables/Disables multiplexing for separate channels ofthe specified input moduleSyntax$aaSi5mm(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 of the system.5 represents the enable/disable channels command.mm are two hexadecimal values.
Each value is interpreted by the module as 4 bits. The first 4-bit value is 0. Thesecond 4-bit value represents the status of channels 0 to3. A value of 0 means the channel is disabled, while avalue of 1 means the channel is enabled. (See the ReadChannel Status Command $aaSi6).Note: Bit 4 can not enable a channel in the ADAM5013 since the module is physically limited to 3channels.(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 was6-30ADAM-5000Chapter 6$aaSi5mm$aaSi5mminvalid.aa (range 00-FF) represents the 2-character hexadecimaladdress of an ADAM-5000 system.(cr) is the terminating character, carriage return (0Dh)Examplecommand: $00S1501(cr)response: !00(cr)The command enables/disables the channels of theanalog input module in slot 1 of the system at address00h.
Hexadecimal 0 is a fixed value. Hexadecimal 1 equalsbinary 0001, which enables channel 0 and disableschannels 1 and 2.ADAM-50006-31Command Set5013 RTD Input$aaSi6Name$aaSi6Read Channels StatusDescription Asks a specified input module to return the status of allchannelsSyntax$aaSi6(cr)$ is a delimiter character.aa (range 00-FF) represents the 2-character hexadecimaladdress of the ADAM-5000 system you want tointerrogate.Si identifies the I/O slot of the system you want to readchannels status. The channel status defines whether achannel is enabled or disabled.6 represents the read channels status command.(cr) is the terminating character, carriage return (0Dh)Response!aamm(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.mm are two hexadecimal values.
Each value is interpreted as 4 bits. The first 4-bit value is 0. The second 4-bitvalue represents the status of channels 0-3. A value of 0means the channel is disabled, while a value of 1 meansthe channel is enabled.6-32ADAM-5000Chapter 6$aaSi6$aaSi6(cr) is the terminating character, carriage return (0Dh)Examplecommand: $00S16(cr)response: !0001(cr)The command asks the analog input module in slot 1 ofthe system at address 00h to send the status of its inputchannels. The analog input module responds thatchannel 0 of its multiplex channels is enabled, the othersare disabled (01h equals 0000 and 0001).ADAM-50006-33Command Set5013 RTD Input$aaSi0Name$aaSi0RTD Span CalibrationDescription Calibrates a specified RTD input module of a specifiedsystem to correct for gain errors.Syntax$aaSi0(cr)$ is a delimiter character.aa (range 00-FF) represents the 2-character hexadecimaladdress of the ADAM-5000 system which contains theRTD module.Si identifies the slot i (i:0 to 3) containing the RTDmodule to be calibrated.0 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).6-34ADAM-5000Chapter 6$aaSi1Name$aaSi1RTD Zero CalibrationDescription Calibrates a specified RTD input module of a specifiedsystem to correct for offset errors.Syntax$aaSi1(cr)$ is a delimiter character.aa (range 00-FF) represents the 2-character hexadecimaladdress of the ADAM-5000 system which contains themodule which is to be calibrated.Si identifies the slot i (i:0 to 3) containing the RTDmodule 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).ADAM-50006-35Command Set5013 RTD Input$aaSi2Name$aaSi2RTD Self CalibrationDescription Causes a specified RTD input module of a specifiedsystem to do a self calibration.SyntaxNote: This command is for use when RTD Zero andSpan calibration commands have been tried and hadno effect.
A user first issues an RTD self calibrationcommand, and then issues zero and span calibrationcommands.$aaSi2(cr)$ is a delimiter character.aa (range 00-FF) represents the 2-character hexadecimaladdress of the ADAM-5000 system which contains themodule to be calibrated.Si identifies the desired slot i (i:0 to 3) containing themodule to be calibrated.2 represents the self 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).6-36ADAM-5000Chapter 66.5Analog Input Command SetCommand SyntaxCommand NameDescription$aaSiArrffConfigurationSets slot index, input range,data format and integration timefor a specified analog inputmodule in a specified system.$aaSiBConfiguration StatusReturns the configurationparameters for a specifiedanalog input module of aspecified system.$aaSi5mmEnable/DisableChannels formultiplexingEnables/Disables multiplexingfor separate channels of thespecified input module$aaSi6Read Channels Status Asks a specified input moduleto return the status of allchannels#aaSiAll Analog Data InReturns the input value of allchannels for a specified analoginput module of a specifiedsystem in engineering units only.#aaSiCjSpecified AnalogData InReturns the input value of aspecified channel for a specifiedanalog input module of aspecified system in engineeringunits only$aaSiERInitialize EEPROMDataInitializes all EEPROM data in aspecified analog input module totheir default values.$aaSiØSpan CalibrationCalibrates a specified analoginput module to correct for gainerrors$aaSi1Zero CalibrationCalibrates a specified analoginput module to correct for offseterrors$aaSi3CJC StatusReturns the value of the CJC(Cold Junction Compensation)sensor for a specified analoginput module$aaSi9shhhhCJC Zero CalibrationCalibrates a CJC sensor foroffset errorsNote:ADAM-5000See pages 71-89 for Analog Input Alarm CommandSet.6-37Command Set5017/5018 Analog Input$aaSiArrffName$aaSiArrffConfigurationDescription Sets slot index, input range, data format and integrationtime for a specified analog input module in a specifiedsystem.Syntax$aaSiArrff(cr)$ 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 you want to configure.A is I/O module configuration command.rr represents the 2-character hexadecimal code of theinput range.















