Рук_п_АК-8 (1031889), страница 18
Текст из файла (страница 18)
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. The diagnosis information will be indicated on the LEDs ofthe system module in the following sequence:1.
The LEDs will come on according to the following sequence: PWR-> RUN -> TX -> RX,2. Then all LEDs will go off3. If the system self test is OK, the LEDs will follow the sequenceoutlined in Steps 1 and 2. If the system has some problems, theLEDs indicate errors as shown in the following table.7.2LED StatusError TypePWR LED OnChecksum errorRUN LED OnEEPROM Read/Writeerror on CPU boardTX LED OnRS-232 malfunctionRX LED OnRS-485 malfunctionSoftware DiagnosisThe ADAM-5000 provides an ASCII command $AAE (Refer to thecommand set in Chapter 6) to read the status of I/O modules throughthe RS-232 port for field diagnosis or RS-485 port for remote diagnosis.The response of such a command is !AAFFFFFFFF (FF represents theerror message of a slot from 0 to 3).
The error messages are detailed inthe following table:7-2ADAM-5000Chapter 77.3Error CodeError Type00hOK01hAI module span calibration error02hAI module self-calibration error04hAI module zero calibration error08hAI module data reading error10hCJC reading error20hEEPROM read/write error ofAI/AO modulesSystem IndicatorsWhile the ADAM-5000 system is in operation the indicators on thefront can help you diagnose problems with the system.
The tablebelow gives a quick reference of potential problems associated witheach status indicator.Indicator StatusPotential ProblemsPWR (Off)1. System voltage incorrect2. Power supply is faulty3. Other components such as I/Omodules have power supply shortsRUN (Off)CPU board is faultyTX (Off)Data not sent to adjacent nodeRX (Off)Data not received from adjacent nodePWR IndicatorIn general there are 3 reasons for the system power status LED (PWR)to be OFF.ADAM-50007-3Troubleshooting1. External power to the system is incorrect or is not applied.2. Power supply is faulty.3.
Other component(s) have the power supply shut down.Incorrect External PowerIf the voltage to the power supply is not correct, the system may notoperate properly or may not operate at all. Use the following guidelinesto correct the problem.1. First, turn off the system power and check all incoming wiring forloose connections.2. If the connections are acceptable, reconnect the system power andmeasure the voltage at the power terminal strip to insure it is withinspecification. If the voltage is not correct, shut down the systemand correct the problem.3. If all wiring is connected correctly and the incoming power is withinthe specifications required, the system module should be returnedfor repair.Faulty Power SupplySubstitute a power supply known to be good to see if this corrects theproblem.
If you have experienced major power surges, it is possiblethat the system and power supply have been damaged. If you suspectthis is the cause of the power supply damage, a line conditioner whichremoves damaging voltage spikes should be used in the future.Device or Module causing Power Supply to ShutdownIt is possible a faulty module or external device using the system 5Vcan shut down the power supply. This 5V can be coming from thesystem module.To test for a device causing this problem:1. Turn off power to the system module2. Disconnect all external devices (such as communicationcables) from the system module.3.
Reapply power to the system.7-4ADAM-5000Chapter 7If the power supply operates normally, you probably have either ashorted device or a shorted cable. If the power supply does notoperate normally, then test for a module causing the problem by usingthe following procedure.To isolate which module is causing the problem, disconnect theexternal power and remove one module at one time till the PWR LEDoperates normally. Follow the procedure below:1. Turn off power to the base.2.
Remove a module from the base.3. Reapply power to the base.RUN IndicatorIf the self test for the system has passed, the RUN LED is still onexcept no power.7.4Communication ProblemsIf you cannot establish communications with the system module,check these items:• The cable is disconnected• The cable has a broken wire or has been wired incorrectly• The cable is improperly terminated or grounded• The device connected is not operating at the correct baud rate• The device connected to the port is sending data incorrectly• A grounding difference exists between the two devices• Electrical noise is causing intermittent errors• The system module has a bad communication port and it should bereplacedADAM-50007-5Troubleshooting7.5I/O Module TroubleshootingThere is a LED to indicate the connection between the base and anI/O module in any ADAM-5000 system.
The LED is on when theconnection is good. If you suspect an I/O error, there are severalthings that could be causing the problem.• A loose terminal block• The power supply has failed• The module has failedSome Quick StepsWhen troubleshooting the ADAM-5000 series digital I/O modules,there are a few facts you should be aware of.
These facts may assistyou in quickly correcting an I/O problem.• The digital output modules can not detect shorted or open outputpoints. If you suspect one or more points on an output module tobe faulty, you should measure the voltage drop from the commonto the suspect point.• Leakage current can be a problem when connecting field devices toI/O modules.
False input signals can be generated when theleakage current of an output device is great enough to turn on theconnected input device. To correct this, install a resistor in parallelwith the input or output of the circuit. The value of this resistorwill depend on the amount of leakage current and the voltageapplied but usually a 10K to 20 KΩ resistor will work.















