Red Lion GEMINI 2 User Manual

Page 26

Advertising
background image

RECEIVING DATA FROM THE GEMINI 2000

Data is transmitted from the Gemini 2000 when a “Transmit Value” or

“Transmit per Print Options” command is sent to the unit, or when the “PRINT

REQ.” terminal is activated. The Gemini 2000 can transmit 4 values: Count

value, Presets 1 & 2, and Scale Factor. A list of the abbreviations used when the

Gemini 2000 transmits the values are shown below.

CNT - Count Value

PS1 - Preset 1

PS2 - Preset 2

SCF - Scale Factor

A typical transmission, with the “PR.ID” (Print ID) switch in the up position,

is shown below.

The first two digits transmitted are the unit address followed by two blank spaces.

If the unit address is 0, the first locations will be left blank. The next three letters are

the abbreviation for the mnemonic value followed by one blank space. The actual

values are transmitted last. Negative values are indicated by a “-” sign. For positive

values, the “+” sign is not transmitted. Overflowed count values are shown by an

asterisk preceding the most significant digit of the value. The decimal point position

will “float” within the data field depending on the actual value it represents.

For peripheral control purposes, a single line transmission will have a <CR>

attached to the end of the above string. For a “T” command or each line of a block

transmission, only the above character string is sent. For the last line of a block

transmission,a<SP><CR><LF>isattachedtotheendoftheabovecharacterstring.

An example of a typical serial transmission:

3 CNT -1234.56 < CR> < LF>

If the “Print Request” terminal initiates the transmission, a 400 msec delay is

inserted before the transmission to keep multiple transmissions from

overrunning the printer.

When the Print ID switch is in the down position, the unit will not transmit the

characters before the data value (address, Value ID, spaces) or the 400 msec

printer delay. The same above value when transmitted with the “PR.ID” switch

in the down position, is transmitted as: -1234.56 < CR> < LF>
Note: When using the Gemini with a printer, with the “Print ID” switch in the down

position,someprintersmaynotwork,sincetheprinterdelayisnottransmitted.

PRINT OPTIONS

The various Print Options are used mainly in conjunction with a printer and the

Print Request Terminal. They provide a choice of Gemini 2000 data values to be

printed when either the Print Request Terminal is activated or the “Transmit per

Print Options” (P) command is sent to the Gemini 2000. The various Print

Options available are:
1. Print Count Value Only

2. Print Count Value & Presets

3. Print Count Value & Scale Factor

4. Print Count, Presets, & Scale Factor

A typical printout is shown below. The Print Options are selected by setting S4

and S5 on the Serial DIP Switch. See “Serial DIP Switch Set-up” section for the

various switch settings.

1

CNT

000054

1

PS1

000100

1

PS2

000200

1

SCF

01.0000

The Transmit Count and Reset action of the (X) command is available for use

with the Print Options. This option is selected by setting the TRST switch (Serial

switch position 6) in the down position. This capability is useful in a totalizing

application where a “shift total” is desired without shutting down the machine to

take the reading and reset the unit.

–24–

FIG. 4: TRANSMIT COUNT & RESET (TRST) PRINT OPTION TIMING

Advertising
This manual is related to the following products: