Рук_п_АК-8 (1031889), страница 17
Текст из файла (страница 17)
The overflow value in channel 3 is 01.The others are 00.ADAM-5000Chapter 6@aaSiCjP(data)@aaSiCjP(data)NameSet Initial Counter ValueDescription Set initial counter value for counter of the specifiedcounter module.Syntax@aaSiCjP(data)(cr)@ is a delimiter character.aa (range 00-FF) represents the 2-character hexadecimaladdress of the ADAM-5000 system.SiCj identifies the I/O slot i and the channelj for the module you want to return a prior value.P represents Set Initial Counter Value command.(data) is initial value from 0 to 4294967296. Be aware that(data) has 10 characters.(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-143Command Set@aaSiCjP(data)Example6-1445080 Counter/Frequency Module@aaSiCjP(data)command: @26S3C2P0000004369(cr)response: !26(cr)The channel 2 of ADAM-5080 in slot 3 in ADAM-5000system at address 26h is instructed to set initial countervalue.
The initial counter value is 4369.ADAM-5000Chapter 6@aaSiCjGName@aaSiCjGRead Initial CounterDescription Read initial counter value of specified module.Syntax@aaSiCjG(cr)@ is a delimiter character.aa (range 00-FF) represents the 2-character hexadecimaladdress of the ADAM-5000 system.SiCj identifies the I/O slot i and the channel j for themodule you want to return a prior value.G is the last value readback command.(cr) is the terminating character, carriage return (0Dh)Response!aa(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 initial value from 0 to 4294967295.Be aware that(data) has 10 characters.(cr) is the terminating character, carriage return (0Dh)ADAM-50006-145Command Set5080 Counter/Frequency Module@aaSiCjGExample@aaSiCjGcommand: @26S3C2G(cr)response: !260000004369(cr)The channel 2 of ADAM-5080 in slot 3 in ADAM-5000system at address 26h is instructed to return counterinitial value.
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.















