Opticon DD6000controller DD6000

User Manual: Opticon

Open the PDF directly: View PDF PDF.
Page Count: 98

DownloadOpticon DD6000controller DD6000
Open PDF In BrowserView PDF
User's manual DD6000 controller
controller for the OSENET network

Copyright © 1993, Opticon Sensors Europe B.V. All Rights Reserved
This manual may not, in whole or in part, be copied, photocopied, reproduced, translated or converted to any electronic medium or machine readable form without prior
written consent of Opticon Sensors Europe.

Limited warranty and disclaimers
By opening the package of this network controller you agree to become bound by the
liability and warranty conditions as described below.
Under all circumstances this manual should be read attentively, before installing and/or
using the product. In no event Opticon Sensors Europe will be liable for any direct, indirect, consequential or incidental damages arising out of improper use of both the hardware and software.

A serial number appears on all Opticon products. This official registration number is
strictly related to the device purchased. Please ensure that the serial number appearing on your Opticon device has not been removed. Servicing by Opticon's Technical
Department can be only carried out under warranty if this number appears on the
device.
All Opticon products are warranted for a period of one year after purchase, covering
defects in material and workmanship. Opticon will repair or, at its discretion, replace
products that prove to be defective in material or workmanship under proper use during
the warranty period.
Opticon will not be liable in case the product is opened by unauthorised parties. In
such case the standard repair charge will be applicable. The standard charge for repair
will also be applicable in case no defect is found at all. These conditions also apply for
products that are still under warranty. Therefore, you are advised to always have the
product's specifications at hand.

CONTENTS

INTRODUCTION ............................................................................ i
LIST OF ABBREVIATIONS ...................................................... iii
1. THE DD6000 NETWORK CONTROLLER ............................. 1
1.1 Mechanical features ........................................................................4
1.2 Technical specifications ...............................................................6

2. OSENET NETWORK EQUIPMENT ....................................... 9
2.1 Controller and decoders ............................................................11
2.2 Cable work ................................................................................12
2.3 Installation and setup ................................................................16

3. THE OSENET SYSTEM ....................................................... 19
3.1 The OSENET protocol ...............................................................21
3.2 Programming OSENET .............................................................26

4. CONTROLLER-HOST COMMUNICATION PROTOCOL .... 35
5. TIME ANALYSIS OF OSENET ............................................. 39
CONTENTS

appendices
A. PIN ASSIGNMENT OF PORTS.......................................... 49
B. TABLE WITH READ DIRECT LABELS ............................... 55
C. LISTING RESPONSE TIME PROGRAM ............................ 69
D. GLOSSARY OF TERMS ..................................................... 79

CONTENTS

INTRODUCTION
The DD6000 network controller for OSENET allows multiple DD6000 decoders to be
connected to a single host computer. The controller transposes the data streams coming from the decoders into a single data stream which can be accepted by the host
computer. Conversely, messages coming from the host and intended for a decoder
have to pass the controller. Both host-controller and controller-decoder communication
has to take place according to certain rules: the data link protocol. These protocols take
care of the integrity of the communication between the devices.
The controller is thus concerned with two separate data links: one which connects it
to the DD6000s, and one which connects it to the host. The first data link is described
in part 3. The latter data link is described in part 4. In order to better comprehend the
features of OSENET, it is recommended to read the manual "User's manual DD6000"
before reading this manual.
The OSENET system allows for high speed data transmission across both data links.
The default baud rate for decoder-controller communication is 125Kbps. The DD6000
network controller supports two standard hardware interfaces for controller-host communication: RS232 and RS422/RS485. The latter is extremely useful for network applications because it is less sensible to noise.

Both data link protocols are user programmable via bar code menus. The adjustable
parameters are stored in a non-volatile memory, so they remain present even when the
device is switched off.

This manual contains the following parts:

1. THE DD6000 NETWORK CONTROLLER
The DD6000 network controller is an interface control device used to transpose data,
coming from a number of decoders, into a data stream suited for the host computer.
Mechanical features of the controller, shown in this part, are very similar to the features
of the DD6000 decoder. This part also describes technical specifications of both softINTRODUCTION

i

ware and hardware of the controller.

2. OSENET NETWORK EQUIPMENT
OSENET is a full duplex, multidrop RS485 connection, allowing the connection of several stations to a shared host device. Up to 126 decoder stations can be connected.
This section describes the installation and setup of the network. Guidelines, in case
non-standard cable work is used, are indicated here. Moreover, some features of both
controller-decoders and host-controller communication are shown.

3. THE OSENET SYSTEM
Data exchange across the network has to be managed according to certain rules; the
OSEnet protocol. In the first section of this part the protocol is analised. In part 5 the
information about the protocol will be used to calculate the response time of the network. In the second section bar code menus are present, which allows you to program
some features of the network.

4. CONTROLLER-HOST COMMUNICATION PROTOCOL
This section describes the communication between the controller and the host.

5. TIME ANALYSIS OF OSENET
In this section formulas are derived to calculate the response time for your specific
network. Figures help you to get a good impression of the speed of the network. The
guidelines indicated at the end of the section should be followed if the response time
turns out to be too long.

APPENDICES
• Appendix A describes the pin configuration of the ports of the controller.
• Appendix B contains a table with read direct bar code labels.
• Appendix C features a listing of a BASIC program to calculate the response time
for your network.
• Appendix D is the trouble shoot section.
• Appendix E contains a glossary of terms in which technical terms are explained.

ii

INTRODUCTION

LIST OF ABBREVIATIONS

LIST OF ABBREVIATIONS

A:

Ampere (unit of Current)

AC:

Alternating Current

ACK:

Acknowledge (ASCII-symbol 06h)

ANSI:

American National Standards Institute

ASCII:

American Standard for Code Information Interchange

CISPR:

French initials for the International Special Committee on
Radio Interference

CR:

Carriage Return (ASCII-symbol 0Dh)

CTS:

Clear to Send

D:

Depth

DC:

Direct Current

DCD:

Data Carrier Detect

DCE:

Data Communications Equipment

DLE:

Data Link Escape (ASCII-symbol 10h)

DOS:

Disk Operating System

DSR:

Data Set Ready

DTE:

Data Terminating Equipment

DTR:

Data Terminal Ready

EMC:

Electro Magnetic Compatibility

ENQ:

Enquiry (ASCII-symbol 05h)

iii

EOP:

End of Poll

EOT:

End of Transmission (ASCII-symbol 04h)

ESD:

Electro Static Discharge

ETX:

End of Text (ASCII-symbol 03h)

f:

Frequency

FF:

Form feed (ASCII-symbol 0Ch)

FS:

File separator (ASCII-symbol 1Ch)

GS:

Group separator (ASCII-symbol 1Dh)

ID:

Identification

IEC:

International Electrotechnical Commission

ISO:

International Standards Organisation

L:

Length

LCD:

Liquid Crystal Display

LED:

Light Emitting Diode

LF:

Line Feed (ASCII-symbol 0Ah)

LRC:

Longitudinal Redundancy Check

NAK:

Not Acknowledged (ASCII-symbol 15h)

OSENET: Opticon Sensors Europe Network

iv

OSI:

Open Systems Interconnection

PC:

Personal Computer

RAM:

Random Access Memory

ROM:

Read Only Memory

RI:

Ring Indicator

RS:

Recommended Standard

LIST OF ABBREVIATIONS

LIST OF ABBREVIATIONS

RS:

Record separator (ASCII-symbol 1Eh)

RTS:

Request to Send

RxD:

Received Data

SOH:

Start of Heading (ASCII-symbol 01h)

STX:

Start of Text (ASCII-symbol 02h)

TTL:

Transistor Transistor Logic

TxD:

Transmitted Data

V:

Volt (unit of potential)

W:

Width

v

vi

1

the DD6000 network controller

2

Remove the system components from their packing and inspect them for any evidence
of physical damage. If the shipping container shows external damage and the controller
does not operate properly, get in contact with the shipping firm for a claim.
Keep the packing: It should be used whenever the controller is transported for servicing. Damage caused by improper repacking is not covered by the warranty. At any time
the following components should be present:
- this manual
- the DD6000 network controller
- 5 Volt DC power supply
For the network, Opticon can either deliver standard cabling resources or meet the
needs of the customer.
In this part mechanical features and technical specifications of the DD6000 controller will be described. A description of how to install the network is given in part 2,
"OSENET network equipment".

nual ller
's ma
o ork
User 00 contr
0 r the OSE netw
DD6
fo
r
lle
ro
cont

Figure 1.1 Components present in packing of DD6000 network controller.

THE DD6000 NETWORK CONTROLLER

3

1.1 MECHANICAL FEATURES
TOP VIEW

140.7

GOOD READ LED

MOUNTING HOLE

117.0

POWER ON LED

FRONT VIEW

31.2

ON/OFF SWITCH

PORT I1

REAR VIEW

POWER
PORT O2
PORT O1

Figure 1.2 Top, front and rear view on the DD6000 network controller.

4

THE DD6000 NETWORK CONTROLLER

FEATURE DESCRIPTION
TOP VIEW
good read LED
power on LED
mounting hole

- Green LED indicates whether the data has been transmitted
correctly.
- Red LED indicates whether the power is on.
- Allows solid mounting in any position.

FRONT VIEW
port I1

- Port for connection of bar code scanning device such as
wand or CCD-scanner. With the scanner, bar code labels
can be read to set several parameters for OSENET and
configuration of the host-controller data link protocol.

REAR VIEW
port O1
port O2
power

- This port should be connected to the host-computer.
- This port is used for connection to the decoders via the
OSENET cabling.
- 5 Volt DC power supply.

THE DD6000 NETWORK CONTROLLER

5

1.2 TECHNICAL SPECIFICATIONS
HARDWARE AND ELECTRICAL FEATURES
Power supply voltage
Power supply current

5.0 V dc ± 5 %
150 mA without peripherals attached
o

o

Operating temperature -10 to 70 Celsius (IEC 68-2-1 and IEC 68-2-2)
o
o
Storage temperature
-40 to 125 Celsius
Humidity
20%-95% non-condensing
Weight
Dimensions

270 g
LxWxD: 127.0 x 140.7 x 31.2 mm

Vibration
Shock
ESD
EMC

IEC 68-2-6 ( 5 Hz. , after seconds tc, to acknowledge the data reception. The td and
tc are the turnaround times for the decoder and controller. The td is the time it takes for
the decoder to process the data () received from the controller and send back
a response. The tc is the time it takes for the controller to process the data received
from the decoder and send back a response. For both decoder and controller these
times are 200 µsec.
With a  and a  2 and 4 bytes are involved respectively, as
indicated in table 3.1. The M+6 consists of a message length of M bytes plus 6 bytes
overhead. The overhead is used for the station address, network control field, device
control, station control, frame check and a flag to mark the end of a frame.

22

THE OSENET SYSTEM

CONTROLLER

direction

STATION

max. bytes involved



2
td


M+6

tc


4

Table 3.1 Station - controller data exchange sequence.

controller - decoder data exchange( data flow 2 in fig. 3.1)
To send a message from the controller to a decoder station the data exchange as
shown in table 3.2 is followed. Data is sent from the controller to the decoder station.
After td seconds the station transmits a  to acknowledge the data
reception. Again the number of bytes involved are indicated in the right-hand column.
CONTROLLER

direction

STATION

max. bytes involved



M+6
td


4

Table 3.2 Controller - station data exchange sequence.

THE OSENET SYSTEM

23

1)

station s sends
data after a poll

poll for station s

poll for station s+1

controller

station s

2)

DATA
from station s

time

no data from station,
station sends an EOP

poll for station s

poll for station s+1

controller

station s

3)

EOP
from station s

time

the controller polls the next station
after a poll time-out has occured
poll for station s

poll for station s+1

controller
poll time-out for station s

station s
time

Figure 3.1 Possible reactions of a decoder on a poll.

24

THE OSENET SYSTEM

polling stations
To poll the decoder station, the controller simply sends a message to each station
in turn, inquiring whether or not the stations have data to send. These polling messages contain the address of the station inquired. Each decoder station knows its own
address and only responds to its own polls, although it receives all polls. If the a
decoder station has data to send it send data according to table 3.1. If not, it sends
back an EOP-byte(=End of Poll). If neither data nor an -byte is sent by the
decoder, the controller will generate a poll for the next station after a poll time-out, as
depicted in figure 3.2. In this way all decoder station are polled.
The time it takes to finish a complete sequence of polling a station, receiving an End
of Poll and generating a poll for the next station is called the poll execution time. The
poll cycle time is the time required to poll al stations on the network without exchanging
data. In formula:
tpc = Ntpe = N(tp + teop + tpg) = N(3tb+ tpg) = N*515µs.

In which:

- tpc
- tpe
- tp
- teop
- tpg
- tbo
-N

THE OSENET SYSTEM

poll cycle time
poll execution time
poll transmit time (2 bytes)
End of Poll transmit time (1 byte)
poll generation time, the delay between an  reception
and the transmission of a new poll (250µs for OSENET).
transmit time for one byte
number of stations

25

3.2 PROGRAMMING THE OSENET NETWORK
Once the network is installed in accordance with the guidelines in section 2.3, several
features of the network can be programmed by bar code menu, or via the host computer as explained in section 4.X. If the controller is set with bar code menus, the bar
codes in this section can be scanned with a bar code reader connected to port I1 of
the controller. How to set the parameters is described extensively in section 4.1 of the
"User's manual DD6000". A table with read direct labels is present in appendix B of this
manual. This table is identical to the table in the decoder manual.
Appendix X+1 features labels which affect both the OSENET and/or the controller-host
data link. Scanning these labels makes this section partly superfluous.

Figure 3.2 With a bar code reader connected to port I1 of the controller OSENET
features can be programmed.

26

THE OSENET SYSTEM

programmable features

page

set the network baudrate

28-30

set the number of stations

30-31

set station off-line

30-31

set station on-line

30-31

test RAM

30-31

test EEPROM

30-31

set the response time

32-33

set the number of errors

34-35

set the recovery time

36-37

selection with
Read Direct Labels
Appendix C

*
*
*

Table 3.3 Programmable features of OSENET.

For some features the table with read direct labels (Appendix B) should always be
used, whereas for other features a selection can be made out of labels available on the
page in question.

THE OSENET SYSTEM

27

set the network baud rate - The baud rate (transmission speed) for OSENET is the
number of bits transmitted per second. The baud rate can be vary in steps between
75 and 125K kbps (=bits per second). Make sure that the baud rate of port O1 of all
decoders on the network correspond to the baud rate set here. (please refer to the
"User's manual of the DD6000" page 56-57 to set the decoder baud rate).

28

THE OSENET SYSTEM

PROGRAMMER'S GUIDE

29

*//2*

--->

set the network baud rate:

*//2*

*$00*

*$01*

*$02*

*$00*

*$01*

*$02*

*$03*

*$04*

*$05*

*$03*

*$04*

*$05*

*$06*

*$07*

*$08*

*$06*
2400

*$07*

*$08*

*$09*

*$0A*

*$0B*

*$09*
19200

*$0A*

*$0B*

*$0C*

*$0D*

*$0C*

*$0D*

75

300

62500

**

enter menu

110

600

4800

31250

*/+0*
exit menu

150

1200

9600

38400

125K

*/+1*
restore setup

*/+2*
save setup

set first station in the range - A decimal value should be read from the table with
reaqd direct labels in Appendix B. This label corresponds to the lowest number in the
range of decoder stations.
set last station in the range - A decimal value should be read from the table with read
direct labels in Appendix B. This label corresponds to the highest number in the range
of decoder stations.
Please notice that all stations outside the specified range will be disabled.

disable station - Decoder stations not used can be disabled. After this label has been
read, a decimal value (=the station that should be disabled) should be read from the
table with read direct labels.
If a station is switched off but is not disabled, it delays the poll cycle with a poll time out
for the station considered. An disabled station is not polled.
enable station - Disabled decoder stations can be enabled by reading this bar code
label. After the label has been read, a decimal value (= the station that should be enabled) should be read from the table with read direct labels.

test RAM - Test the Static RAM of the network controller:
- high beep is OK!
- low beep is not OK!
test EEPROM - Test the EEPROM of the network controller:
- high beep is OK!
- low beep is not OK!
Please refer to the trouble shooting section if one of these parts of memory are
not OK!

30

THE OSENET SYSTEM

PROGRAMMER'S GUIDE

31

*//H*

set first station in the range:

--->

*//H*

--->

--->

*//A*

--->

*//A*

set last station in the range:

*//F*

--->

disable station:

*//F*

--->

*//G*

--->

enable station:

*//G*

--->

*//D*

*//D*

test RAM:

*//E*

*//E*

test EEPROM:

**

enter menu

*/+0*
exit menu

*/+1*
restore setup

*/+2*
save setup

set the response time - The period of time in which a controller has to receive a reaction from a polled station. If no reaction is received a poll time-out will occur. Notice that
for this time the network baud rate and cable length should be considered. After this
label has been read, a label from the table with read direct labels should be read.
response time = decimal value of read direct label x 0.5 ms.
This time is different from the response time determined in section 5.
example:
The first read direct label is

*$00*
000

-NUL-

*$00*

The response time is 0 x 0.5 ms. = 0 ms. This is the minimum response time.

The first read direct label is

*$FF*
255

-switch-

*$FF*

The response time is 255 x 0.5 ms. = 127.5 ms. This is the maximum response time.

set the number of errors - If the controller receives incorrect data from a station, or
no reaction at all, the controller can switch off the decoder in question temporarily. With
this option you can set the number of allowed errors which a controller can receive from
a station before being switched-off. After this label has been read, a label from the table
with read direct alabesl should be read.
The decimal value of a label indicates the selected number of errors.
The maximum number of errors allowed is 51.

set the recovery time - The controller tries to switch stations which are off-line, on-line
again after a period of time selected with this options.
recovery time = decimal value of read direct label x 0.1 ms.

32

THE OSENET SYSTEM

PROGRAMMER'S GUIDE

33

*//3*

set the response time:

--->

*//3*

--->

*//6*

set the number of errors:

--->

*//6*

--->

*//5*

set the recovery time:

**

enter menu

*/+0*
exit menu

--->

*//5*

*/+1*
restore setup

--->

*/+2*
save setup

34

4

controller-host communication protocol

HOST

direction

max. bytes involved

CONTROLLER

3

  

tc
M+11

<..4 CHARS..>  <..4 CHARS..>  

th
2

<1 CHAR> 

tc
1



Table 4.1 Controller - host data exchange sequence.

HOST

direction

max. bytes involved

CONTROLLER

3

  

tc
5

<..4CHAR..> 

th
M+5

<1CHAR>   <1CHAR>  

tc
<..4CHAR..> 

5

th
1



Table 4.2 Host - controller data exchange sequence.

36

CONTROLLER-HOST COMMUNICATION PROTOCOL

host - controller communication
For host-controller communication either the RS232 or RS 422 can be used. If the
distance between the controller and the host computer is long, the latter is preferred.
Depending on the program running on the host computer, the communication protocol
should be set. Three protocols are available:
• free running
• ANSI X3.28
• Intermec mode D
In case free running is selected, no protocol is active and data is transmitted in spite of
control signals.
ANSI X3.28 is a user configurable protocol. It is based on the ANSI X3.28 standard,
sub-category 2.4, A4. This protocol features: two way alternate non-switched multipoint
operation, polling/selection mechanism, ACK/NAK handshaking and longitudinal redundancy check.

CONTROLLER-HOST COMMUNICATION PROTOCOL

37

38

5

time analysis of OSENET

THE OSENET SYSTEM

39

40

In this section formulas are derived which can be used to calculate the response time
for the network designed. Roughly, the response time is defined as the time a DD6000station has to wait to receive a response from the host after data has been read. The
response time depends on many things such as network baud rate, host-controller
baud rate, message length, number of stations, overhead, etc.
Once the network is installed and the host-controller protocol is configured, the formulas derived in this section can be used to calculate a response time for your network
to check whether it is quick enough. If the calculated response time turns out to be too
long, a few guidelines to reduce this time are indicated at the end of this section.
First the time to send a message for all data flows indicated in figure 3.1 will be calculated.
The default communication parameters for the OSENET network are:
Baud rate
Data format
Stop bit
Start bit

: 125000 baud
: 9 bit
: 1 bit
: 1 bit

From these parameters, the time it takes to transmit a single data byte can be calculated, by dividing the bits in the byte by the baud rate:
tbo =

start bit + stop bit + data bits
11
=
= 88 µsec.
baud rate
125 K

(1)

In which tbo is the time to transmit a single byte across the network.

decoder - controller data exchange( data flow 1 in fig. 3.1)
The time it takes to transmit a message of length M from the decoder to the controller, and to have this message acknowledged, can be derived from the data exchange
sequence indicated table 3.1. This time is given as:

tsc = tpoll + td + tdata + tc + trr

TIME ANALYSIS OF OSENET

(2)

41

In which:

- tsc
- tpoll
- td
- tdata
- tc
- trr

time to transmit a message from a decoder to the controller
poll transmit time
turnaround time for the decoder
time to transmit data to the controller
turnaround time for the controller
time to transmit an  acknowledgement

With equation (1), the number of bytes for the data exchange and the turnaround times
for the decoder and controller equation (2) leads to:
tsc = 2tbo + td + (M+6)tbo + tc + 4tbo = 1.456 ms. + 88M µs.

In which:

- tsc
- tbo
- td
-M
- tc

(3)

time to transmit a message from a decoder to the controller
time to transmit one byte
turnaround time for the decoder
message length
turnaround time for the controller

contoller - decoder data exchange( data flow 2 in fig. 3.1)
The time needed to send a frame to the station can be derived from the data exchange
tcs = tdata + td + trr

(4)

sequence indicated in table 3.2. This time is given as:
In which:
- tcs
time to transmit a message from the controller to a decoder
- tdata time to transmit data to a decoder
- td
turnaround time for the decoder
- trr
time to transmit an  acknowledgement

42

TIME ANALYSIS OF OSENET

With equation (1), the number of bytes for the data exchange and the turnaround time
for the decoders equation (4) leads to:
time to transmit a message from the controller to a decoder
In which:
- tcs
time to transmit one byte
- tbo
- td
turnaround time for the decoder
-M
message length

controller - host data exchange( data flow 3 in fig. 3.1)
Because the controller should be able to exchange data with any program running on a
host computer, the protocols for this data link are highly configurable. In this section the
worst case data exchanges for this data link are postulated.
For the host interface parameters the default settings are used:
Baud rate
: 9600 baud
Data format
: 7 bit
Start bit/Stop bit : 0 bit/2 bit
Parity bit
: even
Interface
: RS232 (no hardware handshaking)

tbh =

stop bits + parity bit + data bits
10
=
= 1.04 ms.
baud rate
9600

(6)

From these parameters, the time it takes to transmit a single data byte can be calculated, by dividing the bits in the byte by the baud rate:
In which tbh is the time to transmit a single byte across the host-controller data link.
The data exchange sequence for sending a message with length M from the network
controller to the host computer is depicted in table 4.1 in chapter 4. The indication
<1 char> and <..4char..> refers to the additional characters which can be employed to
configure the protocol required for the program running on the host computer.
tch = th.enq + 2tc + tdata + th + th.ack+ tc.eot

(7)

The total time to transmit a message to the host and to react on the hosts acknowledgement with an  is given as:

TIME ANALYSIS OF OSENET

43

In which:

- tch
- th.enq
- tc
- tdata
- th
- th.ack
- tc.eot

time to transmit a message from the controller to the host
time to transmit the  sequence
turnaround time for the controller
time to transmit data with additional control characters
turnaround time for the host
time to transmit an 
time to transmit an 

With equation (6), the number of bytes for the data exchange and the turnaround times
for the controller and host( assumed to be 200µs.), equation (7) leads to:
In which:
- tch
time to transmit a message from the controller to the host
- tbh
time to transmit one byte
- tc
turnaround time for the controller
- th
turnaround time for the host
-M
message length

host-controller data exchange( data flow 4 in fig. 3.1)
To send a message from the host computer to the network controller the data exchange
thc = th.enq + 2tc + 2tc.ack+ tdata + 2th + th.eot

(9)

sequence as shown in table 4.2 is followed. The time needed to send a message of
length M to the controller is:
In which:
- thc
time to transmit a message from the host to the controller
- th.enq time to transmit an enquiry to the controller
- tc
turnaround time for the controller
- tc.ack time to transmit an acknowledgement to the host
- tdata time to transmit data to the controller
- th
turnaround time for the host
- th.eot time to transmit an 

44

TIME ANALYSIS OF OSENET

thc = 3tbh + 2tc + (M+5)tbh + 2th + 10tbh + tbh = 20.59 ms. + 1.04M ms.

(10)

With equation (6), the number of bytes for the data exchange and the turnaround times
for the controller and host( assumed to be 200µs.), equation (9) leads to:
In which:

- thc
- tbh
- tc
- th
-M

time to transmit a message from the host to the controller
time to transmit one byte
turnaround time for the controller
turnaround time for the host
message length

With the equations (3), (5), (8) and (10) a worst case time response for one of N stations can be estimated. The worst case time is the time which elapses between sending
and receiving data on a station. In this case all N stations are reading data, whereas
the considered station is the last one to send its message. All messages are sent from
the controller to the host, processed by the host and sent back to the controller. The
tresp = 50tsc(M=10) + 50tch(M=10) + 50thc(M=10) + 50tcs(M=10) = 3.2 s.

(11)

considered station is the last one to receive its data. Let the number of stations be 50
(N=50) and the message length be 10 characters (M=10) for all stations. Then:
Apart from the fact that the change of occurence is virtually impossible, the data transmissions across both data links are running almost parallel, the change that all stations
have data to transmit at the same time is not very large.
example
The latter consideration is not very realistic. In this example a formula for a typical
response time, still on the pessimistic side, will be derived. Assumed that:
- p% of all N decoders is transmitting data.
- the length of the data is 10 characters.(M=10).
- for the decoder-controller data link:125Kbps, 9 data bits, 1 start bit,
1 stop bit.
- the baud rate for the host-controller data link is 38K4 kbps.
- for the host-controller data link: 2 stop bits, 1 parity bit, 7 data bits.
- the prefix for all control character for the host-controller data link is
one character.
TIME ANALYSIS OF OSENET

45

- poll execution time tpe= 515µs.(section 3.1)
With these assumptions tsc= 2.34ms. , tcs= 1.96ms., tch=6.07ms., thc=6.79ms.
Not all stations want to transmit data. However, all stations are polled. Suppose that
the first (100-p)% of the stations are polled and the first p% of the station have data to
send. Once this data has arrived at the controller, it is sent to the host. From the host it
is sent back to the controller, and back to the station in question. The data transmission
on all data links happen sequential in time. In formula:
Tres,typ = (1-p)Ntpe + Nptsc + Nptch + Npthc + (1-p)Ntpe + Nptcs

The diagrams on the next page give an impression of the speed of a network, based
on the latter formula. In each figure only one parameter is a variable, whereas the other
parameters are constants. These constant values are indicated in the upper left corner
of each diagram.
In appendix C a listing of a BASIC-file is enclosed. This program calculates a more precise response time for your network. An extensive description of the program is given at
the beginning of the appendix.

Reduction of response time
If the response time turns out to be too long the following guidelines should be followed:
• Increase the host controller baud rate. Although the default value
for the baud rate is 9600 baud, most computers can handle a baud
rate of 38K4 bps easily.
• Reduce the overhead to a minimum. The data frame for host-controller communication is highly programmable. Control characters
can sometimes be preceded by 4 characters. Only use this feature
if strictly necessary. To a lesser degree this also counts for the
OSENET data link.
• Stations switched off should be set off-line. To prevent the controller from polling station which are switched off, the option on page
30-31 should be used to reduce the poll sequence of the network.

46

TIME ANALYSIS OF OSENET

Figure 5.1 The response time of a network as a function of : the network load, the host
baud rate, message length and the number of decoders
TIME ANALYSIS OF OSENET

47

48

A

pin assignment of ports

49

50

This appendix contains the pin assignment of the data input port I1 and communication ports O1 and O2. Indication of signalling direction (in/out) is related to the DD6000
controller. See figure A-1 description of the connector used.

A.1 PIN ASSIGNMENT PORT O1
pin
1. Frame ground
2. TxD RS232
3. RxD RS232
4. RTS RS232
5. CTS RS232
6. Not connected
7. Logic ground
8. Not connected
9. T+ RS485
10. T- RS485
11. TR+ RS485
12. TR- RS485
13. Not connected
14. Not connected
15. Not connected
16. Not connected
17. Not connected
18. Not connected
19. Not connected
20. Not connected
21. Not connected
22. Not connected
23. Not connected
24. Not connected
25. +5V

in/out
out
in
out
in

description
connected to housing
Transmitted Data: transmit data to host computer
Received Data: receive data from host computer
Request To Send: desire (demand) to transmit data
Clear To Send: permission of host to transmit data
Signal Ground

out
out
in/out
in/out

Transmit differential voltage
Transmit differential voltage
Transmit/Receive differential voltage
Transmit/Receive differential voltage

in/out Vcc

PIN ASSIGNMENT OF PORTS

51

A.2 PIN ASSIGNMENT PORT O2
pin

in/out

1.
Frame ground
2-6. Not connected
7.
Logic ground
8.
Not connected
9.
TR+ RS485
10.
TR- RS485
11.
T+ RS485
12.
T- RS485
13-24. Not connected
25.
+5V

description
connected to housing
Signal Ground

in/out
in/out
out
out

Transmit/Receive differential voltage
Transmit/Receive differential voltage
Transmit differential voltage
Transmit differential voltage

in/out

Vcc

front view

cross-section A-A

A
pin 1

pin 13

pin 14

pin 25

;;;;;;
;;;;;;
;;;;;;
;;;;;;
;;;;;;
;;;;;;
;;;;;;
;;;;;;
;;;;;;
;;;;;;
;;;;;;
;;;;;;
;;;;;;
;;;;;;
;;;;;;
;;;;;;
;;;;;;
;;;;;;

A

top view

pin assignment is mirrored
for female connector

for port O1 use a male type connector
for port O2 use a female type connector

Figure A-1. Standard DB25 connector used for port O1 and port O2.

52

PIN ASSIGNMENT OF PORTS

A.3 PIN ASSIGNMENT PORT I1
See figure A-2 description of the connector used.
pin

in/out

1. start of scan
2. TTL in
3. Good read
4. Motor failure sense
5. Trigger switch
6. LED enable
7. Ground
8. Ground
9. +5 Volt

in
in
out
in
in
out

description
signal from peripheral to indicate a scan has started
data from peripheral
confirmation of a good read by the decoder
signal for a defective motor
signal for triggering DD6000
signal to enable scanner after trigger

front view

cross-section A-A
A
pin 1

pin 5

pin 6

pin 9

;;;;
;;;;
;;;;
;;;;;;
;;;;
;;;;
;;;;
;;;;
;;;;
;;;;
;;;;

A
top view

for port I1 use female type connetor.

Figure A-2. Standard DB9 connector used for port I1.
PIN ASSIGNMENT OF PORTS

53

54

B

table with read direct labels

55

56

The read direct labels can be used to:

1.

enter numerical data from 0 to 255.(decimal indication)

example: if the label below is read after the "set station off-line" has
been read, station 8 will be set off-line.

2.

set alternative control-characters.(ASCII indication)

example: if a poll from the host should be preceded by an ASCIIcharacter , the label below should be read.

*$33*

008

decimal

3.

-BS-

ASCII

*$08*

hexadecimal

find the hexadecimal representative of the bar code labels

example: reading the code with hexadecimal value *$08* after the label
"set network baud rate, sets the baud rate 9600 baud. If it is
read after the "set response time "-label has been read, the
maximum allowed response time will be 4.5 ms.

TABLE WITH READ DIRECT LABELS

57

*$00*

*$08*

*$10*

*$01*

*$09*

*$11*

*$02*

*$0A*

*$12*

*$03*

*$0B*

*$13*

*$04*

*$0C*

*$14*

*$05*

*$0D*

*$15*

*$06*

*$0E*

*$16*

*$07*

*$0F*

*$17*

000

001

002

003

004

005

006

007

58

-NUL-

-SOH-

-STX-

-ETX-

-EOT-

-ENQ-

-ACK-

-BEL-

*$00*

*$01*

*$02*

*$03*

*$04*

*$05*

*$06*

*$07*

008

009

010

011

012

013

014

015

-BS-

-HT-

-LF-

-VT-

-FF-

-CR-

-SO-

-SI-

*$08*

*$09*

*$0A*

*$0B*

*$0C*

*$0D*

*$0E*

*$0F*

016

017

018

019

020

021

022

023

-DLE-

- DC1-

-DC2-

-DC3-

-DC4-

-NAK-

-SYN -

-ETB-

*$10*

*$11*

*$12*

*$13*

*$14*

*$15*

*$16*

*$17*

TABLE WITH READ DIRECT LABELS

*$18*

*$21*

*$2A*

*$19*

*$22*

*$2B*

*$1A*

*$23*

*$2C*

*$1B*

*$24*

*$2D*

*$1C*

*$25*

*$2E*

*$1D*

*$26*

*$2F*

*$1E*

*$27*

*$30*

*$1F*

*$28*

*$31*

*$20*

*$29*

*$32*

024

025

026

027

028

029

030

031

032

-CAN-

-EM-

-SUB-

- ESC -

-FS -

-GS-

-RS-

-US-

-SP-

*$18*

*$19*

*$1A*

*$1B*

*$1C*

*$1D*

*$1E*

*$1F*

*$20*

TABLE WITH READ DIRECT LABELS

033

034

035

036

037

038

039

040

041

-!-

-"-

-#-

-$-

-%-

-&-

-'-

-(-

-)-

*$21*

*$22*

*$23*

*$24*

*$25*

*$26*

*$27*

*$28*

*$29*

042

043

044

045

046

047

048

049

050

-*-

-+-

-,-

---

-.-

-/-

-0-

-1-

-2-

*$2A*

*$2B*

*$2C*

*$2D*

*$2E*

*$2F*

*$30*

*$31*

*$32*

59

*$33*

*$3C*

*$45*

*$34*

*$3D*

*$46*

*$35*

*$3E*

*$47*

*$36*

*$3F*

*$48*

*$37*

*$40*

*$49*

*$38*

*$41*

*$4A*

*$39*

*$42*

*$4B*

*$3A*

*$43*

*$4C*

*$3B*

*$44*

*$4D*

051

052

053

054

055

056

057

058

059

60

-3-

-4-

-5-

-6-

-7-

-8-

-9-

-:-

-;-

*$33*

*$34*

*$35*

*$36*

*$37*

*$38*

*$39*

*$3A*

*$3B*

060

061

062

063

064

065

066

067

068

-<-

-=-

->-

-?-

-@-

-A-

-B-

-C-

-D-

*$3C*

*$3D*

*$3E*

*$3F*

*$40*

*$41*

*$42*

*$43*

*$44*

069

070

071

072

073

074

075

076

077

-E-

-F-

-G-

-H-

-I-

-J-

-K-

-L-

-M-

*$45*

*$46*

*$47*

*$48*

*$49*

*$4A*

*$4B*

*$4C*

*$4D*

TABLE WITH READ DIRECT LABELS

*$4E*

*$57*

*$60*

*$4F*

*$58*

*$61*

*$50*

*$59*

*$62*

*$51*

*$5A*

*$63*

*$52*

*$5B*

*$64*

*$53*

*$5C*

*$65*

*$54*

*$5D*

*$66*

*$55*

*$5E*

*$67*

*$56*

*$5F*

*$68*

078

079

080

081

082

083

084

085

086

-N-

-O-

-P-

-Q-

-R-

-S-

-T-

-U-

-V-

*$4E*

*$4F*

*$50*

*$51*

*$52*

*$53*

*$54*

*$55*

*$56*

TABLE WITH READ DIRECT LABELS

087

088

089

090

091

092

093

094

095

-W-

-X-

-Y-

-Z-

-[-

-\-

-]-

-^-

-_-

*$57*

*$58*

*$59*

*$5A*

*$5B*

*$5C*

*$5D*

*$5E*

*$5F*

096

097

098

099

100

101

102

103

104

-'-

-a-

-b-

-c-

-d-

-e-

-f-

-g-

-h-

*$60*

*$61*

*$62*

*$63*

*$64*

*$65*

*$66*

*$67*

$68*

61

*$69*

*$72*

*$6A*

*$73*

*$6B*

*$74*

*$6C*

*$75*

*$7E*

*$6D*

*$76*

*$7F*

*$6E*

*$77*

*$80*

*$6F*

*$78*

*$81*

*$70*

*$79*

*$82*

*$71*

*$7A*

*$83*

105

106

107

108

109

110

111

112

113

62

-i-

-j-

-k-

-l-

-m-

-n-

-o-

-p-

-q-

*$69*

*$6A*

*$6B*

*$6C*

*$6D*

*$6E*

*$6F*

*$70*

*$71*

114

115

116

117

118

119

120

121

122

-r-

-s-

-t-

-u-

-v-

-w-

-x-

-y-

-z-

*$72*

*$73*

*$74*

*$75*

*$76*

*$77*

*$78*

*$79*

*$7A*

*$7B*
123

-{-

*$7B*

*$7C*

124

-|-

*$7C*

*$7D*

125

126

127

128

129

130

131

-}-

-~-

-DEL-

*$7D*

*$7E*

*$7F*

-shiftl make- *$80*

-shiftr make- *$81*

-altl make- *$82*

-altr make- *$83*

TABLE WITH READ DIRECT LABELS

*$84*

*$8D*

*$85*

*$8E*

*$86*

*$8F*

*$98*

*$87*

*$90*

*$99*

*$88*

*$91*

*$9A*

*$89*

*$92*

*$9B*

*$8A*

*$93*

*$9C*

*$8B*

*$94*

*$9D*

*$8C*

*$95*

*$9E*

132

133

134

135

136

137

138

139

140

-ctrll make- *$84*

-ctrlr make- *$85*

-num make- *$86*

-all make-

*$87*

-shftl break- *$88*

-shftr break- *$89*

-altl break- *$8A*

-altr break- *$8B*

-ctrll break- *$8C*

TABLE WITH READ DIRECT LABELS

141

142

143

144

145

146

147

148

149

-ctrlr break- *$8D*

-num break- *$8E*

-all break-

--

--

--

--

--

--

*$8F*

*$90*

*$91*

*$92*

*$93*

*$94*

*$95*

*$96*

150

--

*$96*

*$97*

151

152

153

154

155

156

157

158

--

--

--

--

--

--

--

--

*$97*

*$98*

*$99*

*$9A*

*$9B*

*$9C*

*$9D*

*$9E*

63

*$9F*

*$A8*

*$B1*

*$A0*

*$A9*

*$B2*

*$A1*

*$AA*

*$B3*

*$A2*

*$AB*

*$B4*

*$A3*

*$AC*

*$B5*

*$A4*

*$AD*

*$B6*

*$A5*

*$AE*

*$B7*

*$A6*

*$AF*

*$B8*

*$A7*

*$B0*

*$B9*

159

160

161

162

163

164

165

166

167

64

--

- -

- -

- -

--

- -

- -

- -

- -

*$9F*

*$A0*

*$A1*

*$A2*

*$A3*

*$A4*

*$A5*

*$A6*

*$A7*

168

169

170

171

172

173

174

175

176

- -

- -

-

-

- -

- -

- -

- -

- -

- -

*$A8*

*$A9*

*$AA*

*$AB*

*$AC*

*$AD*

*$AE*

*$AF*

*$B0*

177

178

179

180

181

182

183

184

185

- -

- -

- -

- -

- -

- -

--

- -

- -

*$B1*

*$B2*

*$B3*

*$B4*

*$B5*

*$B6*

*$B7*

*$B8*

*$B9*

TABLE WITH READ DIRECT LABELS

*$BA*

*$C3*

*$CC*

*$BB*

*$C4*

*$CD*

*$BC*

*$C5*

*$CE*

*$BD*

*$C6*

*$CF*

*$BE*

*$C7*

*$D0*

*$BF*

*$C8*

*$D1*

*$C0*

*$C9*

*$D2*

*$C1*

*$CA*

*$D3*

*$C2*

*$CB*

*$D4*

186

187

188

189

190

191

192

193

194

- -

- -

- -

- -

- -

- -

- -

- -

- -

*$BA*

*$BB*

*$BC*

*$BD*

*$BE*

*$BF*

*$C0*

*$C1*

*$C2*

TABLE WITH READ DIRECT LABELS

195

196

197

198

199

200

201

202

203

- -

- -

- -

- -

- -

- -

- -

- -

- -

*$C3*

*$C4*

*$C5*

*$C6*

*$C7*

*$C8*

*$C9*

*$CA*

*$CB*

204

205

206

207

208

209

210

211

212

- .-

- -

- -

- -

- -

- -

- -*

- -

- -

*$CC*

*$CD*

*$CE*

*$CF*

*$D0*

*$D1*

$D2*

*$D3*

*$D4*

65

*$D5*

*$DE*

*$E7*

*$D6*

*$DF*

*$E8*

*$D7*

*$E0*

*$E9*

*$D8*

*$E1*

*$EA*

*$D9*

*$E2*

*$EB*

*$DA*

*$E3*

*$EC*

*$DB*

*$E4*

*$ED*

*$DC*

*$E5*

*$EE*

*$DD*

*$E6*

*$EF*

213

214

215

216

217

218

219

220

221

66

- -

- -

- -

- -

- -

- -

- -

- -

- -

*$D5*

*$D6*

*$D7*

*$D8*

*$D9*

*$DA*

*$DB*

*$DC*

*$DD*

222

223

224

225

226

227

228

229

230

- -

- -

- -

- -

- -

- -

- -

- -

- -

*$DE*

*$DF*

*$E0*

*$E1*

*$E2*

*$E3*

*$E4*

*$E5*

*$E6*

231

232

233

234

235

236

237

238

239

- -

- -

- -

- -

- -

- -

- -

- -

- -

*$E7*

*$E8*

*$E9*

*$EA*

*$EB*

*$EC*

*$ED*

*$EE*

*$EF*

TABLE WITH READ DIRECT LABELS

*$F0*

*$F6*

*$FC*

*$F1*

*$F7*

*$FD*

*$F2*

*$F8*

*$FE*

*$F3*

*$F9*

*$FF*

*$F4*

*$FA*

*$F5*

*$FB*

240

241

242

243

244

245

- -

- -

- -

- -

- -

- -

*$F0*

*$F1*

*$F2*

*$F3*

*$F4*

*$F5*

TABLE WITH READ DIRECT LABELS

246

247

248

249

250

251

- -

- -

- -

- -

- -

- -

*$F6*

*$F7*

*$F8*

*$F9*

252

253

254

255

- -

- eos -

- delay -

- switch -

*$FC*

*$FD*

*$FE*

*$FF*

*$FA*

*$FB*

67

68

C

listing response time program

69

70

The following program can be used to calculated the response time for your network.
For several parameters of both data links a value should be entered. ( Most values can
be set with the bar code options in section 3 and 4). By pressing the -key the
default value for a parameter is selected. An other value can be entered if the key is pressed. First a description of the parameter values to be entered is given.

****************** OSEnet data link settings *******************
number of decoder stations: The number of decoders connected to your network. Enter a value 1-126.
OSEnet baud rate

: The transmission speed across the network.
Default is 125Kbps.

average message length

: The average length of data send from the
decoder stations to the host. For instance, if
most of the time UPCA codes are read, the
message length is 12.

network load in %

: If 50 decoders are on-line and on 5 decoders a
total of 10 scanners are reading labels simultaneously, the network load is 20%.

************** host-controller data link settings **************
host baud rate

: The baud rate for the host-controller data link.
Default value is 9600 bps. A transmission speed
of 38400 baud is recommended.

number of data bits

: The number of data bits can be 7 or 8. Default
is 7 data bits.

number of stop bits

: The number of stop bits can be 1 or 2. Default is
2 stop bits.

LISTING RESPONSE TIME PROGRAM

71

please refer to table 4.2 for host-controller data exchange.
number of bytes for from host poll:
The number of bytes for a poll can be 1, 2 or 3.
number of bytes for first to host acknowledgement:
The number of bytes is can vary between 1and 5.
number of bytes accompanying the data bytes:
The number of additional bytes is can vary
between 3 and 5.
number of bytes for second to host acknowledgement:
The number of bytes is can be 1 or 5.

BASIC PROGRAM LISTING
10 CLS
20 PRINT "************************** OSEnet data link settings **************************"
30 PRINT ""
40 INPUT "number of decoder stations: ", N
50 PRINT "-"
60 PRINT "OSEnet baud rate
:"
70 PRINT "=125000, =value"
80 GOSUB 1230
90 IF A$ = CHR$(27) THEN 120
100 OB = 125000
110 GOTO 130
120 INPUT "your value: "; OB
130 PRINT "-"
140 A$ = ""
150 PRINT "average message length : "
160 PRINT "=10, =value"
170 GOSUB 1230
180 IF A$ = CHR$(27) THEN 210
190 M = 10
200 GOTO 220

72

LISTING RESPONSE TIME PROGRAM

210 INPUT "your value :"; M
220 PRINT "-"
230 A$ = ""
240 PRINT "network load in %
:"
250 PRINT "=10%, =value"
260 GOSUB 1230
270 IF A$ = CHR$(27) THEN 300
280 p = 10
290 GOTO 310
300 INPUT "your value :"; p
310 tsc = (12 + M) * 11 / OB + .0004
320 tcs = (10 + M) * 11 / OB + .0002
330 PRINT ""
340 PRINT ""
350 PRINT "********************** host-controller data link settings **********************"
360 PRINT ""
370 A$ = ""
380 PRINT "host baud rate
:"
390 PRINT "=9600, =value"
400 GOSUB 1230
410 IF A$ = CHR$(27) THEN 440
420 HB = 9600
430 GOTO 450
440 INPUT "your value: "; HB
450 PRINT "-"
460 A$ = ""
470 PRINT "number of data bits
:"
480 PRINT "=7, =value"
490 GOSUB 1230
500 IF A$ = CHR$(27) THEN 530
510 D = 7
520 GOTO 540
530 INPUT "your value :"; D
540 PRINT "-"
550 A$ = ""
560 PRINT "number of stop bits
:"
570 PRINT "=1, =2"
580 GOSUB 1230
590 IF A$ = CHR$(13) THEN 620
600 S = 2
610 GOTO 630

LISTING RESPONSE TIME PROGRAM

73

620 S = 1
630 PRINT "-"
640 A$ = ""
650 PRINT "parity y/n
:"
660 WHILE LEN(A$) = 0
670 A$ = INKEY$
680 IF (A$ = CHR$(89) OR A$ = CHR$(121)) THEN PA = 1
690 IF (A$ = CHR$(78) OR A$ = CHR$(110)) THEN PA = 0
700 IF A$ = CHR$(13) THEN A$ = ""
710 WEND
720 PRINT "-"
730 A$ = ""
740 PRINT "turnaround time for host : "
750 PRINT "=2e-4 s., =value"
760 GOSUB 1230
770 IF A$ = CHR$(27) THEN 800
780 TH = .0002
790 GOTO 810
800 INPUT "your value :"; TH
810 PRINT "-"
820 A$ = ""
830 PRINT "please refer to appendix E"
840 PRINT "protocol (f)irst table, (s)econd table, set (n)ow"
850 PRINT "-"
851 REM TABLE 1 NO ADDITIONS, TABLE 2 INTERMEC
860 WHILE LEN(A$) = 0
870 A$ = INKEY$
880 WEND
890 IF (A$ = CHR$(70) OR A$ = CHR$(102)) THEN 920
900 IF (A$ = CHR$(83) OR A$ = CHR$(115)) THEN 950
910 IF (A$ = CHR$(78) OR A$ = CHR$(110)) THEN 980
920 Tch = (M + 8) * (PA + D + S) / HB + .0004 + TH
930 Thc = (M + 9) * (PA + D + S) / HB + .0004 + 2 * TH
940 GOTO 1190
950 Tch = (M + 4) * (PA + D + S) / HB + .0002 + TH
960 Thc = (M + 5) * (PA + D + S) / HB + .0004 + TH
970 GOTO 1190
980 PRINT "please refer to table 4.1 for controller-host data exchange"
990 PRINT " "
1000 INPUT "number of bytes for from host poll: "; CHP
1010 PRINT "-"

74

LISTING RESPONSE TIME PROGRAM

1020 INPUT "number of bytes accompanying the data bytes:"; CHD
1030 PRINT "-"
1040 INPUT "number of bytes for from host acknowledgement:"; CHA
1050 TEOT = 1
1060 PRINT " "
1070 PRINT "please refer to table 4.2 for host-controller data exchange"
1080 PRINT " "
1090 INPUT "number of bytes for from host poll:"; HCP
1100 PRINT "-"
1110 INPUT "number of bytes for first to host acknowledgement:"; HCA1
1120 PRINT "-"
1130 INPUT "number of bytes accompanying the data bytes:"; HCD
1140 PRINT "-"
1150 INPUT "number of bytes for second to host acknowledgement:"; HCA2
1160 FEOT = 1
1170 Tch = (M + CHP + CHD + CHA + TEOT) * (PA + D + S) / HB + .0004 + TH
1180 Thc = (M + HCP + HCA1 + HCD + HCA2 + FEOT) * (PA + D + S) / HB + .0004 +
2 * TH
1190 Tpe = .000515
1200 Tresp = 2 * N * (1 - p / 100) * Tpe + N * p / 100 * (tsc + tcs) + N * p / 100 * (Tch +
Thc)
1210 PRINT "the response time is:"; Tresp; ".s"
1220 GOTO 1280
1230 WHILE LEN(A$) = 0
1240 A$ = INKEY$
1250 IF A$ = CHR$(13) THEN RETURN
1260 IF A$ = CHR$(27) THEN RETURN
1270 WEND
1280 END

LISTING RESPONSE TIME PROGRAM

75

76

LISTING RESPONSE TIME PROGRAM

77

parity y/n

: For even, odd, mark and space enter y(es). If no
parity is set enter n(o).

turnaround time for host

: Depends on the program running on your host
computer, and is not easy to determine.

please refer to appendix E.
protocol (f)irst table, (s)econd table, set (n)ow:
Standard values for the control characters for
the host-controller data link can be selected.
Refer to appendix X is you want to use default
settings. With the first table a minimum of control
characters is selected for data control across the
data link. With the second table Intermec settings are selected. Once the first or second table
are selected, the response time is calculated.
If an (n) is entered, the number of bytes for the
host and controller data exchange should be set
first.
please refer to table 4.1 for controller-host data exchange.
number of bytes for from host poll:
The number of bytes for a poll can be 1, 2 or 3.
number of bytes accompanying the data bytes:
The number of additional bytes is can vary
between 3 and 11.
number of bytes for from host acknowledgement:
The number of bytes is can be 1 or 2.
number of bytes for from host acknowledgement:
The number of bytes is can be 1 or 2.

78

D

glossary of terms

79

80

In this appendix only terms related to the DD6000 network are explained. Terms not
present in this glossary probably are present in the glossary of the manual for the
DD6000 decoder.

Acknowledgement (ACK) - A control character sent to notify that data has been correctly received.
Buffer - Part of memory in which data can be stored before being processed. A buffer
is needed if a device can receive data more quickly than it can process that data.
Control charaacters - All ASCII-characters with a code <20h plus the  character (ASCII code 7Fh). These character have a data control function insteasd of representing an alphanumeric hcaracter.
Data Link Escape (DLE) - Control characters preceded by a -character are
considered to be normal data characters.
Differential Voltage - A method for signal transmission. The voltage difference between
two lines determines whether a “0”or “1”is transmitted. The RS422/485 uses differential voltage for signal transmission. This way of signal transmission is less sensitive to
noise.
End of Poll (EOP) - Acharacter send by a decoder station, as a reaction on a poll
enquiry, to indicate that is has no data to send.
End of Text (EOT) - A control character that indicates the end of a data frame.
End of Transmission - Concludes a data transmission. This EOT character is used to
signal the end of any previous communication. The  character should not have a
prefix.
Enquiry (ENQ) - A control character to indicate a response message is requested.
Error message - An audible of visual indication of hardware or software malfunction or
of an illegal data entry attempt.

81

Full duplex - A transmission channel that provides simultaneous transmission of data
between two devices, in both directions.
Hexadecimal - A number system with a base of 16. The symbols used in this system
are the decimal digits 0 through 9 and six additional digits which are represented as A,
B, D, D, E and F corresponding to 10, 11, 12, 13, 14, 15. The hexadecimal representation of the decimal number 107 is 6Bh (107 = 6*161+11*160)
Longitudinal Redundancy Check (LRC) - The frame check character. The ith of the
-character is the exclusive-OR of the ith bit of all characters in the frame.
Multi-drop - A communication link which allows more than two devices to be directly
attached. OSEnet allows up to 126 decoders to be attached to a single host computer
via a controller.
Negative Acknowledgement (NAK) - A control character sent to notify that data has
been incorrectly received or not received at all (after a time out period). Sending a
 implies the retransmission of the incorrectly received data.
Network cable - or Main cable, is a Multi-drop cable that establishes the physical link
between the controller’s port O2 and the decoders’ port O1.
Off-line station - Pertaining to a decoder part of the network but not polled. The presence of the decoder station does not affect the poll cycle time.
On-line station - Pertaining to a decoder part of the network and periodically being
polled.
OSEnet-cable - The physical link between the controller/decoders of the network and
their belonging connector boxes.
Overhead - The characters sent next to the actual data. These characters are needed
to control the data exchange.
Poll - A periodic interrogation from the decoders by the controller. If a poll for a certain
station is sent, only this station is allowed to react with data or an EOP-message.
Poll cycle time - The time to poll all stations connected to the network without
exchanging data.

82

Poll execution time - The time to finish a complete sequence of polling a station,
receiving an EOP-message and generating a poll for the next station.
Poll generation time - The time between reception of an EOP-message and transmission of a new poll by the controller.
Recovery time - The period of time after which stations, set off-line the controller after
a number of errors, will be set on-line again.
Response time_1 - The time it takes your system to have a reaction at a decoder station after a lable has been read here.
Response time_2 - The period of time in which a controller ahas to receive a reaction
from a polled station.
RS232 - An industry standard for communication between computers and various types
of peripheral equipment.
RS422/485 - An industry standard for communication in multipoint systems. RS422 is
employed for point to point interconnections, whereas RS485 is employed in a multipoint environment.
Start of Text (STX) - A control character preceding a sequence of characters that is to
be interpreted as an entity. (e.g. text or message).

83

84

85

86

87

88



Source Exif Data:
File Type                       : PDF
File Type Extension             : pdf
MIME Type                       : application/pdf
PDF Version                     : 1.3
Linearized                      : Yes
Create Date                     : 2006:12:06 11:05:38+01:00
Modify Date                     : 2006:12:06 11:05:38+01:00
Page Count                      : 98
Creation Date                   : 2006:12:06 10:05:38Z
Mod Date                        : 2006:12:06 10:05:38Z
Producer                        : Acrobat Distiller 5.0 (Windows)
Author                          : Karin Duin
Metadata Date                   : 2006:12:06 10:05:38Z
Creator                         : Karin Duin
Title                           : DD6000controller.indd
EXIF Metadata provided by EXIF.tools

Navigation menu