Рук_п_Имп-4 (1031891), страница 12
Текст из файла (страница 12)
During thisinterval, the module cannot be addressed to performany other actions.6-77Command Set5013/5017/5017H/5018Analog Input Alarm$aaSiCjChName$aaSiCjChClear Latch AlarmDescription Sets the High/Low alarm to OFF (no alarm) for thespecified input channel in the addressed ADAM-5000systemSyntax$aaSiCjCh(cr)$ is a delimiter character.aa (range 00-FF) represents the 2-character hexadecimaladdress of an ADAM-5000 system.SiCj identifies the desired slot i (i : 0 to 3) and thedesired channel j (j : 0 to 7).Ch is the Clear Latch Alarm command.h indicates alarm type and can have the value H = Highalarm, L = Low alarm(cr) represents terminating character, carriage return(0Dh)Response!aa(cr) if the command was validThere is no response if the system detects a syntax erroror communication error or if the specified address doesnot exist.! delimiter character indicating a valid command wasreceived.aa represents the 2-character hexadecimal address of thecorresponding ADAM-5000 system.(cr) represents terminating character, carriage return(0Dh)6-78ADAM-5000Chapter 6$aaSiCjChExample$aaSiCjChcommand: $03S0C1CL(cr)response: !03(cr)Channel 1 of slot 0 in the ADAM-5000 system ataddress 03h is instructed to set its Low alarm state toOFF.The system confirms it has done so accordingly.ADAM-50006-79Command Set5013/5017/5017H/5018Analog Input Alarm$aaSiCjAhCSkCnName$aaSiCjAhCSkCnSet Alarm ConnectionDescription Connects the High/Low alarm of the specified inputchannel to the specified digital output in the addressedADAM-5000 systemSyntax$aaSiCjAhCSkCn(cr)$ is a delimiter character.aa (range 00-FF) represents the 2-character hexadecimaladdress of an ADAM-5000 system.SiCj identifies the desired slot i (i : 0 to 3) and thedesired analog input channel j (j : 0 to 7).AhC is the Set Alarm Connection command.h indicates alarm type and can have the value H = Highalarm, L = Low alarmSkCn identifies the desired slot k (k : 0 to 3) and thedesired digital output point n (n : 0 to F).
To disconnectthe digital output, k and n should be set as ‘*’.(cr) represents terminating character, carriage return(0Dh)Response!aa(cr) if the command was validThere is no response if the system detects a syntax erroror communication error or if the specified address doesnot exist.! delimiter character indicating a valid command wasreceived.aa represents the 2-character hexadecimal address of thecorresponding ADAM-5000 system.(cr) represents terminating character, carriage return(0Dh)6-80ADAM-5000Chapter 6$aaSiCjAhCSkCnExample$aaSiCjAhCSkCncommand: $03S0C1ALCS1C0(cr)response: !03(cr)Channel 1 of slot 0 in the ADAM-5000 system ataddress 03h is instructed to connect its Low alarm to thedigital output of point 0 of slot 1 in the same ADAM5000 system.The system confirms it has done so accordingly.ADAM-50006-81Command Set5013/5017/5017H/5018Analog Input Alarm$aaSiCjRhC$aaSiCjRhCNameRead Alarm ConnectionDescription Returns the High/Low alarm limit output connection of aspecified input channel in the addressed ADAM-5000systemSyntax$aaSiCjRhC(cr)$ is a delimiter character.aa (range 00-FF) represents the 2-character hexadecimaladdress of an ADAM-5000 system.SiCj identifies the desired slot i (i : 0 to 3) and thedesired analog input channel j (j : 0 to 7).RhC is the Read Alarm Connection command.h indicates alarm type and can have the value H = Highalarm, L = Low alarm(cr) represents terminating character, carriage return(0Dh)Response!aaSkCn(cr) if the command was validThere is no response if the system detects a syntax erroror communication error or if the specified address doesnot exist.! delimiter character indicating a valid command wasreceived.aa represents the 2-character hexadecimal address of thecorresponding ADAM-5000 system.SkCn identifies the desired slot k (k : 0 to 3) and thedesired digital output point n (n : 0 to F) to which theinput alarm is connected.
If the values of k and n are ‘*’,the analog input has no connection with a digital outputpoint.6-82ADAM-5000Chapter 6$aaSiCjRhC$aaSiCjRhC(cr) represents terminating character, carriage return(0Dh)Examplecommand: $03S0C1RLC(cr)response: !03S1C0(cr)Channel 1 of slot 0 in the ADAM-5000 system ataddress 03h is instructed to read its Low alarm outputconnection.The system responds that the Low alarm outputconnects to the digital output at point 0 of slot 1 in thesame ADAM-5000 system.ADAM-50006-83Command Set5013/5017/5017H/5018Analog Input Alarm$aaSiCjAhU(data)Name$aaSiCjAhU(data)Set Alarm LimitDescription Sets the High/Low alarm limit value for the specifiedinput channel of a specified ADAM-5000 system.Syntax$aaSiCjAhU(data)(cr)$ is a delimiter character.aa (range 00-FF) represents the 2-character hexadecimaladdress of an ADAM-5000 system.SiCj identifies the desired slot i (i : 0 to 3) and thedesired analog input channel j (j : 0 to 7).AhU is the Set Alarm Limit command.h indicates alarm type and can have the value H = Highalarm, L = Low alarm(data) represents the desired alarm limit setting.
Theformat is always in engineering units.(cr) represents terminating character, carriage return(0Dh)Response!aa(cr) if the command was validThere is no response if the system detects a syntax erroror communication error or if the specified address doesnot exist.! delimiter character indicating a valid command wasreceived.aa represents the 2-character hexadecimal address of thecorresponding ADAM-5000 system.(cr) represents terminating character, carriage return(0Dh)6-84ADAM-5000Chapter 6$aaSiCjAhU(data)Example$aaSiCjAhU(data)command: $03S0C1AHU+080.00(cr)response: !03(cr)Channel 1 of slot 0 in the ADAM-5000 system ataddress 03h is configured to accept type-T thermocouple input.
The command will set its High alarm limit to+80°C.The system confirms the command has been received.Note:ADAM-5000An analog input module requires a maximum of 2seconds after it receives a Set Alarm Limit commandto let the settings take effect. During this interval,the module cannot be addressed to perform anyother actions.6-85Command Set5013/5017/5017H/5018Analog Input Alarm$aaSiCjRhU$aaSiCjRhUNameRead Alarm LimitDescription Returns the High/Low alarm limit value for the specifiedinput channel in the addressed ADAM-5000 systemSyntax$aaSiCjRhU(cr)$ is a delimiter character.aa (range 00-FF) represents the 2-character hexadecimaladdress of an ADAM-5000 system.SiCj identifies the desired slot i (i : 0 to 3) and thedesired analog input channel j (j : 0 to 7).RhU is the Read Alarm Limit command.h indicates alarm type and can have the value H = Highalarm, L = Low alarm(cr) represents terminating character, carriage return(0Dh)Response!aa(data)(cr) if the command was validThere is no response if the system detects a syntax erroror communication error or if the specified address doesnot exist.! delimiter character indicating a valid command wasreceived.aa represents the 2-character hexadecimal address of thecorresponding ADAM-5000 system.(data) represents the desired alarm limit setting.
Theformat is always in engineering units.(cr) represents terminating character, carriage return(0Dh)6-86ADAM-5000Chapter 6$aaSiCjRhUExample$aaSiCjRhUcommand: $03S0C1RHU(cr)response: !03+2.0500(cr)Channel 1 of slot 0 in the ADAM-5000 system ataddress 03h is configured to accept 5V input. Thecommand instructs the system to return the High alarmlimit value for that channel.The system responds that the High alarm limit value inthe desired channel is 2.0500 V.ADAM-50006-87Command Set5013/5017/5017H/5018Analog Input Alarm$aaSiCjSName$aaSiCjSRead Alarm StatusDescription Reads whether an alarm occurred for the specified inputchannel in the specified ADAM-5000 systemSyntax$aaSiCjS(cr)$ is a delimiter character.aa (range 00-FF) represents the 2-character hexadecimaladdress of an ADAM-5000 system.SiCj identifies the desired slot i (i : 0 to 3) and thedesired analog input channel j (j : 0 to 7).S is the Read Alarm Status command.(cr) represents terminating character, carriage return(0Dh)Response!aahl(cr) if the command was validThere is no response if the system detects a syntax erroror communication error or if the specified address doesnot exist.! delimiter character indicating a valid command wasreceived.aa represents the 2-character hexadecimal address of thecorresponding ADAM-5000 system.h represents the status of High alarm.














