Chapter 7. Programming SRTP Channel Commands
GFK-2224Q
January 2017
125
(Word 18) Remote Host - Network Address Type:
Word 18 specifies the format of the remote host’s address.
Word 18 must contain the value 1, which indicates a dotted-decimal IP address expressed using a separate
register for each decimal digit.
(Word 19) Remote Host - Network Address Length:
Word 19 specifies the length in words of the remote host’s
IP address. Word 19 must contain 4.
(Words 20–23) Remote Host - IP Address:
Words 20–23 specify the four integers, one integer per word, of the
dotted-decimal IP address of the remote host to be accessed.
Abort Channel (2001)
The Abort Channel command immediately disconnects an active channel from its remote PLC, and closes the
channel. 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 COMMREQ status word (%R)
Word 4
00009 (0009)
COMMREQ status word address minus 1 (%R10) (0-based)
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 7) Channel Command Number:
This command parameter requests that a channel be aborted. If the
command is processed successfully, it terminates 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 ). As a
convenient way to abort all channels, if the channel number parameter is –1 (FFFFH), all channels in use are
aborted. It is
not
an error to abort all channels if 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.
Содержание PACSystems RX7i
Страница 45: ......
Страница 54: ...Chapter 4 Configuration GFK 2224Q January 2017 41 Figure 18 CPE400 Advanced Ethernet Configuration LAN1 LAN 2 ...
Страница 80: ...Chapter 4 Configuration GFK 2224Q January 2017 67 ...
Страница 81: ......
Страница 122: ...Chapter 6 Programming EGD Commands GFK 2224Q January 2017 109 ...
Страница 142: ...Chapter 7 Programming SRTP Channel Commands GFK 2224Q January 2017 129 Figure 51 Sample Ladder Logic for COMMREQ ...
Страница 147: ......
Страница 193: ...Chapter 10 OPC UA Server 180 PACSystems RX7i RX3i TCP IP Ethernet Communications User Manual GFK 2224Q Example ...
Страница 202: ...Chapter 10 OPC UA Server GFK 2224Q January 2017 189 Figure 73 Machine Edition Online Command to Set Passwords ...
Страница 211: ......
Страница 253: ...Chapter 12 Diagnostics 240 PACSystems RX7i RX3i TCP IP Ethernet Communications User Manual GFK 2224Q ...
Страница 262: ...Chapter 13 Network Administration GFK 2224Q January 2017 249 ...
Страница 263: ......