EasyManua.ls Logo

GSE 672 - Setup

Default Icon
430 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Communication
8-34 Chapter 8
60%%^%e go to ACKNOWLEDGE SCANNED BARCODE
%z%c%e%e Exit Setup Mode
Example 2: Input Interpreter with Spaces in Input
This example shows the method that will allow the input interpreter to include spaces in the scanned in data.
218%s.013%e RxTrm <LF>
219%s1%e%e INTERP #1
221%s1%e RxTyp Line
222%s RX#1
T%%[^%e
.013%e <CR> ^M=13
]%%%e
%e80.1%e%e VAR #1:
224%s1%e RxMac 1
The input specification shown tells the Model 672/675 to take every character except the <LF> character.
The "T" at the beginning of the specification should be set to the appropriate identifier for your specific
application and the number 49 following the percent character should be set to match the size of the STR
specified for that input, for example, the same value as P686 if the parameter is VAR 1.
R
R
S
S
-
-
4
4
8
8
5
5
N
N
E
E
T
T
W
W
O
O
R
R
K
K
I
I
N
N
G
G
(
(
O
O
P
P
T
T
I
I
O
O
N
N
)
)
The 672/675 support address recognition. This allows a further degree of multi-drop communications
implementation. This feature is supported by software. It is recommended that additional hardware, such as
a 485 transceiver device, be added.
This section describes the setup, operation of the GSE RS-485 network option, GSE part number 24660B-
401A0.
S
ETUP
P250 must be enabled to access P251. P250 by itself only causes the RTS of COMM1 to become a driver
enable for the network option. Changing the P251 address to a non-zero value enables the network address
recognition receive feature. The valid values for P251 are from 4 to 254.
The Model 672/675 attempts to send data as a complete packet. This is accomplished by not enabling the
transmitter until the transmission is complete or until the transmit buffer becomes full. Transmission
completion is defined by the end of a Custom Transmit or by using the "%q" command to transmit with the
"%$" and "%&" macro commands. Therefore, it is desirable to set the size of the transmit buffer large
enough to hold a complete transmission (refer to P207.1).
When P251 is enabled, the Model 672/675 ignores all data until an <STX> character (<^B>) is followed
immediately by a character that matches P251(for example, and address of 5) or a NULL character. A NULL
character (an address of 0, <^@>) is a broadcast listen command.
When the <STX> character and P251 are matched, all subsequent data is processed exactly as if
networking were disabled except that when the <ETX> character (<^C>) is received, the receive routine of
the Model 672/675 resets to look for the <STX> character again.
The data packet format recognized by the Model 672/675 is defined as follows:
<STX> <ADDRESS> <DATA> <DATA> <DATA> <DATA> <DATA> ... <ETX>
The address is a single byte. There are 250 possible addresses (4 through 254). The address should not be
an <STX> or an <ETX>.
The address character (defined by P251) can be transmitted using code 402. For example, enter ".402
[ENTER]" in a Custom Transmit setup or execute "402 %&" in a macro.

Table of Contents

Other manuals for GSE 672

Related product manuals