Рук_п_16ДуДк (1031887), страница 8
Текст из файла (страница 8)
Bit 7 represents integration time. The layout forthe 8-bit parameter is shown in Figure 6-3 (See page 638). The other bits are not used and are set to 0. (cr) isthe 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-21Command Set5013 RTD Input$aaSiArrff$aaSiArrffaddress of an ADAM-5000 system.(cr) is the terminating character, carriage return (0Dh).Examplecommand: $35S3A2000(cr)response: !35(cr)The RTD input module in slot 3 of the ADAM-5000system at address 35h is configured to an RTD typePt -100 to 100° C, engineering unit data format, andintegration time 50ms (60Hz).
The response indicatesthat the command has been received.6-22ADAM-5000Chapter 6$aaSiBName$aaSiBRTD Configuration StatusDescription Returns the configuration parameters for a specifiedRTD input module in a specified system.Syntax$aaSiB(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 desired slot i (i:0to3)B represents the configuration status command(cr) is the terminating character, carriage return (0Dh).Response.!aarrff(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)ff is a hexadecimal number that equals the 8-bit parameter representing data format. Bits 0 and 1 represent dataformat. Bit 7 represents integration time (See RTDConfiguration Command $aaSiArrff).ADAM-50006-23Command Set$aaSiB5013 RTD Input$aaSiB(cr) is the terminating character, carriage return (0Dh).Examplecommand: $35S3B(cr)response: !352000(cr)The RTD input module in slot 3 of the ADAM-5000system at address 35h responds with an RTD type Pt-100 to 100° C, engineering unit data format, andintegration time 50ms (60Hz).6-24ADAM-5000Chapter 6$aaSiName$aaSiAll RTD Data InDescription Returns the input values of all channels of a specifiedRTD input module in a specified system in engineeringunits only.Syntax$aaSi(cr)$ is a delimiter character.aa (range 00-FF) represents the 2-character hexadecimaladdress of the ADAM-5000 system you want tointerrogate.Si is the I/O slot of the ADAM-5000 system you want toread.(cr) is the terminating character, carriage return (0Dh).Response.>(data)(data)(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 the ADAM-5000 system.(data) is the input value in engineering units of theinterrogated module of the specified system.
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.















