LINK Systems OmniLink - Feed Interface User Manual

Page 31

Advertising
background image

OmniLink 5000 Feed Manual

December 13, 1999

5.2

Manual Rev 2.3

To Request Speed from the feed:

5000 Sends:

G2[CR]

Feed Returns:

G2[CR][LF]G2[S]=[S]XXXX.XXXX[CR][LF][CR][LF]PDM>

To Send Speed to feed:

5000 Sends:

G2=XXXX[CR]

Feed Returns:

G2=XXXX[CR][LF]G2[S]=[S]XXXX.XXXX[CR][LF][CR][LF]PDM>

For feed length the 5000 will send numbers from 000.000 to 999.999. For feed speed it will send 0000 to
9999. The normal use of feed speed has been to treat it as percent of maximum speed. Note that you must
treat any number over 100 as 100 if you use this as a percentage. The 5000 will send the length in all cases
as XXX.XXX and the speed as XXXX. For instance, a length of 3.23 will be sent as 0003.2300 and .23 will
be sent as 0000.2300. A speed of 5 will be sent as 0005 and 100 will be sent as 0100. This is not the case
for the feed. The feed will suppress leading zeros. For instance, 3.23 will be sent as 3.2300 and .23 will be
sent as 0.2300. Note that the end of each feed response is “PDM>”. This is the prompt that would be
displayed on the feed terminal.

Important!:

The first part of the response from the feed looks just like what the 5000 sent. That is

because it was echoed back to the 5000 on a character by character basis. For instance, in the case of a
length setting command, the 5000 sent “G” and before it would send “1" the feed echoed “G” back to it.
Then it sent “1" and before it would send “=” the feed sent “1" back to it and so on. The rest of the response
from the feed to the 5000 occurs in one big block.

Advertising