Рук_п_Имп-4 (1031891), страница 17
Текст из файла (страница 17)
The initial counter value is 4369.6-146ADAM-5000Chapter 6$aaSiCjAhEsName$aaSiCjAhEsSet Alarm Disable/LatchDescription The addressed counter module is instructed to set alarmdisable or latch.Syntax$aaSiCjAhEs(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 and the desired channel j.AhEs is the command for setting Alarm Disable/LatchMode command.h indicates alarm type and can have the value H = Highalarm, L = Low alarms indicates alarm enable/disable and can have the valueD = Disable, E=Enable(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)ADAM-50006-147Command Set5080 Counter/Frequency Module$aaSiCjAhEs$aaSiCjAhEsExamplecommand: $03S0C1ALED(cr)response: !03(cr)Channel 1 of slot 0 of ADAM-5080 in ADAM-5000system at address 03h is instructed to disable its Lowalarm function.The module confirms that its Low alarm function hasbeen disable.6-148ADAM-5000Chapter 6$aaSiCjAhName$aaSiCjAhRead Alarm Disable/LatchDescription Return the alarm mode for the specified channel.Syntax$aaSiCjAh(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 and the desired channel j.A is the Read Alarm Mode command.h indicates alarm type and can have the value H = Highalarm, L = Low alarm(cr) represents terminating character, carriage return (0Dh)Response!aap(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.p indicates alarm mode.p=D, if alarm is Disable.P=L, if alarm is Latch.(cr) represents terminating character, carriage return (0Dh)ADAM-50006-149Command Set5080 Counter/Frequency Module$aaSiCjAhExample$aaSiCjAhcommand: $03S0C1AL(cr)response: !03L(cr)Channel 1 of slot 0 of ADAM-5080 in ADAM-5000system at address 03h is instructed to return its Lowalarm mode.The system responds that it is latched.6-150ADAM-5000Chapter 6$aaSiCjChName$aaSiCjChClear Alarm StatusDescription Returns the alarm status to normalSyntax$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 and the desired channel j.C is the clear Alarm Mode 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)ADAM-50006-151Command Set$aaSiCjChExample6-1525080 Counter/Frequency Module$aaSiCjChcommand: $03S0C1CL(cr)response: !03(cr)Channel 1 of slot 0 of ADAM-5080 in ADAM-5000system at address 03h is instructed to set its Low alarmstate to normal.The system confirms it has done so accordingly.ADAM-5000Chapter 6$aaSiCjAhCSkCn$aaSiCjAhCSkCnNameSet Alarm ConnectionDescription Connect 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 and the desired channel j .AhC is the command for setting Alarm Connectioncommand.h indicates alarm type and can have the value H = Highalarm, L = Low alarmSkCn identifies the desired slot k and the desired digitaloutput point n (n : 0 to F).
To disconnect the digitaloutput, 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)ADAM-50006-153Command Set$aaSiCjAhCSkCnExample6-1545080 Counter/Frequency Module$aaSiCjAhCSkCncommand: $03S0C1ALCS1C0(cr)response: !03(cr)Channel 1 of slot 0 of ADAM-5080 in ADAM-5000system at address 03h is instructed to connect its Lowalarm to the digital output of point 0 of slot 1 in the sameADAM-5000 system.The system confirms it has dome so accordingly.ADAM-5000Chapter 6$aaSiCjRhC$aaSiCjRhCNameRead Alarm ConnectionDescription Return 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 and the desired channel j.RhC is the command for reading Alarm Connection.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 and the desired digitaloutput point n (n : 0 to F) to which the input alarm isconnected.
If the values of k and n are ‘*’, the analoginput has no connection with a digital output point.(cr) represents terminating character, carriage return (0Dh)ADAM-50006-155Command Set5080 Counter/Frequency Module$aaSiCjRhC$aaSiCjRhCExample6-156command: $03S0C1RLC(cr)response: !03SØC1(cr)Channel 1 of slot 0 of ADAM-5080 in ADAM-5000system at address 03h is instructed to read its Low alarmoutput connection.The system responds that the Low alarm outputconnects to the digital output at point 0 of slot 1 in thesame ADAM-5000 system.ADAM-5000Chapter 6$aaSiCjAhU(data)$aaSiCjAhU(data)NameSet Alarm LimitDescription Set the High/Low alarm limit value for the specified inputchannel 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 and the desired channel j.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.
Thevalue is from 0 to 4294967295. Be aware that (data) has10 characters.(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)ADAM-50006-157Command Set$aaSiCjAhU(data)Example6-1585080 Counter/Frequency Module$aaSiCjAhU(data)command: $03SØC1AHU0000000020(cr)response: !03(cr)The channel 1 of slot 0 of ADAM-5080 in ADAM-5000system at address 03h is configured to set High alarmlimit value to 20.ADAM-5000Chapter 6$aaSiCjRhU$aaSiCjRhUNameRead Alarm LimitDescription Return 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 and the desired channelj.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. Be aware that(data) has 10 characters.(cr) represents terminating character, carriage return(0Dh)ADAM-50006-159Command Set5080 Counter/Frequency Module$aaSiCjRhU$aaSiCjRhUExamplecommand: $03SØC1RHU(cr)response: !030000000026(cr)The channel 1 of slot 0 of ADAM-5080 in the ADAM5000 system at address 03h is configured to return theHigh alarm limit value.The High alarm limit value is 26.6-160ADAM-5000Chapter 6$aaSiCjSName$aaSiCjSRead Alarm StatusDescription Read 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 and the desired channel j.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.
‘1’ means the Highalarm occurred, ‘0’ means it did not occur.l represents the status of Low alarm. ‘1’ means the Lowalarm occurred, ‘0’ means it did not occur.(cr) represents terminating character, carriage return (0Dh)ADAM-50006-161Command Set$aaSiCjSExample5080 Counter/Frequency Module$aaSiCjScommand: $03SØC1Sresponse: !0311(cr)The channel 1 of slot 0 of ADAM-5080 in the ADAM5000 system at address 03h is configured to read alarmstatus.The High alarm has occured and low alarm has occured.6-162ADAM-50007TroubleshootingTroubleshootingDiagnosisThe ADAM-5000 system provides two kinds of diagnosis: hardwarediagnosis and software diagnosis to help the user detect and identifyvarious types of system and I/O module failures.7.1Hardware DiagnosisWhen the ADAM-5000 is first powered on, the system does a selfdiagnosis.















