Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeContact

The text of a manual · part 44 of 70

SLC 500 Instruction Set Reference Manual, pages 431 to 440

Pages 431 to 440 of 694

The original document is the PDF (7.2 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.

For the Allen-Bradley 1747-L514

Page 431

Chapter

14

SLC Passthru Communications

There are three types of communications passthru (or bridging) supported by SLC 5/03, SLC 5/04 and SLC 5/05 processors. • Remote I/O passthru via the 1747-SN and 1747-BSN remote I/O scanner modules • DeviceNet passthru via the 1747-SDN DeviceNet scanner module • Channel-to-channel passthru The following table summarizes the processor OS firmware/passthru capability. Table 14.1 Operating System (OS) Processor Firmware Required for Passthru Capability Passthru Capability

Channel 0 DH-485

Channel 0 DF1 Full-duplex

Channel 0 DF1-Half Duplex Master

Channel 0 DF1 Radio Modem

Remote I/O (1747-SN/BSN)

DeviceNet (1747-SDN(1))

Channel 1 EtherNet

OS500 A FRN 1

OS500 A FRN 1

OS501 C FRN 6

OS501 C FRN 6

OS500 A FRN 1

OS500 A FRN 1

Channel 1 DH+

OS400 A FRN 1

OS401 A FRN 5

OS401 C FRN 6

OS401 C FRN 6

OS401 A FRN 5

OS400 A FRN 1

Channel 1 DH-485

OS302 C FRN 7

OS302 C FRN 7

OS302 C FRN 7

OS302 C FRN 7

OS302 A FRN 9

OS300 A FRN 1

Remote I/O (1747-SN/BSN)

OS302 A FRN 9

OS302 A FRN 9

OS302 A FRN 9

OS302 C FRN 6

N/A

N/A

OS401 A FRN 5

OS401 A FRN 5

OS401 A FRN 5

OS401 C FRN 6

OS500 A FRN 1

OS500 A FRN 1

OS500 A FRN 1

OS501 C FRN 6

OS300 A FRN 1

OS300 A FRN 1

OS302 A FRN 9

OS302 C FRN 6

N/A

N/A

OS400 A FRN 1

OS400 A FRN 1

OS401 A FRN 5

OS401 C FRN 6

OS500 A FRN 1

OS500 A FRN 1

OS500 A FRN 1

OS501 C FRN 6

DeviceNet (1747-SDN(1))

(1)

Requires FRN 4.015 or higher firmware.

Remote I/O Passthru

This type of passthru allows the SLC processor system to act as a bridge between the channel 0 or channel 1 network, and the remote I/O network supported by the 1747-SN and 1747-BSN remote I/O scanner modules. This allows personal computers on Ethernet, DH+, DH-485 or DF1 networks to upload or download applications to devices such as PanelView operator terminals and power monitors on the remote I/O network. Refer to the remote I/O device software documentation to get details on how to upload and download that device via remote I/O passthru

1

Publication 1747-RM001G-EN-P - November 2008

Page 432

14-2

SLC Passthru Communications

IMPORTANT

DeviceNet Passthru

Remote I/O passthru uses buffer number 32 in the M0 and M1 files of the remote I/O scanner module. Avoid using these buffers for block transfer read/write instructions if you intend to use the remote I/O passthru capability.

DeviceNet passthru allows the SLC processor system to act as a bridge between the channel 0 or channel 1 network, and the DeviceNet network supported by the 1747-SDN DeviceNet scanner module. This allows personal computers on Ethernet, DH+, DH-485 or DF1 networks to upload or download applications to devices such as PanelView operator terminals and power monitors on the DeviceNet network. The minimum firmware revision level of the 1747-SDN that supports passthru is 4.015, and the minimum RSLinx revision with a 1747-SDN passthru driver (1747-SDNPT) is version 2.00. For 1747-SDN firmware revisions from 4.015 to 5.001, the module M0/M1 file size must be configured offline by RSLogix 500 to be a length of 361 (words) in order for passthru to work. For 1747-SDN firmware revisions 6.002 and higher, the module M0/M1 file size must be set to a length of 395 (words) in order for passthru to work. This M-file increase accommodates larger passthru messages, which now allows DeviceNet PanelView applications to successfully download. This also requires an enhanced 1747-SDNPT passthru driver in RSLinx version 2.31, or higher, which will adjust the passthru packet size based on the SDN firmware revision level.

TIP

Channel-to-channel Passthru

Publication 1747-RM001G-EN-P - November 2008

DeviceNet passthru is recommended for an occasional upload, download, or the configuration of one parameter at a time; not a complete network startup. This capability is not a replacement for a dedicated DeviceNet computer interface such as a 1770-KFD, 1784-PCD, or 1784-PCID.

SLC 5/03, 5/04 and 5/05 processors have two communication channels, 0 and 1, allowing the processor to be connected to two separate networks. Channel-to-channel passthru allows devices connected on one of the networks to communicate with devices on the other network using the SLC processor as a communications bridge. When passthru is enabled, this communications bridging occurs whether the processor is in Program mode or Run mode. In Run mode, the processor services passthru communications along with other

Page 433

SLC Passthru Communications

14-3 processor communications during end-of-scan. In program mode, the processor continuously services communications including passthru.

TIP

Channel-to-channel passthru only works for single hop bridging. One end node must be connected to the channel 0 network and the other end node must be connected to the channel 1 network. The channel 1 passthru link ID must match the network link ID of the end node connected on the channel 1 network. If channel 0 is configured for DH-485, then channel 0 passthru link ID must match the network link ID of the end node connected on the channel 0 DH-485 network.

The Passthru Link IDs for channel 0 and channel 1 are configured on the General tab of the Channel Configuration screen. The default Passthru Link IDs are one for channel 0 and two for channel 1. Valid Link IDs are 1 to 65,534.

IMPORTANT

SLC remote message instructions can only be configured to bridge to remote networks configured with link IDs in the range of 1 to 254.

Devices on the channel 1 network can initiate remote packets through the passthru processor by setting the destination link ID equal to the passthru processor’s channel 0 link ID. If channel 0 is configured for DH-485, then devices on the channel 0 DH-485 network can initiate remote packets through the passthru processor by setting the destination link ID equal to the passthru processor’s channel 1 link ID. When channel 0 is configured for DF1 Full-duplex protocol, the DF1 destination address becomes the channel 1 destination address. When channel 0 is configured for DF1 Half-duplex Master or DF1 Radio Modem protocol, the DF1 destination address is 128 plus the channel 1 destination address. This allows addresses 0 to 127 to be used within the DF1 Half-duplex or Radio Modem networks, and addresses 128 and above to be used for passthru. Valid channel 1 destination addresses are 0 to 31 for the 5/03, 0 to 63 (or 0 to 77 octal) for the 5/04 and 1 through up to 126 for the 5/05 depending on how many valid IP addresses are entered into the Passthru Routing Table. DF1 Full-duplex packets received with a destination address equal to the passthru processor’s channel 1 network address or outside of the valid channel 1 address range are kept and executed by the passthru processor. DF1 Half-duplex Master and DF1 Radio Modem packets received with a

Publication 1747-RM001G-EN-P - November 2008

Page 434

14-4

SLC Passthru Communications destination equal to 128 plus the processor’s channel 1 network address are kept and executed by the passthru processor. DF1 Half-duplex Master packets received with a destination address outside of the valid channel 1 address range are rebroadcast as slave-to-slave messages. DF1 Radio Modem packets received with a destination address outside of the valid channel 1 address range are ignored. Channel-to-channel passthru is enabled using one of two different status file bits, depending on whether channel 0 is configured for DH-485 or DF1 protocols. Depending on firmware revision, valid DF1 protocols for passthru are Full-duplex only or Full-duplex, Half-duplex Master and Radio Modem. If channel 0 is configured for DH-485, S:34/0 enables and disables channel-to-channel passthru as follows. • If S:34/0 is 0 (default setting), channel-to-channel passthru is enabled. • If S:34/0 is 1, channel-to-channel passthru is disabled. If channel 0 is configured for DF1, S:34/5 enables and disables channel-to-channel passthru as follows. • If S:34/5 is 0 (default setting), channel-to-channel passthru is disabled. • If S:34/5 is 1, channel-to-channel passthru is enabled. IMPORTANT

For the SLC 5/05, a valid passthru routing table file number must also be configured in order to enable channel-to-channel passthru.

Additional SLC 5/03 Passthru Status Bits The SLC 5/03 has two additional status file bits associated with channel-to-channel passthru. The bits are: • DF1 Remote/Local Passthru bit (S:34/6). • Local Passthru Queue Full bit (S:34/7). The DF1 Remote/Local Passthru bit controls whether DF1 commands received by channel 0 are passed through to the channel 1 DH-485 network as remote DH-485 packets (S:34/6=0) or as local DH-485 packets (S:34/6=1). The DF1 Remote/Local Passthru bit only affects passthru operation when channel 0 is configured for DF1 and channel-to-channel passthru is enabled (S:34/5=1)

Publication 1747-RM001G-EN-P - November 2008

Page 435

SLC Passthru Communications

TIP

14-5

The SLC 500 Fixed, SLC 5/01, SLC 502, ControlLogix, FlexLogix, and CompactLogix controllers can only respond to local DH-485 packets. Set S34/6=1 when using SLC 5/03 channel-to-channel passthru to communicate with the SLC 500 Fixed, SLC 5/01, SLC 502, ControlLogix, FlexLogix, and CompactLogix controllers via DH-485 on channel 1.

The Local Passthru Queue Full bit is a monitor only bit that is set to a one anytime this 30-slot local passthru queue becomes full. The local passthru queue can be flushed at anytime by executing the ACL instruction with the Receive Buffer set to No and the Transmit Buffer set to Yes. When the DF1 Remote/Local Passthru bit is set to Local, any DF1 commands received at channel 0 and passed through to channel 1 DH-485 are stored in a 30-slot local passthru queue until a reply is received from the channel 1 DH-485 network. This is done so that the the processor can determine whether local replies received on the channel 1 DH-485 are for MSG instructions initiated by the processor or for passthru back to the channel 0 DF1 network. If a DH-485 device that is actively passing the token does not reply to the DF1 command, one slot in the 30-slot local passthru queue will be lost until the next power cycle.

TIP

As the Local Passthru Queue approaches capacity, S34:/7 may toggle between 0 and 1. To verify that the Local Passthru Queue is completely full, use the Local Passthru Queue Full bit as a pre-condition to a timer (TON) with a preset of ten seconds or longer. Then use the timer done bit as a pre-condition for executing the ACL instruction.

Using RSLinx Classic, version 2.50 and higher, with SLC 5/03 Passthru RSLinx Classic, version 2.42 and below, only supports channel 0 to channel 1 passthru, when channel 0 is configured for DF1 Full-duplex or DF1 Half-duplex Master. RSLinx Classic, version 2.43 supports all modes of channel-to-channel passthru described below, except when channel 0 control line handshaking is enabled. RSLinx Classic, version 2.50 and higher supports all modes of channel-to-channel passthru as described below.

Publication 1747-RM001G-EN-P - November 2008

Page 436

14-6

SLC Passthru Communications

When channel 0 is configured for DF1 Full-duplex and S:34/5=1, the SLC 5/03 passthru processor can be used by RSLinx to go online through channel 0 to the channel 1 DH-485 network. The RSLinx RS-232 DF1 driver is used, with Device configured for 1770-KF3/1747-KE. Remember to set S:34/6=1 if attempting to browse or go online with SLC 500 fixed, SLC 5/01, SLC 5/02, ControlLogix, FlexLogix, and/or CompactLogix controllers on DH-485. The passthru processor will show up on the RSWho browse at its DH-485 node address.

IMPORTANT

In order to download a DH-485 PanelView standard terminal using RSLinx in this passthru setup, the DF1 remote/local passthru bit must be cleared (S:34/6=0).

When channel 0 is configured for DF1 Half-duplex Master and S:34/5=1, the SLC 5/03 passthru processor can be used by RSLinx to go online through channel 0 to the channel 1 DH-485 network. The RSLinx DF1 Slave driver is used. The SLC 5/03 passthru processor channel 0 configuration must be set up in Standard Polling Mode, and the slave address of RSLinx must be included in the polling range. The DF1 Slave driver properties in RSWho must be modified to poll for the valid 5/03 DF1 Half-duplex Master passthru range of addresses, which is 128 to 159 (for DH-485 nodes 0 to 31). The S:34/6=1 should be set if attempting to browse or go online with SLC 500 fixed, SLC 5/01, SLC 5/02, ControlLogix, FlexLogix, or CompactLogix controllers on DH-485. The passthru processor will show up on the RSWho browse at 128 plus its DH-485 node address. When channel 0 is configured for DH-485 and S:34/0=0, the SLC 5/03 passthru processor can be used by RSLinx to go online through channel 0 to the channel 1 DH-485 network, when the PC running RSLinx is directly connected to the channel 0 DH-485 network through a 1784-KTX(D), 1784-PKTX(D), or 1784-PCMK card. When RSWho is browsing the SLC 5/03 on DH-485 with S:34/0=0, then a ‘+’ sign will appear to the left of the SLC 5/03 icon. Clicking on the ‘+’ sign will expose a DH-485 network underneath the SLC 5/03 icon. Clicking on the ‘+’ sign to the left of the DH-485 network will result in RSWho browsing for nodes 0 to 31 on the DH-485 network. You should configure the properties of the DH-485 network within RSWho to browse the specific range of the addresses that are being used on the DH-485 network. When channel 0 is configured for either DF1 Full-duplex, DF1 Half-duplex Master, DF1 Radio Modem (with S:34/5=1), or DH-485 (with S:34/0=0), the SLC 5/03 passthru processor can be used by RSLinx to go online through channel 1 to the channel 0 DF1 or DH-485 network, as long as the PC running RSLinx is directly connected to the DH-485 network through a 1784-KTX(D), 1784-PKTX(D), or 1784-PCMK card. When RSWho is browsing the SLC 5/03 on DH-485, and channel 0 is either configured for

Publication 1747-RM001G-EN-P - November 2008

Page 437

SLC Passthru Communications

14-7

DH-485 with S:34/0=0 or for DF1 Full-duplex with S:34/5=1, then a ‘+’ sign will appear to the left of the SLC 5/03 icon. Clicking on the ‘+’ sign will expose a DH-485 or DF1 network underneath the SLC 5/03 icon. Clicking on the ‘+’ sign to the left of the DH-485 or DF1 network will result in RSWho browsing for nodes 0 to 31 on the DH-485 network or for node 1 on the DF1 network. Refer to the steps on page 14-13 for browsing multiple nodes when channel 0 is configured for DF1 Half-duplex Master or DF1 Radio Modem.

SLC 5/03 Passthru Error Codes A SLC 5/03 passthru processor may respond to a MSG instruction or RSLinx with error codes of 20H or 30H, under the following conditions. • A packet is received in either channel to be passed through to the other channel’s DH-485 network, but the DH-485 node at the remote station address is not currently present in the other channel’s DH-485 active node table (30H). • A remote packet is received in either channel where the remote link ID doesn’t equal either channel’s link ID (20H). • A remote packet is received in either channel to be passed through to the other channel’s DH-485 network, with a remote station address that is equal to the other channel’s DH-485 address (20H). • A remote packet is received in either channel to be passed through to the other channel’s DH-485 network, with a remote station address that is greater than 31 (20H). • A DF1 packet is received in channel 0 to a valid DH-485 destination address with S:34/6=1 and the Local Passthru Queue is full (20H).

Publication 1747-RM001G-EN-P - November 2008

Page 438

14-8

SLC Passthru Communications

Using RSLinx Classic, version 2.50 and higher, with SLC 5/04 Passthru RSLinx Classic, version 2.42 and below, only supports DF1 Full-duplex to DH+, DF1 Half-duplex Master to DH+, DH-485 to DH+, DH+ to DF1 Full-duplex, and DH+ to DH-485 passthru. RSLinx Classic, version 2.43 supports all modes of channel-to-channel passthru described below, except when channel 0 control line handshaking is enabled. RSLinx Classic, version 2.50 and higher supports all modes of channel-to-channel passthru as described below. When channel 0 is configured for DF1 Full-duplex and S:34/5=1, the SLC 5/04 passthru processor can be used by RSLinx to go online through channel 0 to the channel 1 DH+ network. The RSLinx RS-232 DF1 driver is used, with the device configured for 1770-KF2/1785-KE. The passthru processor will appear on the RSWho browse at its DH+ node address. You should configure the properties of the DH+ network within RSWho to only browse the specific range of addresses that are being utilized on the DH+ network. When channel 0 is configured for DF1 Half-duplex Master and S:34/5=1, the SLC 5/04 passthru processor can be used by RSLinx to go online through channel 0 to the channel 1 DH+ network. The RSLinx DF1 Slave driver is used. The SLC 5/04 passthru processor channel 0 configuration must be set up in Standard Polling Mode, and the slave address of RSLinx must be included in the polling range. The DF1 Slave driver properties in RSWho must be modified to poll for the valid 5/04 DF1 Half-duplex Master passthru range of addresses, which is 128 to 191 (for DH+ nodes 0 to 77 octal or 0 to 63 decimal). The passthru processor will appear on the RSWho browse at 128 plus its decimal DH+ node address. You should configure the properties of the DH+ network within RSWho to only browse the specific range of addresses that are being utilized on the DH+ network. When channel 0 is configured for DH-485 and S:34/0=0, the SLC 5/04 passthru processor can be used by RSLinx to go online through channel 0 to the channel 1 DH+ network, when the PC running RSLinx is directly connected to the DH-485 network through a 1784-KTX(D), -PKTX(D), or – PCMK card. When RSWho is browsing the SLC 5/04 on DH-485 with S:34/0=0, then a ‘+’ sign will appear to the left of the SLC 5/04 icon. Clicking on the ‘+’ sign will expose a DH+ network underneath the SLC 5/04 icon. Clicking on the ‘+’ sign to the left of the DH+ network will result in RSWho browsing for nodes 0 to 77 (octal) on the DH+ network. You should configure the properties of the DH+ network within RSWho to browse the specific range of addresses that are being utilized on the DH+ network. When channel 0 is configured for either DF1 Full-duplex, DF1 Half-Duple Master, DF1 Radio Modem (with S:34/5=1), or DH-485 (with S:34/0=0), the SLC 5/04 passthru processor can be used by RSLinx to go online through channel 1 to the channel 0 DF1 or DH-485 network, as long as the PC running RSLinx is directly connected to the DH+ network through a Publication 1747-RM001G-EN-P - November 2008

Page 439

SLC Passthru Communications

14-9

1784-KT, -KTX(D), -PKTX(D), or –PCMK card. When RSWho is browsing the SLC 5/04 on DH+, and channel 0 is either configured for DH-485 with S:34/0=0 or for DF1 with S:34/5=1, then a ‘+’ sign will appear to the left of the SLC 5/04 icon. Clicking on the ‘+’ sign will expose a DH-485 or DF1 network underneath the SLC 5/04 icon. Clicking on the ‘+’ sign to the left of the DH-485 or DF1 network will result in RSWho browsing for nodes 0-31 on the DH-485 network or for node 1 on the DF1 network. Refer to the steps on page 14-13 for browsing multiple nodes when channel 0 is configured for DF1 Half-duplex Master or DF1 Radio Modem.

Creating and Filling out the Passthru Routing Table File The SLC 5/05 processor uses a routing table to cross-reference the one-byte addressing used by DF1 and DH-485 protocols with the four-byte IP address needed to support Ethernet communication. The routing table is stored in a user-selectable integer Data File and uses two word elements of the integer file to store one IP address. The Routing Table data file is defined in the Chan. 1 – System menu under Channel Configurations.

The routing table file number must be between 9 and 255 (a valid data table address). A value of zero will disable the routing table and disable passthru functionality. The routing table file must be at least two words in length.

Publication 1747-RM001G-EN-P - November 2008

Page 440

14-10

SLC Passthru Communications

Access to the passthru routing table is located under the channel configuration selection in RSLogix 500 Programming Software. If a Passthru Routing Table File number was entered in the General Tab in the Channel Configuration dialog box, click on the + in front of Channel Configuration to reveal the routing table selection.

Double-click on Routing Table to view and modify the passthru routing table.

IMPORTANT

Publication 1747-RM001G-EN-P - November 2008

All Ethernet devices that information needs to be passed to or from, must have their IP Address listed in the Passthru Routing Table.