GE GFK-1541B manual Abort Channel, Example Command Block

Models: GFK-1541B

1 240
Download 240 pages 31.35 Kb
Page 95
Image 95

3

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 COMMREQ Status 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 value 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–32 for Series 90-70 PLCs and 1–16 for Series 90-30 PLCs). 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 within the Ethernet Interface and then the COMMREQ Status word is sent immediately to the CPU.

3-28

TCP/IP Ethernet Communications for the Series 90™ PLC User's Manual– May 2002

GFK-1541B

Page 95
Image 95
GE GFK-1541B manual Abort Channel, Example Command Block