Sigma C4 manual REerror byteCRLF

Page 64

7.5.2 RE, REA Request Error Byte

These commands retrieve the error byte.

Note: The error byte and byte 00 of the Error/Status String are cleared each time this command is used. See Section 7.8.2.

If RE is used, the error byte is returned as a one byte binary value imbedded in an ASCII text string as follows:

RE<error byte><CR><LF>

If REA is used, the error byte is returned as a two byte ASCII hex string imbedded in an ASCII text string as follows:

REA<space><2 character ASCII hex string><CR><LF>

Example:

REA 40<CR><LF>

The syntax for the command is:

RS<CR><LF> Request 1 byte binary value

RSA<CR><LF> Request 2 byte ASCII hex value

7.5.3 QE, QEA Query Error/Status String

These commands return the 64 byte (512 bit) Error/Status String. Each bit in the string represents an error or status condition. If the bit is set (1), the condition is true, if the bit is reset (0), the condition is false. The Error/Status String is divided into two parts.

The first 32 bytes (256 bits) are “event triggered”. The second 32 bytes (256 bits) are “status” or “state set”. Each of the bits in bytes 0-31 are set once when the condition that that bit reports becomes true. If the condition becomes false, the bit remains set. The bits in bytes 0-31 (except bits 0, 1 &2 of status byte 01) are all reset in the event of a QE or QEA command. The bits in bytes 32-63 are not reset in the even of a QE or QEA command. These bits are set and reset as the condition they monitor changes state.

Each of the bytes has a defined purpose. For instance, all the probe correction error bits are in the same byte. This makes is easier to parse the Error/Status String and branch to error routines because basic groups of errors can be checked at the byte level.

64

C4 Manual Rev 7.5.2

Image 64
Contents Programmable Temperature Controller / Interface Sigma SystemsC4 Manual Rev Table of Contents Intelligent 2 Probe Control C4 Manual Rev C4 Manual Rev C4 Manual Rev C4 Manual Rev Introduction Models C4 & CC-3.5ExplainedGeneral Description Custom Features / Interchangeability Warning Release 7.5.2 FirmwareC4 vs. CC-3 Differences What’s New Firmware Uploads Forced Start from Prom Firmware Internal Error Shutdown Conditions Intelligent 2 Probe Control Probe Averaging Program Mode Step Insert & Delete RSA Remote Mode Setup Parameter Commands Physical Description Front PanelMode Switch Clear Prog Rear Panel Connections J1 TOPGeneral Operation & Error Conditions C3-5 Rel200 100c 392 148f Startup DisplaysUpdating Firmware Upgrading Firmware by Prom Replacement Making the physical connection for upload Restoring Setup Parameters to Default Values Rs loadSu res Ee busy and then su doneC4 Manual Rev P1f Fahrenheit OperationP1 lo P1 hi System Operating Temperature RangeProbe Out of Range Shutdown P1 err P1 -err Res err Internal Error Shutdown ConditionsAll res Su err Software Probe Correction CalibrationStatus and Error Reporting Fail-safe System C4 Manual Rev Intelligent 2 Probe Control How Intelligent 2 Probe Control functions Preparing for Intelligent 2 Probe Control Using Intelligent 2 Probe Control Local Mode Basic Operation Displaying TemperatureS1 nsp S1f nsp S1 102.6 s1fDisplaying and Changing the Setpoint Sp err Sor -sorControlling to a Setpoint C4 Manual Rev 06.0 Program ModeDescription of a Program Step Substep Step Data 00.0 00.1Ramp time 00.2Maximizing Ramp Speed & Other Ramp Considerations Clearing Program Memory Reinitializing program steps Displaying Program Steps not during executionInsert Program Step Entering or Changing a Program StepPress CLEAR/ENTRY Press CLEAR/ENTRY Press CLEAR/ENTRY again Delete Program stepRunning Executing a Program Program Run Time Information/Considerations Loop 007 nop2005 sor Sor Special Commands External Compressor On Common Programming Issues C4 Manual Rev EIA-232 Interface Remote ModeIEEE-488 Interface Command Summary by functional group System Information QueriesSystem Information Queries For Celsius mode For parameters numbered 0 through C4 Manual Rev Operation Information Queries & Commands REerror byteCRLF C4 Manual Rev Qccrlf PTnCRLF Setup Parameter Commands SC1 0 2.3 100 WP 6 5 5CRLF Upcrlf System Operation Commands Celsius mode Will hold the current setpoint for 1 hour and 20 minutes U1c 65.0 u1f Error and Status Reporting Overview IEEE-488 GpibTemperature in 20 minutes C4 Manual Rev Error/Status String Bit Definitions C4 Manual Rev Setup Mode PID controller, Integral term Adjustment not Displaying the Field Values Two Probe Mode Setup field Changing the Value of a Setup FieldAuto-start Mode Setup field Blower Shut-off Mode Setup field Temperature Control Terms PID Setup fields 0, 10, 11Entering probe correction setup data C4 Manual Rev C4 Manual Rev Appendix Programming Examples & Notes00.0 00.200.3 00.4Using shortcuts to shorten program entry time 9900 DISP/CNTLSTART/STOPCLEAR/ENTRY 6 Enter 04.0 04.204.3 04.407.0 07.207.3 07.4C4 Manual Rev Sigma Systems C4 Programming Worksheet Sample Command Structure for IEEE-488 Gpib Operation Disp A$ Installation and Use of TTL Outputs and Input Field Calibration of Model C4 Controller 101102 Troubleshooting 103Noise Immunity 105 Firmware Upload Problems Temperature Control PID Tuning & Problems 107108 109 110 111 U1f 102.7 Technical Support, Repairs & ReturnsIndex 113114 Gpib 115IEEE488 Gpib 117 118 SRQ 119120