DLR334 PRESSURE INDICATOR DUPLEX SERIAL PROTOCOL PAGE 1 74845
CONTENTS 1.0 2.0 3.0 4.0 5.0 6.0 7.0 8.0 9.0 10.0 11.0 12.0 13.0 14.0 GENERAL……………………………………………………………… 3 FULL DUPLEX PROTOCOL……………………………………….… 3 COMMAND CODE DESCRIPTION………………………… 3 DATA FORMAT………………………………………………………… 4 RESPONSE…………………………………………………………….. 4 CHECK OPTION……………………………………………………….. 6 RS485…………………………………………………………………… 6 COMMAND CODE SUMMARY………………………………………. 6 RECALLED DATA…………………………………………………….. 9 STATUS RECALLED…………………………………………………. 10 CAPACITY/RESOLUTION ENTRY AND RECALL………………..
DLR334 PRESSURE DUPLEX SERIAL PROTOCOL 1.0 GENERAL: ! This document applies to the basic Pressure program KDG-1. ! The duplex protocol includes the following basic functions: ♦ Setup entry and recall. ♦ Current pressure data recall. ♦ Calibration and correction recall and entry. ♦ All front panel key functions. ♦ Temperature calibration and correction recall and entry.
♦ General commands (Zero, etc.). ♦ Display commands (Min,Max, etc.). ♦ Pressure calibration (Zero Cal, etc.). Data request code = < R > character (3FH). ‘R’ commands requesting data from the host to the DLR. ♦ Pressure data. ♦ Status. ♦ Setup data. Calibration data. Data entry code = < E > character (45H). ‘E’ commands with data sent from host to be entered into the DLR. ♦ Setup data. ♦ Calibration data. For complete listing of command codes see Table II. 4.0 DATA FORMAT: 4.1 GENERAL: ! ! ! ! ! 5.
! Commands received as valid but that can not be performed: A valid command in the Echo or Ack/Nak mode that can not be performed will respond with: :NAC The conditions that give you a ‘NAC’ response are: ♦ Not in a valid mode for the command. For example, a ’Cal’ command in the ‘normal (run)’ mode (Refer to Command Performance Status Table Below). ♦ The Command is acting on a parameter that is disabled in Configuration. For example, Peak data recall command when the Peak is configured for ‘off’.
RESPONSE (NONE) = (ECHO) = (ACK) = 6.0 VALID ENTRY (NONE) : :ACK INVALID ENTRY CAN NOT PERFORM (NONE) (NONE) :NAK :NAC :NAK :NAC CHECK OPTION: The check option is setup in the print duplex mode of port 1. It can be applied to the duplex serial in the RS485 mode or in non addressable mode. If check setup is set for ‘NONE’ (OFF), no characters are transmitted for check. Checksum: if checksum is selected the check consists of two ASCII characters.
COMMAND COMMAND CODE SUMMARY TABLE II RESPONSE D DESCRIPTION OSR DISPLAY: MPD MMD UNITS: UxD OSR UUE {unit1| unit2} UUR PRINT: PRD CAPACITY: CPE {cap} CPR REE {res} RER CALIBRATION: ZCD RxD ACK UUR HCE LxE {data} {data} ZFE {x1|c1} ZFR LXE {x1|---x9|xA} LXR LFE {x1|---x9|xA} LFR LCE {x1|---x9|xA} LCR HFE {x1|c1} HFR SETUP DATA: SUE {d/s|---min} SUR FLE {fil} FLR INE {I1|I2} INR P2E {s1|---s7} P2R TME {hhmm} TMR DTE {mmddyy} DTR TIE {time/date} {o1|o2} 3 Output status recall.
COMMAND TIR PAE {p1} PAR ANE {anlg 1|---sp adj} ANR TNE { } TNR TEMPERATURE CAL: TPD TXD TRD TFR COMMAND CODE SUMMARY TABLE II RESPONSE D DESCRIPTION TIR ACK PAR ACK ANR ACK TNR ACK ACK ACK TFR {time/date} Time and Date setup recall. Parrallel I/O setup entry. Parrallel I/O setup recall. Analog setup entry. Analog setup recall.
C CmH2O M mmH2O4ΕC D E F G H I J inHgOΕC Kg/cm2 FtseaH2O inH2O60F inH2O68F inH2O4ΕC MetrsH2O N O P Q R S T PASCAL (SPARE) PSI (SPARE) (SPARE) (SPARE) TORR par: V VAC (SPECIAL) one (1) character data field per Table V; TABLE V ‘par’ ASSIGNMENT DESCRIPTION ‘sp’ Standard Pressure N Net (pressure with Tare) T Tare H HP P Max M Min F Freeze stat: 10.
T D 11.0 ! Pressure status (PSR command) DATA FORMAT: LENGTH: Fixed at 1 character WHERE: stat: one character data field; I = invalid data O = over range U = under range M = motion C = center of zero 'Sp' = none of the above ! Input status (ISR command): DATA FORMAT: | LENGTH: Fixed at 3 characters WHERE: i1 = input 1 status i2 = input 2 status 0 represents an open input (logic 1) 1 represents a closed input (logic 0) | = seperation character.
! 13.0 Cal Units DATA entry (UUE{} command) and recall ( UUR command) FORMAT: LENGTH: Fixed at two (2) characters. WHERE: unit1 : Table III (P=PSI, etc.). unit2 : Table IV (G=Gage,etc.). CALIBRATION: ! General: The unit must be set for Calibration (Mode Rocker switch 1 or 2 closed). ! COMMANDS: ZCD RxD LxE{} ZFE{} / ZFR Perform Zero Cal Perform Linear Reset at point x(x is # from 1 - 9 or letter ‘A’) Perform Linear Cal at point x ( x is a # from 1 - 9 or the letter ‘A’).
P2E{} / P2R INE{} / INR TME{} / TMR DTE{} / DTR TIE{} / TIR PAE{} / PAR ANE{} / ANR 14.3 = Port 2 serial setup. = Input setup. = Time. = Date. = Time/Date Setup = Parallel I/O setup = Analog setup. PRESSURE: COMMAND: SUE{}/SUR DATA FORMAT: |||||| LENGTH: Fixed at 13 characters. WHERE: d/s = Display per Second update rate fixed at 1 number code.. ze% = Zero Aperature % of FS ( Zero %) fixed at 1 number code.
02 03 04 3 4 5 07 08 09 8 9 10 12 13 14 16 18 20 17 18 19 35 40 45 EXAMPLE: A filter setting of 14 would be *FLE{11} 14.5 PORT 1 SERIAL SETUP: Not supported at this time. 14.6 PORT 2 SERIAL SETUP: COMMAND: DATA FORMAT: LENGTH: WHERE: mode del t&d data eol sol eot P2E/P2R |||||| Fixed at 15 characters. (all codes fixed at one (1) number code; see code tables below) = Format mode select. = Delay select. = Time and Date. = Data select.
.8 TIME/DATE SETUP: COMMAND: DATA FORMAT: LENGTH: WHERE: t1 t2 t3 TIE/TIR || Fixed at 5 characters. (all codes fixed at one (1) number code; see code table below) = 12 hour or 24 hour select. = Date format select. = Date number or letter select TIME/DATE PARAMETER ASSIGNMENT 14.9 CODE# T1 T2 T3 0 1 24 HR 12 HR MM/DD/YY DD/MM/YY NUMBER LETTER PARALLEL SETUP: COMMAND: DATA FORMAT: LENGTH: WHERE: PAE/PAR Fixed at 1 character.
trip disp recall TRIP 1 trip1 = Setpoint (Trip Point) Option select. = Display indication = Trip point status. TRIP 2 trip2 = Trip point enable type1 tp1 tp1H type2 tp2 tp2H tp1L tp2L h1H hy1H h2H hy2H h1L hy1L h2L hy2L = Trip point type = Trip point polarity = Trip point high value of eight (8) digits with leading zeros and no decimal point. = Trip point low value of eight (8) digits with leading zeros and no decimal point.
! TEMPERATURE CORRECTIONS DATA ENTRY AND RECALL: COMMANDS: D1E{}/D1R and D2E{}/D2R DATA FORMAT (1): ||||||||||| || DATA FORMAT (2): ||||||||||| ||||||| DATA LENGTHS: Part (1)=Fixed at 126 characters Part (2)=Fixed at 171 characters WHERE (all parameters eight (8) characters in length): zr = Zero Reference zl1/2/3 = Zero low temperatureDTE / DTR DxE / DxR FLE / FLR HCD HFE/HFR HNE/HNR HxD HxD INE / INR ISR LCE / LCR LFE / LFR LxE LXE / LXR MGD MMD MND MPD MSR OSR PAE/PAR PDR PGR PHR PMR PNR PPR PRD PSR P2E / P2R REE / RER RSD RxD RZD SUE/SUR TAD TFR TIE/TIR= Time TME / TMR TNE / TNR TPD TRD TXD TxR = Date. = Temperature Corrections entry and recall (x=1 or 2) = Filter setup. = Perform Hysteresis cal. = Hysteresis correction. = RPM/HP setup data. = Span Temp Hot Acquire.(x=X,Y or Z). = Zero Temp Hot Acquire (x=1,2 or 3). = Input setup.