The ktcx card takes the packet and sets the sen, The ktcx card transmits the packet, The ktcx card receives the response packet – Rockwell Automation D17846.2.4 CONTROLNET KT EMULA User Manual
Page 25: The ktcx card checks the receive mailbox, The ktcx card places the response into the rec, The host checks the receive access request and, The host resets the receive data valid and rec, The host application acts upon the contents of, Table 3.d memory map of a diagnostic command
Publication 1784-6.2.4 - September 1997
How Your Driver Operates the KTCX Card
3-5
6.
The KTCX card takes the packet and sets the Send Data Valid and
Send Access Request bytes to 01h.
7.
The KTCX card transmits the packet.
8.
The KTCX card receives the response packet.
9.
The KTCX card checks the receive mailbox.
10. The KTCX card places the response into the receive mailbox and
then resets the Receive Access Request and Receive Data Valid
bytes to 01h. The host has access to the receive mailbox.
11. The host checks the Receive Access Request and Receive Data
Valid bytes. If both are 01h, then it copies the Diagnostic Status
Reply packet from the KTCX’s dual-port into its own buffer.
12. The host resets the Receive Data Valid and Receive Access
Request bytes to 00h to allow the KTCX to use the mailbox for
the next packet.
13. The host application acts upon the contents of the Diagnostic Sta-
tus Reply in the buffer as needed.
Send Packet Example #2: Memory Map of Diagnostic Status
Command.
Table 3.B shows what addresses 0082h through 047Fh would contain
during a typical on-link (local) Diagnostic Status Command. The
transaction number (TNS) to node 5 is 0605h, and the Diagnostic
Status command is 06, function 03.
Table 3.D Memory Map of a Diagnostic Command
Byte
Description
Contents = Meaning
:0082h
Length
N/A
:0083h
Length
N/A
:0084h
Reserved
N/A
:0085h
Reserved
N/A
:0086h
Destination
N/A
:0087h
Control
N/A
:0088h
Packet Type
N/A
:0089h
Link Service
Access Point
N/A
:008Ah
CMD (PCCC)
N/A
:008Bh
Message Status
N/A
:008Ch
TNS (low byte)
N/A
:008Dh
TNS (high byte)
N/A
:008Eh
FUNCTION
N/A
:008Fh
:047Fh
DATA
N/A