
4 |
Abort Channel (2001)
The Abort Channel command immediately disconnects an active channel from its remote PLC and renders the channel idle. The Channel Transfer bit, the Channel Error bit, and the Detailed Channel Status words for the channel are set to zero.
Example Command Block
Abort Channel 5. Return the CRS word to %R10.
| Dec | (Hex) |
|
Word 1 | 00002 | (0002) | Length of Channel Command Data Block (2 words) |
Word 2 | 00000 | (0000) | Always 0 |
Word 3 | 00008 | (0008) | Memory type of CRS word (%R) |
Word 4 | 00009 | (0009) | CRS word address minus 1* (%R10) |
Word 5 | 00000 | (0000) | Reserved |
Word 6 | 00000 | (0000) | Reserved |
Word 7 | 02001 | (07d1) | Abort Channel Command number |
Word 8 | 00005 | (0005) | Channel number 5 |
*Word 4 (CRS word address) is the only
(Word 7) Channel Command Number: This command parameter requests that a channel be aborted. If the command is processed successfully, it will terminate the processing on the channel by the time success is indicated in the COMMREQ Status word.
(Word 8) Channel Number: The channel number specifies the channel to be disconnected
Note
For the Abort Channel, Retrieve Detailed Channel Status, and Assign Channel Status Vector commands, no actual data is transmitted on the network. Communication occurs between the client PLC CPU and the local Ethernet Interface only. For these commands, the actual function is performed locally and then the COMMREQ Status word is sent immediately to the CPU.
Chapter 4 Programming Communications Requests |