
DC Power
【
DC-10/DC-20
】
8. Appendix
63
8-3. Communication protocol
The following shows the step of communication transactions between DC and HOST computer.
HOST
T0
T1
T2
T3
T4
DC-10/20
Message
transmitting
Message
receiving
ACK/NAK
wating
ACK/NAK
transmitting
ACK/NAK
receiving
Acknowledgment
Message wating
ACK/NAK
transmitting
Acknowledgment
Message transmitting
ACK/NAK
wating
ACK/NAK
receiving
Figure 8-6: Communication transaction step
T0: ACK waiting state from DC after a message transmitted from HOST.
T1: Frame receiving waiting state on DC.
T2: Acknowledgment message waiting state on HOST. The time until the acknowledgment frame is
received after receiving ACK.
T3: Frame receiving waiting state on HOST.
T4: ACK waiting state from HOST after an acknowledgment message transmitted from DC.
(1) Message transmission on HOST
First, HOST transmits a message packet to DC.
(2) DC receives the message.
After receiving the message packet from HOST, DC reads the address included in the massage to
confirm that it is a message transmitted to it.
If the address is wrong, DC does not respond to HOST but clears the receive buffer and returns to the
message receiving waiting mode.
If the address is correct, DC receives all the messages and then analyze the incoming checksums to
confirm that the messages are correctly received.
(3) Transmission of ACK/NAK on DC
After the judgment of received messages, DC sends ACK or NAK acknowledgments to HOST.
ACK then sends 0x06, or NAK sends 0x15.
ACK sends it when the received data is normal, whereas NAK sends it when the data is wrong.
After the transmission of ACK/NAK, the command status to the received data is sent as the
acknowledgment message.
Содержание DC-10
Страница 88: ......