DC Puse Power Supply
【
DC-10-4P
】
8
APPENDIX
77
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-4P
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, after receiving all the messages, DC determines the data length, contents of
message, and checksum.
(3) Transmission of ACK/NAK on DC
After judging the message received, DC transmits ACK or NAK response to the HOST.
ACK transmits "0x06" and NAK transmits "0x15."
ACK is transmitted if the data received is normal, while NAK is transmitted if the data received contains
error.
After transmitting ACK/NAK, the command status for the data received is transmitted as a responding
message.
Содержание DC-10-4P
Страница 103: ......