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

The text of a manual · part 41 of 70

SLC 500 Instruction Set Reference Manual, pages 401 to 410

Pages 401 to 410 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 401

SLC Communication Channels

13-71

Table 13.22 Define these parameters when configuring a SLC 5/03, 5/04, or 5/05 processor as a slave station. Tab

Parameter

Default

Selections

General

Diagnostic File

0

SLC 5/03 (OS 302, Series C or higher), SLC 5/04 (OS 401, Series C or higher) and SLC 5/05 only. Select an unused file (9 to 255) to store channel status information. You must define a diagnostic file in order to be able to view channel 0 status. See Table 13.23 on page 13-74 for a file description.

Chan. 0 System

Baud Rate

1200

Select a communication rate that all devices in your system support. Configure all devices in the system for the same communication rate.

Parity

None

Parity provides additional message packet error detection. To implement even parity checking, choose Even. To implement no parity checking, choose None.

Stop Bits

1

Match the number of stop bits to the device with which you are communicating.

Node Address

0

A node address identifies the processor on the DF1 half-duplex link. Each station on a link must have a unique node address. Choose an address between 010 and 25410. Node address 25510 is the broadcast address, which you cannot select as a station’s individual address.

Control Line

No This parameter defines the mode in which the driver operates. Choose a method appropriate for Handshaking your system’s configuration. • If you are not using a modem, choose NO HANDSHAKING. • If the master modem is full duplex and the slave modem is half-duplex, choose HALF-DUPLEX WITH CONTINUOUS CARRIER. • If all the modems in the system are half-duplex, choose HALF-DUPLEX WITHOUT CONTINUOUS CARRIER. See page 13-86 for descriptions of the control line operation settings.

Publication 1747-RM001G-EN-P - November 2008

Page 402

13-72

SLC Communication Channels

Table 13.22 Define these parameters when configuring a SLC 5/03, 5/04, or 5/05 processor as a slave station. (Continued) Tab

Parameter

Default

Selections

Error Detection

CRC

With this selection, you choose the how the processor checks the accuracy of each DF1 packet transmission. BCC: This algorithm provides a medium level of data security. It cannot detect: • transposition of bytes during transmission of a packet. • the insertion or deletion of data values of zero within a packet. CRC: This algorithm provides a higher level of data security. Select an error detection method that all devices in your configuration can use. When possible, choose CRC.

Duplicate Packet Detect

Checked

Duplicate Detect lets the SLC detect if it has received a message that is a duplicate of its most recent message from the master station. If you choose duplicate detect, the processor will acknowledge (ACK) the message but will not act on it since it has already performed the message’s task when it received the command from the first message. If you want to detect duplicate packets and discard them, leave this parameter checked. If you want to accept duplicate packets and execute them, uncheck this parameter.

Poll Timeout

3000

The timer keeps track of how often in 20 ms increments that the station is polled. If the station has a message to send, it starts the timer. If the poll timeout expires before the message timeout, which you specify in the MSG control block, the MSG error bit is set and the message is removed from the transmit queue. If the message timeout, which you specify in the MSG control block, expires before the poll timeout expires, the MSG error bit and MSG timeout bit are set. You should always make the MSG timeout greater than the poll timeout so this does not happen. The poll timeout can be disabled by entering a zero. See page page 13-73 for recommendations to minimize this value

RTS Off Delay

0

Defines the amount of time in 20 millisecond increments that elapses between the end of the message transmission and the de-assertion of the RTS signal. This time delay is a buffer to make sure that the modem has transmitted the message, but should normally be left at zero. See page 13-89 for further guidelines for setting this parameter.

RTS Send Delay

0

Defines the amount of time in 20 millisecond increments that elapses between the assertion of the RTS signal and the beginning of the message transmission. This time allows the modem to prepare to transmit the message. The Clear-to-Send (CTS) signal must be high for transmission to occur.See page 13-89 for further guidelines for setting this parameter.

Publication 1747-RM001G-EN-P - November 2008

Page 403

SLC Communication Channels

13-73

Table 13.22 Define these parameters when configuring a SLC 5/03, 5/04, or 5/05 processor as a slave station. (Continued) Tab

Parameter

Default

Selections

Message Retries

3

Defines the number of times a slave station resends its message to the master station before the slave station declares the message undeliverable.

Pre-Transmit 0 Delay

Defines the amount of time in 1 millisecond increments that elapses between when the processor has a message to send and when it asserts the RTS signal (if handshaking is selected) or begins transmitting (if no handshaking is selected).

EOT Suppression

If you want to minimize traffic on the network, you can choose to have the slave station not send EOT packets to the master station. When EOT packets are suppressed, the master station automatically assumes a slave station has no data to give if the slave station does not send a message packet as a response to a poll. A disadvantage of suppressing EOTs is that the master station cannot distinguish between an active station that has no data to transmit and an inactive station. A possible application for suppressing EOTs is the following: conserving power with a radio modem because the radio transmitter does not have to power-up to transmit a DLE EOT packet (no data to give packet). To suppress EOTs, check this parameter. To have the processor send EOTs, leave this parameter unchecked.

Unchecked

Configuring Channel 0 Poll Timeout The Channel 0 Poll Timeout is only used when the DF1 half-duplex slave is initiating MSG instructions in ladder logic. This implies that the Master is most likely configured for Standard Polling Mode. The minimum Poll Timeout value is dependent on the maximum Master poll scan rate. Since the Master’s polling and the Slave’s triggering of a MSG instruction are asynchronous events, it is possible that in the instant just after the slave was polled, the MSG instruction gets triggered. This means the MSG instruction will remain queued-up for transmission until the Master has polled every other slave first. Therefore, the minimum Slave channel 0 Poll Timeout value is equal to the maximum Master poll scan rate rounded up to the next 20 ms increment. Minimum Channel 0 Poll Timeout = (maximum Master scan poll rate)

Publication 1747-RM001G-EN-P - November 2008

Page 404

13-74

SLC Communication Channels

DF1 Half-duplex Slave Channel Status Channel Status data is stored in the diagnostic file defined on the Channel 0 Configuration screen. See Table 13.23 for information regarding the diagnostic counter data displayed.

Double-click on the Channel Status Icon Located beneath the Configuration icon to bring up the Channel Status screen.

See Table 13.23 for details concerning the DF1 Half-Duplex Slave Channel Status Screen.

Table 13.23 SLC 5/03 and Higher Channel 0 DF1 Half-duplex Slave Channel Status Status Field

Diagnostic File Location

Definition

DCD Recover word 11

The number of times the processor detects the DCD handshaking line has gone low to high

Messages Sent word 1

The total number of DF1 messages sent by the processor (including message retries)

Messages Received word 2

The number of messages received with no errors

Polling Received word 6

The number of master poll packets received by the processor

Received NAK word 5

The number of NAKs received by the processor

Lack of Memory/No ACK Sent word 8

The number of times the processor could not receive a message because it did not have available memory

Lost Modem word 12

The number of times the lost modem bit has gone low to high

Publication 1747-RM001G-EN-P - November 2008

Page 405

SLC Communication Channels

13-75

Table 13.23 SLC 5/03 and Higher Channel 0 DF1 Half-duplex Slave Channel Status (Continued) Status Field

Diagnostic File Location

Definition

Messages Retry word 4

The number of message retries sent by the processor

Undelivered Messages word 3

The number of messages that were sent by the processor but not acknowledged by the destination device

Duplicate Messages Received word 9

The number of times the processor received a message packet identical to the previous message packet

Bad Packet/No ACK word 7

The number of incorrect data packets received by the processor for which no ACK was returned

DTR (Data Terminal Ready)

word 0;bit 4

The status of the DTR handshaking line (asserted by the processor)

DSR (Data Set Ready)

word 0;bit 2

The status of the DSR handshaking line (received by the processor)

RTS (Request to Send)

word 0;bit 1

The status of the RTS handshaking line (asserted by the processor)

CTS (Clear to Send)

word 0;bit 0

The status of the CTS handshaking line (received by the processor)

DCD (Carrier Detect)

word 0;bit 3

The status of the DCD handshaking line (received by the processor)

For processors running OS Series C, FRN 6 and higher, clicking the Clear button while monitoring Channel Status of either channel 1 or channel 0 online, will reset all of the channel status diagnostic counters for both channels to zero. Prior to OS Series C, FRN 6 the only channel status diagnostic counters that are reset when the Clear button is clicked are the ones on the channel that the programming terminal is connected to. For example, if your programming terminal is connected online via channel 0 and you are monitoring the Channel Status of channel 1, when you click on the Clear button, only channel 0 diagnostic counters will be reset, not channel 1 diagnostic counters.

Publication 1747-RM001G-EN-P - November 2008

Page 406

13-76

SLC Communication Channels

DF1 Radio Modem Communications

Processors running OS Series C FRN 6 and higher firmware include a new channel 0 system mode driver called DF1 Radio Modem. This driver implements a protocol, optimized for use with radio modem networks, that is a hybrid between DF1 Full-duplex protocol and DF1 Half-duplex protocol, and therefore is not compatible with either of these protocols. IMPORTANT

IMPORTANT

The DF1 Radio Modem driver should only be used among devices that support and are configured for the DF1 Radio Modem protocol.

There are some radio modem network configurations that will not work with the DF1 Radio Modem driver. (See DF1 Radio Modem System Limitations on page 13-77.) In these configurations, continue to use DF1 Half-duplex protocol.

Like DF1 Full-duplex protocol, DF1 Radio Modem allows any node to initiate to any other node at any time (if the radio modem network supports full-duplex data port buffering and radio transmission collision avoidance). Like DF1 Half-duplex protocol, a node ignores any packets received that have a destination address other than its own, with the exception of broadcast packets, store and forward packets, and passthru packets (see Chapter 14 for more information about channel-to-channel passthru capabilities). Unlike either DF1 Full-duplex or DF1 Half-duplex protocols, DF1 Radio Modem protocol does not include ACKs, NAKs, ENQs, or poll packets. Data integrity is ensured by the BCC or CRC (recommended) checksum. The primary advantage of using DF1 Radio Modem protocol for radio modem networks is in transmission efficiency. Each read/write transaction (command and reply) requires only one transmission by the initiator (to send the command) and one transmission by the responder (to return the reply). This minimizes the number of times the radios need to key-up to transmit, which maximizes radio life and minimizes radio power consumption. In contrast, DF1 Half-duplex protocol requires five transmissions for the DF1 Master to complete a read/write transaction with a DF1 Slave - three by the master and two by the slave. The DF1 Radio Modem driver can be used in a pseudo Master/Slave mode with any radio modems, as long as the designated Master node is the only node initiating MSG instructions, and as long as only one MSG instruction is triggered at a time.

Publication 1747-RM001G-EN-P - November 2008

Page 407

SLC Communication Channels

13-77

For modern serial radio modems that support full-duplex data port buffering and radio transmission collision avoidance, the DF1 Radio Modem driver can be used to set up a masterless peer-to-peer radio network, where any node can initiate communications to any other node at any time, as long as all of the nodes are within radio range so that they receive each other’s transmissions. DF1 Radio Modem also supports Store & Forward capability in order to forward packets between nodes that are outside of radio range of each other. Each node that is enabled for Store & Forward has a user-configured Store & Forward Table to indicate which received packets it should re-broadcast, based on the packet’s source and destination addresses. A broadcast write command initiated by any DF1 radio modem node is executed by all of the other DF1 radio modem nodes that receive it. No acknowledgement or reply is returned.

DF1 Radio Modem System Limitations The following questions need to be answered in order to determine if you can implement the DF1 Radio Modem driver in your radio modem network: • Are all of the devices SLC 5/03, 5/04, 5/05, MicroLogix 1100, 1200 or 1500 processors? If so, the SLC processors must all be at FRN C/6 or higher in order to be configured with the DF1 Radio Modem driver using RSLogix 500 version 5.50 or higher. The MicroLogix 1200 must be Series C, FRN 8 or higher and the MicroLogix 1500 must be Series C FRN 9 or higher. The MicroLogix requires RSLogix 500 version 6.0 or higher to be configured for DF1 Radio Modem. Once channel 0 of the SLC processor is configured for DF1 Radio Modem, you will need to use channel 1 to locally monitor and program your SLC processor using RSLogix 500. • Do the radio modems require RTS/CTS hardware handshaking? If so, you need OS Series C, FRN 7 or higher, together with RSLogix 500 version 6.10 or higher. • Do the radio modems handle full-duplex data port buffering and radio transmission collision avoidance? If so, then you can take full advantage of the peer-to-peer message initiation capability in every node (for example, the ladder logic in any node can trigger a MSG instruction to any other node at any time). If not, then you may still be able to use the DF1 Radio Modem driver, but only if you limit MSG instruction initiation to a single ‘master’ node.

Publication 1747-RM001G-EN-P - November 2008

Page 408

13-78

SLC Communication Channels

• Can I take advantage of the SLC 5/03, 5/04, and 5/05 channel-to-channel passthru to remotely program the other SLC nodes using RSLinx and RSLogix 500 running on a PC connected to a local SLC processor via DH-485, DH+ or Ethernet? Yes, with certain limitations imposed based on the radio modem network. See the following chapter for more passthru details and limitations when using the DF1 Radio Modem driver.

Configuring Channel 0 for DF1 Radio Modem To configure an SLC 5/03, SLC 5/04 or SLC 5/05 processor channel 0 for DF1 Radio Modem, do the following using your programming software.

To bring up the Channel Configuration interface, double-click on the Channel Configuration icon.

Define the location of the diagnostic file used for Channel Status here. See Table 13.25 on page 13-82 for diagnostic file details.

Publication 1747-RM001G-EN-P - November 2008

Page 409

SLC Communication Channels

13-79

1. On the Channel 0 tab, choose DF1 Radio Modem for your Driver. 2. Configure the communication driver characteristics according to Table 13.24.

Table 13.24 Define these communication parameters when configuring a SLC 5/03, 5/04, or 5/05 processor for DF1 Radio Modem communication. Tab

Parameter

Default

Selections

General

Diagnostic File

0

Select an unused file (9 to 255) to store channel status information. You must define a diagnostic file in order to be able to view channel 0 status. See Table 13.25 on page 13-82 for a file description.

Chan. 0 System

Baud Rate

19,200

Select a communication rate that all devices in your system support. Configure all devices in the system for the same communication rate.

Parity

None

Parity provides additional message packet error detection. To implement even parity checking, choose Even. To implement no parity checking, choose None.

Stop Bits

1

Match the number of stop bits to the devices with which you are communicating.

Node Address

1

A node address identifies the processor on the DF1 half-duplex link. Each station on a link must have a unique node address. Choose an address between 010 and 25410. Node address 25510 is the broadcast address, which you cannot select as a station’s individual address.

Store and Forward(1)

Unchecked

When checked, enables Store and Forward capability and duplicate packet detection. Refer to Applying DF1 Radio Modem Protocol on page 13-83 for more information.

Publication 1747-RM001G-EN-P - November 2008

Page 410

13-80

SLC Communication Channels

Table 13.24 Define these communication parameters when configuring a SLC 5/03, 5/04, or 5/05 processor for DF1 Radio Modem communication. (Continued) Tab

Parameter

Default

Selections

Chan. 0 System

Control Line

No Handshaking

This parameter defines the mode in which the driver operates. Choose a method appropriate for your system’s configuration. • If you are not using a modem, choose NO HANDSHAKING. • Half-duplex with continuous carrier(1) • Half-duplex without continuous carrier(1) See page 13-86 for descriptions of the control line operation settings

Error Detection

CRC

With this selection, you choose the how the processor checks the accuracy of each DF1 packet transmission. BCC: This algorithm provides a medium level of data security. It cannot detect: • transposition of bytes during transmission of a packet. • the insertion or deletion of data values of zero within a packet. CRC: This algorithm provides a higher level of data security. Select an error detection method that all devices in your configuration can use. When possible, choose CRC.

(1)

RTS Off Delay(1)

0

Defines the amount of time in 20 millisecond increments that elapses between the end of the message transmission and the de-assertion of the RTS signal. This time delay is a buffer to make sure that the modem has transmitted the message, but should normally be left at zero. See page 13-89 for further guidelines for setting this parameter.

RTS On Delay(1)

0

Defines the amount of time in 20 millisecond increments that elapses between the assertion of the RTS signal and the beginning of the message transmission. This time allows the modem to prepare to transmit the message. The Clear-to-Send (CTS) signal must be high for transmission to occur.See page 13-89 for further guidelines for setting this parameter.

DCD Wait Delay(1)

1

Only used with Half-duplex without Continuous Carrier Control Line setting. Defines how long, in seconds, the processor will wait for DCD to go low so that it can transmit, before giving up and erroring out MSG.

Pre-Transmit Delay

0

Defines the amount of time in 1 millisecond increments that elapses between when the processor has a message to send and when it asserts the RTS signal (if handshaking is selected) or begins transmitting (if no handshaking is selected).

OS Series C, FRN 7and higher.

Publication 1747-RM001G-EN-P - November 2008