SCADA System Application Guide
Important User Information Solid state equipment has operational characteristics differing from those of electromechanical equipment. Safety Guidelines for the Application, Installation and Maintenance of Solid State Controls (Publication SGI-1.1 available from your local Rockwell Automation® sales office or online at http://www.ab.com/manuals/gi) describes some important differences between solid state equipment and hard-wired electromechanical devices.
Summary of Changes The information below summarizes the changes to this manual since the last printing. To help you find new and updated information in this release of the manual, we have included change bars as shown to the right of this paragraph.
2 Summary of Changes Publication AG-UM008C-EN-P - February 2005
Table of Contents Preface What SCADA Information Is Available?. Audience . . . . . . . . . . . . . . . . . . . . . . Contents of this Manual. . . . . . . . . . . . Terms . . . . . . . . . . . . . . . . . . . . . . . . . Address Conventions. . . . . . . . . . . . . . Addresses . . . . . . . . . . . . . . . . . . . Related Publications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2 Table of Contents Configuring the Processor as a Station on a Point-to-Point Link . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Displaying Point-to-Point System Channel Status . . . . . . Messaging. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Master Station to Slave Station . . . . . . . . . . . . . . . . . . . Polled Report-by-Exception . . . . . . . . . . . . . . . . . . . . . Processor-to-Processor . . . . . . . . . . . . . . . . . . . . . . . . .
Table of Contents Configuring a Station on a Point-to-Point Link . . . . DF1 Full-Duplex Channel Status . . . . . . . . . . . . DF1 Messaging . . . . . . . . . . . . . . . . . . . . . . . . . . . Master Station to Slave Station . . . . . . . . . . . . . Polled Report-by-Exception . . . . . . . . . . . . . . . Processor-to-Processor . . . . . . . . . . . . . . . . . . . Considerations When Configuring MSG Control Blocks . . . . . . . . . . . . . . . . . . . . . . . . . Example MSG Control Blocks . . . . . .
4 Table of Contents Configuring DF1 Half-Duplex Channel 0 Parameters. . RTS Send Delay and RTS Off Delay . . . . . . . . . . . Configuring a Standard-Mode DF1 Half-Duplex Master Station . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Minimum DF1 Half-Duplex Master Channel 0 ACK Timeout. . . . . . . . . . . . . . . . . . . . . . . . . . . . Determining Minimum Master ACK Timeout . . . . . DF1 Half-Duplex Master Channel Status . . . . . . . . Monitor Active Stations. . . . . . . . . . . . . . . .
Table of Contents 5 Chapter 6 Configuring MicroLogix 1000 Controllers Chapter Objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Installing the Controller . . . . . . . . . . . . . . . . . . . . . . . . . . . Isolated Connections . . . . . . . . . . . . . . . . . . . . . . . . . . Automatic Protocol Switching . . . . . . . . . . . . . . . . . . . . . .
6 Table of Contents Configuring a Standard-Mode DF1 Half-Duplex Master Station . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Configuring a Master Station for Standard Polling Mode . . . Minimum DF1 Half-Duplex Master ACK Timeout . . . . . Determining Minimum Master Serial Port ACK Timeout . DF1 Half-Duplex Master Diagnostic Counter . . . . . . . . . . . Create Polling List(s) . . . . . . . . . . . . . . . . . . . . . . . . . . Monitor Active Stations. . . . . . . . . . . . . . . . . .
Table of Contents DATA-LINC Group . . . . . . . . . . . . . . . . . . . . . SRM6000/6100/6200E . . . . . . . . . . . . . . . . . SRM6000/6100/6200E-SLC . . . . . . . . . . . . . SRM6000/6100/6200E-PLC . . . . . . . . . . . . . Electronic Systems Technology (ESTeem) . . . . . . . . . . . . . . . . . . . Microwave Data Systems (MDS). . . . . . . . . . . . MDS Model 2100 and 4100 Master Stations . MDS Model 2310 and 4310 Remote Stations MDS Model 9810 Spread Spectrum . . . . . . .
8 Table of Contents Appendix A Modem Cable Reference Appendix Objective . . . . . . . . . . . . . . . . . . . . . . . . Enhanced PLC-5 . . . . . . . . . . . . . . . . . . . . . . . . . . . 1747-KE Interface Module . . . . . . . . . . . . . . . . . . . . ASCII Terminal to 1747-KE module . . . . . . . . . . . . . SLC 5/03, 5/04, or 5/05, Logix, and MicroLogix 1500 Channel 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1785-KE Module . . . . . . . . . . . . . . . . . . . . . . . . . . .
Table of Contents Worksheet 3.4 MicroLogix 1100/1200/1500 DF1 Full-Duplex Point-to-Point Configuration . . . . . . . . . . . . . Worksheet 3.5 MicroLogix 1100/1200/1500 Radio Modem Slave Station Configuration . . . . . . . . . . . . . . . . . . . . . . . Worksheet 4.1 SLC 5/03, 5/04, and 5/05 DF1 Half-Duplex Master Station Configuration Using Standard Communication. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Worksheet 4.
10 Table of Contents MicroLogix 1000 Analog DF1 Half-Duplex Slave Report-by-Exception MSG . . . . . . . . . . . . . . . . . . . . . . . Logix DF1 Half-Duplex Master Standard Mode, Master-Initiated MSG . . . . . . . . . . . . . . . . . . . . . . . . . . . Logix DF1 Half-Duplex Master Message-based Mode, Master-Initiated MSG . . . . . . . . . . . . . . . . . . . . . . . . . . . Logix DF1 Half-Duplex Slave Report-By-Exception MSG . Glossary Index Publication AG-UM008C-EN-P - February 2005 . E-14 . E-16 .
Preface What SCADA Information Is Available? Two principle SCADA documents are available: • SCADA System Application Guide Publication AG-UM008 (this manual) – Describes how to configure Allen-Bradley® products and third-party modems – Describes how to send messages – Provides application samples • SCADA System Selection Guide (Publication AG-SG001) – Presents Allen-Bradley capabilities for SCADA applications – Guides you through choosing SCADA system components Audience We designed this document for in
2 Preface Contents of this Manual Refer to the following listing for the contents of this user manual. Chapter Title Contents 1 Designing Communication Design and configuration choices for getting information to and from slave stations. 2 Configuring Enhanced PLC-5® Processors Set up an enhanced PLC-5 processor as a master station, slave station, or a station on a point-to-point link.
Preface Terms 3 We use these terms frequently in this book: Term Definition Logix processor A collective name used to refer to ControlLogix™, FlexLogix™, and CompactLogix™ processors. Enhanced PLC-5 processor A collective name used to refer to PLC-5/11, -5/20, -5/30, -5/40, -5/60, and PLC-5/80 processors. Ethernet PLC-5 processor A collective name used to refer to PLC-5/20E, -5/40E, and -5/80E processors.
4 Preface Related Publications The following documents contain additional information concerning Allen-Bradley programmable controller products.
Chapter 1 Designing Communication Chapter Objectives Use this chapter along with the configuration chapters of the devices in your SCADA system to help you make design and configuration choices for getting information to and from slave stations. While designing your communication scheme, consider these application requirements: • • • • responsiveness determinism cost efficiency The factors that affect communication are a result of the protocol you are use, either half-duplex or full-duplex.
1-2 Designing Communication Choosing a Polling Mode for DF1 Half-Duplex Master A master station can be configured to communicate with slave stations in either Message-based polling mode or Standard polling mode. The pros and cons of each polling mode are described below.
Designing Communication 1-3 Standard Polling Mode Standard polling mode is strongly recommended for larger systems that require time critical communication between the master and all the slave stations, or for any system where slave station-initiated messages are going to be used (this includes slave programming over the network, since this uses the same mechanism that slave-to-slave messaging uses). The Active Node Table automatically keeps track of which slaves are (and are not) communicating.
1-4 Designing Communication master station will continue to poll this slave station until its transmit queue is empty. The master station knows the slave station has no message packets queued up to transmit when the slave station responds to the master poll packet with a 2-byte poll response. Every time a slave station responds or doesn’t respond to its poll packet, the master station automatically updates its active node list (again, even if it’s in program mode).
Designing Communication 1-5 If your SCADA application is time-critical and any two or more of the following apply, then you can benefit from polled report-by-exception messaging: • communication channel is slow (2400 bps or less) • average number of words of data to monitor in each slave station is greater than five • number of slave stations is greater than ten About Slave-to-Slave Messaging Most SCADA half-duplex protocols do not allow one slave station to talk to another slave station, except through
1-6 Designing Communication Addressing Tips Each station on the network including the master station must have a unique address. The address range is 0 to 25410 (3768), so you can have a maximum of 254 stations on a single telemetry network. Station address 25510 (3778) is the broadcast address, which you cannot select as a station’s individual address. A remote programming terminal station address should be reserved, even if remote programming is not considered a requirement initially.
Designing Communication 1-7 SLC 500 Processors with a 1747-KE Module Addressing Considerations Since you can have up to 254 devices on a half-duplex network and 32 devices on a DH-485 network, to allow 255 DH-485 nodes requires using a group number. This parameter defines the address group of the SLC 500 half-duplex address. Each address group can consist of 32 addresses.
1-8 Designing Communication Communication Scheme Design Using Standard-Mode Standard-communication mode for an Allen-Bradley master station uses centralized polling to gather data from slave stations. A master station using this communication technique asks (polls) individual slave stations if they have any information to send. All stations on the link ‘hear’ the master station’s requests, but only the slave station to which a request is addressed replies.
Designing Communication 1-9 When the master station is configured for standard-communication mode, you do not need to program any master-station message instructions to communicate with slave stations. Communication with slave stations occurs by the master station sending polling packets to slave stations. You only need message instructions when you want the master station to write data to or read data from a location within a slave station’s data table.
1-10 Designing Communication Figure 1.
Designing Communication 1-11 Designing a Polling Scheme Each master station in a SCADA application must have a polling scheme configured.
1-12 Designing Communication Figure 1.4 The master station scans slave stations in a set sequence. 1. Scans all stations in the active priority poll file. Active Priority Poll List Inactive Priority Poll List 2. Scans one station in the inactive priority poll file. Active Normal Poll List aa bb 3. Scans stations in the active normal poll file based on the normal poll group size, which you specify during configuration.
Designing Communication 1-13 Choosing Single or Multiple Message Transfer Depending on your application’s requirement, you can choose the number of messages you want to receive from a slave station during its turn. If you want to receive Choose only one message from a slave station per poll per a station’s turn. single transfer Choose this method only if it is critical to keep the poll list scan time to a minimum. as many messages from the slave station as it has in its queue.
1-14 Designing Communication Figure 1.6 Effect of MSGs on Logix, PLC-5, SLC 500, and MicroLogix Polling 1. Polled station 1; ready to poll station 2. 2. MSG sent to station 3 (MSG was waiting in queue). Polling List Stn 1 Stn 2 Master Station MSG to slave Modem Stn 3 Modem 3. Master station continues polling where it left off in the polling sequence, e.g., station 2.
Designing Communication Communication Scheme Design Using Message-Based Mode 1-15 In message-based communication mode, the master station sends solicited messages (messages programmed via ladder logic) to a specific slave station when the master requires information. In this mode, the communication link is inactive until the master station has a message to send to a slave station. Figure 1.7 explains the communication sequence that occurs. Figure 1.7 Message-Based Communication Master Station Modem 1.
1-16 Designing Communication Designing Communication for DF1 Full-Duplex Protocol When designing communication using DF1 full-duplex protocol, you must configure timeout values and retry counts that control the communication between a transmitting station and a receiving station. Consider the type of link media you are using to help you determine the best values for the timer and counters.
Designing Communication Designing Communication for DF1 Radio Modem Protocol 1-17 When designing communication using DF1 Radio Modem protocol, you must consider the capabilities of both the controllers and radio modems. The DF1 Radio Modem protocol can only be used with contollers that support and are configured for this protocol.
1-18 Designing Communication Figure 1.9 DF1 Radio Communication 1. Message (via MSG instruction) sent to a specific station (eg., station 1). Modem Station 2 Modem Station 1 2. Station 1 sends its reply message. Figure 1.
Designing Communication 1-19 Figure 1.11 Applying Store and Forward in DF1 Radio Modem Protocol (2nd rebroadcast) REPLY 1 (1st rebroadcast) REPLY 1 Node 1 No Bits CMD 1 (DST=4, SRC=1) Node 2 1, 3, 4 CMD 1 (1st rebroadcast) What to Do Next? Node 3 1, 2, 4 REPLY 1 (DST=1, SRC=4) Node 4 No Bits CMD 1 (2nd rebroadcast) Make sure you: • choose the communication method best suited for your application. • make initial configuration choices for the communication method you have chosen.
1-20 Designing Communication Publication AG-UM008C-EN-P - February 2005
Chapter 2 Configuring Enhanced PLC-5 Processors Chapter Objectives This chapter helps you set up an Enhanced PLC-5 processor as a master station, as a slave station, or as a station on a point-to-point link.
2-2 Configuring Enhanced PLC-5 Processors Figure 2.1 Configuring and Enhanced PLC-5 Modem PLC-5 programming software 41188 Installing the Processor Before installing the processor, set the processor switch assemblies. Define By setting switch assembly DH+ and DF1 point-to-point station address S1 RS-232 as the electrical interface for the serial port S2 For details about installing the processor, see the Enhanced PLC-5 Programmable Controllers Quick Start, publication 1785-QS012.
Configuring Enhanced PLC-5 Processors Set Switches: T Specify: To 1 2 3 4 5 6 7 8 9 10 ON ON ON OFF OFF ON ON OFF ON OFF RS-232C 2-3 Toggle pushed toward TOP OFF Toggle pushed toward BOTTOM ON The DF1 Point-to-Point Station Address of the processor is the same as the DH+ address defined by S1. Configuring a DF1 Half-Duplex Standard Mode Master Station Choose standard-communication mode if you want to query slave stations for information based upon user-configured polling lists.
2-4 Configuring Enhanced PLC-5 Processors To configure the processor for a master station using standard communication, place the processor into program mode and follow the steps below using your RSLogix™ 5 software: 1. Double-click on the Channel Configuration file to bring up the Edit Channel Properties interface. 2. On the Channel 0 tab, choose System (Master) for your Communication Mode. 3. Configure the Serial Port, Options, and Polling parameters according to Table 2.1. 4.
Configuring Enhanced PLC-5 Processors 2-5 Define the Communication Driver Characteristics Use Table 2.1 to help you understand the communication parameters you need to specify on the Channel Configuration screen for standard-communication mode. Use Worksheet 2.1 (page D-5) for an example configuration and to record your station’s configuration. Table 2.
2-6 Configuring Enhanced PLC-5 Processors RSLogix 5 Tab Parameter Selections Options Station Address Define the octal address of the processor on the DF1 half-duplex link. Each station on a link must have a unique address. Choose an address between 0 and 3768. Station address 3778 is the broadcast address, which you cannot select as a station’s individual address.
Configuring Enhanced PLC-5 Processors 2-7 RSLogix 5 Tab Parameter Selections Polling Normal Poll Node File Enter an unused integer file that will store the addresses of the slave stations you want in the normal poll list. Normal Poll Group Size Enter the quantity of active stations located in the normal poll list that you want polled during a scan through the normal poll list before returning to the priority poll list.
2-8 Configuring Enhanced PLC-5 Processors Table 2.2 Descriptions of System Mode DF1 Master Channel Status Fields Status Field Location Clear Description Clear counters for all channels by clicking on Clear button. DCD Recover word 11 Displays the number of times the processor detects the DCD handshaking line has gone low to high. Lost Modem word 12 Displays the number of times that the modem lost bit (S:17/5) has gone low to high.
Configuring Enhanced PLC-5 Processors 2-9 The normal and priority poll file layout is as follows: This word in a poll file Contains this information word 0 total number of stations to be polled (for a list) word 1 the address location (poll offset) of the station currently being polled (as long as all configured stations are active) For example: a value of 1 means the station address stored in word 2 is being polled, 2 means the address stored in word 3 is being polled, etc.
2-10 Configuring Enhanced PLC-5 Processors Figure 2.3 is an example of a station list containing three stations: octal addresses 10, 3, and 12. Station 12 is being polled. Figure 2.3 Example Station List total number of stations pointer showing the station address being polled address of first station in list address of second station in list address of third station in list Monitor Active Stations To see what stations are active, view the active station file.
Configuring Enhanced PLC-5 Processors Configuring a DF1 Half-Duplex Message-based Mode Master Station 2-11 Choose message-based communication mode if you want to use MSG instructions in user programming to communicate with one station at a time. If your application uses satellite transmission or public switched telephone network transmission, consider choosing message-based. Communication to a slave station can be initiated on an as-needed basis.
2-12 Configuring Enhanced PLC-5 Processors 4. Configure Options parameters according to Table 2.3. 5. Configure the Polling parameters according to Table 2.3. 6. When all parameters are set, click OK. Use Table 2.3 to help you understand the communication parameters you need to specify on the Edit Channel Properties screen. Use Worksheet 2.2 (page D-6) for an example configuration and to record your station’s configuration. Table 2.
Configuring Enhanced PLC-5 Processors 2-13 RSLogix 5 Tab Parameter Selections Serial Port Control Line This parameter defines the mode in which the master 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 and the slave modem is full-duplex, choose FULL-DUPLEX MODEM. • If all the modems in the system are half-duplex, choose HALF-DUPLEX MODEM WITHOUT CONTINUOUS CARRIER.
2-14 Configuring Enhanced PLC-5 Processors RSLogix 5 Tab Parameter Selections Polling Polling Mode If you want to: • accept unsolicited messages from slave stations, choose MESSAGE BASED (ALLOW SLAVE TO INITIATE MESSAGES). Slave station-initiated messages are acknowledged and processed after all master station-initiated (solicited) messages. Note: Slave stations can only send messages when they are polled.
Configuring Enhanced PLC-5 Processors Configuring the Processor as a Slave Station 2-15 To configure the processor as a slave station, place the processor in program mode and follow the steps below using your programming software: 1. Double-click on the Channel Configuration file to bring up the Edit Channel Properties interface. 2. On the Channel 0 tab, choose System (Slave) for your Communication Mode. 3. Configure the Serial Port parameters according to Table 2.4. 4.
2-16 Configuring Enhanced PLC-5 Processors Table 2.4 Communication Parameters for a PLC-5 Slave Station. RSLogix 5 Tab Parameter Selections Channel 0 Diagnostic File Select an unused integer file to store channel status information. You must define a diagnostic file in order to be able to view channel 0 status. See Table 2.5 on page 2-18 for a description of what this file contains.
Configuring Enhanced PLC-5 Processors 2-17 RSLogix 5 Tab Parameter Selections Options Station Address Define the octal address of the processor on the DF1 half-duplex link. Each station on a link must have a unique address. Choose an address between 0 and 3768. Station address 3778 is the broadcast address, which you cannot select as a station’s individual address. DF1 Retries The number of times a slave station retries a message before the slave station declares the message undeliverable.
2-18 Configuring Enhanced PLC-5 Processors Displaying Slave System Channel Status 1. To display Channel Status, double click on Channel Status, which is located within Channel Configuration. 2. To access the various channels from the Channel Status Screen, click on the tabs. Descriptions of the status screen fields can be found in Table 2.5. Table 2.
Configuring Enhanced PLC-5 Processors 2-19 Status Field Diagnostic File Location Definition 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 a no ACK was returned DTR (Data Terminal R
2-20 Configuring Enhanced PLC-5 Processors Configuring the Processor as a Station on a Point-to-Point Link To configure the processor as a station on a point-to-point link, place the processor in program mode and follow the steps below using your programming software: 1. Double-click on the Channel Configuration file to bring up the Edit Channel Properties interface. 2. On the Channel 0 tab, choose System (Point-to-Point) for your Communication Mode. 3.
Configuring Enhanced PLC-5 Processors 2-21 Table 2.6 Configuring the PLC-5 Processor as a Device on a Point-to-Point Link RSLogix 5 Tab Parameter Selections Channel 0 Diagnostic File Select an unused integer file that you want to use to store channel status information. You must define a diagnostic file in order to be able to view channel 0 status. See Table 2.7 on page 2-22 for a description of what this file contains.
2-22 Configuring Enhanced PLC-5 Processors Displaying Point-to-Point System Channel Status 1. To display Channel Status, double-click on Channel Status, which is located within Channel Configuration. 2. To access the various channels from the Channel Status screen, click on the tabs. Descriptions of the status screen fields can be found in Table 2.7. Table 2.
Configuring Enhanced PLC-5 Processors 2-23 Status Field Diagnostic File Location Definition 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 Se
2-24 Configuring Enhanced PLC-5 Processors Processor-to-Processor A processor-to-processor message can be two types: • In a point-to-multipoint configuration, the messaging would be between slave stations; the master station automatically routes the message.
Configuring Enhanced PLC-5 Processors 2-25 Considerations When Configuring MSG Control Blocks Keep these considerations in mind when configuring messages between a PLC-5 and SLC 500 or MicroLogix processor. The following table lists which PLC-5 processors (series and revision) you can use with the MSG instruction to transfer data from/to a PLC-5 processor to/from any SLC 500 processor or MicroLogix 1000 in SLC native mode.
2-26 Configuring Enhanced PLC-5 Processors Example MSG Control Blocks Application See Page PLC-5 read message to another PLC-5 processor Figure 2.5 2-26 PLC-5 write message to another PLC-5 processor Figure 2.6 2-27 PLC-5 read message to an SLC 500 or MicroLogix 1000 processor Figure 2.7 2-28 PLC-5 write message to an SLC 500 or MicroLogix 1000 processor Figure 2.8 2-29 Figure 2.
Configuring Enhanced PLC-5 Processors 2-27 Figure 2.6 Example of a PLC-5 Write MSG to Another PLC-5 (or SLC 5/03, 5/04, 5/05, MicroLogix 1100/1200/1500, or Logix) Processor Ladder Rung Control Block MSG being sent to another PLC-5 processor. MSG being sent out channel 0 (must use MG file type). If the destination were a Logix processor, then the address could also be entered as “tagname”.
2-28 Configuring Enhanced PLC-5 Processors Figure 2.7 Example of a PLC-5 Read MSG to an SLC 500 or MicroLogix Processor Ladder Rung Control Block MSG being sent to an SLC 500 or MicroLogix processor. MSG being sent out channel 0 (must use MG file type). This MSG example tells this PLC-5 (master) to read the information from SLC 500 (slave) 1310 (158) S:1 and place the information in its N15:0 file.
Configuring Enhanced PLC-5 Processors 2-29 Figure 2.8 Example of a PLC-5 Write MSG to an SLC 500 or MicroLogix Processor Ladder Rung Control Block MSG being sent to an SLC 500 or MicroLogix processor. MSG being sent out channel 0 (must use MG file type). This MSG example tells the PLC-5 master station to write the information from its N15:1 through its serial port (channel 0) to the SLC 500 slave station 1310 (158). The data’s destination is N7:0 of the SLC 500 slave station.
2-30 Configuring Enhanced PLC-5 Processors Publication AG-UM008C-EN-P - February 2005
Chapter 3 Configuring MicroLogix 1100/1200/1500 Controllers Chapter Objectives This chapter helps you set up a MicroLogix 1100, 1200, or 1500 controller as a master station, as a slave station, as a radio modem station, or as a station on a point-to-point link.
3-2 Configuring MicroLogix 1100/1200/1500 Controllers Overview To configure a MicroLogix 1100/1200/1500 controller: 1. Install the controller; connect the serial cable to one of the communication channels. 2. Define the processor’s communication characteristics using RSLogix™ 500 programming software. 3. Install and configure the modem for communication with the controller; connect the modem to one of the controller’s serial channels. Figure 3.
Configuring MicroLogix 1100/1200/1500 Controllers 3-3 MicroLogix 1200/1500 Channel 0 Cable Pinouts - User Supplied Optical Isolator Standard Allen-Bradley cables include: • 1761-CBL-PM02 Series B or higher (6.5 ft, 1.98 m) • 1761-CBL-AP00 (17.7 in., 449.
3-4 Configuring MicroLogix 1100/1200/1500 Controllers MicroLogix 1200/1500 Channel 0 Cable Pinouts - Allen-Bradley Supplied Optical Isolator Standard Allen-Bradley cables include: • 1761-CBL-HM02 Series B or higher (6.5 ft, 1.98 m) • 1761-CBL-AM00 (17.7 in., 449.58 mm) MicroLogix 1761-NET-AIC 8-pin 1761-CBL-HM02 8-pin MiniDIN 1761-CBL-AM00 MiniDIN Modem 9-pin female 9-pin 25-pin DCD(1) 5 DCD 5 DCD.IN 1 1 8 RXD 4 RXD 4 RXD.IN 2 2 3 TXD 7 TXD 7 TXD.OUT 3 3 2 GND 2 GND 2 DTR.
Configuring MicroLogix 1100/1200/1500 Controllers 3-5 MicroLogix 1500 LRP Channel 1 Cable Pinouts MicroLogix Modem 9-pin female 25-pin 9-pin DCD.IN 1 8 1 RXD.IN 2 3 2 TXD.OUT 3 2 3 DTR.OUT(1) 4 20 4 SIG.GND 5 7 5 DSR.IN (1) 6 6 6 RTS.OUT 7 4 7 CTS.IN 8 5 8 (1) These pins are not active. Figure 3.
3-6 Configuring MicroLogix 1100/1200/1500 Controllers Using Modems that Support DF1 Communication Protocols The types of modems that you can use with MicroLogix 1100/1200/1500 controllers include dial-up phone modems, leased-line modems, radio modems and line drivers. For point-to-point full-duplex modem connections, use DF1 full-duplex protocol. For general point-to-multipoint modem connections, use DF1 half-duplex master and slave protocols.
Configuring MicroLogix 1100/1200/1500 Controllers 3-7 Leased-Line Modems Leased-line modems are used with dedicated phone lines that are typically leased from the local phone company. The dedicated lines may be point-to-point topology supporting full-duplex communications between two modems or in a point-to-multipoint topology supporting half-duplex communications between three or more modems.
3-8 Configuring MicroLogix 1100/1200/1500 Controllers Modem Control Line Operation The following explains the operation of the MicroLogix 1100/1200/1500 controllers when you configure the RS-232 channel for the following applications. DF1 Full-Duplex When configured for DF1 full-duplex, the following control line operation takes effect: No Handshaking Selected RTS is always inactive (low). Receptions and transmissions take place regardless of the state of CTS input.
Configuring MicroLogix 1100/1200/1500 Controllers 3-9 DF1 Half Duplex Master When configuring for DF1 half-duplex master, the following control line operation takes effect: No Handshaking Selected RTS is always inactive. Receptions and transmissions take place regardless of the state of CTS input. Only make this selection when the controller is directly connected to another device that does not require handshaking signals. Full-Duplex Modem (RTS On) Selected RTS is always active (high).
3-10 Configuring MicroLogix 1100/1200/1500 Controllers Half-Duplex Modem with DCD Handshaking (MicroLogix 1500 LRP Channel 1 Only) Selected RTS is activated during transmissions and during any programmed delays before and after transmissions. Programmed delays include RTS Send Delay and RTS Off Delay. The DCD input signal is monitored to determine if transmissions are acceptable. If DCD is active, receptions are possible. Transmissions require CTS to be active and DCD to be inactive.
Configuring MicroLogix 1100/1200/1500 Controllers Configuring DF1 Half-Duplex Channel 0 Parameters 3-11 RTS Send Delay and RTS Off Delay Through your programming software, the parameters RTS Send Delay and RTS Off Delay let you set how long RTS is on prior to transmission, as well as how long to keep it on after transmission is complete. These parameters only apply when you select half-duplex modem. For maximum communication throughput, leave these parameters at zero.
3-12 Configuring MicroLogix 1100/1200/1500 Controllers Configuring a Standard-Mode DF1 Half-Duplex Master Station Choose standard mode if you want to query slave stations for information based upon user-configured polling ranges. This mode is used most often in general point-to-multipoint configurations. To configure the processor for a master station using standard communication, place the processor into program mode and follow the steps below using your programming software: 1.
Configuring MicroLogix 1100/1200/1500 Controllers 3-13 Table 3.1 MicroLogix 1100/1200/1500 Master Using Standard-Communication Mode Parameter Selections Baud Rate Select a communication rate that all devices in your system support. Configure all devices in the system for the same communication rate. Parity Parity provides additional message packet error detection. To implement even parity checking, choose Even. To implement no parity checking, choose None.
3-14 Configuring MicroLogix 1100/1200/1500 Controllers Table 3.1 MicroLogix 1100/1200/1500 Master Using Standard-Communication Mode Parameter Selections RTS Send Delay 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.
Configuring MicroLogix 1100/1200/1500 Controllers 3-15 To calculate the minimum ACK timeout, you must know: • the modem baud rate • maximum-sized data packet (the maximum number of data words that a slave write command or read reply packet might contain) • the RTS/CTS or turnaround delay of the slave modem • the configured RTS Send Delay in the slave • the program scan time of the slave Determining Minimum Master ACK Timeout To determine the minimum ACK Timeout, you must first calculate the transmission
3-16 Configuring MicroLogix 1100/1200/1500 Controllers Finally, you must determine the larger of two values, either the configured slave RTS Send Delay or the turnaround time of the slave modem. The RTS Send Delay time can be found by double-clicking on the slave’s Channel Configuration icon and looking at the particular channel tab of the Channel Configuration screen.
Configuring MicroLogix 1100/1200/1500 Controllers 3-17 DF1 Half-Duplex Master Channel Status Channel Status data is stored in the Communication Status Function File. Table 3.3 explains information regarding the diagnostic counter data displayed. 1. Double-click on the Channel Status icon located beneath the Configuration icon to bring up the Channel Status interface. 2. See Table 3.3 for details concerning the DF1 Half-Duplex Master Channel Status interface. Table 3.
3-18 Configuring MicroLogix 1100/1200/1500 Controllers Table 3.
Configuring MicroLogix 1100/1200/1500 Controllers 3-19 If you are using RSLogix 500 version 6.10.10 or higher, you can view the active node table by clicking on Processor Status and then selecting the tab for the DF1 Master channel. Figure 3.4 Example Active Node Table At powerup or after reconfiguration, the master station assumes that all slave stations are inactive. A station is shown active only after it responds to a poll packet.
3-20 Configuring MicroLogix 1100/1200/1500 Controllers To configure the processor for a master station using message-based communication, place the processor in program mode and follow the steps below using your programming software: 1. To bring up the Channel Configuration interface, double-click on the Channel Configuration icon. 2. On the Channel 1 tab, choose DF1 Half-Duplex Master for your Driver. 3. Choose a Message-based Polling Mode. 4.
Configuring MicroLogix 1100/1200/1500 Controllers 3-21 Define the parameters shown in Table 3.4 when configuring a MicroLogix 1100/1200/1500 controller as a master station using message-based communication mode to talk to slave stations. Table 3.4 Configuring a MicroLogix 1100/1200/1500 as a Master Using Message-based Communication Mode Parameter Selections Baud Rate Select a communication rate that all devices in your system support.
3-22 Configuring MicroLogix 1100/1200/1500 Controllers Table 3.4 Configuring a MicroLogix 1100/1200/1500 as a Master Using Message-based Communication Mode Parameter Selections Reply Message Wait Defines the amount of time, in 20 millisecond increments, that the master station will wait after Timeout receiving an ACK (to a master-initiated message) before polling the slave station for a reply.
Configuring MicroLogix 1100/1200/1500 Controllers 3-23 2. On the Channel tab, choose DF1 Half-Duplex Slave for your Driver. 3. Configure the communication driver characteristics according to Table 3.5. Use Worksheet 3.3 MicroLogix 1100/1200/1500 DF1 Half-Duplex Slave Station Configuration (pageD-11) for an example configuration and to record your station’s configuration. Define these parameters when configuring a MicroLogix 1100/1200/1500 controller as a slave station. Table 3.
3-24 Configuring MicroLogix 1100/1200/1500 Controllers Table 3.5 Configuring a MicroLogix 1100/1200/1500 controller as a Slave Station Parameter Selections Duplicate Packet Detect Duplicate Detect lets the controller detect if it has received a message that is a duplicate of its most recent message from the master station.
Configuring MicroLogix 1100/1200/1500 Controllers Configuring Poll Timeout 3-25 The 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.
3-26 Configuring MicroLogix 1100/1200/1500 Controllers Table 3.
Configuring MicroLogix 1100/1200/1500 Controllers Configuring a Radio Modem Station 3-27 To configure a MicroLogix 1100/1200/1500 controller channel 1 for DF1 Radio Modem, do the following using your programming software: 1. To bring up the Channel Configuration interface, double-click on the Channel Configuration icon. 2. On the Channel tab, choose DF1 Radio Modem for your Driver. 3. Configure the communication driver characteristics according to Table 3.7.
3-28 Configuring MicroLogix 1100/1200/1500 Controllers Table 3.7 Define these communication parameters when configuring a MicroLogix 1100/1200/1500 controller for DF1 Radio Modem communication. Parameter Default Selections 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.
Configuring MicroLogix 1100/1200/1500 Controllers 3-29 Table 3.7 Define these communication parameters when configuring a MicroLogix 1100/1200/1500 controller for DF1 Radio Modem communication. Parameter Default Selections RTS On 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.
3-30 Configuring MicroLogix 1100/1200/1500 Controllers DF1 Radio Modem Channel Status Channel status data is stored in the Communication Status Function file. See Table 3.8 for information regarding the diagnostic counter data displayed. 1. Double-click on the Channel Status Icon Located beneath the Configuration icon to bring up the Channel Status screen. 2. See Table 3.8 for details concerning the DF1 Radio Modem Channel Status Screen. Table 3.
Configuring MicroLogix 1100/1200/1500 Controllers 3-31 Table 3.
3-32 Configuring MicroLogix 1100/1200/1500 Controllers Figure 3.
Configuring MicroLogix 1100/1200/1500 Controllers Configuring a Station on a Point-to-Point Link 3-33 To configure the processor for point-to-point communication, follow the steps below using your programming software: 1. To bring up the Channel Configuration interface, double-click on the Channel Configuration icon. 2. On the Channel tab, choose DF1 Full-Duplex for your Driver. 3. Configure the communication driver characteristics according to Table 3.9. Use Worksheet 3.
3-34 Configuring MicroLogix 1100/1200/1500 Controllers Define the communication parameters shown in Table 3.9 when configuring a MicroLogix 1100/1200/1500 controller for DF1 full-duplex communication. Table 3.9 Configuring a MicroLogix 1100/1200/1500 controller for DF1 Full-Duplex Communication Parameter Selections Baud Rate Select a communication rate that all devices in your system support. Configure all devices in the system for the same communication rate.
Configuring MicroLogix 1100/1200/1500 Controllers 3-35 DF1 Full-Duplex Channel Status Channel Status data is stored in the Channel Status Function file. Table 3.10 on page 3-35 explains information regarding the diagnostic counter data displayed. 1. Double-click on the Channel Status Icon Located beneath the Configuration icon to bring up the Channel Status screen. 2. See Table 3.10 for details concerning the DF1 Full-Duplex Channel Status Screen. Table 3.
3-36 Configuring MicroLogix 1100/1200/1500 Controllers Table 3.
Configuring MicroLogix 1100/1200/1500 Controllers 3-37 Processor-to-Processor A processor-to-processor message can be the following types: • In a general point-to-multipoint configuration, the messaging would be between slave stations; the master station automatically routes the message.
3-38 Configuring MicroLogix 1100/1200/1500 Controllers For both Point-to-Multipoint and Point-to-Point Link Configurations • All MicroLogix 1100/1200/1500 controllers have the capability to initiate and reply to PLC-5-type read and write messages by choosing PLC-5 as the Target Device. Use this for both PLC-5 and Logix processors. • The maximum read or write message for a MicroLogix 1100/1200/1500 controller is 103 words. • The maximum read or write message to a MicroLogix 1000 is 41 words.
Configuring MicroLogix 1100/1200/1500 Controllers 3-39 To continue the example, if Message Retries is configured for 3, ACK Timeout is configured for 16 * 20 ms = 320, and Reply Message Timeout is configured for 1* 20 ms, the MSG Timeout value would be: 1 * 2 (3+1) .320 seconds + .02 2.58 seconds Round up the MSG Timeout value to the nearest second (3) If five MSG instructions were triggered at the same time, each MSG would need a timeout value of 5*2.58 = 12.
3-40 Configuring MicroLogix 1100/1200/1500 Controllers Standard Polling Mode With Multiple Message Transfer For standard polling mode with multiple message transfer per poll scan, the maximum poll scan would be achieved when every slave had multiple maximum-sized message packets to transmit when polled.
Configuring MicroLogix 1100/1200/1500 Controllers 3-41 Message Timeout value should be at least (Slave Channel Poll Timeout) * (Slave channel Message Retries + 1), rounded up to the next whole second. TIP Leave the Message Retries at default (3) unless you have an extremely error free or extremely error prone network.
3-42 Configuring MicroLogix 1100/1200/1500 Controllers Example MSG Control Blocks Application See page MicroLogix 1100/1200/1500 write message to a PLC-5 or Logix controller 3-42 MicroLogix 1100/1200/1500 read message to a PLC-5 or Logix controller 3-43 MicroLogix 1100/1200/1500 write message to another SLC 500 or MicroLogix controller 3-44 MicroLogix 1100/1200/1500 read message to another SLC 500 or MicroLogix controller 3-45 Figure 3.
Configuring MicroLogix 1100/1200/1500 Controllers 3-43 slave station. For a Logix slave station, a tag name would have to already have been mapped to N19. Figure 3.8 Read MSG from a MicroLogix 1100/1200/1500 controller to a PLC-5 Processor or Logix Controller. This MSG example tells the MicroLogix 1100/1200/1500 master station to read the information from PLC-5 slave station 1110’s N19:1 and place the information in master station file N9:0.
3-44 Configuring MicroLogix 1100/1200/1500 Controllers Figure 3.9 Write MSG from a MicroLogix 1100/1200/1500 controller to an SLC 500 or MicroLogix Controller In this example, the MicroLogix master station is issuing a write request through its serial port to SLC station 1310. The master station wants to write the information from RTC:0 into station 1310’s file N7:0.
Configuring MicroLogix 1100/1200/1500 Controllers 3-45 Figure 3.10 Read MSG from a MicroLogix 1100/1200/1500 controller to an SLC 500 or MicroLogix Controller In this example, the MicroLogix master station is issuing a read request through its serial port to SLC station 1310. The master station reads the information from station 1310’s file S:1 and puts that information into its own N9:0 file.
3-46 Configuring MicroLogix 1100/1200/1500 Controllers Modbus RTU Protocol This section provides the configuration parameters for Modbus RTU (Remote Terminal Unit transmission mode) protocol. For more information about the Modbus RTU protocol, see the Modbus Protocol Specification (available from http://www.modbus.org). The driver can be configured as Modbus RTU Master or Modbus RTU Slave.
Configuring MicroLogix 1100/1200/1500 Controllers 3-47 by 1, and selects the appropriate memory group based on the Modbus function. TIP Modbus protocol may not be consistently implemented in the field. The Modbus specification calls for the addressing range to start at 1; however, some devices start addressing at 0.
3-48 Configuring MicroLogix 1100/1200/1500 Controllers Modbus RTU Master Configuration Select the Modbus RTU Master from the Channel Configuration menu as shown below. The Baud defaults to 19200. The Control Line can be configured as: • No Handshaking • Full-Duplex Modem (RTS on) • Half-Duplex Modem (RTS/CTS handshaking) The Protocol Control defaults are: • No Handshaking • InterChar.
Configuring MicroLogix 1100/1200/1500 Controllers 3-49 When the system driver is Modbus RTU Master, the following communication port parameters can be changed. Modbus RTU Master Configuration Parameter Options Programming Software Default Channel MicroLogix 1200 FRN 8 and higher: Channel 0 MicroLogix 1100 MicroLogix 1500 FRN 9 and higher: Channel 0 or 1 0 0 0 (LSP) or 1 (LRP) Driver Modbus RTU Master Baud Rate 300, 600, 1200, 2400, 4800, 9600, 19.2K, 38.4K 19.
3-50 Configuring MicroLogix 1100/1200/1500 Controllers Modbus RTU Slave Configuration The Modbus RTU Slave configuration screen and configuration procedure are shown below: 1. To set up Channel 0 and data files for Modbus communication, select the Channel 0 Configuration tab. For the 1764-LRP only, you can select either Channel 0 or Channel 1. 2. Choose ‘Modbus RTU Slave’ driver and assign driver characteristics. 3. Enter Modbus Data Table File Numbers.
Configuring MicroLogix 1100/1200/1500 Controllers 3-51 4. Enter the data table size and type for each required file. The data table file(s) (not including the five additional tables if Expanded is checked) will be created automatically. When the system driver is Modbus RTU Slave, you can change the following communication port parameters as listed below.
3-52 Configuring MicroLogix 1100/1200/1500 Controllers Modbus Addressing Description 0001 to 4096 Valid MicroLogix Addressing File Type Data File Number Address Read/Write Modbus Coil Data space Bit (B) or Integer (N) 3 to 255 bits 0 to 4095 10001 to 14096 Read-Only Modbus Contact Data space Bit (B) or Integer (N) 3 to 255 bits 0 to 4095 30001 to 30256 Read-Only Modbus Input Register space Bit (B) or Integer (N) 3 to 255 words 0 to 255 30501 to 30532 Modbus Communication Parameters Co
Configuring MicroLogix 1100/1200/1500 Controllers Modbus Addressing Modbus Address Reference Modbus Function Code (decimal) 30517 Element Number of Error Request 4 30518 Function Code 1 Message Counter - Read Single Output Coil 4 30519 Function Code 2 Message Counter - Read Discrete Input Image 4 30520 Function Code 3 Message Counter - Read Single Holding Register 4 30521 Function Code 4 Message Counter - Read Single Input Register 4 30522 Function Code 5 Message Counter - Set/Clear Sing
3-54 Configuring MicroLogix 1100/1200/1500 Controllers Command Function Code (decimal) Subfunction Code (decimal) Write Single Coil(1) 5 - Write Single Holding Register(1) 6 - Echo Command Data 8 0 Clear Diagnostic Counters 8 10 Write Multiple Coils(1) 15 - Write Multiple Holding Registers(1) 16 - (1) Broadcast is supported for this command. The controller configured for Modbus RTU Master can initiate messages using the Modbus command function codes listed in the following table.
Configuring MicroLogix 1100/1200/1500 Controllers 3-55 : Error Code Error Description Transmitted Exception Code(1) 0 No error. 1 Function Code cannot Broadcast. The function does not support Broadcast. nothing transmitted 2 Function Code not supported. The controller does not support this Modbus function or subfunction. 1 3 Bad Command Length. The Modbus Command is the wrong size. 3 4 Bad Length. The function attempted to read/write past the end of a data file.
3-56 Configuring MicroLogix 1100/1200/1500 Controllers Configuring a Modbus Message This section describes how to configure a local message using the Modbus communication commands. Since configuration options are dependent on which channel is selected, the programming software has been designed to only show the options available for the selected channel. Before configuring the MSG instruction, open the Channel Configuration screen as shown below and set the Driver to Modbus RTU Master.
Configuring MicroLogix 1100/1200/1500 Controllers 3-57 This Controller Parameters If a Channel configured for Modbus Master is selected in the Channel field of the Message Setup Screen, the following Modbus Command options will become available: • 01 Read Coil Status (0xxxx) • 02 Read Input Status (1xxxx) • 03 Read Holding Registers (4xxxx) • 04 Read Input Registers (3xxxx) • 05 Write Single Coil (0xxxx) • 06 Write Single Register (4xxxx) • 15 Write Multiple Coils (0xxxx) • 16 Write Multiple Registers (4x
3-58 Configuring MicroLogix 1100/1200/1500 Controllers Data Logging Data Logging is supported by the MicroLogix 1100 and MicroLogix 1500 LRP. It allows you to capture (store) application data as a record for retrieval at a later time. Each record is stored in a user-configured queue in battery backed memory. Records are retrieved from the processor via communications. This section explains how Data Logging is configured and used.
Configuring MicroLogix 1100/1200/1500 Controllers 3-59 Example Queue 0 This queue is used to show how to calculate the string length of each record and maximum number of records. Table 3.11 Queue 0 (Date = ✔, Time = ✔, Delimeter = ) Date Time N7:11 T4:5.AC C L14:0 I1:3.
3-60 Configuring MicroLogix 1100/1200/1500 Controllers Number of Records Using Queue 0 as an example, each record consumes: Record Field Memory Consumption Date 2 bytes Time 2 bytes N7:11 2 bytes L14:0 4 bytes T4:5.ACC 2 bytes I1:3.0 2 bytes B3:2 2 bytes Integrity Check 2 bytes Total 18 bytes In this example, each record consumes 18 bytes. So if one queue was configured, the maximum number of records that could be stored would be 2730.
Configuring MicroLogix 1100/1200/1500 Controllers 3-61 String Length of Record The size of a record is limited so that the length of the maximum formatted string does not exceed 80 characters. The following table can be used to determine the formatted string length.
3-62 Configuring MicroLogix 1100/1200/1500 Controllers Configuring Data Log Queues Data Logging is configured using RSLogix 500 programming software version V4.00.00 or later. 1. Open a MicroLogix 1100 or MicroLogix 1500 LRP application. The first step in using Data Logging is to configure the data log queue(s). Access to this function is provided via the RSLogix 500 Project tree: Double-click Configuration to access Data Log Configuration. 2. The Data Log Que window appears.
Configuring MicroLogix 1100/1200/1500 Controllers 3-63 3. The Data Log Que dialog box appears as shown below. Use this dialog box to enter the queue information. Enter the following information: Data Log Queue Configuration Parameter Description Number of Records Defines the number of records (data sets) in the queue. Separator Character Choose the character to act as the separator for the data in this queue (tab, comma, or space).
3-64 Configuring MicroLogix 1100/1200/1500 Controllers DLG - Data Log Instruction IMPORTANT You must configure a data log queue before programming a DLG instruction into your ladder program. The DLG instruction triggers the saving of a record. The DLG instruction has one operand: Queue Number - Specifies which data log queue captures a record. The DLG instruction only captures data on a false-to-true rung transition. The DLG rung must be reset (scanned false) before it will capture data again.
Configuring MicroLogix 1100/1200/1500 Controllers 3-65 The number of DLS file elements depends upon the number of queues specified in the application. The status bits and words are described below. Table 3.
3-66 Configuring MicroLogix 1100/1200/1500 Controllers Records Stored (RST) Records Stored (RST) specifies how many data sets are in the queue. RST is decremented when a record is read from a communications device. To address this word in ladder logic, use the format: DLS0:Q.RST, where Q is the queue number. TIP If a queue is full and another record is saved, the oldest record is over-written. Queue behavior is the same as a FIFO stack—first in, first out.
Configuring MicroLogix 1100/1200/1500 Controllers 3-67 The data is retrieved as an ASCII string with the following format:
3-68 Configuring MicroLogix 1100/1200/1500 Controllers Information for Creating Your Own Application Controller Receives Communications Packet Table 3.14 Command Structure DST SRC Field DST SRC CMD STS TNS FNC Byte Size File Number File Type Element Number Sub/Element Number CMD 0f STS TNS Function Destination Node Source Node Command Code Status Code Transaction Number Function Code Number of bytes to be read Queue number FNC A2 Byte Size File No. File Tpe Ele. No. S/Ele. No.
Configuring MicroLogix 1100/1200/1500 Controllers 3-69 Controller Responds with Reply Table 3.17 Reply Structure SRC Field SRC DST CMD STS TNS DATA DST CMD 4f STS Function Source Node Destination Node Command Code Status Code Transaction Number TNS DATA EXT STS Description Always 2 bytes Formatted string If the data integrity check fails, the record is deleted and an error is sent with STS of 0xF0 and ext STS of 0x0E.
3-70 Configuring MicroLogix 1100/1200/1500 Controllers Publication AG-UM008C-EN-P - February 2005
Chapter 4 Configuring SLC 5/03, 5/04, and 5/05 Processors Chapter Objectives This chapter helps you set up an SLC 5/03, 5/04, or 5/05 processor as a master station, as a slave station, as a radio modem station, or as a station on a point-to-point link.
4-2 Configuring SLC 5/03, 5/04, and 5/05 Processors Overview To configure an SLC 5/03, 5/04, or 5/05 processor: 1. Install the processor; connect the serial cable to channel 0. 2. Define the processor’s communication characteristics using RSLogix 500 programming software. 3. Install and configure the modem for communication with the processor; connect the modem to the processor’s serial channel. Figure 4.
Configuring SLC 5/03, 5/04, and 5/05 Processors Using Modems that Support DF1 Communication Protocols 4-3 The types of modems that you can use with SLC processors include dial-up phone modems, leased-line modems, radio modems and line drivers. For point-to-point full-duplex modem connections, use DF1 full-duplex protocol. For general point-to-multipoint modem connections, use DF1 half-duplex master and slave protocols.
4-4 Configuring SLC 5/03, 5/04, and 5/05 Processors of the RS-232 modem control signals when Half-Duplex Modem without Continuous Carrier is selected. Radio Modems Radio modems may be implemented in a point-to-point topology supporting either half-duplex or full-duplex communications, or in a point-to-multipoint topology supporting half-duplex communications between three or more modems.
Configuring SLC 5/03, 5/04, and 5/05 Processors Modem Control Line Operation 4-5 The following explains the operation of the SLC 5/03, 5/04 and 5/05 processors when you configure the RS-232 channel for the following applications. DF1 Full-Duplex When configured for DF1 full-duplex, the following control line operation takes effect: No Handshaking Selected DTR is always active (high) and RTS is always inactive (low).
4-6 Configuring SLC 5/03, 5/04, and 5/05 Processors DF1 Half-Duplex Slave When configured for DF1 half-duplex slave, the following control line operation takes effect: No Handshaking Selected DTR is always active and RTS is always inactive. Receptions and transmissions take place regardless of the states of DSR, CTS, or DCD inputs. Only make this selection when the processor is directly connected to another device that does not require handshaking signals.
Configuring SLC 5/03, 5/04, and 5/05 Processors 4-7 Full-Duplex Modem Selected DTR and RTS are always active, except at the following times: • If DSR goes inactive, both DTR and RTS are dropped for 1 to 2 seconds then reactivated. The modem lost bit (S:5/14) is turned on immediately. While DSR is inactive, the state of DCD is ignored. Neither receptions nor transmissions are performed. • If DCD goes inactive while DSR is active, then receptions are not allowed.
4-8 Configuring SLC 5/03, 5/04, and 5/05 Processors Half-Duplex with Continuous Carrier Selected DTR is always active. RTS is activated during transmission and during any programmed delays before or after transmissions. Programmed delays include RTS Send Delay and RTS Off Delay. The DSR input signal must remain active for transmissions or receptions to occur. The modem lost bit is set whenever DSR is inactive. The DCD input signal is ignored. Transmission requires CTS and DSR to be active.
Configuring SLC 5/03, 5/04, and 5/05 Processors 4-9 For modems that do not supply a CTS signal but still require RTS to be raised prior to transmission, jumper RTS to CTS and use the shortest delay possible without losing reliable operation. If an RTS Send Delay of 0 is selected, then transmission starts as soon as CTS is activated. If CTS does not go active within one second after RTS is raised, RTS is set inactive and the transmission is aborted.
4-10 Configuring SLC 5/03, 5/04, and 5/05 Processors Configuring a Standard-Mode DF1 Half-Duplex Master Station Choose standard mode if you want to query slave stations for information based upon user-configured polling ranges. This mode is used most often in general point-to-multipoint configurations. To configure the processor for a master station using standard communication, place the processor into program mode and follow the steps below using your programming software: 1.
Configuring SLC 5/03, 5/04, and 5/05 Processors 4-11 3. On the Channel 0 tab, choose DF1 Half-Duplex Master for your Driver. 4. Choose a Standard Polling Mode. 5. Configure the rest of the communication driver characteristics according to See Table 4.1 on page 4-11. Use Worksheet 4.1 (page D-14) for an example configuration and to record your station’s configuration. Table 4.
4-12 Configuring SLC 5/03, 5/04, and 5/05 Processors Table 4.1 SLC 5/03, 5/04, or 5/05 Master Using Standard-Communication Mode Tab Parameter Selections Channel 0 System Baud Rate Select a communication rate that all devices in your system support. Configure all devices in the system for the same communication rate. Parity Parity provides additional message packet error detection. To implement even parity checking, choose Even. To implement no parity checking, choose None.
Configuring SLC 5/03, 5/04, and 5/05 Processors 4-13 Table 4.1 SLC 5/03, 5/04, or 5/05 Master Using Standard-Communication Mode Tab Parameter Selections Channel 0 System ACK Timeout 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. See page 4-13 for recommendations to minimize this value.
4-14 Configuring SLC 5/03, 5/04, and 5/05 Processors The timeout must be long enough that after the master has transmitted the last character of the poll packet, there is enough time for a slave to transmit (and the master receive) a maximum-sized packet before the time expires.
Configuring SLC 5/03, 5/04, and 5/05 Processors 4-15 Finally, you must determine the larger of two values, either the configured slave RTS Send Delay or the turnaround time of the slave modem. The RTS Send Delay time can be found by double-clicking on the slave’s Channel Configuration icon and looking at the Chan. 0 System tab of the Channel Configuration screen.
4-16 Configuring SLC 5/03, 5/04, and 5/05 Processors DF1 Half-Duplex Master Channel Status Channel Status data is stored in the diagnostic file defined on the Channel 0 Configuration screen. Table 4.3 on page 4-16 explains information regarding the diagnostic counter data displayed. 1. Double-click on the Channel Status Icon located beneath the Configuration icon to bring up the Channel Status interface. 2. See Table 4.3 for details concerning the DF1 Half-Duplex Master Channel Status interface.
Configuring SLC 5/03, 5/04, and 5/05 Processors 4-17 Status Field Diagnostic File Location Definition 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 Max Normal P
4-18 Configuring SLC 5/03, 5/04, and 5/05 Processors Configuring a Message-based Mode DF1 Half-Duplex Master Station Choose message-based communication mode if you want to use MSG instructions in user programming to communicate with one station at a time. If your application uses satellite transmission or public switched telephone network transmission, consider choosing message-based. Communication to a slave station can be initiated on an as-needed basis.
Configuring SLC 5/03, 5/04, and 5/05 Processors 4-19 2. Define the location of the diagnostic file used for Channel Status here. For Channel Status details, see page 4-16. 3. On the Channel 0 tab, choose DF1 Half-Duplex Master for your Driver. 4. Choose a Message-based Polling Mode. 5. Configure the communication driver characteristics according to Table 4.4. Use Worksheet 4.2 (page D-15) for an example configuration and to record your station’s configuration.
4-20 Configuring SLC 5/03, 5/04, and 5/05 Processors Define the parameters shown in Table 4.4 when configuring an SLC 5/03, 5/04, or 5/05 processor as a master station using message-based communication mode to talk to slave stations. Table 4.4 Configuring an SLC 5/03, 5/04, or 5/05 as a master and using message-based communication mode Tab Parameter Selections General Diagnostic File SLC 5/03 (OS 302 C or higher), 5/04 (OS 401 C or higher) and 5/05 only.
Configuring SLC 5/03, 5/04, and 5/05 Processors 4-21 Table 4.4 Configuring an SLC 5/03, 5/04, or 5/05 as a master and using message-based communication mode Tab Parameter Selections Channel 0 System Error Detection With this selection, you choose how the processor checks the accuracy of each DF1 packet transmission. BCC: This algorithm provides a medium level of data security.
4-22 Configuring SLC 5/03, 5/04, and 5/05 Processors Configuring a Slave Station 1. To bring up the Channel Configuration interface, double-click on the Channel Configuration icon. 2. Define the location of the diagnostic file used for Channel Status here. For Channel Status details, see page 4-25. 3. On the Channel 0 tab, choose DF1 Half-Duplex Slave for your Driver. 4. Configure the communication driver characteristics according to Table 4.5.
Configuring SLC 5/03, 5/04, and 5/05 Processors 4-23 Use Worksheet 4.3 (page D-16) for an example configuration and to record your station’s configuration. Define these parameters when configuring an SLC 5/03, 5/04, or 5/05 processor as a slave station. Table 4.5 Configuring an SLC 5/03, 5/04, or 5/05 Processor as a Slave Station Tab Parameter Selections General Diagnostic File SLC 5/03 (OS 302 C or higher), 5/04 (OS 401 C or higher) and 5/05 only.
4-24 Configuring SLC 5/03, 5/04, and 5/05 Processors Table 4.5 Configuring an SLC 5/03, 5/04, or 5/05 Processor as a Slave Station Tab Parameter Selections Chan. 0 System Poll Timeout The timer keeps track of how often the station is polled. If the station has a message to send, it starts a 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.
Configuring SLC 5/03, 5/04, and 5/05 Processors Configuring Channel 0 Poll Timeout 4-25 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.
4-26 Configuring SLC 5/03, 5/04, and 5/05 Processors Table 4.
Configuring SLC 5/03, 5/04, and 5/05 Processors Configuring a Radio Modem Station 4-27 To configure an SLC 5/03, SLC 5/04 or SLC 5/05 processor channel 0 for DF1 Radio Modem, follow the steps below using your programming software: 1. To bring up the Channel Configuration interface, double-click on the Channel Configuration icon. 2. Define the location of the diagnostic file used for Channel Status here. See Table 4.8 on page 4-30 for diagnostic file details.
4-28 Configuring SLC 5/03, 5/04, and 5/05 Processors 3. On the Channel 0 tab, choose DF1 Radio Modem for your Driver. 4. Configure the communication driver characteristics according to Table 4.7. Use Worksheet 4.5 SLC 5/03, 5/04, and 5/05 DF1 Radio Modem Station Configuration (page D-18) for an example configuration and to record your station’s configuration. Table 4.7 Define these communication parameters when configuring an SLC 5/03, 5/04, or 5/05 processor for DF1 Radio Modem communication.
Configuring SLC 5/03, 5/04, and 5/05 Processors 4-29 Table 4.7 Define these communication parameters when configuring an SLC 5/03, 5/04, or 5/05 processor for DF1 Radio Modem communication. 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.
4-30 Configuring SLC 5/03, 5/04, and 5/05 Processors DF1 Radio Modem Channel Status Channel Status data is stored in the diagnostic file defined on the Channel 0 Configuration screen. See Table 4.8 for information regarding the diagnostic counter data displayed. 1. Double-click on the Channel Status icon Located beneath the Configuration icon to bring up the Channel Status screen. 2. See Table 4.8 for details concerning the DF1 Radio Modem Channel Status Screen. Table 4.
Configuring SLC 5/03, 5/04, and 5/05 Processors 4-31 Table 4.
4-32 Configuring SLC 5/03, 5/04, and 5/05 Processors Figure 4.4 Applying DF1 Radio Modem Protocol (2nd Rebroadcast) REPLY 1 Note 4 (1st Rebroadcast) REPLY 1 Node 1 No Bits CMD 1 (DST = 4, SRC = 1) Note 1 Node 2 Node 3 1, 3, 4 1, 2, 4 CMD1 (1st Rebroadcast) Note 2 Note 3 REPLY 1 (DST = 1, SRC = 4) Node 4 No Bits CMD 1 (2nd Rebroadcast) Note 1 – The link layer of Node 1 blocks the re-transmission of a packet that is received with the SRC byte equal to the receiving node’s station address.
Configuring SLC 5/03, 5/04, and 5/05 Processors Configuring a Station on a Point-to-Point Link 4-33 To configure the processor for point-to-point communication, follow the steps below using your programming software. 1. To bring up the Channel Configuration interface, double-click on the Channel Configuration icon. 2. Define the location of the diagnostic file used for Channel Status here. See Table 4.10 on page 4-36 for diagnostic file details.
4-34 Configuring SLC 5/03, 5/04, and 5/05 Processors 3. On the Channel 0 tab, choose DF1 Full-Duplex for your Driver. 4. Configure the communication driver characteristics according to Table 4.9. Use Worksheet 4.4 (page D-17) for an example configuration and to record your station’s configuration. Define the communication parameters shown in Table 4.9 when configuring an SLC 5/03, 5/04, or 5/05 processor for DF1 full-duplex communication. Table 4.
Configuring SLC 5/03, 5/04, and 5/05 Processors 4-35 Table 4.9 Configure an SLC 5/03, 5/04, or 5/05 Processor for DF1 Full-Duplex Communication Tab Parameter Selections Chan. 0 System Error Detection With this selection, you choose how the processor checks the accuracy of each DF1 packet transmission. BCC: This algorithm provides a medium level of data security.
4-36 Configuring SLC 5/03, 5/04, and 5/05 Processors 2. See Table 4.10 for details concerning the DF1 Full-Duplex Channel Status Screen. Table 4.
Configuring SLC 5/03, 5/04, and 5/05 Processors Messaging 4-37 Messaging can occur between: • a master station and a slave station • a slave station and its master station (See Polled Report-by-Exception) • slave stations or between two processors connected via a radio modem point-multipoint or full-duplex point-to-point link Master Station to Slave Station An SLC 5/03, 5/04, or 5/05 master station communicates with the slave stations that are connected to it via modems in a point-to-multipoint configur
4-38 Configuring SLC 5/03, 5/04, and 5/05 Processors Processor-to-Processor A processor-to-processor message can be the following types: • In a general point-to-multipoint configuration, the messaging would be between slave stations; the master station automatically routes the message.
Configuring SLC 5/03, 5/04, and 5/05 Processors 4-39 For both Point-to-Multipoint and Point-to-Point Link Configurations • All SLC 5/04 and 5/05 processors, and 5/03 processors with operating system 301 or greater have the capability to initiate and reply to PLC-5-type read and write messages by choosing PLC-5 as the Target Device. Use this for both PLC-5 and Logix processors. • The maximum read or write message for an SLC 5/03, 5/04, or 5/05 processor through Channel 0 is 103 words.
4-40 Configuring SLC 5/03, 5/04, and 5/05 Processors To continue the example, if Message Retries is configured for 3, ACK Timeout is configured for 16 * 20 ms = 320, and Reply Message Timeout is configured for 1* 20 ms, the MSG Timeout value would be: 1 * 2 (3+1) .320 seconds + .02 2.58 seconds. Round up the MSG Timeout value to the nearest second (3) If 5 MSG instructions were triggered at the same time, each MSG would need a timeout value of 5*2.58 = 12.9, which would be rounded up to 13 seconds.
Configuring SLC 5/03, 5/04, and 5/05 Processors 4-41 Therefore, if there are 10 slave stations and the ACK Timeout is 320 ms, then the maximum single message transfer poll scan time would be: 10 (slave stations) * .320 seconds = 3.20 seconds Round up the MSG Timeout value to the nearest second (4).
4-42 Configuring SLC 5/03, 5/04, and 5/05 Processors For this example, the MSG Timeout value should be at least 7 seconds. Minimum Slave MSG Block Message Timeout The minimum slave MSG Block Message Timeout should allow for the Master to go through Message Retries plus one number of maximum poll scans before timing out. Therefore, the minimum MSG Block Message Timeout value should be at least (Slave Channel 0 Poll Timeout) * (Slave channel 0 Message Retries + 1), rounded up to the next whole second.
Configuring SLC 5/03, 5/04, and 5/05 Processors TIP Example MSG Control Blocks 4-43 Leave the channel 0 Message Retries at default (3) unless you have an extremely error free or extremely error prone network.
4-44 Configuring SLC 5/03, 5/04, and 5/05 Processors This MSG example tells the SLC 5/03, 5/04, or 5/05 master station to write the information from its S:37 through its serial port (channel 0) to the PLC-5 slave station 1110. The data’s destination is N19:0 of the PLC-5 slave station. For a Logix slave station, a tag name would have to already have been mapped to N19.
Configuring SLC 5/03, 5/04, and 5/05 Processors 4-45 This MSG example tells the SLC 5/03, 5/04, or 5/05 master station to read the information from PLC-5 slave station 1110’s N19:1 and place the information in master station file N9:0. For a Logix slave station, a tag name would have to already have been mapped to N19.
4-46 Configuring SLC 5/03, 5/04, and 5/05 Processors In this example, the SLC master station is issuing a write request through its serial port (channel 0) to SLC station 1310. The master station wants to write the information from S:37 into station 1310’s file N7:0. Figure 4.
Configuring SLC 5/03, 5/04, and 5/05 Processors 4-47 In this example, the SLC master station is issuing a read request through its serial port (channel 0) to SLC station 1310. The master station reads the information from station 1310’s file S:1 and puts that information into its own N9:0 file.
4-48 Configuring SLC 5/03, 5/04, and 5/05 Processors Publication AG-UM008C-EN-P - February 2005
Chapter 5 Configuring SLC 500 Processors with 1747-KE Interface Modules Chapter Objectives This chapter helps you set up an SLC 500 fixed or modular processor (SLC 5/01 or 5/02 processor) with a 1747-KE as a remote station or as a station on a point-to-point link.
5-2 Configuring SLC 500 Processors with 1747-KE Interface Modules Figure 5.1 Configuring SLC 500 Processor with 1747-KE Module modem Installing the Processor For details about installing the modular processor, see SLC 500 Modular Hardware Style User Manual, publication 1747-UM011. Installing the 1747-KE Interface Module To install the interface module, do the following: 1.
Configuring SLC 500 Processors with 1747-KE Interface Modules 5-3 For details about installing the interface module, see the DH-485/ RS-232C Interface Module User Manual, publication 1747-6.12. Figure 5.2 1747-KE Serial Port Pin Assignments 9-pin female JW1 CONFIG port is configured for RS-232. JW2 DF1 port is configured for RS-232. DH-485/RS-232C ACT 485 CFG DF1 Fault BA LOW 25-pin 9-pin RXD.IN 2 3 2 TXD.OUT 3 2 3 DTR.OUT 4 20 4 SIG.GND 5 7 5 DSR.IN 6 8 1 RTS.OUT 7 4 7 CTS.
5-4 Configuring SLC 500 Processors with 1747-KE Interface Modules Configuring the 1747-KE Interface Module To configure the interface module with an ASCII terminal: • prepare to configure the driver • configure the DF1 protocol driver, and • save the configuration Prepare to Configure the Driver 1. Connect an ASCII terminal or personal computer running terminal emulation software to the interface module’s CONFIG port.
Configuring SLC 500 Processors with 1747-KE Interface Modules 5-5 Figure 5.3 Configuring the DF1 Port 1747-KE Module, FRN# 4 Top Level Setup Menu. 1. CONFIG PORT 2. DF1 PORT 3. DH-485 PORT 4. DF1 PROTOCOL 5. DISPLAY PARAMETERS X. SAVE AND EXIT Enter Selection..... Configure the port as shown here. (These settings must match those of the modem to which you are connecting.) Enter Enter Enter Enter DF1 PORT Setup Menu 1. Baud rate 2. Bits per character 3. Parity 4. Stop bits X. SAVE AND EXIT Selection....
5-6 Configuring SLC 500 Processors with 1747-KE Interface Modules Parameter Selections Node address Select a unique address of the module on the DH-485 network. Maximum node address Choose the highest address on the DH-485 link. The default is 31. Message timeout Choose an amount of time to wait for a response to a message sent on the DH-485 network before the node errors out the message. Pass through If you want diagnostic commands: • executed by the module, choose Disabled.
Configuring SLC 500 Processors with 1747-KE Interface Modules 5-7 Configure the DF1 Protocol Driver If the processor and interface module are part of a Then choose Go to point-to-multipoint configuration Half-duplex Figure 5.5 point-to-point configuration Full-duplex Figure 5.6 Figure 5.5 Configuring the DF1 Half-Duplex Driver 1747-KE Module, FRN# 4 Top Level Setup Menu. 1. CONFIG PORT 2. DF1 PORT 3. DH-485 PORT 4. DF1 PROTOCOL 5. DISPLAY PARAMETERS X. SAVE AND EXIT Enter Selection..... 1.
5-8 Configuring SLC 500 Processors with 1747-KE Interface Modules Parameter Selections Duplicate Packet Detection Duplicate packet detection lets the interface module detect if it has received a message that is a duplicate of its most recent message from the master station. If you choose duplicate packet detection, 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.
Configuring SLC 500 Processors with 1747-KE Interface Modules 5-9 Parameter Selections Slave Address/Group Number When the module is configured for remote mode, enter a Group Number (octal). Since you can have up to 254 devices on a half-duplex network and 31 devices on a DH-485 network, to allow 255 DH-485 nodes requires using a group number. This parameter defines the address group of the SLC 500 half-duplex address. Each address group can consist of 32 addresses.
5-10 Configuring SLC 500 Processors with 1747-KE Interface Modules Parameter Selections Duplicate Packet Detection Duplicate Packet Detection lets the interface module detect if it has received a message that is a duplicate of its most recent message from the master station. If you choose duplicate packet detection, 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.
Configuring SLC 500 Processors with 1747-KE Interface Modules 5-11 3. Remove interface module. Place the module in RUN mode by setting JW4 as follows: 3 5 Run Mode Setting 4 6 4. Insert module. Power the chassis. For details about alternatively configuring the series B interface module from the SLC through the backplane, see the DH-485/RS-232C Interface Module User Manual, publication 1747-6.12. Messaging SLC 5/01 processors and the fixed controllers can only respond to a master station.
5-12 Configuring SLC 500 Processors with 1747-KE Interface Modules Processor-to-Processor An SLC 5/02 processor can send messages to another processor in a point-to-point configuration. MSG Modem Modem Station 1 Station 2 Considerations When Configuring MSG Control Blocks Keep these considerations in mind when configuring messages between an SLC 5/02 processor and a PLC-5 processor.
Configuring SLC 500 Processors with 1747-KE Interface Modules 5-13 Point-to-Multipoint Link Configurations In the PLC-5 processor, create integer files that correspond to the station addresses of the SLC 5/02 processors that will be sending messages to the PLC-5 processor. Because, when an SLC 5/02 sends a MSG instruction to a PLC-5 processor, the SLC 5/02 processor reads data from and writes data to a PLC-5 integer file that is equal to the SLC 5/02 processor’s DF1 station address.
5-14 Configuring SLC 500 Processors with 1747-KE Interface Modules Figure 5.7 Write MSG instruction from an SLC 5/02 processor to a PLC-5 processor. ladder rung setup screen This MSG example is telling the SLC 5/02 remote station (station 9910) to write the information from its S:1 to S:6 to the PLC-5 master station 910 through the KE module 3110. The data’s destination is N99:10 (for a target byte offset of 2010) of the PLC-5 processor.
Configuring SLC 500 Processors with 1747-KE Interface Modules 5-15 Note that the SLC 5/02 station address 9910 in this example is station address 1438, which is derived by a DH-485 node address of 03 for the SLC 5/02 processor and a group number of 03 defined in the 1747-KE interface module. Figure 5.8 Read MSG instruction from an SLC 5/02 processor to a PLC-5 processor.
5-16 Configuring SLC 500 Processors with 1747-KE Interface Modules For example, if the SLC 5/02 processor in this example is station 1010, then it reads the data from N10:10-N10:15 in the PLC-5 processor. File N10 must exist in the PLC-5 in order for the SLC 5/02 processor to read data from it. For an example write MSG instruction from an SLC 5/02 processor to a PLC-5 processor, see Figure 5.7 on page 5-14.
Configuring SLC 500 Processors with 1747-KE Interface Modules 5-17 Figure 5.10 Read MSG instruction from an SLC 5/02 processor to an SLC 500 processor. ladder rung setup screen In this example, SLC 5/02 station 3 is issuing a read request, through a 1747-KE module whose DH-485 node address is 1310, to an SLC 5/03 processor. Station 3 reads the information from station 1310’s data files N9:0 to N9:5 and puts that information into its own N10:0 to N10:5.
5-18 Configuring SLC 500 Processors with 1747-KE Interface Modules Publication AG-UM008C-EN-P - February 2005
Chapter 6 Configuring MicroLogix 1000 Controllers Chapter Objectives This chapter helps you set up a MicroLogix 1000 controller as a slave station, or as a station on a point-to-point link.
6-2 Configuring MicroLogix 1000 Controllers Overview To configure a MicroLogix 1000 controller: 1. Connect the serial cable to the PC. The controller must be online to configure DF1 half-duplex slave parameters. 2. Define the controller’s communication characteristics using RSLogix 500 programming software. 3. Disconnect the controller from the programming PC and install the controller at its working destination. 4. Connect the modem to the controller’s serial channel. Figure 6.
Configuring MicroLogix 1000 Controllers Installing the Controller 6-3 For details about installing the controller see the MicroLogix 1000 Programmable Controllers User Manual, publication number 1761-UM003. Cable designations are shown in each example configuration as well as in Appendix A. Figure 6.
6-4 Configuring MicroLogix 1000 Controllers Isolated Connections MicroLogix controllers should be installed using an Optical Isolator. The AIC+, catalog number 1761-NET-AIC is recommended. Example installations are shown below. Using the AIC+ also provides a communication active LED, which is not standard on the MicroLogix 1000 controller. Figure 6.
Configuring MicroLogix 1000 Controllers 6-5 The following baud rate limitations affect autoswitching: • If the configured DH-485 baud rate is 19200, the configured DF1 baud rate must be 4800 or greater. • If the configured DH-485 baud rate is 9600, the configured DF1 baud rate must be 2400 or greater. If your DF1 half-duplex slave baud rate is 1200 or less, and if your process can tolerate a brief power cycle of the MicroLogix 1000 controller, you may set DH-485 as the primary protocol (S:0/10=1).
6-6 Configuring MicroLogix 1000 Controllers Dial-up Phone Modems Dial-up phone line modems support point-to-point full-duplex communications. Normally, a MicroLogix controller is on the receiving end of the dial-up connection, and is configured for DF1 full-duplex protocol. The modem connected to the MicroLogix controller must support auto-answer and must not require any modem handshaking signals from the MicroLogix (i.e. DTR or RTS) in order to operate.
Configuring MicroLogix 1000 Controllers 6-7 Line Drivers Line drivers, also called short-haul modems, do not actually modulate the serial data, but rather condition the electrical signals to operate reliably over long transmission distances (up to several miles). Allen-Bradley’s AIC+ Advanced Interface Converter is a line driver that converts an RS-232 electrical signal into an RS-485 electrical signal, increasing the signal transmission distance from 50 to 4000 feet.
6-8 Configuring MicroLogix 1000 Controllers An additional feature of the DF1 half-duplex protocol is that it is possible for a slave device to enable a MSG instruction in its ladder program to send or request data to/from another slave. When the initiating slave is polled, the MSG instruction command packet is sent to the master. The master recognizes that the command packet is not intended for it but for another slave, so the master immediately rebroadcasts the command packet to the intended slave.
Configuring MicroLogix 1000 Controllers 6-9 Ownership Timeout When a program download sequence is started by a software package to download a ladder logic program to a MicroLogix controller, the software takes file ownership of the controller. File ownership prevents other devices from reading from or writing to the controller while the download is in process. If the controller were to respond to a device’s read commands during the download, the controller could respond with incorrect information.
6-10 Configuring MicroLogix 1000 Controllers Configuring a Slave Station IMPORTANT The MicroLogix 1000 controller must be online to be configured. When offline, the controller does not allow key parameters to be available to set. To choose the controller as a slave station, follow the steps below your programming software: 1. Check that you are online with the controller to be configured. You should see Remote Run or Remote Program. 2.
Configuring MicroLogix 1000 Controllers 6-11 Table 6.1 DF1 Half-duplex Slave Configuration Parameters Parameter Description Default Baud Rate Toggles between the communication rate of 300, 600, 1200, 2400, 4800, 9600, 19200, and 38.4K. 9600 Node Address Valid range is 0 to 254 decimal. 1 Control Line Toggles between No Handshaking and Half-duplex Modem. No Handshaking Duplicate Packet Detection Detects and eliminates duplicate responses to a message.
6-12 Configuring MicroLogix 1000 Controllers amount of delay time after activating RTS to wait before checking to see if CTS has been activated by the modem. If CTS is not yet active, RTS remains active, and as long as CTS is activated within one second, the transmission occurs. After one second, if CTS is still not activated, then RTS is set inactive and the transmission is aborted.
Configuring MicroLogix 1000 Controllers Configuring a Point-to-Point Station 6-13 To choose the controller as a point-to-point station, follow the steps below using your programming software: 1. Double-click on the Channel Configuration icon to bring up the Channel Configuration interface. 2. Scroll down the list and choose the desired baud rate. 3. Click the radio button and choose Full Duplex. 4. Communication characteristics are not adjustable in Full Duplex. See table 6.
6-14 Configuring MicroLogix 1000 Controllers Table 6.2 DF1 Full-Duplex Configuration Parameters MicroLogix 1000 Parameter Options Default Baud Rate Toggles between the communication rates of 300, 600, 1200, 2400, 4800(1), 9600, 19200, and 38400(1). 9600(2) Node Address Valid range is 0 to 254 decimal for MicroLogix 1000 Series C and later discrete and all MicroLogix 1000 analog. Not configurable for MicroLogix 1000 Series A and B discrete.
Configuring MicroLogix 1000 Controllers 6-15 Polled Report-by-Exception A slave station can gather information from the I/O points it is responsible for and can send any anomalous readings to the master station. To do this, write logic in the slave station’s controller to monitor certain conditions and send the data in an MSG instruction to the master station. Figure 6.5 is an example MSG instruction and control block that a MicroLogix 1000 controller slave station can send to a PLC-5 master station.
6-16 Configuring MicroLogix 1000 Controllers • In a point-to-point configuration, the messaging would be between the two connected peer devices. MSG Modem Modem Station 1 Station 2 The configuration of the network (point-to-multipoint vs. point-to-point) and the configuration of the station (slave or peer) does not affect how you configure an MSG instruction.
Configuring MicroLogix 1000 Controllers 6-17 • The MicroLogix 1000 controller uses word addressing, while the PLC-5 processor uses byte addressing. In the Targets CIF Offset field of the MicroLogix 1000 MSG control block, enter a word value equivalent to the byte (element) of the PLC-5 file number you want to write data into or read data from. For example in Figure 6.5, the Targets CIF Offset is 20; this corresponds to element 1010 in a PLC-5 processor because one word = two bytes.
6-18 Configuring MicroLogix 1000 Controllers Figure 6.4 Message Timeout Ladder Logic MSG Trigger B3:0 MSG Done N7:90 Active Protocol S2:0 0 13 11 MSG Enable N7:90 U 15 0000 MSG Error N7:90 MSG Timeout N7:90 12 8 MSG Timeout N7:90 U 8 MSG Trigger B3:0 U 0 MSG Start N7:90 MSG Done N7:90 MSG Error N7:90 14 13 12 MSG Timeout Timer TON Timer On Delay Timer T4:0 Time Base 1.
Configuring MicroLogix 1000 Controllers 6-19 Figure 6.5 Write MSG Instruction from a MicroLogix 1000 Controller to a PLC-5 Processor ladder rung setup screen This MSG example is telling the MicroLogix 1000 station (station 9910) to write the information from its N7:10-N7:15 to the PLC-5 station 3110. The data’s destination is N99:10 (for a target byte offset of 2010) of the PLC-5 processor.
6-20 Configuring MicroLogix 1000 Controllers Figure 6.6 Read MSG Instruction from a MicroLogix 1000 Controller to a PLC-5 Processor ladder rung setup screen In this example, MicroLogix 1000 station 1010 is issuing a read command to a PLC-5 station. The MicroLogix 1000 station (station 1010) reads the information in N10:10-N10:15 of the PLC-5 station and puts that information into its N7:10-N7:15.
Configuring MicroLogix 1000 Controllers 6-21 Figure 6.7 Write MSG Instruction from a MicroLogix 1000 Controller to a Micrologix, SLC 500 or Logix Controller ladder rung setup screen In this example, MicroLogix 1000 station 3 is issuing a write request to station 1310. Station 3 wants to write the information from its N7:10-N7:15 into the station 1310 data files N7:0-N7:5. For a Logix controller, a controller-scoped tagname must be mapped to N7.
6-22 Configuring MicroLogix 1000 Controllers Figure 6.8 Read MSG Instruction from a MicroLogix 1000 Controller to a MicroLogix, SLC 500 or Logix Controller ladder rung setup screen In this example, MicroLogix 1000 station 3 is issuing a read request to station 1310. Station 3 reads the information from station 1310’s data files N7:0-N7:5 and puts that information into its own N7:10-N7:15. For a Logix controller, a controller-scoped tagname must be mapped to N7.
Chapter 7 Configuring Logix Controllers Chapter Objectives This chapter helps you set up a Logix (ControLogix, FlexLogix, and CompactLogix) controller as a master station, as a slave station, or as a station on a point-to-point link.
7-2 Configuring Logix Controllers Overview To configure a Logix controller: 1. Install the controller. 2. Install and configure the modem. 3. Define the controller’s communication characteristics using RSLogix™ 5000 programming software. Figure 7.
Configuring Logix Controllers Installing the Controller 7-3 For details about installing the controller, see the Logix Controller Installation Instructions. 9-pin female 25-pin Modem 9-pin Modem DCD.IN 1 8 1 RXD.IN 2 3 2 TXD.OUT 3 2 3 DTR.OUT 4 20 4 SIG.GND 5 7 5 DSR.IN 6 6 6 RTS.OUT 7 4 7 CTS.IN 8 5 8 For cable pin assignments, see below, or page A-5. Figure 7.
7-4 Configuring Logix Controllers Dial-up Phone Modems Dial-up phone line modems support point-to-point full-duplex communications. Normally, a Logix controller on the initiating or receiving end of the dial-up connection will be configured for DF1 full-duplex protocol with the control line parameter set for Full-Duplex Modem. See page 7-7 for details on the operation of the RS-232 modem control signals when Full-Duplex Modem is selected.
Configuring Logix Controllers 7-5 Line Drivers Line drivers, also called short-haul modems, do not actually modulate the serial data, but rather condition the electrical signals to operate reliably over long transmission distances (up to several miles). Allen-Bradley’s AIC+ Advanced Interface Converter is a line driver that converts an RS-232 electrical signal into an RS-485 electrical signal, increasing the signal transmission distance from 50 to 4000 feet.
7-6 Configuring Logix Controllers 2. Choose the appropriate Serial Port Channel tab and configure according to your specification. Serial Port parameters and defaults can be found in 7.1. Table 7.1 Serial Port Parameters and Defaults Parameter Description Baud Rate Specifies the communication rate for the serial port. Select a baud rate that all devices in your system 19200 support. Select 110, 300, 600, 1200, 2400, 4800, 9600, 19200, or 38400 bits/s.
Configuring Logix Controllers Modem Control Line Operation 7-7 The following sections explain the operation of the Logix controller serial port control line selections. No Handshake Selected DTR is always active (high) and RTS is always inactive (low). Receptions and transmissions take place regardless of the states of DSR, CTS, or DCD inputs. Only make this selection when the Logix controller is directly connected to another device that does not require handshaking signals.
7-8 Configuring Logix Controllers Configuration Considerations for RTS Send and Off Delays Through your programming software, the parameters RTS Send Delay and RTS Off Delay give you the ability to set how long RTS is on prior to transmission, as well as how long to keep it on after transmission is complete. These parameters only apply when you select Half-Duplex with or without continuous carrier. For maximum communication throughput, leave these parameters at zero.
Configuring Logix Controllers Configuring a Master Station for Standard Polling Mode 7-9 To configure the controller for a master station using standard communication, perform the following tasks using your RSLogix 5000 software: 1. To bring up the Controller Properties, click on the controller icon just beneath the keyswitch icon. 2. Choose the Serial Port Protocol tab and configure according to your specification. Serial Port Protocol parameters and defaults can be found in Table 7.2. Use Table 7.
7-10 Configuring Logix Controllers Parameter ACK Timeout Polling Mode Master Transmit Normal Poll Node Tag Normal Poll Group Size Priority Poll Node Tag Active Station Tag Error Detection Enable Duplicate Detection Description Specifies the amount of time you want the controller to wait for an acknowledgment to its message transmission. Enter a value 0 to 32767. Limits are defined in 20 ms intervals.
Configuring Logix Controllers 7-11 Minimum DF1 Half-Duplex Master ACK Timeout The governing timeout parameter to configure for a DF1 Half-Duplex Master is the ACK Timeout. The ACK Timeout is the amount of time you want the controller to wait for an acknowledgment of its message transmissions.
7-12 Configuring Logix Controllers Determining Minimum Master Serial Port ACK Timeout To determine the minimum ACK Timeout, you must first calculate the transmission time by multiplying the maximum sized data packet for your controller by the modem rate in ms/byte. For an example we will assume communications with SLC 5/03 slaves (103 data words or 224 bytes total packet size including overhead) and a 9600 bps modem, which transmits at approximately 1 ms/byte.
Configuring Logix Controllers DF1 Half-Duplex Master Diagnostic Counter 7-13 DF1 Half-Duplex Master driver status data is stored in the Diagnostic Counter attribute of the DF1 communication object. You must define a controller tag to be the destination for this data and copy the system data to this tag using a GSV instruction. For the required ladder logic, see page 7-25. To bring up the Controller Tag interface, click once on the Controller Tags icon.
7-14 Configuring Logix Controllers Table 7.
Configuring Logix Controllers 7-15 Create Polling List(s) After defining your polling tag(s) and group size, create polling lists by entering the station address of each slave station into either the normal poll node tag or priority poll node tag. Place each station address in an individual word in a poll tag (normal or priority) starting at word 2.
7-16 Configuring Logix Controllers Monitor Active Stations To see what stations are active, view the active station tag. Each bit in the tag represents a station on the link. The stations are numbered in order as a continuous bit-stream file starting with the first bit in the first word (Figure 7.4). If the bit is a one, the station is active; if the bit is a zero, the station is inactive. Figure 7.
Configuring Logix Controllers Configuring a Master Station for Message-based Polling Mode 7-17 To configure the controller for a master station using message-based communication, follow the steps below using RSLogix 5000: 1. To bring up the Controller Properties interface, click on the controller icon just beneath the keyswitch icon. 2. Choose the Serial Port Protocol tab and configure according to your specification. Serial Port Protocol parameters and defaults can be found in Table 7.5. Use Table 7.
7-18 Configuring Logix Controllers Use Worksheet 7.2 Logix DF1 Half-Duplex Master Station Configuration Using Message-based Communication (page D-23) for an example configuration and to record your station’s configuration. Parameter Station Address Transmit Retries ACK Timeout Reply Message Wait Polling Mode Error Detection Enable Duplicate Detection Publication AG-UM008C-EN-P - February 2005 Table 7.
Configuring Logix Controllers Configuring the Controller as a Slave Station 7-19 To configure the controller as a slave station, follow the steps below using your programming software: 1. To bring up the Controller Properties interface, click on the controller icon just beneath the keyswitch icon. 2. Choose the Serial Port Protocol tab and configure according to your specification. Serial Port Protocol parameters and defaults can be found in Table 7.6. Use Table 7.
7-20 Configuring Logix Controllers Table 7.6 Define these parameters when configuring a Logix controller as a slave station. Parameter Description Default Station Address The station address for the serial port on the DF1 slave. Enter a valid DF1 address 0 (0 to 254). Transmit Retries The number of times the slave station retries a message after the first attempt before the 3 station declares the message undeliverable. Enter a value 0 to 127.
Configuring Logix Controllers 7-21 1. To bring up the Controller Tag interface, click once on the Controller Tag icon. 2. For details of the Diagnostic Counter files, see Table 7.7. Table 7.7 DF1 Half-Duplex Slave Diagnostic Counters Status Field Diagnostic Tag Array Location Definition signature (6610) word 0 DF1 Half-duplex Slave is the configured protocol.
7-22 Configuring Logix Controllers Table 7.
Configuring Logix Controllers 7-23 2. Choose the Serial Port Protocol tab and configure according to your specification. Serial Port Protocol parameters and defaults can be found in Table 7.8. Use Table 7.8 to help you understand the screen parameters you need to specify on the Controller Properties screen. Use Worksheet 7.4 (page D-25) for an example configuration and to record your station’s configuration.
7-24 Configuring Logix Controllers DF1 Point-to-Point Diagnostic Counters DF1 Point-to-Point driver status data is stored in the Diagnostic Counter attribute of the DF1 communication object. You must define a controller tag to be the destination for this data and copy the system data to this tag using a GSV instruction. For the required ladder logic, see page 7-25. 1. To bring up the Controller Tag interface, click on the Controller Tags icon. 2. For details of the DisgnosticCounter files, see Table 7.
Configuring Logix Controllers 7-25 Table 7.
7-26 Configuring Logix Controllers 2. From the Edit Tag tab, create a controller tag of type INT [19]. [18] Figure 7.5 Viewing Local DF1 Diagnostic Counters 3. Create the necessary ladder logic to copy the Diagnostic Counter system values to the tag you just created (SerialPortStatus). Figure 7.6 Resetting Local DF1 Diagnostic Counters 4. Create a message instruction to clear the Diagnostic Counter system values. 5. Enter in the field values exactly as shown.
Configuring Logix Controllers 7-27 6. Enter in 1, s for the Path, where s is the slot number of this controller (slot 0 in this example). Figure 7.7 Viewing Remote DF1 Diagnostic Counters 7. Create a message instruction to read remote Diagnostic Counter system values. 8. Enter in the field values exactly as shown, using the DF1 diagnostic counter storage tag created previously for the Destination field.
7-28 Configuring Logix Controllers 9. Enter in the path to the remote controller. Messaging Messaging can occur between: • a master station and a slave station, • a slave station and its master station (see Polled Report-by-Exception), • slave stations or between two controllers connected via a point-to-point link. Master Station to Slave Station A Logix master station communicates with the slave stations that are connected to it via modems in a point-to-multipoint configuration.
Configuring Logix Controllers 7-29 Controller-to-Controller A controller-to-controller message can be the following types: • In a point-to-multipoint configuration, the messaging would be between slave stations; the master station automatically routes the message.
7-30 Configuring Logix Controllers Considerations When Configuring MSG Control Blocks Keep these considerations in mind when configuring serial port messages between a Logix controller and other controllers. • The connection path for serial port messages always begins with either a ‘2’ or a ‘3’ to indicate send out the first or second serial port (as opposed to a ‘1’, which would indicate send to the backplane). • Leave the Communication Method as CIP.
Configuring Logix Controllers 7-31 • SLC 5/05, SLC 5/04, and SLC 5/03 controllers can respond to PLC5 Typed Read or Write message types that use logical ASCII addressing. Using this message type, the Logix can directly read or write the status (S) file and float (F) file(s) of these SLC controller versions (in addition to the N and B file types). • The maximum number of integer file elements that can be transferred with any SLC 5/03, 5/04 or 5/05 controller using a single Logix MSG instruction is 118.
7-32 Configuring Logix Controllers Figure 7.8 Example of a Write MSG from a Logix to a Logix Controller Local controller scoped tag containing data to be written. Remote controller scoped tag into which data will be written. Path (out serial port) to station (254).
Configuring Logix Controllers 7-33 Figure 7.9 Example of a Read MSG from a Logix to a Logix Controller Remote controller scoped tag where data will be read from. Local controller scoped tag into which data will be copied. Path (out serial port) to station (254).
7-34 Configuring Logix Controllers Figure 7.10 Example of a Write MSG From a Logix to a PLC-5 or SLC 500 Controller Local controller scoped tag containing data to be written. Remote PLC-5 data table address into which data will be written. Path (out serial port) to station (199).
Configuring Logix Controllers 7-35 Figure 7.11 Example of a Read MSG from a Logix to a PLC-5 or SLC 500 Controller Remote PLC-5 data table address where data will be read from. Local controller scoped tag into which data will be copied. Path (out serial port) to station (199).
7-36 Configuring Logix Controllers Figure 7.12 Write MSG Instruction From a Logix to an SLC or MicroLogix Controller Local controller scoped tag containing data to be written. Remote SLC data table address info which data will be written. Path (out serial port) to station (222).
Configuring Logix Controllers 7-37 Figure 7.13 Read MSG Instruction from a Logix to an SLC or MicroLogix Controller Remote SLC data table address from which data will be read. Local controller scoped tag into which data will be copied. Path (out serial port) to station (222).
7-38 Configuring Logix Controllers Logix Controller Error Codes for PLC and SLC Messages With the release Logix R10.x firmware, you will find new error code values for errors that are associated with PLC and SLC message types (PCCC messages). • This change lets RSLogix 5000 software display a more meaningful description for many of the errors. Previously the software did not give a description for any of the errors associated with the 00F0 error code.
Configuring Logix Controllers R9.x and earlier R10.x and later .ERR .EXERR .
7-40 Configuring Logix Controllers Publication AG-UM008C-EN-P - February 2005
Chapter 8 Configuring Modems Chapter Objectives This chapter provides reference information for help in connecting modems to Allen-Bradley devices. Included here are cable pin assignments and switch settings for modems manufactured by Rockwell Automation and by companies that participate in Rockwell Automation’s Encompass Program. IMPORTANT Consult the user documentation provided by the individual vendor. The guidelines presented here are NOT intended to replace vendor documentation.
8-2 Configuring Modems 3. Connect the modem to the DTE. For details about how to install, configure, and operate a modem, see the modem’s user documentation. Configuration Tips When configuring modems for communication with Allen-Bradley devices, remember to: • configure the modem for asynchronous communication. • configure the modem’s RS-232 communication rate to match that of the connected Allen-Bradley processor and the modem’s transmission rate to match that of the receiving modem.
Configuring Modems 8-3 Figure 8.1 Typical Telephone Modem Configuration modem modem SLC 5/03, 5/04, 5/05 PLC-5 Rockwell Automation Rockwell Automation offers the 9300-RAKIT as a dial-up modem solution for connecting to Allen-Bradley processors. The 9300-RAKIT includes a DIN rail mount telephone modem, an AC power adapter, and cables and adapters needed to connect the modem to a PLC-5, SLC, MicroLogix, or Logix processor serial port. Figure 8.
8-4 Configuring Modems The phone line connection is made through the RJ-45 jack (a phone cable is included). Four switches allow a selection of one of four different profiles to be loaded at power-up. The default profiles are listed in the following table. Table 8.1 Profile Settings Profile Number Profile Operation 1 Sets the maximum line rate to 9600 bps and configures the serial port for hardware flow control and a fixed speed of 9600 bps.
Configuring Modems DATA-LINC Group 8-5 DATA-LINC GROUP supplies telephone modems compatible with Allen-Bradley processors. The modems provide long-distance communication over leased lines or standard dial-up lines. Follow these guidelines for connecting an Allen-Bradley processor to these models of DATA-LINC telephone modems. Use the table below to choose the appropriate model for your application. Table 8.
8-6 Configuring Modems encased in a rugged steel enclosure with large mounting flanges for ease of installation. The DLM4300 connects to the PC/PLC through a DB-9 female connector. All connections and LEDs are located at the front of the modem. Line connection is made through the RJ-45 jack, as are the LEDs for Data Out, Data In, Carrier Detected and Power, providing visible confirmation of modem operation and diagnosis. Table 8.
Configuring Modems 8-7 unshielded). The range is twenty miles on any ordinary pair wire, or unlimited on ‘loaded’ telephone company voice grade leased lines. Table 8.4 LLM1000-2 Four Position Terminal Block Connections Terminal Block Assignment 1 Carrier FSK carrier transmission line(no polarity) 3 Power + Supply power + 4 Power - Supply power - 2 Table 8.
8-8 Configuring Modems Table 8.
Configuring Modems 8-9 DLM4000 The DLM4000 is a stand-alone industrial use modem that communicates with Allen-Bradley equipment as either a dial-up or leased line device. It is capable of communication at speeds up to 28.8K baud, and responds to standard AT commands. The DLM4000 has a rugged steel housing with large mounting flanges for ease of installation. Table 8.7 DLM 4000 Pin Assignment DLM4000 Pin # Assignment Assignment PLC-5 25-Pin AIC+, Logix5550, PC, or SLC 500 9-Pin 1 PROTECT.
8-10 Configuring Modems Figure 8.5 DLM4000 Power Switch RS-232 Telco connection Power 9VAC 13 25 12 24 11 10 9 23 22 8 21 20 7 6 19 5 18 17 4 3 16 2 15 1 14 Table 8.
Configuring Modems 8-11 dial-up device. The DLM4100-PLC is a 1746 form factor rack mounted industrial use modem that communicates with the Allen-Bradley PLC-5 as a dial-up device. Both models are externally powered, capable of communication at speeds up to 28.8K baud, and respond to standard AT commands. To connect the DLM4100-SLC to a PLC-5 use the DATA-LINC communication cable C232/DLM41/SLC5/CH 0, CABLE ASSEMBLY DLM4100 TO A-B SLC-500. Refer to Table 8.23 on page 8-26 for cable pinout details.
8-12 Configuring Modems For additional modem specifications consult your MARC user documentation or www.miille.com. TIP Figure 8.6 Typical SCADA Configuration Using MARC Leased-Line Modems SCADA host Allen-Bradley DF1-protocol RS-232 Leased Telephone Lines RS-232 1785-KE DH+ PLC-5/20 with MARC 137-001 SLC 5/03 with MARC 166-101 PLC-5/40 with MARC 148-001 Enhanced PLC-5 Processor RS-232 Modem Modem Figure 8.
Configuring Modems 8-13 Cable Pin Assignments The Model 166-101 requires a RS-232 9-pin D-shell female connector with the pin assignments shown below or these MARC cable assemblies: • 127-070 (1747-KE to MARC 166-101) • 127-069 (SLC 5/03, 5/04 or 5/05 to MARC 166-101) Figure 8.8 MARC, Inc. Model 166-101 MARC #166-101 Ports 1 and 2 9-pin D male RJ11 jack 5 Receive(-) 4 Transmit (-) 3 Transmit (+) 2 Receive (+) To Allen-Bradley SLC 5/03, 5/04, and 5/05 or 1747-KE Table 8.9 MARC, Inc.
8-14 Configuring Modems Switch Settings For Bell 202 full-duplex operating mode, set the switches on Model 166-101 according to those in Table 8.10. For Bell 202 half-duplex operating mode (point-to-multipoint), set the switches on Model 166-101 according to those is Table 8.11. ATTENTION Switch settings shown here are for modems using RJ11 plugs on 4-wire lines. If you are using 2-wire lines, consult the MARC user manual. Table 8.
Configuring Modems 8-15 Cable Pin Assignments The Model 137-001 requires a 15-pin male connector with the pin assignments shown below or these MARC cable assemblies: • 127-056 (1785-KE to MARC 137-001) • 127-067 (1785 PLC-5/xx to MARC 137-001) Figure 8.9 MARC, Inc. Model 137-001 MARC 15-pin D female port To Allen-Bradley PLC-5/xx or 1785-KE RJ11 jack 5 Receive(-) 4 Transmit (-) 3 Transmit (+) 2 Receive (+) Table 8.12 MARC, Inc.
8-16 Configuring Modems ATTENTION Switch settings shown here are for modems using RJ11 plugs on 4-wire lines. If you are using 2-wire lines, consult the MARC user manual. Table 8.13 Model 137-001 Full-Duplex Switch Settings Switch Assembly 1 2 3 4 5 6 7 8 1 Operating Mode off on on off on xxx xxx xxx 2 Transmit Level off on off off off off off off Table 8.
Configuring Modems 8-17 Cable Pin Assignments The Model 148-001 requires an RS-232 15-pin male connector with the pin assignments shown in Figure 8.10 or these MARC cable assemblies: • 127-058 (1785-KE to MARC 148-001) • 127-064 (1785 PLC-5/xx to MARC 148-001) Figure 8.10 MARC, Inc. Model 148-001 MARC #148-001 MARC Ports 1 and 2: 15-pin D female port 2-RJ11 jacks 5 Receive(-) 4 Transmit (-) 3 Transmit (+) 2 Receive (+) To Allen-Bradley PLC-5/xx or 1785-KE Line 1 Line 2 Table 8.15 MARC, Inc.
8-18 Configuring Modems ATTENTION Switch settings shown here are for modems using RJ11 plugs on 4-wire lines. If you are using 2-wire lines, consult the MARC user manual. Table 8.
Configuring Modems 8-19 Cable Pin Assignments The Model 166-100 requires a RS-232 9-pin D-shell female connector with the pin assignments shown below or these MARC cable assemblies: • 127-070 (1747-KE to MARC 166-100) • 127-077 (SLC 5/03, 5/04 or 5/05 to MARC 166-100) Figure 8.11 MARC, Inc. Model 166-100 MARC #166-100 Ports 1 and 2 9-pin D male RJ11 jack 3 Tip (red wire) 4 Ring (green wire) To Allen-Bradley SLC 5/03, 5/04, and 5/05 or 1747-KE Table 8.18 MARC, Inc.
8-20 Configuring Modems Switch Settings Set the switches on Model 166-100 according to those in Table 8.19. Table 8.19 Model 166-100 Switch Settings Switch Assembly 1 2 3 4 5 6 7 8 Transmit Level off on off off off off off off MARC Model 166-010 Model 166-010 is a Bell and CCITT compatible dial-up telephone model that fits into a single slot of the Allen-Bradley 1771 I/O chassis.
Configuring Modems 8-21 Table 8.20 MARC, Inc. Model 166-010 Pin Assignments Modem 15-pin female Pin Name Pin Name PLC-5 25-pin female 1785-KE 15-pin female 2 TXD.IN — TXD.OUT 2 2 3 RXD.OUT — RXD.IN 3 3 4 RTS.IN — RTS.OUT 4 4 5 CTS.OUT — CTS.IN 5 5 7 SIG.GND — SIG.GND 7 7 8 DCD.OUT — DCD.IN 8(1) 8(1) 11 DTR.IN — DTR.OUT 20 11 (1) Pin 8 is jumpered (within the connector) to pin 6.
8-22 Configuring Modems with some interference. The amount of interference is directly proportional to the number of users in the area. You can use radio modems for either point-to-point or point-to-multipoint applications.
Configuring Modems DATA-LINC Group 8-23 Use the following table to determine which DATA-LINC radio modem you need. Refer to Table 8.25 for cabling information. Consult DATA-LINC for specific information regarding the installation of DATA-LINC products. Table 8.
8-24 Configuring Modems To connect the SRM6000 and SRM6100 to the PLC, use a communication cable for your specific application as indicated in the Cable Assemblies List. The modem connector pinout is as follows: Table 8.
Configuring Modems 8-25 Figure 8.15 SRM6200E Front Panel Linc Integrity LAN Activity Transmit 12VDC Receive Antenna SRM6200E ANTENNA L Lx Tx Rx 12VDC Ethernet Connection C Carrier Detect P Power Data connection for the SRM6200E is via a RJ45 10BASE-T Ethernet port. IMPORTANT SRM6000 Radio Modems can be installed in any SRM6200E system for use as repeaters (to extend system range or circumvent line-of-sight problems).
8-26 Configuring Modems The modems can be configured as master, remote, or repeater (SRM6000/6100-SLC only) and data communications are asynchronous. Baud rates can be set as high as 115.2k. To connect the SRM6000-SLC or SRM6100-SLC to an SLC 500, use the DATA-LINC communication cable part number C232/SRM60/SLC5/CH 0, CABLE ASSEMBLY SRM6000 to Allen-Bradley SLC 500. The modem connector pin assignment is as follows: Table 8.
Configuring Modems 8-27 Data connection for the SRM6200E-SLC is via a RJ45 10BAST-T Ethernet port. The SRM6000/6100/6200E-SLC are pre-configured. Use the SRM6000/6100/6200E-SLC User’s Guide (available from DATA-LINC) to change configuration in the field. SRM6000/6100/6200E-PLC The DATA-LINC SRM6000/6100/6200E-PLC are license-free, spread spectrum frequency-hopping wireless modem that fits directly into the Allen-Bradley PLC-5 chassis.
8-28 Configuring Modems Figure 8.17 SRM6000-PLC and SRM6100-PLC Front View Power P Carrier Detect Data In C I O Data Out ANTENNA Antenna Reset Button RESET Power In Data connection for the SRM6200E-PLC is via a RJ45 10BASE-T Ethernet port. The SRM6000/6100/6200E-PLC are pre configured from the factory.Use the SRM6000/6100/6200E-PLC User’s Guide (available from DATA-LINC) to change configuration in the field via the DB-9 connector on the modem.
Configuring Modems 8-29 Connecting Cable Assemblies Table 8.
8-30 Configuring Modems Use the table below to choose the ESTeem model that fits your needs: Table 8.26 ESTeem Modems For this frequency And this distance Use this ESTeem Modem 66-79 MHz 5 miles LOS Model 192V 150-174 MHz 10 miles LOS - 2 watts 15 miles LOS - 4 watts Model 192M 400-420 MHz 15 miles LOS Model 192F 450-470 MHz 10 miles LOS - 2 watts 15 miles LOS - 4 watts Model 192C TIP For additional modem specifications consult your ESTeem user manual or www.esteem.com Figure 8.
Configuring Modems 8-31 All ESTeem model 192 wireless modems have the following features or available options: • • • • • • • • • • • • 19,200 bps RF data rate integral digi-repeater frequency of operation programmable software receiver squelch programmable software remote programmability of all features over the RF, infrared or dial-in phone interface radio diagnostic programs included radio self-test packet monitor received signal-to-noise ratio received signal strength output (optional) infrared commun
8-32 Configuring Modems Figure 8.19 ESTeem Modem RJ-11 phone port (optional) RS-232C/422/485 interfaces 25 pin sub-D connector TNC RF connector (allow 5 inches for bending radius) 2 pin female Molex power connector 11 to 16 VDC input (red lead is positive) RS-232C/422/485 setup dip switches 25-pin sub-D connector To Allen-Bradley 1785-KE, 1747-KE module or a MicroLogix 1000, SLC 500, or PLC-5 processor. Table 8.
Configuring Modems 8-33 If you are connecting to an Allen-Bradley Use these pin assignments for cable interface from the ESTeem modem to the A-B module 1785-KE Modem 25-pin female(1) Pin Name Pin Name 1785-KE 15-pin female NC Shield — Shield 1 2 TXD.IN — TXD.OUT 2 3 RXD.OUT — RXD.IN 3 4 RTS.IN — RTS.OUT 4 5 CTS.OUT — CTS.IN 5 6 DSR.OUT — DSR.IN 6 7 SIG.GND — Signal 7 11 SIG.GND — Ground 13 8 DCD.OUT — DCD.IN 8 20 DTR.IN — DTR.
8-34 Configuring Modems Figure 8.20 ESTeem Switch Locations 1 2 3 4 5 6 7 8 RS-232 setup dip switches: See Table 8.28. Table 8.28 ESTeem Modem RS-232 Switch Settings Baud Rate (19200) Switch Bit Setting Data Format (8,N,1) Auto Connect (Enabled) 1 2 3 4 5 6 7 8 for operation off off off off off on off on for programming(1) off off off off off on off off (1) For information about programming this modem, see ESTeem Engineering Report #97-001.
Configuring Modems Microwave Data Systems (MDS) 8-35 MDS supplies radio modems that communicate within point-to-point or multiple-address configurations. The frequency on which your application operates determines the type of modem MDS recommends you use. Use the table below to choose the model that fits your needs. Table 8.
8-36 Configuring Modems MDS Model 2100 and 4100 Master Stations Models 2100 and 4100 are full-duplex, multiple address, master radio stations. Cable Pin Assignments Each of these models requires a 25-pin male connector with the following pin assignments: Figure 8.22 MDS Model 2100 and Model 4100 Master Stations "A" power LOAD "B" power RS-232 data port DCE ANT DTE TX RX RS-232 diagnostics port Female DB 25-pin connector Male DB 25-pin connector RS-232 data port Table 8.
Configuring Modems 8-37 MDS Model 2310 and 4310 Remote Stations Models 2310 and 4310 are multiple address, remote data transceiver stations. Cable Pin Assignments Each of these models requires a 25-pin male connector with the following pin assignments: Figure 8.23 MDS Model 2310 and Model 4310 Remote Data Transceivers PWR SYNC TXD RXD RS-232 data port DIAG ANTENNA DC IN + - Female DB 25-pin connector Male DB 25-pin connector SLC 5/03 RS-232 data port Table 8.
8-38 Configuring Modems MDS Model 9810 Spread Spectrum Model 9810 is a spread-spectrum modem, which operates under FCC Part 15 rules to provide unlicensed operation for point-to-point and multipoint radios. Spread-spectrum is a frequency-varying technique that lets several spread-spectrum modems operate within the same radio frequency band. Cable Pin Assignments Model 9810 requires a 25-pin male connector with the following pin assignments: Figure 8.
Configuring Modems Power Line Modem Configurations 8-39 Power line modems can also be used for SCADA applications. Instead of using dedicated lines to transmit data, power line modems are wired directly to existing ac cables in the plant or factory. You need only a power-delivery medium and an RS-232 interface. When communicating with Allen-Bradley programmable controllers using power line modems, configure the modems according to the specifications in this section. Figure 8.
8-40 Configuring Modems Table 8.33 LCM100 RS-232 Pin Functions and Pin Assignment LCM100 Pin # Pin Name Pin Name PLC-5 25 Pin SLC 500 9 Pin 1 PROTECT.GND SHIELD 1 CASE 2 RXD.IN TXD.OUT 2 3 3 TXD.OUT RXD.IN 3 2 4 RTS RTS.OUT 4 7 5 CTS CTS.IN 5 8 6 DSR DSR.IN 6 6 7 SIG.GND SIG.GND 7 5 8 CD DCD.IN 8 1 20 DTR DTR.OUT 20 4 Figure 8.
Chapter 9 Configuring RSLinx Classic Software for DF1 Half-Duplex Communications Chapter Objectives This chapter provides a reference while configuring Rockwell Software RSLinx Classic communication server software as a DF1 half-duplex polling master station or a DF1 half-duplex slave station. RSLinx Classic is the communications driver for other Windows-based Rockwell Software products, such as RSView32, which is an operator interface package, and RSLogix 500, which is an SLC programming package.
9-2 Configuring RSLinx Classic Software for DF1 Half-Duplex Communications Figure 9.1 General Driver Settings Table 9.1 General Driver Settings Parameter Descriptions Control Control Text Driver’s Station Number (0 to 254 decimal) Enter the station number for this driver. All packets sent to this station address are forwarded to RSLinx Classic. The default is 0.
Configuring RSLinx Classic Software for DF1 Half-Duplex Communications 9-3 Figure 9.2 Define Polling Lists Table 9.2 Define Polling Lists Parameter Description Control Control Text Priority Stations Stations defined as Priority are polled during every polling cycle. All Priority Stations are polled, and then one Normal Station is polled. All Priority Stations are polled again, and then another Normal Station is polled. This cycle continues until all Normal Stations are polled.
9-4 Configuring RSLinx Classic Software for DF1 Half-Duplex Communications Figure 9.3 Port Configuration Table 9.3 Port Configuration Parameter Descriptions Control Control Text COM Port Select the serial port of the computer from which the polling master driver communicates. The default is COM 1. Baud Rate Select the baud rate of the device with which the polling master driver communicates. The default is 19200. Stop Bits Select the Stop Bits (1 or 2). The default is 1.
Configuring RSLinx Classic Software for DF1 Half-Duplex Communications 9-5 Figure 9.4 DF1 Protocol Settings Table 9.4 DF1 Protocol Settings Parameter Descriptions Control Control Text Qty Retries When polling and transmitting, this controls how many attempts are made before giving up on that operation. Zero (0) is not a legal value. The default is 3 retries. ACK and Poll Pkt Timeout (ms) Timeout value before the driver assumes that the current operation has failed.
9-6 Configuring RSLinx Classic Software for DF1 Half-Duplex Communications Figure 9.5 Modem Configuration Control Table 9.5 Dial-up Modem Configuration Parameter Description Control Text Modem Options Select to not use dial-up modems, to use one dial-up modem for all drivers, or to specify an individual dial-up modem for each station. Configure Modem Click this button to configure the modem after selecting the Global Modem option.
Configuring RSLinx Classic Software for DF1 Half-Duplex Communications 9-7 Figure 9.6 Polling Strategies Table 9.6 Polling Strategies Parameter Descriptions Control Control Text Don't Allow Msgs to Stns that are not in lists Enable this to prevent transmissions to stations not already defined in one of the polling lists. Depending on the Result send to originator of msg settings, the sender of the packet may or may not be informed by the driver that the packet was rejected.
9-8 Configuring RSLinx Classic Software for DF1 Half-Duplex Communications Figure 9.7 Transmitting Strategies Table 9.7 Transmitting Strategies Parameter Descriptions Control Control Text Allow; Master retransmits msg to final destination Allows slave to slave communications. This is the default setting.
Configuring RSLinx Classic Software for DF1 Half-Duplex Communications 9-9 Figure 9.8 Event Log Configuration Table 9.8 Event Log Configuration Parameter Descriptions Control Control Text Enable Event Logging Enable this to set the event logging parameters. The default is unchecked. Logfile Directory Specify the directory where you want the log file to be generated. Max. File Size (kB) Enter the maximum amount (in kilobytes) that the size of the log file can be.
9-10 Configuring RSLinx Classic Software for DF1 Half-Duplex Communications Configuring RSLinx Classic Version 2.x as a Slave Station Figure 9.9 through Figure 9.13 show sample screens for configuring the RSLinx Classic DF1 half-duplex slave communications driver. Some things to note in this example configuration are: • RTS control (hardware handshaking) is only available under Windows NT.
Configuring RSLinx Classic Software for DF1 Half-Duplex Communications 9-11 Figure 9.10 Slave Port Configuration Table 9.10 Port Configuration Parameter Descriptions Control Control Text COM Port Select the serial port of the device with which the polling slave driver will communicate. The default is COM1. Baud Rate Select the baud rate of the device with which the polling slave driver will communicate. The default is 19200. Stop Bits Select the Stop Bits (1, 1.5 or 2). The default is 1.
9-12 Configuring RSLinx Classic Software for DF1 Half-Duplex Communications Figure 9.11 DF1 Slave Protocol Settings Table 9.11 DF1 Protocol Settings Parameter Descriptions Control Control Text Qty Retries When polling and transmitting, this controls how many attempts are made before giving up on that operation. Zero (0) is not a legal value. The default is 3 retries. ACK Timeout (ms) Timeout value before the driver assumes that the current operation has failed.
Configuring RSLinx Classic Software for DF1 Half-Duplex Communications 9-13 Figure 9.12 Slave Modem Configuration Table 9.12 Slave Dial-up Modem Configuration Parameter Description Control Control Text Modem Options Select to not use or not to use a dial-up modem. Configure Modem Click this button to configure the modem after selecting the Global Modem option. This button is disabled if No Modems option is selected.
9-14 Configuring RSLinx Classic Software for DF1 Half-Duplex Communications Figure 9.13 Slave Logfile Configuration Table 9.13 Event Log Configuration Parameter Descriptions Control Control Text Enable Event Logging Enable this to set the event logging parameters. The default is unchecked. Logfile Directory Specify the directory where you want the log file to be generated. Max. File Size (kB) Enter the maximum amount (in kilobytes) that the size of the log file can be.
Chapter 10 Using Dial-up Telephone Communication Chapter Objectives This chapter helps you set up and initiate dial-up communication. This chapter pertains to the enhanced PLC-5 processors, SLC 5/03, 5/04, and 5/05 processors, MicroLogix 1100, 1200, and 1500 controllers, and Logix processors. TIP A Micrologix 1000 controller may be on the receiving end of a dial-up modem connection using an auto-answer phone modem, but it has no means to cause its modem to initiate or hang-up a phone modem connection.
10-2 Using Dial-up Telephone Communication Overview You can implement dial-up communication in a telemetry system as shown in the following configurations (Figure 10.1 and Figure 10.2). Use dial-up communication for peer-to-peer communication between processors, as shown below. This is most appropriate for applications that do not require extensive communication time. Figure 10.
Using Dial-up Telephone Communication Setting up the System 10-3 Before you can begin sending messages over the telephone line, you must: • configure the processor • configure the modems Configure the Processor Configure the processor’s serial channel for full-duplex DF1 protocol and full-duplex modem handshaking (except MicroLogix) using RSLogix software. For example configurations, see the chapter in this book that pertains to the processor you are configuring.
10-4 Using Dial-up Telephone Communication Configure the Modems for MicroLogix 1100/1200/1500 Controllers The MicroLogix channel 0 serial port does not support the DSR, CD or DTR modem handshake signals. (The MicroLogix 1500 channel 1 does support CD, but not DSR or DTR.) The only handshake signal from the modem supported by the MicroLogix is Clear to Send (CTS). Therefore, a different modem handshaking scheme is required when using MicroLogix 1100/1200/1500 controllers to initiate dial-out connections.
Using Dial-up Telephone Communication 10-5 Initiate Modem Dialing To initiate dialing from a PLC-5, SLC, Logix or MicroLogix processor, use the ASCII write with append instruction (AWA). This instruction lets you send an ASCII string out the serial port with no protocol framing added, despite the fact that the serial port has been configured for DF1 protocol.
10-6 Using Dial-up Telephone Communication To dial a modem from the processor, use an AWA instruction and store the telephone number to be dialed in a string file element or string tag via the programming software. In this example, when the B3:0/0 bit is set, the processor sends the ASCII string atdt5551212 out the serial port. This causes the modem to attempt to dial the number (5551212) and establish the telephone link.
Using Dial-up Telephone Communication 10-7 If the user-configured connection timer times out before the monitored bit changes, then most likely either the remote modem is not answering or the number is busy. In this case, the modem hang-up sequence should be initiated and the phone connection retried later. Once a successful connection is established, you can begin message-based data transfer.
10-8 Using Dial-up Telephone Communication Figure 10.5 AHL Instructions Lower and Raise DTR Peer-to-Peer Communication Peer-to-peer communication is the simplest method. Two units establish a telephone modem link point-to-point using DF1 full-duplex protocol. In this mode, neither unit has control over the other, but is simply a peer. One of the units sends the command string to a telephone modem to dial the other unit.
Using Dial-up Telephone Communication Report-by-Exception and/or Master Station-Initiated Communication 10-9 Report-by-exception communication refers to the remote stations initiating a dial-up connection to the master station upon change of input status or process data in order to update the master station’s data table.
10-10 Using Dial-up Telephone Communication Publication AG-UM008C-EN-P - February 2005
Chapter 11 Remotely Program Allen-Bradley Processors Over a Telemetry Network Chapter Objectives This chapter helps you set up and configure RSLogix programming terminals on Ethernet to program remote PLC-5, SLC 500, MicroLogix, and Logix processors over a point-to-multipoint telemetry network.
11-2 Remotely Program Allen-Bradley Processors Over a Telemetry Network Remote Programming via RSLinx® Gateway™ When RSLinx Classic is running on a PC that is a node on a serial DF1 Half-Duplex network, then RSLogix 5, RSLogix 500, and RSLogix 5000 running on the same PC can upload, download and go online with any remote Allen-Bradley processor nodes on that same network. See chapter 9 for details on configuring RSLinx as a DF1 Half-Duplex Polling Master node or a DF1 Half-Duplex Slave node.
Remotely Program Allen-Bradley Processors Over a Telemetry Network 11-3 Figure 11.2 Configure Remote Device Now you should be able to use RSWho to browse a remote node on the DF1 network through this RSLinx Gateway driver, as if this PC were directly connected to that network. Figure 11.3 Remote RSWho Browse Through RSLinx Gateway Once RSWho can browse the remote node, then you can use the appropriate RSLogix programming software to upload, download and go online with that remote node.
11-4 Remotely Program Allen-Bradley Processors Over a Telemetry Network Remote Programming via SLC 5/05 Ethernet to DF1 Passthru SLC 5/05 processors with OS 501, Series C, FRN 6 or higher firmware support channel 1 Ethernet to channel 0 DF1 passthru. This allows PCs running RSLinx Classic version 2.43, or higher, to browse through the SLC 5/05 processor to remote PLC-5, SLC or MicroLogix processors on the DF1 network to upload, download or go online using RSLogix programming software.
Remotely Program Allen-Bradley Processors Over a Telemetry Network 11-5 Figure 11.6 Passthru Routing Table Icon Double-click on Routing Table to view and modify the passthru routing table. The IP address of the PC running RSLinx Classic must be entered into the passthru routing table in order for RSWho to be able to browse through the SLC 5/05. Figure 11.
11-6 Remotely Program Allen-Bradley Processors Over a Telemetry Network Figure 11.8 RSWho Browse to Channel 0, DF1 IMPORTANT SLC 5/05 passthru does not work with the RSLinx AB_ETHIP EtherNet/IP driver. Right-click on this Channel 0, DF1 network and select Properties. Under Browse Addresses, enable the Browse only the specified addresses box and enter in the range of addresses to browse. Figure 11.
Remotely Program Allen-Bradley Processors Over a Telemetry Network TIP 11-7 If none of the expected processors show up under the Channel 0, DF1 network (other than 00, SLC-5/05) while browsing, verify that while in program mode, the SLC 5/05 RS-232 LED is flashing periodically. If not, then most likely the IP address of the PC is not properly entered into the SLC 5/05 Routing Table. You can verify the IP address of your Windows PC by typing IPCONFIG at the Windows command prompt.
11-8 Remotely Program Allen-Bradley Processors Over a Telemetry Network Figure 11.11 Setting Range of DF1 Addresses to Browse Now, left-click on the Channel 0, DF1 network to begin browsing this range of DF1 addresses. Figure 11.12 RSWho Browse Using Logix Bridging Once RSWho can browse the remote node, then you can use either RSLogix 5, RSLogix 500 or RSLogix 5000 programming software to upload, download and go online with that remote PLC-5, SLC, MicroLogix or Logix node.
Appendix A Modem Cable Reference Appendix Objective Use this appendix as a quick guide for finding the cables you need.
A-2 Modem Cable Reference Enhanced PLC-5 Figure A.1 Enhanced PLC-5 Processor to Modem Cable Pin Assignment processor Publication AG-UM008C-EN-P - February 2005 modem 25-pin male 25-pin 9-pin C.GND 1 1 NC TXD.OUT 2 2 3 RXD.IN 3 3 2 RTS.OUT 4 4 7 CTS.IN 5 5 8 DSR.IN 6 6 6 SIG.GND 7 7 5 DCD.IN 8 8 1 DTR.
Modem Cable Reference 1747-KE Interface Module A-3 Figure A.2 1747-KE Interface to Modem Cable Pin Assignment DH-485/RS-232C ACT 485 CFG DF1 Fault BA LOW H/D F/D modem 1747-KE module 9-pin female 25-pin RXD.IN 2 3 2 TXD.OUT 3 2 3 DTR.OUT 4 20 4 SIG.GND 5 7 5 DSR.IN 6 8 1 RTS.OUT 7 4 7 CTS.
A-4 Modem Cable Reference ASCII Terminal to 1747-KE module Use Allen-Bradley cable A-B 1747-CP3 to connect an ASCII terminal to a 1747-KE module. Figure A.3 ASCII Terminal to 1747-KE Module Cable Pin Assignment ASCII Terminal 9-pin female Publication AG-UM008C-EN-P - February 2005 modem 9-pin female RXD.IN 2 3 RXD.IN TXD.OUT 3 2 TXD.OUT SIG.GND 5 5 SIG.
Modem Cable Reference SLC 5/03, 5/04, or 5/05, Logix, and MicroLogix 1500 Channel 1 A-5 Table A.1 Connection Types for Cables Connection Type Allen-Bradley Cable SLC 5/03, 5/04, or 5/05 processor to a modem A-B 1784-CAS (25-pin male modem connector) Workstation with a 9-pin serial port to a modem AIC+ Advanced Interface Converter for MicroLogix Logix controller to a modem MicroLogix 1500 channel 1 to a modem Figure A.
A-6 Modem Cable Reference 1785-KE Module Use Allen-Bradley cable A-B 1770-CP to connect a 1785-KE module to a modem. Figure A.5 1785-KE Module to Modem Cable Pin Assignment COMM CONTROL DH+ DH+ RS-232 1785-KE 15-pin male 25-pin 9-pin C.GND 1 1 NC TXD.OUT 2 2 3 RXD.IN 3 3 2 RTS.OUT 4 4 7 CTS.IN 5 5 8 DSR.IN 6 6 6 SIG.GND 7 7 5 DCD.IN 8 8 1 DTR.
Modem Cable Reference MicroLogix A-7 Use A-B 1761-PM02 Series B (or higher) (MicroLogix Mini-DIN to 9-pin female connector) to connect a MicroLogix serial port to a modem through an optical isolator. Figure A.
A-8 Modem Cable Reference Publication AG-UM008C-EN-P - February 2005
Appendix B Basic DF1 Protocol Troubleshooting Appendix Objectives This appendix helps you troubleshoot communication problems. For information about General Tips general tips B-1 communication troubleshooting B-1 DF1 half-duplex protocol B-4 DF1 full-duplex protocol B-6 DF1 radio modem protocol B-7 When you encounter problems, check these items: • • • • • • Communication Troubleshooting 1 See page cabling (cable length, connectors, pinouts, etc.
B-2 Basic DF1 Protocol Troubleshooting If the MSG instruction errs, follow this troubleshooting sequence: 1. Use the MSG instruction error code and error description for clues. The two most common error codes are: Error Code Description Analysis and Corrective Action 07hex No acknowledgment (ACK) was received when the MSG was sent and retried. The communications link is failing somewhere. Follow the rest of the numbered steps to determine the problem.
Basic DF1 Protocol Troubleshooting B-3 5. Use the receiving processor’s RS-232 LED to verify that characters are being transmitted out of the serial port. If troubleshooting the MicroLogix 1000 controller with a modem connection through the AIC+, then the AIC+ TX LEDs provide this indication. If no characters are being transmitted, the receiving processor may not be replying to the message because it was not properly received. Check for: • incorrect cable between the modem and receiving processor.
B-4 Basic DF1 Protocol Troubleshooting DF1 full- and half-duplex protocols are character-oriented and combine ASCII characters into two symbol types: • control • data A symbol is a sequence of one or more bytes having a specific meaning to the link protocol. The component characters of a symbol must be sent one after another with no other characters inserted between them.
Basic DF1 Protocol Troubleshooting B-5 Table B.
B-6 Basic DF1 Protocol Troubleshooting DF1 Full-Duplex Protocol To help you diagnose communication problems, you can use a serial line analyzer to see the data packets being transmitted on the RS-232 link between the DTE and the DCE. For further details, see the DF1 Protocol and Command Set Reference Manual, publication 1770-RM516. For the See different types of communication packet exchanges between two full-duplex stations Table B.3 definitions of the packets Table B.4 Table B.
Basic DF1 Protocol Troubleshooting DF1 Radio Modem Protocol B-7 To help you diagnose communication problems, you can use a serial line analyzer to see the data packets being transmitted on the RS-232 link between the DTE and the DCE. For further details, see the DF1 Protocol and Command Set Reference Manual, publication 1770-RM516. For the See different types of communication packet exchanges between two radio modem stations Table B.5 definitions of the packets Table B.6 Table B.
B-8 Basic DF1 Protocol Troubleshooting Publication AG-UM008C-EN-P - February 2005
Appendix C Third-Party Supplier Contact Information Appendix Objectives Use this appendix to help locate the third-party products mentioned in this document. For more information about either the vendors or products: • contact the vendor directly • see the Encompass Product Directory, publication 6873-SG003 • contact your local Allen-Bradley office or distributor Contact List Use the table starting below as a reference. This list is not inclusive.
C-2 Third-Party Supplier Contact Information Company Product types offered Contact information ProSoft Technology, Inc. protocol interfaces for SCADA, plant floor and foreign device interface applications. custom development and tools are also available the ProSoft RTU-5/03 Processor is targeted at SCADA/RTU applications in industries that use the Modbus protocol ProSoft Technology, Inc. Corporate Office 1675 Chester Ave Bakersfield, CA 93301 Phone: (661) 716-5100 Fax: (661) 716-5101 www.
Appendix D Worksheets Appendix Objective Use this appendix to document your serial channel configurations. Each worksheet corresponds to a processor’s master or remote station configuration. Make photocopies of the worksheets. Do not write on the originals. For defining this configuration Use SCADA system schematic Worksheet 1.1 D-4 Enhanced PLC-5 DF1 Half-Duplex Master Station Configuration Using Standard Communication Worksheet 2.
D-2 Worksheets For defining this configuration Use SLC 500 Processor with 1747-KE Module Point-to-Point Configuration Worksheet 5.2 D-20 MicroLogix 1000 DF1 Half-Duplex Slave Station Configuration Worksheet 6.1 D-21 Logix DF1 Half-Duplex Master Station Configuration Using Worksheet 7.1 Standard Communication D-22 Logix DF1 Half-Duplex Master Station Configuration Using Worksheet 7.2 Message-based Communication D-23 Logix DF1 Half-Duplex Slave Station Configuration Worksheet 7.
Worksheets How to Use the Worksheets Each SCADA worksheet has different fields that you define, but the basic layout is the same. Make as many copies of the worksheets as you need. Do not write on the originals. Each worksheet refers to the parameter tab location. Each worksheet has an example.
D-4 Worksheets Worksheet 1.1 SCADA System Schematic Publication AG-UM008C-EN-P - February 2005 Use this worksheet to sketch your SCADA system, or include a drafting diagram. Include network addresses for each system component.
Worksheets Worksheet 2.1 Enhanced PLC-5 DF1 Half-Duplex Master Station Configuration Using Standard Communication Use this worksheet to record your station’s configuration. For descriptions of each line item, see page 2-5.
D-6 Worksheets Worksheet 2.2 Enhanced PLC-5 DF1 Half-Duplex Master Station Configuration Using Message-based Communication Use this worksheet to record your station’s configuration. For descriptions of each line item, see page 2-11.
Worksheets Worksheet 2.3 Enhanced PLC-5 DF1 Half-Duplex Slave Station Configuration Use this worksheet to record your station’s configuration. Do not write on the original. For descriptions of each line item, see page 2-12.
D-8 Worksheets Worksheet 2.4 Enhanced PLC-5 DF1 Full-Duplex Point-to-Point Configuration Use this worksheet to record your station’s configuration. For descriptions of each line item, see page 2-18.
Worksheets Worksheet 3.1 MicroLogix 1100/1200/1500 DF1 Half-Duplex Master Station Configuration Using Standard Communication D-9 Use this worksheet to record your station’s configuration. For descriptions of each line item, see Table 3.1 on page 3-13. Tab Parameter Example Chan. 0 (1100/1200/1500 LSP) Baud Rate 9600 Parity NONE Chan.
D-10 Worksheets Worksheet 3.2 MicroLogix 1100/1200/1500 DF1 Half-Duplex Master Station Configuration Using Message-based Communication Use this worksheet to record your station’s configuration. For descriptions of each line item, see Table 3.4 on page 3-21. Tab Parameter Example Chan. 0 (1100/1200/1500 LSP) Baud Rate 9600 Parity NONE Chan.
Worksheets Worksheet 3.3 MicroLogix 1100/1200/1500 DF1 Half-Duplex Slave Station Configuration Use this worksheet to record your station’s configuration. For descriptions of each line item, see Table 3.5 on page 3-23. Tab Parameter Example Chan.
D-12 Worksheets Worksheet 3.4 MicroLogix 1100/1200/1500 DF1 Full-Duplex Point-to-Point Configuration Use this worksheet to record your station’s configuration. For descriptions of each line item, see Table 3.9 on page 3-34. Tab Parameter Example Chan. 0 (1100/1200/1500) Baud Rate 1200 Parity NONE Source ID 0 Control Line FULL-DUPLEX MODEM Error Detection CRC Embedded Responses ENABLED Detect Duplicate Packet ENABLED ACK Timeout (x 20 ms) 500 NAK Retries 3 ENQ Retries 3 Chan.
Worksheets Worksheet 3.5 MicroLogix 1100/1200/1500 Radio Modem Slave Station Configuration D-13 Use this worksheet to record your station’s configuration. For descriptions of each line item, see Table 3.7 on page 3-28. Tab Parameter Example Chan. 0 (1100, 1200, 1500 LSP) Baud Rate 9600 Stop Bits 1 Chan.
D-14 Worksheets Worksheet 4.1 SLC 5/03, 5/04, and 5/05 DF1 Half-Duplex Master Station Configuration Using Standard Communication Use this worksheet to record your station’s configuration. For descriptions of each line item, see Table 4.1 on page 4-11. Tab Parameter Example Chan.
Worksheets Worksheet 4.2 SLC 5/03, 5/04, and 5/05 DF1 Half-Duplex Master Station Configuration Using Message-based Communication D-15 Use this worksheet to record your station’s configuration. For descriptions of each line item, see Table 4.4 on page 4-20. Tab Parameter Example Your Configuration Chan.
D-16 Worksheets Worksheet 4.3 SLC 5/03, 5/04, and 5/05 DF1 Half-Duplex Slave Station Configuration Use this worksheet to record your station’s configuration. For descriptions of each line item, see Table 4.5 on page 4-23. Tab Parameter Example Chan 0.
Worksheets Worksheet 4.4 SLC 5/03, 5/04, and 5/05 DF1 Full-Duplex Point-to-Point Configuration D-17 Use this worksheet to record your station’s configuration. For descriptions of each line item, see Table 4.9 on page 4-34. Tab Parameter Example Chan.
D-18 Worksheets Worksheet 4.5 SLC 5/03, 5/04, and 5/05 DF1 Radio Modem Station Configuration Use this worksheet to record your station’s configuration. For descriptions of each line item, see Table 4.7 on page 4-28. Tab Parameter Example Chan 0.
Worksheets Worksheet 5.1 SLC 500 Processor with 1747-KE Module DF1 Half-Duplex Slave Station Configuration Tab D-19 Use this worksheet to record your station’s configuration. For descriptions of each line item, see page 5-7.
D-20 Worksheets Worksheet 5.2 SLC 500 Processor with 1747-KE Module Point-to-Point Configuration Tab Use this worksheet to record your station’s configuration. For descriptions of each line item, see page 5-7.
Worksheets Worksheet 6.1 MicroLogix 1000 DF1 Half-Duplex Slave Station Configuration Tab D-21 Use this worksheet to record your station’s configuration.
D-22 Worksheets Worksheet 7.1 Logix DF1 Half-Duplex Master Station Configuration Using Standard Communication Tab Use this worksheet to record your station’s configuration. For descriptions of each line item, see page 7-9.
Worksheets Worksheet 7.2 Logix DF1 Half-Duplex Master Station Configuration Using Message-based Communication Tab D-23 Use this worksheet to record your station’s configuration. For descriptions of each line item, see page 7-18.
D-24 Worksheets Worksheet 7.3 Logix DF1 Half-Duplex Slave Station Configuration Tab Use this worksheet to record your station’s configuration. For descriptions of each line item, see page 7-23.
Worksheets Worksheet 7.4 Logix DF1 Full-Duplex Point-to-Point Configuration Tab D-25 Use this worksheet to record your station’s configuration. For descriptions of each line item, see page 7-24.
D-26 Worksheets Publication AG-UM008C-EN-P - February 2005
Appendix E Sample Ladder Logic Appendix Objective This appendix provides guidance for developing your messaging logic for MicroLogix, SLC 500, PLC-5, and Logix processors. The user of and those responsible for applying the information contained in this appendix must satisfy themselves as to the acceptability of each application and use of the program.
E-2 Sample Ladder Logic SLC DF1 Half-Duplex Master Standard Mode, Master-initiated MSG SLC 5/03/04/05 DF1 Half-Duplex Master - Standard Mode, Master-initiated MSG Each MSG is assigned a "Finished" bit and a "Disable" bit. All of the MSG’s are triggered simultaneously, but cannot be retriggered until all enabled MSG’s have completed either done or in error. After all enabled MSG’s have completed, a time delay is inserted before retriggering.
Sample Ladder Logic 0001 0002 The following two rungs are the MSG control rungs - they should be replicated for further messages. Be sure to use the proper "Active Node Bit" from S:67/0-S:82/14 for nodes 0 to 254 based on the Target Node Address in the MSG. This assures that messages will not be triggered to nodes that are currently inactive (did not respond the last time they were polled by the Master). This "automatically" helps prevent unnecessary message retries to non-communicating nodes.
E-4 Sample Ladder Logic SLC DF1 Half-Duplex Master Message-based Mode and DF1 Radio Modem initiated MSG SLC 5/03/04/05 DF1 Half-Duplex Master - Message-based Mode, Master-initiated MSG Each MSG is assigned a "Finished" bit and a "Disable" bit. All of the MSG's are triggered simultaneously, but cannot be retriggered until all enabled MSG's have completed either done or in error. After all enabled MSG's have completed, a time delay is inserted before retriggering.
Sample Ladder Logic 0001 E-5 The following two rungs are the MSG control rungs - they should be replicated for further messages. Set the MSG disable bit to prevent unnecessary message retries to non-communicating nodes.
E-6 Sample Ladder Logic SLC DF1 Half-Duplex Slave and DF1 Radio Modem Report-by-Exception MSG 0000 SLC DF1 Half-Duplex Slave "Report-By-Exception" MSG Logic Copy all of the "live" discrete and analog values to be written as a "report-by-exception" MSG to the SLC Master into a data compare buffer, which is a contiguous block of words starting in B3:0. This copying occurs continuously between successful MSG writes.
Sample Ladder Logic 0004 E-7 If any values differ between the first five words of B3:0 and N7:0, copy B3:0-5 into N7:0-5, trigger the MSG (which will write N7:0-5 to the SLC Master) and jump out of the routine.
E-8 Sample Ladder Logic PLC-5 and MicroLogix 1100/1200/1500 DF1 Half-Duplex Master Standard Mode, Master-initiated MSG PLC-5 DF1 Half-Duplex Master - Standard Mode, Master-initiated MSG Each MSG is assigned a "Finished" bit and a "Disable" bit. Up to 17 MSG's are triggered simultaneously, but cannot be retriggered until all enabled MSG's have completed either done or in error. After all enabled MSG's have completed, a time delay is inserted before retriggering.
Sample Ladder Logic Disable MSG #3 B3:0 MSG Read/Write Message Control MG9:3 Setup Screen 0006 3 MG9:3 E-9 EN DN ER MSG #3 Finished B3:16 MG9:3 0007 EN DN 3 MG9:3 ER MSG Delay Done T4:0 B11:0 DN 3 B3:0 Disable MSG MSG #4 B3:0 MSG Read/Write Message Control MG9:4 Setup Screen 0008 4 MG9:4 MG9:3 U EN EN DN ER MSG #4 Finished B3:16 MG9:4 0009 EN DN MG9:4 ER 4 MSG Delay Done T4:0 B11:0 DN 4 MG9:4 U EN Publication AG-UM008C-EN-P - February 2005
E-10 Sample Ladder Logic PLC-5 and MicroLogix 1100/1200/1500 DF1 Half-Duplex Master Message-based, Master-initiated MSG PLC-5 DF1 Half-Duplex Master - Message-Based Mode, Master-initiated MSG Each MSG is assigned a "Finished" bit and a "Disable" bit. Up to 14 MSG's are triggered simultaneously, but cannot be retriggered until all enabled MSG's have completed either done or in error. After all enabled MSG's have completed, a time delay is inserted before retriggering.
Sample Ladder Logic Disable MSG #3 B3:0 MSG Read/Write Message Control MG9:3 Setup Screen 0006 3 MG9:3 E-11 EN DN ER MSG #3 Finished B3:16 MG9:3 0007 EN DN MG9:3 ER 3 MSG Delay Done T4:0 DN Disable MSG #4 B3:0 MSG Read/Write Message Control MG9:4 Setup Screen 0008 4 MG9:4 MG9:3 U EN EN DN ER MSG #4 Finished B3:16 MG9:4 0009 EN DN MG9:4 ER 4 MSG Delay Done T4:0 DN Disable MSG #5 B3:0 0010 5 MG9:4 U EN MSG Read/Write Message Control MG9:5 Setup Screen EN DN ER Publication AG-UM008C-
E-12 Sample Ladder Logic PLC-5 and MicroLogix 1100/1200/1500 DF1 Half-Duplex Slave Report-by-Exception MSG 0000 PLC-5 DF1 Half-Duplex Slave "Report-By-Exception" MSG Logic Copy all of the "live" discrete and analog values to be written as a "report-by-exception" MSG to the Master into a data compare buffer, which is a contiguous block of words starting in B3:0. This copying occurs continuously between successful MSG writes.
Sample Ladder Logic 0004 E-13 If any values differ between the first five words of B3:0 and N7:0, copy B3:0-5 into N7:0-5, and trigger the MSG (which will write N7:0-5 to the Master). Comparison Found Bit MSG Write Buffer R6:0 COP Copy File FD Source #B3:0 Dest #N7:0 Length 6 MSG Enable MG9:0 U EN 0005 0006 "Report-by-exception" write instruction to the Master.
E-14 Sample Ladder Logic MicroLogix 1000 Analog DF1 Half-Duplex Slave Report-by-Exception MSG 0000 MicroLogix 1000 Analog DF1 Half-Duplex Slave "Report-By-Exception" MSG Logic Copy all of the "live" discrete and analog values to be written as a "report-by-exception" MSG to the master into a data compare buffer, which is a contiguous block of words starting in B3:0. This copying occurs continuously between successful MSG writes.
Sample Ladder Logic E-15 The next three rungs create a data file comparison routine. This rung clears the index register (S:24) to prepare it for use in the Not Equal comparison instruction. Index Register CLR Clear Dest 0003 0004 S2:24 0< If any values differ between the first three words of B3:0 and N7:0, copy B3:0-7 into N7:0-7, trigger the MSG (which will write N7:0-7 to the Master) and jump out of the routine.
E-16 Sample Ladder Logic Logix DF1 Half-Duplex Master Standard Mode, Master-Initiated MSG Each EachMSG MSGisisassigned assignedaa"Finished" "Finished"bitbitand andaa"Disable" "Disable"bit. bit.Up Uptoto1212MSG's MSG'sare aretriggered triggeredsimultaneously, simultaneously,but butcannot cannotbeberetriggered retrigge until all enabled redMSG's until allhave enabled MSG's have completed either done or in error. After all enabled MSG's have completed, a time delay is inserted before retriggering.
Sample Ladder Logic E-17 Rungs 4-23 have been omitted. MSG to Slave #12 Message12.EN MSG to Slave #12 Message12.DN 25 MSG_Delay_Timer.DN / MSG to Slave #12 Message12.ER MSG_Delay_Timer.DN 26 MSG_Finished[0] / 27 Disable_MSG[13] / MSG to Slave #13 Message13.EN MSG to Slave #13 Message13.DN MSG_13_to_24_Trigger / MSG_13_to_24_Trigger MSG to Slave #14 Message14.DN MSG_13_to_24_Trigger MSG to Slave #15 Message15.DN 32 MSG_13_to_24_Trigger MSG to Slave #16 Message16.
E-18 37 Sample Ladder Logic MSG to Slave #18 MSG Type - PLC5 Typed Read Message Control Message18 ... Disable_MSG[18] / MSG to Slave #18 Message18.EN MSG to Slave #18 Message18.DN 38 MSG_13_to_24_Trigger / MSG to Slave #18 Message18.ER MSG_13_to_24_Trigger 39 MSG to Slave #19 Message19.EN MSG to Slave #19 Message19.DN 40 MSG_13_to_24_Trigger MSG to Slave #20 Message20.DN 42 MSG_13_to_24_Trigger MSG to Slave #21 Message21.EN MSG to Slave #21 Message21.DN 44 MSG to Slave #19 Message19.
Sample Ladder Logic E-19 Logix DF1 Half-Duplex Master Message-based Mode, Master-Initiated MSG Logix5550 DF1 Half-Duplex Master - Message-Based Mode, Master-initiated MSG Each MSG is assigned a "Finished" bit and a "Disable" bit. Up to 12 MSG's are triggered simultaneously, but cannot be retriggered retrigge until all enabled red until MSG's all have enabled completed MSG's have eithercompleted done or ineither done or in error. After error.
E-20 Sample Ladder Logic Rungs 6-23 have been omitted. 24 MSG to Slave #12 MSG Type - PLC5 Typed Read Message Control Message12 ... Disable_MSG[12] / MSG to Slave #12 Message12.EN MSG to Slave #12 Message12.DN EN DN ER MSG_Finished[12] 25 MSG to Slave #12 Message12.ER MSG_Delay_Timer.DN 26 MSG_Finished[0] / 27 Disable_MSG[13] / MSG to Slave #13 Message13.EN MSG to Slave #12 Message12.EN U label_1 JMP MSG to Slave #13 MSG Type - PLC5 Typed Read Message Control Message13 ...
Sample Ladder Logic E-21 Logix DF1 Half-Duplex Slave Report-By-Exception MSG Logix5550 DF1 Half-Duplex Slave "Report-By-Exception" MSG Logic Copy all of the "live" discrete and analog values to be written as a "report-by-exception" MSG to the Master into a data compare array. This copying occurs continuously between successful MSG writes.
E-22 Sample Ladder Logic Publication AG-UM008C-EN-P - February 2005
Glossary 1 ACK See Acknowledgment. Acknowledgment An ASCII control character that indicates the transmission and acceptance of data. Asynchronous transmission A method of serial transmission where characters may be transmitted at unequal time intervals. Asynchronous transmission requires that each character contains start/stop elements so the receiver can detect the start and end of each character. BCC Block-Check Character.
2 Glossary DSR Data-set Ready. A signal from the modem that indicates the modem is connected, powered up, and ready for data transmission. DTE Data Terminal Equipment. Equipment that is attached to a network to send or receive data, or both. Programmable controllers, workstations, and interface modules are examples of DTEs. DTR Data Terminal Ready. A signal that indicates the transmission device (terminal) is connected, powered up, and ready to transmit.
Glossary Half-Duplex Protocol 1) A mode of operation for a point-to-point or multipoint baseband link with two physical circuits in which messages or transmission blocks can be sent in one direction or the other but not both at the same time. 2) Contrasted with two-way simultaneous. The master station-to-remote station communication uses a half-duplex protocol. Handshake A series of signals between a computer (DTE) and a peripheral device (DCE; e.g.
4 Glossary Packet Radio Modem An intelligent radio modem that packetizes the data it receives from the transmitting station. The modem places a header and a trailer around the data before it transmits the data to the destination device. The header can also contain routing information. Packet radio modems also perform their own data error checking and will re-transmit the data if an error is encountered. PAD Packet assembler/disassembler.
Glossary RXD Received Data. A serialized data input to a receiving device. Remote Station A device (programmable controller with I/O modules) that is located in a remote site away from the master station and that controls I/O points at the remote site. A remote station accepts commands from and can send data (if capable) to a master station via a telemetry network. SCADA Supervisory Control and Data Acquisition Slave See remote station. Slave Protocol See Half-Duplex Protocol.
6 Glossary Notes: Publication AG-UM008C-EN-P - February 2005
Index Numerics 1747-KE 1-7, 5-1, 5-4, 5-5, 5-8, 5-11 Addressing Group size 1-7 Configuring 5-7, 5-9 SLC 5/01 and 5/02 processors with a 5-1 Error detection 5-8 Handshaking 5-8 Installing 5-2 Jumper settings 5-11 Local mode 5-8 Message retries 5-8 Modem init string 5-8, 5-10 Poll timeout 5-8 Remote mode 5-8 RTS signals 5-8 Station address 5-9 Timeout polling 5-8 SLC 5/03, 5/04, and 5/05 4-12, 4-20, 4-23, 4-28, 4-34 BCC 3-13, 3-21, 3-23, 3-28, 3-34, 4-12, 4-21, 4-23, 4-29, 4-35 definition Glossary-1 Bits
2 Index configuring SLC 5/03, 5/04, and 5/05 full-duplex station 4-28, 4-34 configuring SLC 5/03, 5/04, and 5/05 remote station 4-20, 4-23 design considerations 1-1 dial-up modems 10-2 point-to-point 2-20 communication protocols Modbus Slave RTU 3-46 Communication rate defining for 1747-KE 5-5 defining for MicroLogix 1100/1200/1500 3-28, 3-34 defining for SLC 5/03, 5/04, and 5/05 4-28, 4-34 MicroLogix 1100/1200/1500 3-13, 3-21, 3-23 SLC 5/03, 5/04, and 5/05 4-12, 4-20, 4-23 Configuring dial-up modems
Index E Embedded responses MicroLogix 1100/1200/1500 3-34 SLC 5/01 and 5/02 5-10 SLC-5/03, 5/04, and 5/05 4-35 Enhanced PLC-5 2-20, 3-18, 4-17 Active stations monitoring 2-10 Channel Status Master 2-7 Point-to-Point 2-22 Slave 2-18 Configuring 2-1 DF1 Half-Duplex Master Message-based Mode 2-11 Standard Mode 2-3 Ethernet PLC-5 processor Glossary-2 Example active station file 3-19, 4-17 MicroLogix 1100/1200/1500 controller write MSG to a PLC-5 3-42 MicroLogix 1100/1200/1500 controller write MSG to SLC 500
4 Index control symbols B-4 Half-duplex circuit Glossary-2 Half-duplex modem Glossary-2 Half-duplex protocol Glossary-3 Handshake definition Glossary-3 Hanging-up 10-7 Hardware handshaking 5-8 Hayes string 10-7 I I/O rack definition Glossary-3 Initiating a modem 10-5 Installing 1747-KE 5-2 MicroLogix cable pinouts 6-3 processor Logix 7-3 MicroLogix 1100/1200/1500 3-2 SLC 5/01 and 5/02 5-2 SLC 5/03, 5/04, and 5/05 4-2 Integrated service unit definition Glossary-3 J Jumper settings 1747-KE 5-2 L 7-12 Ma
Index Getting MicroLogix 1000 processors to accept byte offsets 6-17 MSG configuration considerations 6-16 polled report-by-exception 6-15 Micrologix messaging processor-to-processor 6-15 MicroLogix 1100/1200/1500 3-2, 3-42 Active stations, monitoring 3-18 Channel Status 3-17 Configuring Channel 0 Poll Timeout 3-25 DF1 Half-Duplex 3-11 DF1 Half-Duplex Master Message-based 3-19 Standard Mode 3-12 Minimum Channel 0 ACK Timeout 3-14 Minimum Point-to-Point MSG Block Message Timeout 3-41 Minimum Slave MSG Blo
6 Index MicroLogix 1100/1200/1500 3-37 SLC 5/01 and 5/02 5-12 SLC 5/03, 5/04 or 5/05 4-38 Multidrop link definition Glossary-3 N NAK definition Glossary-3 NAK receive retries 5-10 NAK retries MicroLogix 1100/1200/1500 3-34 SLC 5/03, 5/04 or 5/05 4-35 Node definition Glossary-3 O Octal numbering system definition Glossary-3 P Packet definition Glossary-3 Packet radio modem definition Glossary-4 PAD definition Glossary-4 Parallel port definition Glossary-4 Parity 1747-KE 5-5 MicroLogix 1100/1200/1500 3-1
Index Remote station driver MicroLogix 1100/1200/1500 3-13, 3-21, 3-23, 3-40 SLC 5/01 and 5/02 5-7 SLC 5/03, 5/04 or 5/05 4-41 SLC 5/03, 5/04, and 5/05 4-11, 4-20, 4-23 Retries MicroLogix 1100/1200/1500 3-14, 3-22, 3-24 SLC 5/03, 5/04, and 5/05 4-13, 4-21, 4-24 RS-232 Glossary-4 RSlinx 9-1 Configuring Master Station 9-1 Slave Station 9-10 RTS definition Glossary-4 RTS off delay 3-13, 3-22, 3-24, 4-13, 4-21, 4-24 RTS send delay 3-14, 3-22, 3-24, 4-13, 4-21, 4-24 RTU definition Glossary-4 RXD definition
8 Index Polled Report-by-Exception 4-37 Processor-to-Processor 4-38 Standard Polling Mode 4-40 Modems 4-3 Control Line Operation 4-5 DF1 Full-Duplex 4-5 DF1 Half-Duplex Master 4-6 DF1 Half-Duplex Slave 4-6 Dial-up 4-3 Full-Duplex 4-5 handshaking 4-5 Leased-Line 4-3 Line Drivers 4-4 Radio 4-4 SLC 5/03,5/04, and 5/05 Modems DF1 Half-Duplex 3-8, 4-6 Overview 4-2 SLC 500 1-7 SLC 500 - SLC 5/01 and 5/02 5-1 Configuring 5-3, 5-4 Installation 5-2 Installing 1747-KE 5-2 Messaging 5-11 considerations 5-12 Examples
Index 9 Publication AG-UM008C-EN-P - February 2005
Rockwell Automation Support Rockwell Automation provides technical information on the web to assist you in using our products. At http://support.rockwellautomation.com, you can find technical manuals, a knowledge base of FAQs, technical and application notes, sample code and links to software service packs, and a MySupport feature that you can customize to make the best use of these tools.