;QTS Profibus Capture Analyzer v4.1.2 ;Copyright (c) 2003-2025 Quest Technical Solutions Inc. ;Capture Frame Text Dump Utility ; ;Possible Options: ;NoRef don't show reference numbers ;NoDelim don't show start & end delimiter ;NoDst don't show destination node ;NoSrc don't show source node ;NoFc don't show frame control info ;NoDstSap don't show destination SAP ;NoSrcSap don't show source SAP ;NoData don't show frame data ;NoBad don't show bad frames ;DataSgn show frame data in Signed Decimal Format (rather than hex) ;DataUns show frame data in Unsigned Decimal Format (rather than hex) ;Data16 show frame data as 16 bit words (frame length must be even) ;DetailSts show detailed frame status info ;ShowFcbTyp show frame count bits for request, Stn-Type for response ;ShowFcs show frame check sum ;ShowFileOfs show capture file offsets for each frame (debugging) ;TmeAbs show absolute time stamp ;TmeGap show gap time ;TmeGapAft show gap time after current frame ;TmeDelta show frame delta time ; - example 'hr:mn:sc.ms,us,ns' ; - hr-hour, mn-minute, sc-second, ms-millisecond, us-microsecond, ns-nanosecond ; - character following unit is displayed after the value ;GrphGap show frame gap graph ;GrphGapAft show frame gap after graph ;GrphDelta show frame delta graph ; - width of graph in characters ; - full scale value ; - example: 100us ; - hr-hour, mn-minute, sc-second, ms-millisecond, us-microsecond, ns-nanosecond ;ShowOnly the next lines define a logic equation that controls ; which frames will be displayed, ends with '#' ; Key Words are as follows: ; STS - Frame Status ; STSOK = 0x00 ; STSSTP = 0x01 - Stop bit error ; STSPAR = 0x02 - Parity bit error ; STSSD = 0x04 - Invalid Start Delimiter ; STSRPT = 0x08 - Start Delimiter Repeat error ; STSUND = 0x10 - Frame Underrun ; STSOVR = 0x20 - Frame Overrun ; STSCHK = 0x40 - Checksum Incorrect ; STSED = 0x80 - Invalid End Delimiter ; Len - Length of Data portion of Frame ; SD - StartDelimiter ; SD1 = 0x10 (Fixed Length, No Data) ; SD2 = 0x68 (Var Length, With Data) ; SD3 = 0xa2 (Fixed Length, With Data) ; SD4 = 0xdc (Token Pass) ; SC = 0xe5 (Single Char, Short Ack) ; DA - Destination Address (Node) ; SA - Source Address (Node) ; SAPEXT = 0x80 - SAP Extension Used ; FC - Frame Control ; TYPMSK = 0xcf ; MTM1 = 0x40 - Cmd: Station Management Time 1 ; MTM2 = 0xc0 - Cmd: Station Management Time 2 ; MSRD = 0x41 - Cmd: Station Management Send and Request Data ; MSDN = 0x42 - Cmd: Station Management Send Data No Acknowledge ; SDAL = 0x43 - Cmd: Send Data with Acknowledge (Low Priority) ; SDNL = 0x44 - Cmd: Send Data No Acknowledge (Low Priority) ; SDAH = 0x45 - Cmd: Send Data with Acknowledge (High Priority) ; SDNH = 0x46 - Cmd: Send Data No Acknowledge (High Priority) ; RDD = 0x47 - Cmd: Request Diagnosis Data ; GSRD = 0x48 - Cmd: Diagnostic Send and Request Data ; RFDL = 0x49 - Cmd: Request FDL Status (check for node presence) ; MDLY = 0x4a - Cmd: Station Management Send and Request Data Slot Delay ; MKEP = 0x4b - Cmd: Station Management Send and Request Data Slot Keep ; SRDL = 0x4c - Cmd: Send and Request Data (Low Priority) ; SRDH = 0x4d - Cmd: Send and Request Data (High Priority) ; RIR = 0x4e - Cmd: Request Ident with Reply ; RLSR = 0x4f - Cmd: Request LSAP Status with Reply ; OK = 0x00 - Rsp: OK ; UE = 0x01 - Rsp: User Error ; RR = 0x02 - Rsp: No Resource for Send Data ; RS = 0x03 - Rsp: No Service Activated ; DL = 0x08 - Rsp: Ok with Data (Low Priority) ; NR = 0x09 - Rsp: No Response ; DH = 0x0a - Rsp: Ok with Data (High Priority) ; RDL = 0x0c - Rsp: No Resource for Send Data, with Data (Low Priority) ; RDH = 0x0d - Rsp: No Resource for Send Data, with Data (High Priority) ; DSAP - Destination SAP (>63 is default SAP - DP Data) ; SSAP - Source SAP (>63 is default SAP - DP Data) ; DataByte[ofs] - Data Byte (Ofs in bytes) ; DataWord[ofs] - Data Word (Ofs in bytes) ; CmdArg[num] - Command Line Argument ; GapTme - Gap time before this frame (in uSec) ; GapTmeAft - Gap time after this frame (in uSec) ; Operators ; <> NOTEQUAL ; != NOTEQUAL ; <= LESSEQUAL ; >= GREATEREQUAL ; == EQUAL ; = EQUAL ; && AND ; AND AND ; || OR ; OR OR ; & BITWISEAND ; | BITWISEOR ; ^ BITWISEXOR ; * MULT ; / DIV ; MOD ; + ADD ; - SUB ; < LESS ; > GREATER ; ! NOT ; ~ COMPL ; ( LPAREN ; ) RPAREN ; Descrip - Options File Description (displayed in dump dialog box) ; ArgName<0-3> - Name of arguments passed into ShowOnly equation CmdArg[0-3] (displayed in dump dialog box) ; NOTE: a ';' in front of option makes it a comment. Descrip=Frames as Nodes Come Online ;ArgName0=Node ;NoRef ;NoDelim ;NoDst ;NoSrc ;NoFc ;NoDstSap ;NoSrcSap ;NoData ;DetailSts ;ShowFcbTyp ;ShowFcs TmeAbs sc.ms,us,ns ;TmeGap ms,us TmeDelta ms,us ;GrphGap 20 10us ;GrphDelta 20 100us showonly SSAP=60 OR SSAP=61 OR SSAP=62 OR DSAP=60 OR DSAP=61 OR DSAP=62 #