ASCII C
OMMUNICATIONS
A-5
Solutions with Vision
M
ESSAGE
S
EQUENCING
The master unit initiates all data transfers by either sending data to a slave or
requesting data from a slave. This protocol is strictly half duplex; only one device
may be transmitting at any time. A slave device should not transmit unless it
receives a valid message that requires a response--when it does receive such a
message, it must respond quickly (See Timing). The master unit should respond
in a timely manner, but is not under the same constraints as a slave. The
following is an example of processing a Master/Slave interaction.
Master
Slave’s response
Master’s response
1.
Wake up
ACK
-none-
2.
Poll
Data
ACK
3.
Poll
No data
-none-
4.
Poll
-none-
-none-
5.
Data
ACK
-none-
T
IMING
If a slave unit is going to respond to a poll from the master, it must start its
response within two character times of the end of the carriage return at the end of
the poll.
This makes the response time dependent upon the baud rate.
The slave must turn on its transmitter within two character times after receiving
the CR of the master’s poll. The slave must place the STX at the beginning of its
response, into its serial port no later than three character times after receipt of the
master’s carriage return.
Once the slave begins transmitting, it must not allow a gap of more than one half
a character time between characters. Most transmissions will take place under
interrupt, so this should not be a problem; however, it means that serial port
interrupts may not be disabled for an extended period of time during data
transmission.
Master/Slave Timing Diagram
“S” is the start bit, “0123456” are the character bits, “P” is the parity bit and “s”
is the stop bit.
Содержание 10
Страница 1: ...Revision 1 1 Release Date 01 23 01 Model 10 Bar Code Scanner OPERATIONS AND MAINTENANCE MANUAL...
Страница 2: ......
Страница 12: ...MODEL 10 OPERATIONS AND MAINTENANCE MANUAL Accu Sort Systems...
Страница 14: ...1 2 MODEL 10 OPERATIONS AND MAINTENANCE MANUAL Accu Sort Systems...
Страница 26: ...1 14 MODEL 10 OPERATIONS AND MAINTENANCE MANUAL Accu Sort Systems...
Страница 28: ...2 2 MODEL 10 OPERATIONS AND MAINTENANCE MANUAL Accu Sort Systems...
Страница 32: ...3 2 MODEL 10 OPERATIONS AND MAINTENANCE MANUAL Accu Sort Systems...
Страница 44: ...3 14 MODEL 10 OPERATIONS AND MAINTENANCE MANUAL Accu Sort Systems TOP READ...
Страница 45: ...INSTALLATION 3 15 Solutions with Vision BACK READ...
Страница 46: ...3 16 MODEL 10 OPERATIONS AND MAINTENANCE MANUAL Accu Sort Systems...
Страница 48: ...4 2 MODEL 10 OPERATIONS AND MAINTENANCE MANUAL Accu Sort Systems...
Страница 56: ...5 2 MODEL 10 OPERATIONS AND MAINTENANCE MANUAL Accu Sort Systems...
Страница 62: ...6 2 MODEL 10 OPERATIONS AND MAINTENANCE MANUAL Accu Sort Systems...
Страница 64: ...6 4 MODEL 10 OPERATIONS AND MAINTENANCE MANUAL Accu Sort Systems...
Страница 66: ...7 2 MODEL 10 OPERATIONS AND MAINTENANCE MANUAL Accu Sort Systems...
Страница 70: ...7 6 MODEL 10 OPERATIONS AND MAINTENANCE MANUAL Accu Sort Systems...
Страница 72: ...A 2 MODEL 10 OPERATIONS AND MAINTENANCE MANUAL Accu Sort Systems...
Страница 80: ...A 10 MODEL 10 OPERATIONS AND MAINTENANCE MANUAL Accu Sort Systems...
Страница 98: ...18 Accu Sort Systems...
Страница 102: ...Accu Sort Systems...