beautypg.com

Abort channel (2001) – GE 90-30 PLC User Manual

Page 62

background image

3

3-29

GFK-1084B

Chapter 3 Programming Communications Requests

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 (no-wait mode request)

ББББ

ББББ

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 zero-based address in the Command Block.

Only this address requires subtracting 1 from the intended address.

(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 (1-16). As a convenient way to abort all channels, if the channel number
parameter is -1 (ffffH), all channels in use will be aborted. It is not an error to abort all
channels when there are none in use. Neither is it an error to abort an idle channel.

Note

For the Abort Channel and Retrieve Detailed Channel Status
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.