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

The text of a manual · part 39 of 70

SLC 500 Instruction Set Reference Manual, pages 381 to 390

Pages 381 to 390 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 381

SLC Communication Channels

13-51

Table 13.15 Define these communication parameters when configuring a SLC 5/03, 5/04, or 5/05 processor for DF1 full-duplex communication. 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.25 on page 13-82 for a file description.

Channel 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.

Source ID

9

This is the address, in decimal, that is used as the source address in any message initiated by this processor. When DF1 passthru is enabled (S:34/5 is set), configure the source ID to equal the channel 1 DH+ address in an SLC 5/04, or zero in an SLC 5/05 processor.

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. • If you are using full-duplex modems, choose FULL-DUPLEX MODEM. See page 13-86 for descriptions of the control line operation settings

Publication 1747-RM001G-EN-P - November 2008

Page 382

13-52

SLC Communication Channels

Table 13.15 Define these communication parameters when configuring a SLC 5/03, 5/04, or 5/05 processor for DF1 full-duplex communication. (Continued) Tab

Parameter

Default

Selections

Channel 0 System

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.

Embedded Responses

Auto-detect

To use embedded responses, choose Enabled. If you want the processor to use embedded responses only when it detects embedded responses from another device, choose Auto-detect. If you are communicating with another Allen-Bradley device, choose Enabled. Embedded responses increase network traffic efficiency.

Duplicate Packet Detect

Enabled

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, check this parameter. If you want to accept duplicate packets and execute them, leave this parameter unchecked.

ACK Timeout

50

The amount of time in 20 millisecond increments that you want the processor to wait for an acknowledgment to the message it has sent before sending an enquiry (ENQ) for the reply.

NAK Retries

3

The number of times the processor will resend a message packet because the processor received a NAK response to the previous message packet transmission.

ENQ Retries

3

The number of enquiries (ENQs) that you want the processor to send after an ACK timeout occurs.

Publication 1747-RM001G-EN-P - November 2008

Page 383

SLC Communication Channels

13-53

DF1 Full-duplex Channel Status Channel Status data is stored in the diagnostic file defined on the Channel 0 Configuration screen. See Table 13.25 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 the following table for details concerning the DF1 Full-duplex Channel Status Screen.

Publication 1747-RM001G-EN-P - November 2008

Page 384

13-54

SLC Communication Channels

Table 13.16 SLC 5/03 and Higher Channel 0 DF1 Full-duplex 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

Inquiry Received word 6

The number of ENQs received by the processor

Received NAK word 5

The number of NAKs received by the processor

Lack of Memory/Sent NAK 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

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

Inquiry Sent word 4

The number of ENQs sent by the processor

Bad Packet/No ACK word 7

The number of incorrect data packets received by the processor for which a NAK 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 (Data 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 385

SLC Communication Channels

DF1 Half-duplex Communications

13-55

DF1 Half-duplex Master/Slave protocol provides a multi-drop single master/multiple slave network. In contrast to DF1 full-duplex, communication takes place in one direction at a time. The master device initiates all communication by “polling” each slave device. The slave device may only transmit data packets when it is polled by the master. It is the master’s responsibility to poll each slave on a regular and sequential basis to collect data. During a polling sequence, the master polls a slave repeatedly until the slave indicates that it has no more data packets to transmit. The master then transmits the data packets for that slave. Many Allen-Bradley products support half-duplex master protocol. They include the enhanced PLC-5 processors, SLC 5/03 (OS301 and higher), SLC 5/04, and SLC 5/05 processors. RSLinx (V2.0 and higher) software also supports DF1 half-duplex master protocol. Typically, the master keeps two separate tables - one for online slaves and one for offline slaves. The online slaves are polled on a regular basis. The offline slaves are polled occasionally to see if they have come back online. A master device supports routing of data packets from one slave to another. DF1 half-duplex supports up to 255 slave devices (address 0 to 254) with address 255 reserved for master broadcasts. Either half-duplex or full-duplex modem types can be used for DF1 half-duplex network. All SLC 5/03, SLC 5/04, and SLC 5/05 processors support broadcast reception, but only processors running OS Series C, FRN 6 or higher can initiate broadcast write commands.

DF1 Half-duplex Master Broadcast A broadcast write command initiated by the DF1 half-duplex master is received and executed by all DF1 half-duplex slaves. A broadcast write command received by the DF1 half-duplex master after polling a DF1 half-duplex slave is received, acknowledged and re-broadcast without being executed by the DF1 half-duplex master. It is treated like any other slave-to-slave command, except that no acknowledgement is expected after the re-broadcast.

DF1 Half-duplex Slave Broadcast When a broadcast write command is initiated by a DF1 half-duplex slave, it is queued up just like any other MSG command until it receives a poll from the DF1 half-duplex master. After transmitting the broadcast write command, the DF1 half-duplex slave receives an acknowledgement that the DF1 half-duplex Publication 1747-RM001G-EN-P - November 2008

Page 386

13-56

SLC Communication Channels master received the packet without error. When the DF1 half-duplex master re-broadcasts the broadcast write command, the initiating DF1 half-duplex slave receives and executes the command along with all of the other slave nodes receiving the broadcast packet. No acknowledgement or reply is returned.

Configuring Channel 0 for Standard Polling Mode DF1 Half-duplex Master Choose DF1 half-duplex master in standard polling mode if you want to query slave stations for information based upon user-configured polling ranges. This mode is used most often in point-to-multipoint configurations. To configure the processor for a master station using standard polling mode, place the processor into program mode and do the following using your programming software:

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

Publication 1747-RM001G-EN-P - November 2008

Page 387

SLC Communication Channels

13-57

Define the location of the diagnostic file used for Channel Status here. For Channel Status details, see page 13-68.

1. On the Channel 0 tab, choose DF1 Half-Duplex for your Driver. 2. Choose a Standard Polling Mode. 3. Configure the rest of the communication driver characteristics according to Table 13.16.

Publication 1747-RM001G-EN-P - November 2008

Page 388

13-58

SLC Communication Channels

Table 13.17 Define these parameters when configuring a SLC 5/03, 5/04, or 5/05 processor as a master station using standard polling mode to communicate with slave stations 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.21 on page 13-68 for a file description.

Channel 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 address. Choose an address between 010 and 25410. Node address25510 is the broadcast address, and cannot be selected as a station’s individual address

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. • If the master modem is full duplex, choose FULL-DUPLEX MODEM. • If all the modems in the system are half-duplex, choose HALF-DUPLEX WITHOUT CONTINUOUS CARRIER.

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.

Publication 1747-RM001G-EN-P - November 2008

Page 389

SLC Communication Channels

13-59

Table 13.17 Define these parameters when configuring a SLC 5/03, 5/04, or 5/05 processor as a master station using standard polling mode to communicate with slave stations (Continued) Tab

Parameter

Default

Selections

Polling Mode

Message Based

If you want to receive: • only one message from a slave station per its turn, choose STANDARD (SINGLE MESSAGE TRANSFER PER NODE SCAN). Choose this method only if it is critical to keep the poll list scan time to a minimum. • as many messages from a slave station as it has, choose STANDARD (MULTIPLE MESSAGE TRANSFER PER NODE SCAN).

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 another 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.

ACK Timeout

50

The amount of time in 20 millisecond increments that you want the processor to wait for an acknowledgment to the message it has sent before the processor retries the message or the message errors out. This timeout value is also used for the poll response timeout.

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.

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.

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 either asserts the RTS signal (if handshaking is selected) or begins transmitting (if no handshaking is selected).

Message Retries

3

Defines the number of times a master station retries either: • a message before it declares the message undeliverable. • or a poll packet to an active station before the master station declares that station to be inactive. A poll packet is transmitted prior to each message retry.

Priority Polling Range – High

0

Select the last slave station address to priority poll.

Priority Polling Range – Low

255

Select the first slave station address to priority poll. Entering 255 disables priority polling.

Publication 1747-RM001G-EN-P - November 2008

Page 390

13-60

SLC Communication Channels

Table 13.17 Define these parameters when configuring a SLC 5/03, 5/04, or 5/05 processor as a master station using standard polling mode to communicate with slave stations (Continued) Tab

Parameter

Default

Selections

Normal Polling Range – High

0

Select the last slave station address to normal poll.

Normal Polling Range – Low

255

Select the first slave station address to normal poll. Entering 255 disables normal polling.

Normal Poll Group Size

0

Enter the quantity of active stations located in the normal poll range that you want polled during a scan through the normal poll range before returning to the priority poll range. If no stations are configured in the Priority Polling Range, leave this parameter at 0.

Publication 1747-RM001G-EN-P - November 2008