beautypg.com

ProSoft Technology AN-X-PB User Manual

Page 38

background image

Page

34

AN-X-PBCAPT

November 2011

Source SAP, SSAP

You can select frames based on the source SAP. SAP values are
decimal.

Example: The following equation selects frames with source SAP 60.

showonly

SSAP = 60

#

Data Values, DataByte[ofs] and DataWord[ofs]

You can use data values in equations. Offsets start from 0 and are
always byte offsets, even for word values.

Example:

Showonly

DataByte[0] = 0x55

#

Byte order in data words is high byte – low byte

For example, to select the following frame based on DataWord[1]

175: a30.120,268,769 SD2 0<125 ss DL 01 02 03 04 8d 8d…

use

showonly

DataWord[1] = 0x0203

#

Parameters

If you have passed in one or more parameters, you can access them using
CmdArg[0], CmdArg[1], CmdArg[2], or CmdArg[3].

Example:

The following equation, from the option file
QTS_PB_ToNodeFromNode.opt, selects frames that have a destination
address obtained from the first parameter and a source address obtained
from the second parameter.

showonly

da=cmdarg[0] && sa=cmdarg[1]

#

See page 35 for information on how to pass in parameters.