|
7000 SERIES INDICATORS EN 109Totals ReportThe totals report will print only the fields that have been enabled for the totalizing function. If the subtotal featurehas been disabled, then that field will not display or print. The example in Figure C-3 below includes both thesubtotal and grand total fields. There is only one report format regardless of the line width selection.Figure C-5: Totals Report SampleC.4 Variable AccessAll setup parameters and a few triggers and statuses in the terminal are available through a connection called“Variable Access”. This is a serial interface assignment on COM1that permits remote clients to send and receivecommands and data from the terminal.ConnectionIn order to access the variables in the T72XW terminal, the COM1 port must be used and it must be assigned asVariable Access in the connection menu of setup.Make sure the serial port of the remote device matches the parameters selected for the COM1 port. This includesthe baud rate, data bits, parity bit, and 1 stop bit.Connect an RS-232 cable between the remote client PC and the COM1 port of the T72XW terminal.Open a program to communicate with the terminal (such as HyperTerminal). Refer to the Commands section tounderstand how the commands should be structured.CommandsThe T72XW supports two commands - Read and Write. Some variables are read only and some can be both readand written. A response is always sent after a Read request or a Write command. If a valid format and variable arerequested in a Read, Response 1 from below will be sent. If the format is incorrect or a bad variable name isrequested, an error like Response 2 will be sent. A Write command will receive either an acknowledge (ASCII - 06xh) for an accepted command or a negative acknowledgement (ASCII - 15xh) for an invalidcommand or data.A Space character is required between the index number and data that is being sent. This characters is shown as (20xh) in the examples. All commands and responses are terminated with a Carriage Return and a LineFeed character. These characters are shown as < LF> (0Dxh, 0Axh).Individual VariablesThe PC program can connect with the T72XW terminal to read and write specific variables per the followingexamples. The list of index numbers is given in the next section.Read request: R(index#)Read filter value: R129Response 1 (valid): R1291Read filter value: R179Response 2 (error): R179 Error: Invalid RequestTotals Report14:25:39 20/Jul/2007Subtotal: n = 6 86.19 kgGrand Total: n = 27 372.76 kg PreviousNext |