Home
FlexLogix System User Manual - Columbia Electric Supply Pasco
Contents
1. A Place the cursor over the 1794 IB16 module p Eni amp 1 17940B16 A x g FlexBus Local2 Cut B Click the right mouse button and select Properties amp 0 179412402 Paste Delete is i i Cross Reference Module Fault Pritt Properties 2 View the General tab E Module Properties Local 0 1794 IB16 A 1 1 x General Connection Module Info Configuration The screen defaults to the General tab TR 179418167 16 Point 24V DC Input Sink Vendor Allen Bradley Parent Local Name finput_module Slot fo 4 Verify that the module settings are Descition this is a local input module correct Make changes if necessary m D Comm Format Rack Optimization z Revision E Electronic Keying Compatible Module pai Click OK Status Offline Cancel Apply Help The tabs that appear depend on the type of module Important f you want to change the communication format of a module you must Publication 1794 UM001E EN P June 2003 1 12 Getting Started Viewing 1 0 tags 1 View the tags for the controller Place the cursor on the Controller Tags folder and double click The software displays the module defined tags for the I O modules you created Controller Tags quick_start controller Showa 1794 IB16 module tags py 1794 0B16 module tags p_ Local rail tags p f 1794
2. If the communications Then wire the connectors as follows do not handshake ASCII Device Controller 1 amp 3 1 D 2 RDX 2 RDX 3 TxD 3 TXD __ 4 DTR 4 DTR COMMON COMMON 6 DSR 6 DSR 7 RIS 7 RTS 8 CTS 8 CTS 2 42232 3 Attach the cable shield to both connectors and tie the cable to both connectors 4 Connect the cable to the controller and the ASCII device The following table lists the default serial port configuration settings for the ASCII protocol You specify these settings on the User Protocol tab under Controller Properties Configuring user mode This field Description Buffer size Specify the maximum size in bytes of the data array you plan to send and receive The default is 82 bytes Termination Specify the characters you will use to designate the end of a line The default characters are r and FF characters Append characters Specify the characters you will append to the end of a line The default characters are r and I XON XOFF Select whether or not to regulate the flow of incoming data The default is disabled Echo mode Select whether or not to echo data back to the device from which it was sent The default is disabled Delete mode Select Ignore CTR or Printer for the delete mode The default is Ignore Programming ASCII instructions The controller supports ASCII instructions
3. If you have an extended local DIN rail LOCAL2 or ATTENTION a split rail the modules after the 1794 CE1 CE3 cable will fault if the cable is disconnected In this case all outputs are reset regardless of the module configurations You can write logic to monitor the rack bits and take appropriate action if a fault occurs For example the following logic determines whether an error occurs on the Local rail Then the logic determines whether the error occurred at the module in slot 0 You can continue this logic to check each module on the rail Identify if a fault exists on the rack optimized local rail Locl_error NEG Not Equal Source Local SlotStatusBits 2 0000_0000_0000_0000_ Source B 0 If fault exists and it is slot 0 set slot O fault bit Locl_eror Local SlotStatusBits 0 slot0_faulted a nr Publication 1794 UM001E EN P June 2003 Chapter 4 Communicating with Devices on an EtherNet IP Link Using This Chapter For information about See page Configuring Remote 1 0 4 7 Sending Messages 4 12 Producing and Consuming Data 4 20 Guidelines for Configuring Connections 4 23 Example 1 FlexLogix Controller and Remote 0 4 23 Example 2 FlexLogix Controller to FlexLogix Controller 4 24 Example 3 FlexLogix Controller to Other Devices 4 27 Example 4 Using FlexLogix as a Bridge 4 30 Configuring Your System f
4. Publication 1794 UM001E EN P June 2003 1 4 Getting Started Changing project properties 1 View properties for Controller quick_start A Place the cursor over the Controller quick_start folder _ys B Click the right mouse button and select Properties 2 View the General tab The screen defaults to the General tab Verify that the controller settings are correct Make changes if necessary Click OK Publication 1794 UM001E EN P June 2003 g RSLogix 5000 quick_start 1794 L337A File Edit View Search Logic Communicatic Offline j m RUN No Forces b F Ok Y M BAT No Edits Ar ta Control z Controller F I PowerUp Tasks Print Ga MainTask Minor Faults Date Time Advanced File Nonvolatile Memory General SerialPort System Protocol User Protocol Major Faults Vendor Allen Bradley Type 1794 L33 4 FlexLogix5433 Controller Change Type Name m Description Hassis Tipe none Sigt 0 Revision 10 1 henge Hevision Cancel ppl Help Getting Started 1 5 Adding a local input module 1 Create a new module File Edit View Search Logic Communications i EN Offline Lf No Forces fp No Edits E Controller quick_start A Controller Tags E Controller Fault Handler CS Power Up Handler E Tasks 5a MainTask E E MainProgram A Program Ta
5. Flex1 1 1 2 XXX XXX XXX XXX 1 0 a a j Flex2 workstation 1 1 2 XXX XXX XXX XXX 1 0 XXX XXX XXX XXX is the IP address XXX XXX XXX XXX is the IP address Publication 1794 UM001E EN P June 2003 Example 2 Sending a MSG instruction To send a MSG from Flex1 to Flex2 1 For Flex1 create a controller scoped tag and select the MESSAGE data type 2 Enter a MSG instruction Communicating with Devices on an EtherNet IP Link 4 25 In this example logic a message is sent when a specific condition is met When count_send is set send count_msg count_send count_msg en MSG J H 4 F Type Unconfigured CEND Message Control count _msg lt DN gt CERD 3 Configure the MSG instruction On the Configuration tab For this item Specify Message Type CIP Data Table Read or CIP Data Table Write Source Tag Tag containing the data to be transferred Number of Elements Number of array elements to transfer Destination Tag Tag to which the data will be transferred 4 On the Communication tab specify the communication path A communication path requires pairs of numbers The first number in the pair identifies the port from which the message exits The second number in the pair designates the node address of the next device For this item Specify Communication Path 1 1 2 XXX XXX XXX XXX 1 0 where 1 is the FlexLogix backplane of Flex1 1 is 1788
6. ControiNet PLC 5 controller FlexLogix controller PLC5C1 Flex2 Example 3 Sending MSG instructions You configure a MSG instruction to a Logix5550 controller the same as you do for a FlexLogix controller All Logix based controllers follow the same MSG configuration requirements See Example 2 above Configuring a MSG instruction for a PLC 5 controller depends on the originating controller For MSG instructions originating from the FlexLogix controller to the ControlNet PLC 5 controller Source Destination any integer element such as B3 0 SINT INT or DINT tag T4 0 ACC C5 0 ACC N7 0 etc any floating point element such as F8 0 REAL tag PD10 0 SP etc Publication 1794 UM001E EN P June 2003 5 28 Communicating with Devices on a ControlNet Link Type of Logix MSG instruction Typed Write Source SINT or INT tag Destination any integer element such as B3 0 T4 0 ACC C5 0 ACC N7 0 etc REAL tag any floating point element such as F8 0 PD10 0 SP etc Word Range Read any data type such as B3 0 14 0 C5 0 R6 0 N7 0 F8 0 etc SINT INT DINT or REAL Word Range Write Type of MSG Instruction PLC 5 writes to FlexLogix PLC 5 reads from FlexLogix SINT INT DINT or REAL any data type such as B3 0 14 0 C5 0 R6 0 N7 0 F8 0 etc The PLC 5 controller supports logical ASCII addressing so you do not have to map a compatibility file for
7. Configured Drivers i ke _Name and Description m Available Driver Types Allen Bradley 1784 KT Ci devices Se Close Help Pontiaure Ethernet Startup Start PELL Ee The installation instructions for the communications daughtercard should identify which communication driver to install 2 Specify the appropriate settings For example If you are using this device 1784 KTCx card Specify this information memory address which must match the switch setting on the card 1 0 base address which must match the switch setting on the card ControlNet node address 1784 PCC card ControlNet node address MAC ID 1784 PCIC card ControlNet node address MAC ID Publication 1794 UM001E EN P June 2003 5 4 Communicating with Devices on a ControlNet Link Step 3 Configure the daughtercard as part of the system Use RSLogix 5000 programming software to map the 1788 CNx communication daughtercard as part of the FlexLogix system In the Controller Organizer add the communication daughtercard to the I O Configuration folder 1 In RSLogix 5000 programming software select the 1 0 Configuration folder 2 Right click to select New Module and add a 1788 CNx communication daughtercard 3 Specify the appropriate communication daughtercard settings f RSLogix 5000 quick_start 1794 L33 File Edit View Search Logic Communicati aljaj S alle lt
8. Cancel Help M Analog M Digital Click OK continued Publication 1794 UM001E EN P June 2003 1 10 Getting Started Adding a extended local analog module continued 3 Identify the analog module These screens are specific to the 1794 IF2XOF2I analog module Module Properties Local2 1794 IF2XOF217A 1 1 x Type 1794 1F2 lt OF 21 4 2 Input 2 Output 24V DC Isolated Analog Vendor Allen Bradley You should enter a name Parent Local2 al Name analog module Slot 0 a i i iption this is an extended local analog 2 Describe the module optional gy Description a a Select the communication format Comm Format Data sy Specify electronic keying ye Bevision f Electronic Keying Compatible Module Click Next Cancel Bac Next gt Help 4 Use the Create wizard to configure the output module Use default values for this example If you do not want to go through each screen in the Create wizard click Module Properties Local2 0 1794 IF2XOF21 A 1 1 x Requested Packet Interval RPI 5 4 ms Module Properties Local2 0 1794 IF2X0F217A 1 1 TM Identification m Status Moc Vendor Fault Podu Module Properties Local2 0 1794 IF2XOF21 A 1 1 x Produc Revisic Communication Fault Behavior Reset Outputs x Program Mc afer Ca airy rae Melee at OO rs ood od es G x R Channel
9. I Produce this tag for up to E consumers Each produced tags requires one connection for the producing controller and an additional connection for each consuming controller Each consumed tag requires one connection Publication 1794 UM001E EN P June 2003 Communicating with Devices on an EtherNet IP Link 4 27 Example 2 Total connections required by Flex1 The following table calculates the connections used in this example Connection Amount Flex1 controller to 3 local 1 0 modules rack optimized connection for the DIN rail 1 direct connection for each I O module 3 Flex1 controller to local 1788 ENBT 0 Flex1 controller to remote 1788 ENBT 0 connected cached MSG from Flex1 to Flex2 produced TagA produced from Flex1 to Flex2 other consumer 2 are configured consumed TagB total connections used 8 If you configured the local I O modules as rack optimized you would only need the DIN rail connection to the I O modules reducing the above example by 3 connections Example 3 FlexLogix In the following example one FlexLogix controller communicates with a Logix5550 controller and an Ethernet PLC 5 controller Controller to Other Devices piner Nesir Distributed control with a ControlLogix controller as the ControlLogix controller coordinating controller Contro
10. 10 4 FlexLogix Back Up on DeviceNet Power Up and System Start up Publication 1794 UM001E EN P June 2003 To configure a FlexLogix Back up system on DeviceNet you can take the following steps Some of these steps are described in greater detail in the rest of the appendix 1 Install all I O and operator interfaces that you need to back up on DeviceNet We recommend that you reserve node addresses 0 and 1 for the two FlexLogix controllers used in the back up If you do not use 0 and 1 make sure you reserve two consecutive numbers for the controllers when you install I O and other devices on DeviceNet Connect a FlexLogix controller with a 1788 DNBO scanner to the DeviceNet network Set the controller node address to 0 or the lower of the 2 node addresses reserved for the FlexLogix controllers Power up the controller and the network Use RSNetWorx for DeviceNet to download the network s scanlist to the 1788 DNBO card You can use either a scanlist from a new configuration or previously used configuration If the scanlist is a new configuration we recommend you save it to a new project for later use Use RSLogix5000 software to download the appropriate user program to the FlexLogix controller The program should contain the explicit message s that enable the back up feature for this controller and scanner The messages are described in the Developing the FlexLogix Back Up Application section
11. Category input voltage rating nominal range FlexLogix System Specifications A 5 FlexLogix extended local 1 0 adapter 1794 FLA 24V de 19 2V to 31 2V de includes 5 ac ripple isolation voltage continuous voltage withstand rating 30V de Qualification tested to withstand 850V dc for 60 seconds input maximum current 0 39A maximum at 19 2V de 0 25A maximum at 24V de input maximum power 7 5W maximum at 19 2V 6 0W maximum at 24V de backplane FLEXBUS current output 653mA maximum 5 1V de thermal dissipation 25 6BTU hour 19 2V operating temperature IEC 60068 2 1 Test Ad Operating Cold IEC 60068 2 2 Test Bd Operating Dry Heat IEC 60068 2 14 Test Nb Operating Thermal Shock 0 to 60 C 32 to 140 F storage temperature IEC 60068 2 1 Test Ab Un packaged Non operating Cold IEC 60068 2 2 Test Bb Un packaged Non operating Dry Heat IEC 60068 2 14 Test Na Un packaged Non operating Thermal Shock 40 to 85 C 40 to 185 F relative humidity IEC 60068 2 30 Test Db Un packaged Non operating Damp Heat 5 to 95 non condensing vibration IEC60068 2 6 Test Fc Operating 5g 10 500Hz shock IEC60068 2 27 Test Ea Unpackaged shock ES 002 Operating 30g Non operating 50g emissions CISPR 11 Group 1 Class A with appropriate enclosure ESD immunity IEC 61000 4 2 6kV contact discharges 8kV air dischar
12. Publication 1794 UM001E EN P June 2003 Getting Started 1 17 Downloading a project 1 2 3 4 4 Make a serial connection from the workstation to the controller JOJO a Emi q N 8 88 o Smu O Configure an RSLinx communication driver A In RSLinx software select Communication gt Configure Driver B From the Available Driver Types list select RS 232 DF1 Devices and click Add New C Select the Logix5550 serial port and specify the COM port Click Autoconfigure to have the software determine the remaining serial settings Turn the controller s keyswitch to PROG and then back to REM a E UU Le o Q amar o EEA E O Read O fo S ainni l Download the project from the Communications menu A In RSLogix5000 software select Communication gt Who Active B Expand the DF1 network and select your controller C Click Download Confirm the download when prompted Place the controller in Remote Run mode Configure Drivers Close Help Available Drivers DeviceNet Drivers Device Name AB_DF1 5 Remote Devices via Linx Gateway SoftLogixS ConmPor com Z Device IESE 1784 PCMK 1784 KT KTX DVPKTX D Baud Rate 19200 7 piston Nembe JEn
13. Publication 1794 UM001E EN P June 2003 where This address variable Location Is Identifies network location LOCAL local DIN rail or chassis LOCAL2 extended local DIN rail ADAPTER_NAME identifies remote adapter or bridge SlotNumber Slot number of I O module in its chassis Type Type of data input O output C configuration S status MemberName Specific data from the I O module depends on the type of data the module can store For example Data and Fault are possible fields of data for an 1 0 module Data is the common name for values the are sent to or received from 1 0 points SubMemberName Specific data related to a MemberName Bit optional Specific point on the I O module depends on the size of the 1 0 module 0 31 for a 32 point module Placing and Configuring Local 1 0 3 19 The following examples show addresses for data in a FlexLogix system EXAMPLE I O module on the local DIN rail LOCAL LOCAL2 Sample tag names for this example Location Example Tag Name input module in slot 0 of LOCAL Local 0 Data Local 0 1 Fault output module in slot 1 of LOCAL Local 1 C SSData Local 1 1 Fault Local 1 0 Data input module in slot 0 of LOCAL2 Local2 0 1 Data Local2 0 1 Fault output module in slot 4 o
14. Type of MSG Instruction PLC 5 writes to FlexLogix SLC writes to FlexLogix SLC 5 05 SLC 5 04 0S402 and above SLC 5 03 0 303 and above Communicating with Devices on an EtherNet IP Link 4 19 The following table shows example source and destination tags and elements for different controller combinations Example Source and Destination source element N7 10 destination tag array_1 The PLC 5 PLC 3 and SLC controllers support logical ASCII addressing so you do not have to map a compatibility file for MSG instructions initiated by a PLC 5 PLC 3 or SLC controller Place the FlexLogix tag name in double quotes You could optionally map a compatibility file For example if you enter 70 for the compatibility file you enter 70 0 for the destination tag U LC 2 writes to FlexLogix PLC 5 reads from FlexLogix SLC reads from FlexLogix LC 5 05 LC 5 04 0S402 and above am SLC 5 03 0 303 and above source element 010 destination tag 200 The destination tag is the three digit PLC 2 address you specified for PLC 2 mapping source tag array_1 destination element N7 10 The PLC 5 PLC 3 and SLC controllers support logical ASCII addressing so you do not have to map a compatibility file for MSG instructions initiated by a PLC 5 PLC 3 or SLC controller Place the FlexLogix tag name in double quotes You could optionally map a compatibility file For example if you enter 70 for the compatibility
15. e FlexLogix controller that supports the Logix instructions e RSLogix 5000 programming software that supports every Logix controller e FLEX I O modules that provide a compact DIN rail mounted T O system e 1788 communication daughtercard that provides communication over a standards based ControlNet DeviceNet or EtherNet IP network The controller allows the insertion of daughtercards for up to 2 networks e g one for DeviceNet and one for EtherNet IP 1788 communication daughtercard installs directly in the FlexLogix controller The FlexLogix controller supports FLEX 1 0 modules The FlexLogix extended local adapter allows a second DIN rail for FLEX 1 0 modules The same RSLogix5000 programming software supports program development for all Logix controllers Publication 1794 UM001E EN P June 2003 2 2 What Is FlexLogix Developing Programs The controller operating system is a preemptive multitasking system that is IEC 1131 3 compliant This environment provides e tasks to configure controller execution e programs to group data and logic e routines to encapsulate executable code written in a single programming language control application controller fault handler task 8 t
16. June 2003 Table of Contents 2 Placing and Configuring Local 1 0 Communicating with Devices on an EtherNet IP Link Publication 1794 UM001E EN P June 2003 Chapter 3 Using This Chapter 5 6 25 oat hee oh st toed aoe Oven ot EM AOR 3 1 Selecting a Power Supply 1445s ere ea eos eee ew ee 3 2 1794 FLEX power supplies 00 00 0000 3 2 Power requirements and transformer sizing 3 3 Planning the DIN Railsccchu 2 67e ain ie eed 88 4 eee She 3 4 Dividing I O Modules Across DIN Rails 3 5 Placing Local I O Modules wd bee Pht hea 3 6 Determining When the Controller Updates I O 3 7 Configuring a DIN Rails 234 46 42h 284 hk ee RSPes BER BS 3 9 Configuring Local I O Modules 4 3 10 Electronic keying a Fey 3 4 io sk dpi hen donde ke Rt woh dance went 3 11 Communication formats xv 5 Ox 4 48 Ge BK eee SS 3 12 Inhibiting I O Module Operation 4 3 14 Accessing I O Datars baad Gets once dea ed ala des ae Sees 3 17 Using aliases to simplify tag names 3 20 Monitoring I O Modules 5 4 hk eee hoe em OAPI 3 20 Configuring the module s response to a connection failure i cP hace Gt aOR ek RGF Peek ER 3 20 Monitoring an I O module 43 usaie nb es eee eohaiew 3 3 21 Monitoring a rack optimized connection 3 22 Chapter 4 Using This Chapter iss isaasun an Da Galen oe ae 4 1 Configuring Your System for a EtherNet IP Link 4 1
17. Octal Parity None hd Error Checking BCC ba Stop Bits 1 X Protocol FullDuplex Auto Configure I Use Modem Dialer Configure Allen Bradley DF1 Communications Device l Cancel rae ta Help o Who Active Select Controller olx J7 Autobrowse E E Workstation M49984 EDON Linx Gateways Ethemet ERAB DF1 1 DFI mom as AB_KTC 1 ControlNet Do fen Recent Epp Close Help Curent Path AB_DF1 1 M epp curent keth to Eroject Path in Project AB_DF1 1 1 Publication 1794 UM001E EN P June 2003 1 18 Getting Started Viewing program scan time 1 View properties for the MainProgram A Place the cursor over the MainProgram folder __ gt B Click the right mouse button and select Properties 2 Select the Configuration tab The Configuration tab displays the maximum and last scan times for the program Publication 1794 UM001E EN P June 2003 f RSLogix 5000 quick_start 1794 L33 A File Edit View Search Logic Communications Tools Ww Offline fl RUN No Forces b m Ok No Edits a ou A i E Controller quick_start A Controller Tags E Controller Fault Handler CI Power Up Handler E Tasks 38 MainT ask aS Pr New Routine Ae nschedu E Motion Groups d ASE C Ungroupec E Trends amp Data Types Gi User Defin ER Strings STRIN ce Of Predefinec 4 Module De E 1 0 Contigurati gm
18. 3 Specify the slot number 1 or 2 where you installed Vendor Allen Bradley the communication daughtercard Name feneteard ff a Description z Revision m fi Electronic Keying Compatible Module z Cancel Back Next gt L Erin Help Publication 1794 UM001E EN P June 2003 5 6 Communicating with Devices on a ControlNet Link 3 In the Controller Organizer select the local 1788 CNx communication daughtercard you just added Add and configure the remote communication module 1794 ACN15 in this example 4 Specify the appropriate communication module settings i RSLogix 5000 quick_start 1794 L33 A Select Module Type x File Edit View Search Logic Communications I Major Revision er e Type aek S cele EN i734acni5 c b H Description 1788 CN2DN 1788 ControlNet to DeviceNet Linking Device 1788 CNC74 1788 ControlNet Bridge Coax Media 1 788 CNCR A 1788 ControlNet Bridge Redundant Coax Media 1 788 CNF A 1788 ControlNet Bridge Fiber Media 1 788 CNFR ZA 1788 ControlNet Bridge Redundant Fiber Media g 5 1794 ControlNet Adapter 1794 ACNR15 C 1794 ControlNet Adapter Redundant Media 1797 ACNR15 C 1797 ControlNet Adapter Redundant Media CONTROLNET MODULE Generic ControlNet Module FlexPak 3000 FlexPak 3000 DC Drive Gv3000 GY3000 AC Drive a MainT ask 2 a MainProgram A Program Tags ER MainRoutine 3 Unscheduled Programs Motion Groups 3 Ungrou
19. Compatible Module Disable Keying Cancel Bac Next gt Finish gt gt Help Keying Description compatible module The module must be compatible with the software configuration These characteristics must match e module type e catalog number disable keying No attributes of the software or hardware are required to match Publication 1794 UM001E EN P June 2003 3 12 Placing and Configuring Local 0 Publication 1794 UM001E EN P June 2003 ATTENTION Ifa module is configured for a direct connection changing the RPI and electronic keying selections can cause the connection to the module to be broken and may result in loss of data Be cautious when using the disable keying option If used incorrectly this option can lead to personal injury death property damage or economic loss Communication formats The communication format determines the data structure the I O module uses as well as the type of connection made to the module and the controller ownership of the module Many I O modules support different formats Each format supports a different data structure You select the communications format when you configure the I O module Module Properties Local 1794 IB167A 1 1 xi Type 1794 1B16 4 16 Point 24V DC Input Sink Vendor Allen Bradley Parent Local Name Description Comm Format Revision Rack Optimization Cancel Back Next gt L Erin He
20. Controlling remote devices This example has Flex1 controlling the I O connected to the remote 1794 AENT module The data the FlexLogix controller receives from the remote I O modules depends on how you configure the remote I O modules You can configure each module as a direct connection or as rack optimized One chassis can have a combination of some modules configured as a direct connection and others as rack optimized Publication 1794 UM001E EN P June 2003 4 24 Communicating with Devices on an EtherNet IP Link Example 2 FlexLogix Controller to FlexLogix Controller Distributed control Example 1 Total connections required by Flex1 The following table calculates the connections used in this example Connection Amount Flex1 controller to 3 local 1 0 modules rack optimized connection for the DIN rail 1 direct connection for each I O module 3 Flex1 controller to remote 1794 AENT 1 Flex1 to 4 remote 1 0 modules through 1794 AENT 4 all 1 0 modules configured as direct connection no connection to the 1794 AENT total connections used 9 If you configured the remote I O modules as rack optimized you would only need a rack optimized connection to the 1794 AENT reducing the above example by 3 connections In the following example one FlexLogix controller communicates with another FlexLogix controller over EtherNet IP Each FlexLogix controller has its own local I O EtherNet IP
21. For information about See page Configuring Your System for a Third Party Link 9 1 For the FlexLogix controller to operate on a third party network you need e a 1788 MODULE generic module communication daughtercard e RSLogix5000 programming software Version 12 or later to configure the 1788 MODULE card as part of the FlexLogix system e Software that configures the 1788 MODULE card on the third party network Figure 9 1 shows an example system on third party link Figure 9 1 FlexLogix controller with 1788 MODULE generic module communications card Other devices ir Sensor Motor Pushbutton starter E J di I Ss Bar code 43512 1 0 devices Indicator scanner lights Publication 1794 UM001E EN P June 2003 9 2 Communicating with Devices on a Third Party Link Publication 1794 UM001E EN P June 2003 Step 1 Install the hardware Before you can connect the FlexLogix system to the third party network you must configure the 1788 MODULE communication card and make sure it is properly installed in the FlexLogix controller slot 1 slot 2 Remember which slot you use for which communication card You ll need the slot number to configure the communication card in the RSLogix 5000 programming software The controller uses slot 0 Step 2 Configure the daughtercard as part of the system Use RSLogix 5000 pro
22. June 2003 RS 485 port t gt gt baud rate selector switch gt port 1 DB 9 RS 232 DTE Step 1 Configure the hardware The RS 232 port is a non isolated serial port built in to the front of the FlexLogix controller The RS 232 port supports the requirements you need for the DH 485 network connection Connect the controller to an RS 232 to RS 485 isolator One possible isolator is the 1761 NET AIC interface converter a port 2 mini DIN 8 RS 232 AUTO 600 19200 1200 2 14400 2400 9600 4800 Otx PWRO N IIO DC SOURCE CABLE oooo ooooo lt 4 dc power source selector switch EXTERNAL Vo LS lt q terminals for external 24V dc power supply Connect the serial port of the FlexLogix controller to either port 1 or port 2 of the 176 NET AIC converter Use the RS 485 port to connect the converter to the DH 485 network The cable you use to connect the controller depends on the port you use on the 1761 NET AIC converter If you connect to this port Use this cable port 1 1747 CP3 DB 9 RS 232 DTE connection or 1761 CBL ACOO port 2 1761 CBL APO0 mini DIN 8 RS 232 connection or 1761 CBL PM02 Communicating with Devices on a DH 485 Link 8 3 Step 2 Configure the DH 485 port of the controller 1 In RSLogix 5000 programming software select the
23. June 2003 System requirements for using the linking device If you want to use the linking device to connect to DeviceNet you need e a 1788 CN2DN ControlNet to DeviceNet linking device As a bridge the 1788 CN2DN device routes I O and messaging data with a 5 ms delay As a ControlNet device it offers a 2ms network update time As a DeviceNet device it provides full DeviceNet DML Scanner compatibility e a 1788 CNx communication card installed in the FlexLogix communication slot for the ControlNet network e RSLogix5000 programming software to configure the 1788 CN2DN device as part of the FlexLogix system e RSNetWorx for ControlNet software to configure the 1788 CN2DN device on the ControlNet network e RSNetWorx for DeviceNet software to configure the 1788 CN2DN device on the DeviceNet network Placing DeviceNet devices The 1788 CN2DN device supports a maximum of e 124 32 bit words of input data e 123 32 bit words of output data e 32 32 bit words of status data How you configure the DeviceNet devices determines how many words you use per device Most DeviceNet devices support 16 bit words Take care how you map these into the 32 bit words used in RSLogix 5000 programming software RSNetWorx for DeviceNet lets you DINT align the device data While this might simplify the organization of the data it might also limit the data you have available Chapter Using This Chapter Configuring Your System for a Seria
24. Upload from Scanner FF lDevioe Type M Vendor Download to Scanner Product Code z F Mai Edit 1 0 Parameters fis Publication 1794 UM001E EN P June 2003 Communicating with Devices on a DeviceNet Link 6 5 Placing DeviceNet Devices Use RSNetWorx for DeviceNet to configure a scanlist for the I 1788 DNBO card The scanlist and the associated input output data tables set up the data you want the controller to send to and receive from the card 1 In RSNetWorx software go online enable edits and survey the network 1794ADN 1788 DNBO 1761 NET DN 1794ADN DeviceNet 65 Device Net Device Net 2 Double click the 1788 DNBO card and use the Module tab to configure the card Upload the network information when prompted Scanner Configuration Applet Ea 1788 DNBO 5 71x 5 s a General Module Scanlist 0 ADR S 2 Do you want to upload the configuration from the device updating the l edule l nout uput ummary software s configuration or download the software s configuration to the device updating the device W 1788 DNB0 For more information press F1 Name 1788 DNBO 5 Description Upload Download Address 2 Device Identity Primary Vendo Rockwell Automation Allen Bradley 1 Device Communication Adapter Product fi7eDNBOI S Catalog fi 788 DNBO Revision fo KJ Cancel Apply Help 3 Use the ScanList tab to define the sc
25. adding 1 7 P placing local modules 3 6 priority 2 3 produced consumed tag overview 4 20 5 17 program defining 2 5 developing 2 2 project creating 1 3 developing 2 2 downloading 1 17 program 2 5 properties 1 4 routine 2 5 task 2 3 rack optimized 1 0 add FLEX I O adapter to 0 configuration 4 8 add local ENBT module to 1 0 configuration 4 7 remote devices accessing over ControlNet 5 7 accessing over DeviceNet 6 7 accessing over EtherNet IP 4 9 configuring over ControlNet 5 5 configuring over EtherNet IP 4 7 replace the battery how B 3 when B 1 Publication 1794 UM001E EN P June 2003 routine defining 2 5 RSLinx communication drivers 4 3 4 5 AB_ETH driver 4 3 4 5 S scan list 6 4 scan time 1 18 schedule network 5 10 serial ASCII protocol 7 15 cables A 8 communication driver 7 8 configuring the port 7 5 configuring the system 7 1 hardware 7 1 master 7 12 overview 7 1 point to point 7 9 slave 7 12 slave master communication 7 11 specifications A 1 splitting the DIN rail 3 5 store batteries B 1 T tag alias 3 20 consuming 4 22 5 20 creating 1 13 names 3 17 produced consumed overview 4 20 5 17 producing 4 21 5 19 sample alias 1 14 viewing 1 12 task defining 2 3 priority 2 3 V viewing controller memory usage 1 19 I O tags 1 12 scan time 1 18 How Are We Doing PANE Your comments on our technical publications will help us serve you better in the future Thank you for ta
26. for FLEX 1 0 Ethernet PLC 5 controller 32 128 MSG instructions are unscheduled The type of MSG determines whether or not it requires a connection If the MSG instruction requires a connection it opens the needed connection when it is executed You can configure the MSG instruction to keep the connection open cache or to close it after sending the message This type of message And this communication method Uses a connection CIP data table read or write X PLC2 PLC3 PLC5 or SLC all types CIP CIP with Source ID DH X CIP generic CIP Optional block transfer read or write X 1 You can connect CIP generic messages but for most applications we recommend you leave CIP generic messages unconnected Publication 1794 UM001E EN P June 2003 Communicating with Devices on an EtherNet IP Link 4 13 Connected messages are unscheduled connections on EtherNet IP If a MSG instruction uses a connection you have the option to leave the connection open cache or close the connection when the message is done transmitting If you Then Cache the connection The connection stays open after the MSG instruction is done This optimizes execution time Opening a connection each time the message executes increases execution time Do not cache the The connection closes after the MSG instruction is done This connection frees up that connection for other uses The controller has the following limits on the n
27. 1 56 Ibs oz 1794 L34 75 g 1 66 lbs no communication cards installed power supply a Publication 1794 UM001E EN P June 2003 1794 PS3 or 1794 PS13 In applications that must be compliant with CSA requirements use a Separated Extra Low Voltage SELV power supply that is compliant with IEC 61010 1 Annex H Category power conductors FlexLogix System Specifications A 3 FlexLogix controller 1794 L33 L34 60 C 140 F minimum copper 22 12 AWG 4 mm stranded 3 64 inch 1 2mm insulation maximum length 10m or less category 32 power connector torque 5 7 inch pounds battery 1756 BA1 AB part number 94194801 0 59g lithium serial cable 1761 CBLPM02 to 1761 NET AIC isolator 1761 CBLPAOO to 1761 NET AIC isolator 1756 CP3 directly to controller 1747 CP3 directly to controller category 32 extended local 1 0 cable 1794 CE1 cable 1 foot 1794 CE3 cable 3 feet category 32 DIN rail steel 35 x 7 55mm DIN rail A B part number 199 DR1 46277 3 EN 50022 Publication 1794 UM001E EN P June 2003 A 4 FlexLogix System Specifications Category FlexLogix controller Certifications UL when product is marked CSA CSA ces C Tick EEx 3 1794 L33 L34 UL Listed Industrial Control Equipment CSA Certified Process Control Equipment CSA Certified Process Control Equipment for Class Division 2 Group A B C D Hazardous Locati
28. 1756 A10 A oO 2 OO Anani Annaa diz FlexLogix System FlexLogix System 17B4 KTCX15 ELICE m Kid a ae gt Offline A 2 Specify the network update time NUT ControlNet 2 RSNetWorx Network Edit View Selection Help I Edits Enabled Pending Pending Current Pending Current Optimized Edits Merged Edits Network Update Time ms 5 00 5 00 Avg Scheduled Band 41 82 41 82 41 82 Unscheduled Bytes Per Sec 330353 330353 Peak Scheduled Band 42 67 42 67 42 67 The default NUT is 5ms The NUT you specify must be lower than or equal to the lowest RPI in your ControlNet network The RPI numbers for the local and extended local DIN rails do not affect the network NUT 3 After you specify the NUT save and re write the schedule for all connections Save Configuration 2 x C Merge changes into existing schedule Every device on the network must be in Program or Remote Program mode for the software to re write all its connections If a device is not in the correct mode the software prompts you to let it change the device s mode Publication 1794 UM001E EN P June 2003 Communicating with Devices on a ControlNet Link 5 11 Sending Messages The FlexLogix controller can send MSG instructions to other controllers over a ControlNet link Each MSG instruction requires you to specify a target
29. 3 UL Listed Industrial Control Equipment CSA Certified Process Control Equipment CSA Certified Process Control Equipment for Class Division 2 Group A B C D Hazardous Locations European Union 89 336 EEC EMC Directive compliant with EN 50081 2 Industrial Emissions EN 50082 2 Industrial Immunity EN 61326 Meas Control Lab Industrial Requirements EN 61000 6 2 Industrial Immunity Australian Radiocommunications Act compliant with AS NZS 2064 Industrial Emissions European Union 94 9 EEC ATEX Directive compliant with EN 50021 Potentially Explosive Atmospheres Protection n To maintain these vibration and shock specifications you must use DIN rail locks 2 See the Product Certification link at www ab com for Declarations of Conformity Certificates and other certification details Publication 1794 UM001E EN P June 2003 A 8 FlexLogix System Specifications 1756 BA1 Battery The FlexLogix controller uses the 1756 BA1 battery Battery 1756 BA1 0 59g lithium Attach label here This jumper is for service use only Do not use this jumper Attach battery here top red lead middle black lead bottom no connection FlexLogix Controller The RS 232 port is a non isolated serial port built in to the front of the controller Serial Cables o E serial port p q z aE D w To connect to the serial port deter
30. 5 oa a JI lal A aE N 3 m 3 2 Jo X o L 7 by a A Jumper Example FlexLogix In the aol a both a Ao o and a ControlLogix controller use its own 1701 NET IAC converter to Controller ControlLogix connect to a DH 485 network In addition an SLC 5 03 controller uses Controller and SLC a 1761 NET AIC converter to connect to the same DH 485 network Controller on the Same DH 485 Network fe Fl FlexLogix controller ca j a t connection from FlexLogix controller to port 1 or port 2 a ControlLogix controller 1761 CBL APOO or 761 CBL PM02 port 2 1747 CP3 or Rs 4 1761 CBL ACOO F f port 1 connection from ControlLogix controller to port 1 or port 2 1761 NET AIC 1761 CBL APOO or 1761 CBL PM02 1747 CP3 or lt 1761 CBL AC00 1761 NET AIC DH 485 network F 1747 AIC i SLC 5 03 controller On the DH 485 network the FlexLogix controller can send and receive messages to and from other controllers on the network Publication 1794 UM001E EN P June 2003 8 10 Communicating with Devices on a DH 485 Link Notes Publication 1794 UM001E EN P June 2003 Chapter 9 Using This Chapter Configuring Your System for a Third Party Link Third party network Communicating with Devices ona Third Party Link
31. Controller folder Right click to select Properties 2 On the System Protocol tab specify the appropriate serial communication configuration fs RSLogix 5000 quick_start 1794 L33 f Controller Properties quick_start of x File Edit View Search Logic Communical Minor Faults Date Time Advanced File Nonvolatile Memory General Serial Port System Protocol User Protocol Major Faults Offline D m RUN r Error Detection No Forces gt OK Erctocat CRC ae E BAT l i 5 Station Address 0 No Edits 2 To iol h Max Station Address 131 st Token Hold Factor 1 A Controller Tags Verify z Controller Fault F Print I Power Up Hand __ E Tasks A A MainTask Cancel Apply Help 3 On the Serial Port tab specify the appropriate communication settings Minor Faults Date Time Advanced File Nonvolatile Memory General Serial Port System Protocol User Protocol Major Faults The grayed out settings are selections Mode System ain that do not apply to a DH 485 network Baud Rate ison Data Bits b z Parity None 7 Stop Bits A Control Line No Handshake continuous Carner BTS Send Delay 7 20 ms RTS Off Delay 0 H20ms Cancel Apply Help Publication 1794 UM001E EN P June 2003 8 4 Communicating with Devices on a DH 485 Link Specify these characteristics on the
32. DeviceNet S monon i f Publication 1794 UM001E EN P June 2003 fe FlexLogix Back Up on DeviceNet 10 3 Requirements of the Back Up The FlexLogix Back Up on DeviceNet solution requires that you use the following e RSLogix 5000 version 10 or higher e 2 FlexLogix controllers firmware revision 10 x or higher e 2 1788 DNBO communication cards firmware revision 2 x or higher Mattei Manoy applications use multiple communications cards in a FlexLogix controller to communicate with several networks This solution requires the software and FlexLogix controllers use version 10 x or higher However if you are using the 1788 ENBT card in your application remember that you must use software and FlexLogix controllers of version 11 x or higher Additional requirements are as follows e When setting up the DeviceNet network you must set the primary and secondary 1788 DNBO cards to the same node address and reserve the next node address We recommend you set the primary and secondary 1788 DNBO node addresses to 0 and reserve node 1 However you can use any successive node numbers e g 30 and 31 e All I O and operator interfaces that required back up must be on DeviceNet e The scanlists in the two DeviceNet scanner must be identical Publication 1794 UM001E EN P June 2003
33. MSG instructions initiated by a PLC 5 controller Place the FlexLogix tag name in double quotes Example Source and Destination source element N7 10 destination tag array_1 source tag array_1 destination element N7 10 Publication 1794 UM001E EN P June 2003 Communicating with Devices on a ControlNet Link 5 29 Example 3 Producing and consuming tags You can produce and consume tags with any Logix controller the same as you do with a FlexLogix controller All Logix controllers follow the same requirements for producing and consuming tags See Example 2 above Producing and consuming tags with a ControlNet PLC 5 controller depends on the type of data ControlLogix controller Control1 ControlNet Cf a SelM a g 4 E a a o5 W E 3 7 Flex1 Ce J FlexLogix controller TagA DINT ControlNet PLC 5 controller Flex2 TagB REAL PLC5C1 Producing a tag to a ControlNet PLC 5 controller To produce a tag that a ControlNet PLC 5 controller can consume 1 Determine the type of data to produce If And you are producing Then INT na A Create a user defined data type that contains an array of INTs with an even number of elements such as INT 2 When you produce INTs you must produce two or more B Create a produced tag and select the user defined data type you created DINT or REAL Only one DINT or REAL value Create a pro
34. Step 1 Configure the hardware n nanana aana 4 2 Step 2 Configuring the AB_ETH Driver 4 3 Step 3 Configure the daughtercard as part of the system 4 6 Configuring Remote I O aoaaa ow Gee eggs aaa Rete Hae 4 7 Add the FLEX I O Ethernet Adapter to the I O Configuration aig pi ore a ka Hee ee ht ne 4 7 Add FLEX I O Modules to the I O Configuration 4 8 ACCESSING remote Os ed a beh geht don PE wy AA Ging ES 4 9 Sending Messages tae ewan et dee eee a eee el 4 12 Communicating with another Logix based controller 4 14 Communicating with other controllers over EtherNet IP 4 15 Mapping addresses icc Pete nd eb eee eed end 4 18 Producing and Consuming Data 4 20 Maximum number of produced and consumed tags 4 20 Size limit of a produced or consumed tag 4 21 Producin AAG oea a to tang andl Ale oad Gait Se ed Geta wlan See 8 4 21 Cons ming AAO ate ies ae i BR RS 4 22 Guidelines for Configuring Connections 4 23 Communicating with Devices ona ControlNet Link Table of Contents 3 Example 1 FlexLogix Controller and Remote I O 4 23 Example 1 Controlling remote devices 4 23 Example 1 Total connections required by Flex 4 24 Example 2 FlexLogix Controller to FlexLogix Controller 4 24 Example 2 Sending a MSG instruction 4 24 Example 2 Producing and consuming tags 4 26 Example 2 Total connections required by Fl
35. all devices flashing green One or more devices are not responding LOCAL off The rail is inhibited Hane solid green The controller is communicating to all devices on that rail flashing green One or more devices on that rail not responding flashing red No modules exist on that rail RS232 off There is no activity solid green Data being received or transmitted FORCE off Either of the following e No tags contain I O force values e 0 forces are inactive disabled solid amber Either of the following e O forces are active enable e 0 force values may or may not exist flashing amber One or more input or output addresses have been forced to an ON or OFF state but the forces have not been enabled Publication 1794 UM001E EN P June 2003 Appendix B Maintaining the Battery Using this Appendix For information about See page Storing replacement batteries B 1 Estimating battery life B 1 Replacing batteries B 3 Storing Replacement Because a battery may leak potentially dangerous chemicals if stored Batteries improperly store batteries as follows ATTENTION Store batteries in a cool dry environment We 7 recommend 25 C with 40 to 60 relative humidity You may store batteries for up to 30 days between 45 to 85 C such as during transportation To avoid possible leakage do not store batteries above 60 C for more than 30 days Estimating Battery Life When the battery is about 95 perc
36. and an address within the target The number of messages that a device can support depends on the type of message and the type of device This device Support this many Support this many unconnected messages connected messages 1756 CNB or 1756 CNBR module 20 64 for a Logix5550 controller 1788 CNx daughtercard 5 32 for a FlexLogix controller with a maximum of 9 scheduled ControlNet PLC 5 controller 32 128 MSG instructions are unscheduled The type of MSG determines whether or not it requires a connection If the MSG instruction requires a connection it opens the needed connection when it is executed You can configure the MSG instruction to keep the connection open cache or to close it after sending the message This type of message And this communication method Uses a connection CIP data table read or write X PLC2 PLC3 PLC5 or SLC all types CIP CIP with Source ID DH X CIP generic CIP Optional block transfer read or write X 1 You can connect CIP generic messages but for most applications we recommend you leave CIP generic messages unconnected Publication 1794 UM001E EN P June 2003 5 12 Communicating with Devices on a ControlNet Link Connected messages are unscheduled connections on ControlNet If a MSG instruction uses a connection you have the option to leave the connection open cache or close the connection when the message is done transmitting If you Then
37. card 0 0 1788 DNBO DeviceNet communication card 2 direct connection 1788 ENBT Ethernet IP communication card 0 0 total 1 connections to the 1788 DNBO card FlexLogix controller connection to remote DeviceNet devices remote connections listed in the table on page 2 18 are accounted for in the 2 Regardless of how you configure the I O modules rack optimized or direct connect on either the local rail or the extended local rail the controller establishes a rack optimized connection for each rail The data for any I O module configured for a rack optimized connection is stored in the rack optimized connection for the rail You can have 8 I O modules per rail for a maximum of 16 direct connections Publication 1794 UM001E EN P June 2003 2 18 What Is FlexLogix Remote connections depend on the communication card Use the following table to tally remote connections Connection Type remote ControlNet communication device such as a 1794 ACN15 ACNR15 or 1756 CNB CNBR module configured as direct none connection or rack optimized connection listen only rack optimization 1756 CNB CNBR only Device Quantity Connections Total per Device Connections Oor 1 remote I O device over ControlNet direct connection remote EtherNet IP communication device such as a 1794 AEN adapter or 1756 ENBT module configured as direct none connection or rack optimized connection listen only rack opti
38. controller The controller performs type checking to ensure proper data is being received Produced tags require connections The number of connections depends on how many controllers are consuming the tags The controller requires one connection for the produced tag and the first consumer Then the controller requires an additional connection for each subsequent consumer Consuming a tag A consumed tag represents data that is produced broadcast by one controller and received and stored by the consuming controller To create a consumed tag 1 You must be programming offline 2 In the controller organizer double click the Controller Tags folder and then click the Edit Tags tab 3 Select the tag that you want to consume or enter a new tag and display the Tag Properties dialog box 4 Specify In this field Type or select Tag Type Select Consumed Controller Select the name of the other controller You must have already created the controller in the controller organizer for the controller name to be available Remote Tag Name Remote Instance Type a name for the tag in the other controller you want to consume Important The name must match the name in the remote controller exactly or the connection faults If the remote controller is a ControlNet PLC 5 this field is Remote Instance Select the instance number 1 128 of the data on the remote controller RPI requested packet interval Type the amou
39. eles ta a dele r Offiine 0 E RUN kerel No Forces AA F 0k al re a BAT 1 Description No Edits 8 E o H z Sii E wj A 16 Point 120 AC Input 1794 14874 8 Point 120 AC Input abbr ane 1794 48174 8 Point 120 AC Isolated Input Gta 1794 181 0XOB6 4 10 Input E Output 24V DC Sink Source H 8 MainT ask N794 IB 16 4 16 Point 24V DC Input Sink a5 ATena 1 794 IB16X0B16P 4 16 Input 16 Output 24V DC Sink Protected Source anaia 1794 1B32 A 32 Point 24V DC Input Sink E Unscheduled Programs 1794 1B8 A 8 Point 24V DC Input Sink aa a Tan 1794 1B85 A 8 Point 24V DC Sensor Input E Uraouped nes al 1794 11 6 4 16 Point 48V DC Input Sink Jaa Data Types 1 794 ID2 B 2 Channel 244 DC Incremental Encoder Gi User Defined 1 794 E4X0E2 B 4 Input 2 Output 24V DC Nor lsolated Analog xl Bi Stings E STRING Show i G Predefined 7 iz a Mek Seine Vendor fa z M Other V Specialty 1 0 Select All 5 8 1 0 Configuration AP 1 1788 ENBT A Ethemet M Analog M Digital IM Communication M Motion I Controller Clear All e gt am FlexBus Local am FlexBus Local2 Cut H peste Create a module Delete Cross Reference Hiii Properties After you select the appropriate FLEX I O module the Module Properties window opens 4 Configure the module 5 Add additional modules as needed The local daughtercard becomes the parent module to the remote module The controller organizer shows this parent child relationship between local and
40. file you enter 70 0 for the source tag PLC 2 reads from FlexLogix source tag 200 destination element 010 The source tag is the three digit PLC 2 address you specified for PLC 2 mapping When the FlexLogix controller initiates messages to PLC or SLC controllers you do not have to map compatibility files You enter the data table address of the target device just as you would a tag name SLC 5 05 controllers SLC 5 04 controllers OS402 and above and SLC 5 03 controllers 08303 and above support logical ASCII addressing and support PLC SLC mapping see the examples above For all other SLC or MicroLogix1000 controllers you must map a PLC 2 compatibility file see the PLC 2 examples above Publication 1794 UM001E EN P June 2003 4 20 Communicating with Devices on an EtherNet IP Link Producing and The FlexLogix controller supports the ability to produce broadcast Consumin g Data and consume receive system shared tags over an EtherNet IP link Produced and consumed data is accessible by multiple controllers over an Ethernet network The controller sends or receives data at a predetermined RPI rate Produced and consumed tags must be controller scoped tags of DINT or REAL data type or in an array or structure Tag type Description Specify produced These are tags that the controller e Enabled for producing produced for other controllers to consume e How many consumers allowed consumed These are ta
41. interrupts tasks with priority levels 8 15 This task runs at the fastest RPI rate scheduled for the FlexLogix system Sms in this example C The continuous task runs at the lowest priority and is interrupted by all other tasks D A lower priority task can be interrupted multiple times by a higher priority task E When the continuous task completes a full scan it restarts immediately unless a higher priority task is running Publication 1794 UM001E EN P June 2003 What Is FlexLogix 2 5 Defining programs Each program contains program tags a main executable routine other routines and an optional fault routine Each task can schedule as many as 32 programs The scheduled programs within a task execute to completion from first to last Programs that aren t attached to any task show up as unscheduled programs You must specify schedule a program within a task before the controller can scan the program Defining routines A routine is a set of logic instructions in a single programming language such as ladder logic Routines provide the executable code for the project in a controller A routine is similar to a program file or subroutine in a PLC or SLC processor Each program has a main routine This is the first routine to execute when the controller triggers the associated task and calls the associated program Use logic such as the JSR instruction to call other routines You can also specify an optional prog
42. message configuration and communication tabs Configuration Communication Tag Configuration Communication Tag Message Type Path DeviceNet DeviceNet Service Get Attribute Single X Type J io 0 e Z Destination Link _ sz s E Hey Class 90 Hex Destination Backup_State fi DestinationNode O alaca Instance 1 Attribute 13 Hex O Enable Enable Waiting Start Done Done Length 1 O Enable Enable Waiting O Start Done Done Length 2 Error Code Extended Error Code T Timed Out O Error Cor Extended Error Code I Timed Out Error Path Error Path Eror Text Eror Text Cancel 2i Help OK Cancel Ary Help Publication 1794 UM001E EN P June 2003 FlexLogix Back Up on DeviceNet 10 11 Table 10 1 describes the possible values this message may return when reading the back up state of the DeviceNet scanner Table 10 1 If the message reads this value the back up state of the DeviceNet scanner is 0 Disabled 1 Primary scanner 2 Back up scanner 3 Invalid primary node address e g the node address cannot be 62 or 63 4 Faulted back up scanner CRC failure e g the scanlists in the scanners do not match 5 Faulted back up scanner back up node number failure e g the back up scanner is not using a node number the primary node number 1 6 Back up scanner pending primary detection 254 Attempting primary access 255
43. not include normal I O communications that occur during program execution e bridging communications from the serial port of the controller to other communication devices The controller performs system overhead functions for up to 1 ms at a time If the controller completes the overhead functions in less than 1 ms it resumes the continuous task If communications are not completing fast enough increase the system overhead percentage As you increase the system overhead percentage the overall program scan also increases The following table shows the ratio between the continuous task and the system overhead functions At this time slice The continuous tasks runs for And then overhead occurs for up to 10 9 ms 1 ms 20 4 ms 1 ms 33 2 ms 1 ms 50 1 ms 1 ms At the default time slice of 10 system overhead interrupts the continuous task every 9ms of continuous task time Legend mz i Task executes Task is interrupted suspended 1 ms 1 ms system overhead he iil 9 ms 9 ms 5 10 15 20 25 elapsed time ms Publication 1794 UM001E EN P June 2003 What Is FlexLogix 2 23 The interruption of a periodic task increases the elapsed time clock time between the execution of system overhead 1 ms 1 ms 1 ms 1 ms periodic task g B w i g 1 ms 1 ms system overhead H B 9 ms of continuous task time 9 ms of continuous task time continuous task Eo ooo f E 5 10 15 20 25 elapsed time m
44. one connection for the tag and the first configured consumer of the tag Each consumer thereafter uses an additional connection Publication 1794 UM001E EN P June 2003 Communicating with Devices on an EtherNet IP Link 4 21 Size limit of a produced or consumed tag A produced or consumed tag can be as large as 488 bytes but it must also fit within the bandwidth of the EtherNet IP network Producing a tag Produced data must be of DINT or REAL data type or a structure You can use a user defined structure to group BOOL SINT and INT data to be produced To create a produced tag 1 You must be programming offline 2 In the controller organizer double click the Controller Tags folder and then click the Edit Tags tab 3 Select the tag that you want to produce or enter a new tag and display the Tag Properties dialog box 4 Make sure the tag is controller scope 5 Select the Produce this tag check box Specify how many controllers can consume the tag You can produce a base alias or consumed tag The consumed tag in a receiving controller must have the same data type as the produced tag in the originating controller The controller performs type checking to ensure proper data is being received Produced tags require connections The number of connections depends on how many controllers are consuming the tags The controller requires one connection for the produced tag and the first consumer Then the con
45. one daughtercard can support both functions performance can improve by separating these functions onto separate daughtercards The NUT and RPI also play a part in determining how many connections a 1788 CNx can support in a given application assuming the RPIs will be the same for all connections You must also make sure that you do not exceed the maximum number of bytes per NUT e With the NUT 5ms the limit is 3 connections e With the NUT 10ms the limit is 7connections e With the NUT gt 20ms the limit is 9 connections Publication 1794 UM001E EN P June 2003 5 22 Communicating with Devices on a ControlNet Link Example 1 FlexLogix Controller and Remote 1 0 ControlNet Determining the API The API actual packets per interval is related to the RPI for the connection and the NUT of the network Use this table to select the API to enter in the above worksheet If Enter this value for the API RPI gt NUT and RPI lt 2 NUT NUT RPI gt 2 NUT and RPI lt 4 NUT 2 NUT RPI gt 4 NUT and RPI lt 8 NUT A NUT RPI gt 8 NUT and RPI lt 16 NUT 8 NUT RPI gt 16 NUT and RPI lt 32 NUT 16 NUT RPI gt 32 NUT and RPI lt 64 NUT 32 NUT RPI gt 64 NUT and RPI lt 128 NUT 64 NUT RPI gt 128 NUT 128 NUT In the following example one FlexLogix controller controls remote I O through a 1794 ACN15 module FlexLogix controller Flex Publication 1794 UM001E EN P June
46. over a ControlNet link Configuring I O in a remote chassis is similar to configuring local I O The difference is that you must also configure the communication daughtercard 1788 CNx in the local chassis and the communication module in the remote chassis To configure a remote I O module 1 In the Controller Organizer select the 1 0 Configuration Folder Add and configure a 1788 CNx communication daughtercard This is the local communication daughtercard 2 Specify the appropriate communication daughtercard settings ke RSLogix 5000 quick_start 1794 L33 Select Module Type x File Edit View Search Logic Communicati Major Revision Offline J E RUN et ae i E BAT No Edits a Evo iption 7 ontrolNet Bridge Coax Media 1788 ControlNet Bridge Redundant Coax Media 1788 ControlNet Bridge Fiber Media 1788 ControlNet Bridge Redundant Fiber Media 1788 DeviceNet Scanner No Forces gt C Power Up Handler B E Tasks 5a MainTask B a MainProgram A Program Tags EA MainRoutine G Unscheduled Programs E Motion Groups E Ungrouped Axes Show E Trends Vendor All gt M Other M Specialty 1 0 Select All Data Types Oi User Defined M Analog W Digital I Communication V Motion I Controller Clear All Sa Strings Gi Module Defined gt Module Properties Controller 1788 CNC A 1 1 x Type 1788 CNC A 1788 ControlNet Bridge Coax Media
47. rungs 0 amp 1 and the message set up used in rung 1 The message in rung 1 uses the INT data type Figure 10 2 START OF BACKUP INITIALIZATION a THE FOLLOWING RUNGS ENABLE BACKUP AS SOON AS PROCESSOR IS CHANGED TO RUN MODE OR IF SCANNER IS MANUALLY CHANGED FROM RUN TO IDLE WITH PROCESSOR IN RUN MODE NOTE SCANNER IS IDLE WHEN CommandRegister Run 0 Initialize heartbeat constant in milliseconds multiple of 8 16 256 Heartbeat is the heartbeat between redundant 1788 DNBOs to detect failure of the processor or scanner Loss of two consecutive heartbeats causes a switchover DeviceNet 0 CommandRegister Aun MOV 0 4 E Move Source Config_Heartbeat 16 Dest Config_Heartbeat 16 First read Heartbeat Configuration to see if Scanner already configured If after powerup keep reading until scanner is available Get_Attrib_Single to Class 0x90 Instance 0x01 Attrib 0x12 DeviceNet 0 CommandRegisterRun Read_Heartbeat EN 1 4 E i k Type CIP Generic Message Control MSG Read_Heartbeat E Rung 1 message configuration and communication tabs Message Configuration Read_Heartbeat x Message Configuration Read_Heartbeat x Configuration Communication Tag l Configuration Communication Tag l Message Type Path DeviceNet DeviceNet Service Get Attribute Single 7 Source Element x 3 Method Type Method Source Length p Bytes CR pee Game z Des
48. the data monitor and ladder editor The display style does not have to match the display style of the tag in the remote controller Publication 1794 UM001E EN P June 2003 All consumed tags are automatically controller scope The produced tag in the originating FlexLogix controller must have the same data type as the consumed tag in the consuming FlexLogix controller The FlexLogix controller performs type checking to make sure proper data is being received IMPORTANT If a consumed tag connection fails none of the tags are transferred from the producing controller to the consuming controller Communicating with Devices on an EtherNet IP Link 4 23 Guidelines for Configuring Connections Example 1 FlexLogix Controller and Remote 1 0 EtherNet IP Each 1788 ENBT communication daughtercard supports 32 I O connections How you configure these connections determines how many devices the daughtercard can support If you have two communication daughtercards use one for communication and the other for remote I O While one daughtercard can support both functions performance can improve by separating these functions onto separate daughtercards In the following example one FlexLogix controller controls remote I O through a 1794 AENT module FlexLogix controller Flex1 Remote 43325 Example 1
49. you want to trigger the event task 2 Task priority Configure the event task as the highest priority task If a periodic task has a higher priority the event task may have to wait until the periodic task is done 3 Number of event tasks Limit the number of event tasks Each additional task reduces the processing time that is available for other tasks This could cause an overlap 4 Automatic Output Processing For an event task you can typically disable automatic output processing default This reduces the elapsed time of the task For more information on using the event task see Logix5000 Controllers Common Procedures programming manual publication 1756 PM001 Publication 1794 UM001E EN P June 2003 What Is FlexLogix 2 9 How the FlexLogix System Uses Connections Method scheduled connection e most deterministic e unique to ControlNet The FlexLogix system uses a connection to establish a communication link between two devices The FlexLogix system has enough internal resources to support a connection to every local I O module and 32 connections through each daughtercard e g the 1788 ENBT card However the daughtercard s connection limit is the limiting factor when sizing a system Connections can be controller to local I O modules or local communication cards controller to remote I O or remote communication modules controller to remote I O rack optimized modules produce
50. z z Input 5 z if Click Next ee OSE E A Output Voltage Current Hold For Note Set OutputEnable in Channel Range Initialization the output tag for this module Real Time San to one 1 or selecting Hold Bue For Initialization will have no z effect Module Properties Local2 0 1794 IF2XOF217A 1 1 x pee Calibrate p this Calibration Range Channel Channel M 0 to 20 mA Binary M Oto 20 mA Binary Output Ba Grana Calibration Range Vv 0 to 20 mA Binary vi Oto 20 mA Binary y E lt Back Nex Finish gt gt Help Click Finish Important If you have an extended local DIN rail LOCAL2 the modules after the 1794 CE1 CE3 cable will fault if the cable is disconnected In this case all outputs are reset regardless of the module configurations Publication 1794 UM001E EN P June 2003 Getting Started 1 11 Changing module properties 1 View properties for the module f RSLogix 5000 quick_start 1794 L33 A File Edit View Search Logic Communications Tools Offline D E RUN TE No Forces B m a No Edits a Ti gt 4 ma C Power Up Handler amp Tasks 3 8 MainTask 2 MainProgram Program Tags EA MainRoutine 3 Unscheduled Programs E Motion Groups 3 Ungrouped Axes E Trends amp Data Types Ci User Defined SR Strings R STRING Predefined E Module Defined E 1 0 Configuration FlexBus Local 0 1794481674 ir
51. 0000 0000 o000 Controller Fault Handler SS Power Up Handler ocal 0 1 Data 0 0 E15 Tasks Local 0 I Data 1 0 Locat 0 I Data 2 0 koa Locab il Data 3 0 You can write logic to monitor these bits and take appropriate action if a fault occurs For example you may want to shut down the system if a specific point experiences a fault This example assumes a direct connection for the I O module Publication 1794 UM001E EN P June 2003 3 22 Placing and Configuring Local 1 0 Monitoring a rack optimized connection The controller views the DIN rail as another module in the system Each DIN rail has its own data To view this data through the programming software 1 In the Controller Organizer select Controller Tags Right click to display the Data Monitor o RSLogix 5000 l 1794 3 me tia el Controller Tags examples controller File Edit View Search Logic Co alsm S e Scope examples contraller x Show Show All 7 Sot Tag Name x ortine z o Forces Noes wy Forces Disat H Local 0 C TN Path lt none gt Local 0 farsa k Controller examples 20 S ie pe Local SlotStatusBits 2 0000_0000_0000_0000_0000_0000_0000_0000 E Power Up Handler Local l Data ana EI Tasks Local 0 frst ee Local2 EES p H Local2 0 EISE
52. 12 Placing DeviceNet devices 0 0 0 0 000 eee 6 12 Chapter 7 Using This Chapter sins sean ain deka sia 88 Shh GR 7 1 Configuring Your System for a Serial Link 7 1 Step 1 Configure the Hardware s ecty a sasy Meee dasa 7 1 Step 2 Configure the serial port of the controller 7 5 Step 3 Configure the communication driver 7 8 Example 1 Workstation Directly Connected to a FlexLogix CIOS e ie Axe te eh wi ase eel coe ne tut oh cha od Sve 7 9 Configuring a DF1 point to point station 7 9 Example 2 Workstation Remotely Connected to a FlexLogix SOMEONE pereng eaka ea E ee MER k i He AEE 7 10 Master slave communication methods 7 11 Configuring a DF1 slave stations 42x coees 4 Sew oo os 7 12 Configuring a DF1 master station 7 12 Example 3 FlexLogix Controller to a Bar Code Reader 7 15 Connect the ASCII device to the controller 7 15 Configuring user TNOCE 35 7 aad x oe en sae SY 7 16 Programming ASCII instructions 7 16 Chapter 8 Usine This Chapter 46 2 2a4de Spo eta ok Bob hee aS 8 1 Configuring Your System for a DH 485 Link 8 1 Step 1 Configure the hardware nananana a Sw 8 2 Step 2 Configure the DH 485 port of the controller 8 3 Planning a DH 485 Network 00 0005 8 4 DH 485 token rotation 4 844 SG Bae he BAe es aes 8 5 Network initialization 6 905 el 35a SARL WES SRS 8 5 Number of nodes and node ad
53. 2003 1794 ACN with remote 1 0 Remote1 Communicating with Devices on a ControlNet Link 5 23 Example 1 Controlling remote devices This example has Flex1 controlling the I O connected to the remote 1794 ACN15 module The data the FlexLogix controller receives from the remote I O modules depends on how you configure the remote I O modules You can configure each module as a direct connection or as rack optimized One chassis can have a combination of some modules configured as a direct connection and others as rack optimized Example 1 Total connections required by Flex1 The following table calculates the connections used in this example Connection Amount Flex1 controller to 3 local 1 0 modules rack optimized connection for the DIN rail 1 direct connection for each I O module 3 Flex1 controller to remote 1794 ACNR15 1 Flex1 to 4 remote I O modules through 1794 ACNR15 4 all 1 0 modules configured as direct connection no connection to the 1794 ACNR15 total connections used 9 If you configured the remote I O modules as rack optimized you would only need a rack optimized connection to the 1794 ACNR15 reducing the above example by 3 connections Publication 1794 UM001E EN P June 2003 5 24 Communicating with Devices on a ControlNet Link Example 2 FlexLogix In tas evens example acess ue eee with another FlexLogix controller over ControlNet Each FlexLogix Controller to FlexLogix contro
54. 232 ControlNet EtherNet IP ControlNet DeviceNet RS 232 RS 232 EtherNet IP ControlNet DeviceNet IMPORTANT Note that when the FlexLogix controller is used as a bridge you do not have to account for the message s communication path in the controller s configuration However if the message originates with the FlexLogix controller you must configure the message s communication path in the controller s configuration For more information on how to configure the message s communication path see Example 2 on page 5 24 Chapter 6 Communicating with Devices ona DeviceNet Link Using This Chapter For information about See page Configuring your system for a DeviceNet link 6 1 Placing DeviceNet devices 6 5 Accessing DeviceNet devices 6 7 Placing the communication card in Run mode 6 9 Example 1 FlexLogix controller and DeviceNet devices 6 9 Example 2 Using a 1788 CN2DN Linking Device 6 10 Configuring Your System for For the See controller to operate on a DeviceNet network a DeviceNet Link Wears e a 1788 DNBO DeviceNet communication daughtercard e RSLogix5000 programming software Version 10 or later to configure the 1788 DNBO card as part of the FlexLogix system e RSNetWorx for DeviceNet software to configure the 1788 DNBO card on the DeviceNet network Publication 1794 UM001E EN P June 2003 6 2 Communicating with Devices on a DeviceNet Link Publication 1794 U
55. 297 4800 Fax 1 864 281 2433 Europe Rockwell Automation Br hlstraRe 22 D 74834 Elztal Dallau Germany Tel 49 6261 9410 Fax 49 6261 17741 Asia Pacific Rockwell Automation 55 Newton Road 11 01 02 Revenue House Singapore 307987 Tel 65 351 6723 Fax 65 355 1733 Publication 1794 UM001E EN P June 2003 PN 957782 76 Supersedes Publication 1794 UM001D EN P July 2002 Copyright 2003 Rockwell Automation Inc All rights reserved Printed in the U S A
56. 3 Done Length 0 I Timed Out O Enable Q Enable Waiting O Start Done Done Length 2 O Error Co Extended Error Code I Timed Out Error Path Eror Text OK Cancel Apply Help Table 10 1 describes the possible values this message may return when reading the back up status of the DeviceNet scanner Table 10 2 If the message reads this value the back up state of the DeviceNet scanner is No back up scanner detected Primary scanner forcing IDLE back up in RUN but primary in IDLE Using Indicators to Check Status Development and Debugging Tips FlexLogix Back Up on DeviceNet 10 13 The 1788 DNBO card s status indicators provide useful information e g determining which controller is primary about back up scanner status Table 10 3 lists the indicators to monitor when checking back up status Table 10 3 If this indicator exhibits this behavior this condition exists Module status MS Flashing red A secondary controller was not found or other minor fault detected Back up status BS Solid green This scanner is the primary controller Flashing green This scanner is a qualified secondary controller Off This scanner is not configured for back up mode 1 The BS status indicator may not be labelled on current 1788 DNBO communication cards When you implement the FlexLogix Back Up on DeviceNet solution we recommend you consider the following dev
57. 4 UM001E EN P June 2003 7 14 Communicating with Devices on a Serial Link This field Active station tag Description Standard polling modes only An array that stores a flag for each of the active stations on the DF1 link Both the normal poll array and the priority poll array can have active and inactive stations A station becomes inactive when it does not respond to the master s poll Create a single dimension array of data type SINT that has 32 elements 256 bits This tag must be controller scoped Error detection Select BCC or CRC error detection Configure both stations to use the same type of error checking BCC the controller sends and accepts messages that end with a BCC byte for error checking BCC is quicker and easier to implement in a computer driver This is the default CRC the controller sends and accepts messages with a 2 byte CRC for error checking CRC is a more complete method Enable duplicate detection Select whether or not the controller should detect duplicate messages The default is duplicate detection enabled If you choose one of the standard polling modes The master station polls the slave stations in this order 1 all stations that are active in the priority poll array 2 one station that is inactive in the priority poll array 3 the specified number normal poll group size of active stations in the normal poll array 4 one inactive station after all the active sta
58. Allen Bradley FlexLogix System 1794 L33 and 1794 L34 User Manual yt alae 7 Rockwell Automation na Important User Information Because of the variety of uses for the products described in this publication those responsible for the application and use of these products must satisfy themselves that all necessary steps have been taken to assure that each application and use meets all performance and safety requirements including any applicable laws regulations codes and standards In no event will Rockwell Automation be responsible or liable for indirect or consequential damage resulting from the use or application of these products Any illustrations charts sample programs and layout examples shown in this publication are intended solely for purposes of example Since there are many variables and requirements associated with any particular installation Rockwell Automation does not assume responsibility or liability to include intellectual property liability for actual use based upon the examples shown in this publication Allen Bradley publication SGI 1 1 Safety Guidelines for the Application Installation and Maintenance of Solid State Control available from your local Rockwell Automation office describes some important differences between solid state equipment and electromechanical devices that should be taken into consideration when applying products such as those described in this publication Repr
59. Attempting back up access Publication 1794 UM001E EN P June 2003 10 12 FlexLogix Back Up on DeviceNet Reading Back up Status You can read the back up status of the DeviceNet scanner with a single rung of ladder logic The back up state is useful for debugging or more sophisticated back up schemes The message in this rung uses the SINT data type Figure 10 6 shows the rung you can use to read the back up state Figure 10 6 OPTIONAL Constantly Read Backup Status Bits Bit 0 No Backup Scanner Detected Bit 1 Primary Scanner forcing IDLE Backup in RUN but Primary in IDLE Read_Backup_Status EN MSG 6 ji FE Type CIP Generic FEED Message Control Read_Backup_Status E lt DND MOV Move Source Backup_Status 2 0000_0010 Dest DUMMY 2 Rung 6 message configuration and communication tabs Configuration Communication Tag Configuration Communication Tag Message Type CIP Generic Path DeviceNet DeviceNet Semice Get Atribute Singe z z AE ce Leng ma er G O C DHe Charme z Destination Link 0 tae Ie Hey Class 0 HEX Destination Backup_Status iw eee Source links lO DestinationNode Dy aa 7 youre ID fi Instance 1 Attribute 14 Hex noT anle I Connected M Cache Connection 4 Enable Q Enable Waiting Start O Done Eror Code Extended Error Code Error Path Eror Text Cancel Apply Help Publication 1794 UM001E EN P June 200
60. B 1 when to replace B 1 C cable A 8 changing module properties 1 11 project properties 1 4 communicating ControlNet 5 1 DeviceNet 6 1 9 1 DH 485 8 1 EtherNet IP 4 1 mapping address 4 18 5 15 serial 7 1 with other controllers 4 15 5 14 with other Logix based controller 4 14 5 13 communication card ControlNet 5 4 DeviceNet 6 3 9 2 EtherNet IP 4 6 Index communication driver ControlNet 5 3 serial 7 8 communication format 3 12 configuring alias 3 20 ASCII protocol 7 15 communication format 3 12 ControlNet system 5 1 DeviceNet system 6 1 9 1 DF1 master 7 12 DF1 point to point 7 9 DF1 slave 7 12 DH 485 system 8 1 DIN rail 3 9 electronic keying 3 11 EtherNet IP system 4 1 inhibit 1 0 module 3 14 local I O 3 10 remote devices 4 7 5 5 response to connection failure 3 20 serial system 7 1 configuring Ethernet communication drivers 4 3 4 5 AB_ETH driver 4 3 4 5 connection ControlNet guidelines 5 21 direct connection 2 12 EtherNet IP guidelines 4 23 for I O module 2 12 monitoring rack optmized 3 22 requirements 2 17 response to failure 3 20 controller ownership 3 12 ControlNet accessing remote devices 5 7 communication card 5 4 communication driver 5 3 configuring the system 5 1 connection guidelines 5 21 consuming a tag 5 20 example FlexLogix controller and remote devices 5 22 example FlexLogix controller as a bridge 5 33 example FlexLogix controller to FlexLogix cont
61. Cache the connection The connection stays open after the MSG instruction is done This optimizes execution time Opening a connection each time the message executes increases execution time Do not cache the The connection closes after the MSG instruction is done This connection frees up that connection for other uses The controller has the following limits on the number of connections that you can cache If you have this software Then you can cache and firmware revision 11 x or earlier e block transfer messages for up to 16 connections e other types of messages for up to 16 connections 12 x or later up to 32 connections The FlexLogix controller supports one connected and one unconnected MSG if you want to use the FlexLogix system as a bridge to a device on another network There is no buffer to store waiting MSG instructions that bridge networks ATTENTION The FlexLogix controllers performance degrades significantly if you use the controller as a bridge Bridging over the FlexLogix controller should be targeted toward applications that are not real time dependent such as RSLogix 5000 program downloads and ControlFlash updates Publication 1794 UM001E EN P June 2003 Communicating with Devices on a ControlNet Link 5 13 Communicating with another Logix based controller All Logix based controllers can use MSG instructions to communicate with each other The following examples show how to use tags in MSG
62. D016 C 0 Eloca1 AB 1794_D0 1 0 ma Fl Local 1 0 4B 1794_D016 0 0 f Local AB 1794_AVB_8SLOT I 0 Locato AB 1794_AVB_8SLOT 0 0 i Local2 0 C AB 1794_IF2XOF2I C 0 Local2 0 1 AB 1794_IF2XOF2I 0 Local2 0 0 4B 1794_IF2X0F21 0 0 Local2 AB 1794_AVB_8SLOT 1 0 Local2 0 4B 1794_AVB_8SLOT 0 0 timer TIMER input_1 Local0 1 Data 1 x INT Binary w t t Enter the name of the tag Tab here or click in the box 2 Select an input data word ESE fF Local 0 AB1794 E Local 0 1 AB 1794 HLocal 0 l Faut DINT o 1 2 3 J4 5 f6 Ae algoit 12 13 14 mocar fF Local2 0 fF Local2 0 1 fF Local2 0 0 a gt Monitor Tags 3 Repeat steps 1 and 2 above to create an alias tag output_1 for Local 1 0 Data 1 4 T794 mLocal 1 0 AB 1794 fF Locel AB1794 fF Local 0 AB 1794 troller Tags quick_start controller iof x Scope quick_start controlle x Show Show All z Sot Tag Name 7 P Tag Name X Alias For Local 0 C AB 1794_1B16 C 0 Local 0 AB 1794_IB16 1 0 Local 1 C AB 1794_D016 C 0 Local1 4B 1794_D0 1 0 Local1 0 4B 1794_D016 0 0 Local AB 1794_AVB_8SLOT 1 0 Local 0 4B 1794_AVB_8SLOT 0 0 Local2 0 0 AB 1794_IF2XOF21 C 0 Local2 0 1 AB 1794_IF2XOF21 1 0 Loc
63. DC Input Sink Vendor Allen Bradley Parent Local Name input module Slot 0 Description Comm Format en NEA Revision fi this is a local input module The selection you make for the Comm Format ae determines the connections required for the 1 0 Electric Keying Compatble Modde module Once you complete adding a module you cannot change this selection See page 3 12 Cancel Back Next gt Finish gt gt Help Publication 1794 UM001E EN P June 2003 Placing and Configuring Local 1 0 3 11 IMPORTANT The FlexLogix controller supports FLEX and FLEX Ex I O modules but these I O modules do not behave the same If you have a communication or program fault with a FLEX I O module that is configured for Reset Outputs the outputs of the module go to zero as expected If the same fault occurs with a FLEX Ex module that is configured for Reset Outputs the adapter goes to its safe state If the module itself is defined as ON the outputs actually turn on don t reset as expected Electronic keying Specify electronic keying to ensure that a module being inserted or configured is the proper revision Module Properties Local 1794 IB167A 1 1 x Type 1794 IB16 4 16 Point 24V DC Input Sink Vendor Allen Bradley Parent Local Name Slot 2 a Description E Comm Format Rack Optimization O00 Revision ia Electronic Keying Compatible Module he
64. DNBO card Devices aia FlexLogix controller i with 1788 DNBO card DeviceNet ey et PanelView terminal ControlLogix controller with 1756 DNB 1794 ADN with FLEX 1 0 modules Publication 1794 UM001E EN P June 2003 6 10 Communicating with Devices on a DeviceNet Link Example 2 Using a 1788 CN2DN Linking Device ControlLogix controller with 1756 DNB DeviceNet Co a fe 5 3 1788 CN2DN ile inking device wile Contro Net Li ig In the following example one FlexLogix controller controls remote DeviceNet devices through a 1788 CN2DN linking device FlexLogix controller g oo oo o T q iy ol roma PanelView terminal caj TT 1794 ADN with FLEX 1 0 modules This example has a FlexLogix controller controlling three DeviceNet devices through the linking device The controller automatically creates a rack optimized connection for the remote data based on the configuration of the linking device The tag name for the rack optimized array tag is based on the name of the linking device For example if you name t
65. Description S amp S Local 4B 1794_AVB_8SLOT 1 0 Locato AB 1794_AVB_8SLOT 0 0 j E l Local2 AB 1794_AVB_8SLOT 1 0 E Local2 0 4B 1794_AVB_8SLOT 0 0 m Local 0 1 4B 1794_DI_16 1 0 A F Locat 0 l Fault DINT Binary E H Locat0 l Data INT Binary gt 4B 1794_DI_Delay16 C 0 Local 0 C Contig INT Binary il Local 0 C DelayTime_0 BOOL Decimal iil Local 0 C DelayTime_1 BOOL Decimal Local 0 C DelayTime_2 BOOL Decimal E Local 0 C DelayTime_3 BOOL Decimal E Local 0 C DelayTime_4 BOOL Decimal E Local 0 C DelayTime_5 BOOL Decimal communication format rack optimization which corresponds to a rack optimized connection for the 1 0 module Controller Tags quick_start controller ioj x Scope quick_start controlle 7 Show Show All nel Ste Tag Name P Tag Name X Alias For Base Tag Description Local 4B 1794_AVB_8SLOT 1 0 Local 0 4B 1794_AVB_8SLOT 0 0 fi Local2 4B 1794_AVB_8SLOT 1 0 Local2 0 4B 1794_AVB_8SLOT 0 0 Local Data 0 Local l Data 0 INT Binary Local 0 C 4B 1794_DI_Delay16 C 0 Local 0 C Contig INT Binary Lo
66. Devices on a Serial Link This field Station address Configuring a DF1 slave station Description The station address for the serial port on the DF1 slave Enter a valid DF1 address 0 254 Address 255 is reserved for broadcast messages The default is 0 Transmit retries The number of times the remote station retries a message after the first attempt before the station declares the message undeliverable Enter a value 0 127 The default is 3 Slave poll timeout Specifies the amount of time the slave station waits to be polled by a master before indicating a fault Enter a value 0 32767 Limits are defined in 20ms intervals The default is 3000 60 000ms EOT suppression Select whether or not to suppress sending EOT packets in response to a poll The default is not to suppress sending EOT packets Error detection Select BCC or CRC error detection Configure both stations to use the same type of error checking BCC the controller sends and accepts messages that end with a BCC byte for error checking BCC is quicker and easier to implement in a computer driver This is the default CRC the controller sends and accepts messages with a 2 byte CRC for error checking CRC is a more complete method Enable duplicate detection Select whether or not the controller should detect duplicate messages The default is duplicate detection enabled This field Station address Configuring a DF1 ma
67. ENBT daughtercard in slot 1 2 is the EtherNet IP port XXX XXX XXX XXX is the IP address of Flex2 1 is the FlexLogix backplane of Flex2 0 is the controller slot of Flex2 Publication 1794 UM001E EN P June 2003 4 26 Communicating with Devices on an EtherNet IP Link Example 2 Producing and consuming tags Produced data must be of DINT or REAL data type or an array or structure You can use a user defined structure to group BOOL SINT and INT data to be produced You can produce a base alias or consumed tag The consumed tag must have the same data type as the produced tag in the originating controller The controller performs type checking to ensure proper data is being received EtherNet IP Flex1 TagA DINT TagB REAL This example shows Flex1 as producing TagA and consuming TagB Flex2 controllerb workstation DINT REAL DINT Decimal controllerb tagB REAL Float TagB o Tag Properties tagA iof x So Tag Properties tagB iof x General General Name Name Description a Description a TagType Base C Alias C Consumed TagType C Base C Alias Consumed Data Type DINT E Gonfigure Controller eontrallerb 7 RPI ms Scope Fles _quick_start Bomate Tag ftag 20 i ame Style Decimal 7 Data Type REAL fies isc V Produce this tag for up to 2 a consumers Style Float x Help OK Cancel
68. Eaa ane 4 peach Seth nents Ate A 8 FlexLogix Controller Serial Cables sas 4 cap comeing A 8 FlexLogix Controller LEDs 3 o 4 wets aaa A 10 Appendix B Using this Appendix n aa nal ae B 1 Storing Replacement Batteries 0005 B 1 Estimating Battery Life 4 23 ete h hes pet eae eso Sy B 1 Replacing a Battery ss 607 amp ab besa De oo sd eRe RS B 3 Publication 1794 UM001E EN P June 2003 Table of Contents 6 Publication 1794 UM001E EN P June 2003 Chapter 1 Getting Started Introduction This chapter introduces the FlexLogix controller and provides a quick overview on creating and downloading a project The steps in this chapter introduce the basic aspects of the FlexLogix controller The FlexLogix controller offers state of art control communications and I O elements in a distributed control package _f0 __ 0 fe m h ControlLogix controller acting as REA remote workstation centralized controller u ig Tey FlexLogix controller using i local and extend local 1 0 FlexLogix controller using ga e ee ee an RS 232 connection Ej En TE FlexLogix controller using local 1 0 i dite
69. FlexBus Le 8 0175 em SAA Delete Verity Cross Reference ccept Pending Progen Eats Bance Pending Hoaren Edits Tiest Pragran edits Unes Program edits Assemble rogram edits Bancel Program edits Print olx E Program Properties MainProgram General Configuration Assigned Routines Main S Seiie Fault lt none gt gt d Scan Times execution time Max pz fus Beset Max Last jz us Getting Started 1 19 Viewing controller memory usage 1 View properties for Controller quick_start A Place the cursor over the Controller quick_start folder t _ ja B Click the right mouse button and select Properties 2 Select the Advanced tab In addition to other information the Advanced tab displays controller memory usage Important The amount of memory that the software displays includes both the user available memory and the memory reserved for overhead e The Unused field represents the memory available for the user program e The Total field represents the total memory available on the module including user program and overhead Do not use this field when determining your memory usage See the specifications for your controller to determine how much memory you have available for programming This dialog box might display a higher number but the additional memory is required by sys
70. IF2XOF2I module tags yy tt aa at fl Local2 rail tags goo E Monitor Tags A t Click the Edit Tags tab Publication 1794 UM001E EN P June 2003 Getting Started 1 13 Creating other tags 1 2 Create a tag Controller Tags quick_start controller 3 quick_startcontrollei Create tags G E E E A E E F E Ceme t t Enter the name of the new tag Tab to this column and select the data type Select Data Type Select the data type INT MESSAGE MOTION_GROUP MOTION_INSTRUCTION PID SINT Select TIMER e_ ras Click OK The software displays the tag Click to display the members B gt P Eime of the TIMER structure a m E E H il You might have to resize the column to see the tag extensions continued Publication 1794 UM001E EN P June 2003 1 14 Getting Started Documenting 1 0 with alias tags 1 Create an alias tag input_1 for Local 0 I Data 1 Controller Tags quick_start controller Scope auick_start controlle x Show Show All x Sort Tag Name 7 olx P Tag Name Alias For Description iz F Local 0 C 4B 1794_IB16 C 0 Local 0 1 AB 1794_IB16 1 0 ELoca 1 C AB 1794_
71. K receive limit Specifies the number of NAKs the controller can receive in response to a message transmission Enter a value 0 127 The default is 3 ENQ transmit limit Specifies the number of inquiries ENOs you want the controller to send after an ACK timeout Enter a value 0 127 The default is 3 ACK timeout Specifies the amount of time you want the controller to wait for an acknowledgment to its message transmission Enter a value 0 32767 Limits are defined in 20ms intervals The default is 50 1000ms Publication 1794 UM001E EN P June 2003 7 10 Communicating with Devices on a Serial Link This field Embedded response Description Specifies how to enable embedded responses Select Autodetect enabled only after receiving one embedded response or Enabled The default is Autodetect Error detection Select BCC or CRC error detection Configure both stations to use the same type of error checking BCC the controller sends and accepts messages that end with a BCC byte for error checking BCC is quicker and easier to implement in a computer driver This is the default CRC the controller sends and accepts messages with a 2 byte CRC for error checking CRC is a more complete method Enable duplicate detection Select whether or not the controller should detect duplicate messages The default is duplicate detection enabled Example 2 Workstation Remotely Connected to a FlexL
72. M001E EN P June 2003 Step 1 Install the hardware Before you can connect the FlexLogix system to the DeviceNet network you must configure the 1788 DNBO communication card and make sure it s properly installed in the FlexLogix controller slot 1 slot 2 Remember which slot you use for which communication card You ll need the slot number to configure the communication card in the RSLogix 5000 programming software The controller uses slot 0 For more information about configuring a 1788 DNBO card see the DeviceNet Daughtercard Installation Instructions publication 1788 IN053 Communicating with Devices on a DeviceNet Link 6 3 Step 2 Configure the daughtercard as part of the system Use RSLogix 5000 programming software to map the 1788 DNBO card as part of the FlexLogix system In the Controller Organizer add the card to the I O Configuration folder 1 In RSLogix 5000 programming software select the 1 0 Configuration folder 2 Right click to select New Module and add a 1788 DNBO communication daughtercard 3 Specify the appropriate communication settings f RSLogix 5000 quick_start 1794 L33 File Edit View Search Logic Communicati Offline j m RUN No Forces gt m Ok eee CAT No Edits a Evo C Power Up Handler Sj Tasks B 48 MainTask B E MainProgram E Program Tags EA MainRoutine EI Unscheduled Programs E Motion Groups GI Ungrouped Axes Trends 3 6 Data Types Cp
73. PCIC for ControlNet devices Running 1747 PIC AIC device a DF1 Slave Driver S S SD SD2 for DH devices Virtual Backplane Driver Start DeviceNet Drivers 1784 PCD PCIDS 1770 KFD SDNPT drivers PLC 5 DH Emulator driver SLC 500 DH485 Emulator driver Stop 1784 PCMK for DH DH 485 devices SoftLogix5 driver Delete Remote Devices via Linx Gateway Startup PERE ER 4 Select Ethernet Devices and click on Add New You will be prompted to name the driver Add New RS Linx Driver x Choose a name for the new driver 15 characters maximum faB_ETH 1 Cancel 5 Select the default driver name e g AB_ETH D or type in your own name and click on OK The Configure driver window appears with the Station Mapping page open Configure driver AB_ETH 1 21x Station Mapping Host Name Delete 130 130 130 2 OK Cancel ply Help 6 Click on Add New Publication 1794 UM001E EN P June 2003 Communicating with Devices on an EtherNet IP Link 4 5 7 Enter the IP address or Host Name of your 1788 ENBT module e g 130 130 130 2 Pump1 etc Use of the IP address on this screen informs the controller of the daughtercard s IP address for processes such ladder logic and I O data exchange You can set the IP address in any of these ways e Rockwell BootP Utility e RSLinx software e Third party BootP server e DHCP network server For moreinforma
74. Serial Port tab default values are shown in bold Characteristic Description default is shown in bold Baud Rate Specifies the communication rate for the DH 485 port All devices on the same DH 485 network must be configured for the same baud rate Select 9600 or 19200 Kbps Node Address Specifies the node address of the FlexLogix controller on the DH 485 network Select a number 1 31 decimal inclusive To optimize network performance assign node addresses in sequential order Initiators such as personal computers should be assigned the lowest address numbers to minimize the time required to initialize the network Token Hold Factor Number of transmissions plus retries that a node holding a token can send onto the data link each time that it receives the token Enter a value between 1 4 The default is 1 Maximum Node Address Specifies the maximum node address of all the devices on the DH 485 network Select a number 1 31 decimal inclusive To optimize network performance make sure e the maximum node address is the highest node number being used on the network e that all the devices on the same DH 485 network have the same selection for the maximum node address Planning a DH 485 Network Publication 1794 UM001E EN P June 2003 The DH 485 network offers e interconnection of 32 devices e multi master capability e token passing access control e the ability to add or remove nodes without disrupti
75. TxD TxD 4 DTR DTR 5 ground ground 6 DSR DSR 7 RTS RTS 8 CTS CTS 9 na na Publication 1794 UM001E EN P June 2003 A 10 _ FlexLogix System Specifications FlexLogix Controller LEDs Indicator Color Description RUN off The controller is in Program or Test mode solid green The controller is in Run mode OK off No power is applied flashing red Either of the following e If the controller is a new controller then it requires a firmware update e f the controller is not a new controller then a major fault occurred To clear the fault either turn the keyswitch from PROG to RUN to PROG or go online with RSLogix 5000 solid red The controller detected a non recoverable fault so it cleared the project from memory To recover 1 Cycle power to the chassis 2 Download the project 3 Change to Run mode If the OK LED remains solid red contact your local Rockwell Automation representative or distributor flashing green An NVS Program save or restore on the controller is occurring solid green The controller is OK BATTERY off The battery supports memory solid red Either of the following e The battery is not installed e The battery is 95 discharged and should be replaced 1 0 off Either of the following e The controller project is not downloaded the condition after power up e No 1 0 or communications configured solid green The controller is communicating to
76. User Defined Sa Strings R STRING i Predefined Ep Module Defined Select Module Type x Type Major Revision 1788 DNB0 7 4 2 x Description 1 788 CNC A 1788 ControlNet Bridge Coax Media 1 788 CNCR A 1788 ControlNet Bridge Redundant Coax Media 1788 ControlNet Bridge Fiber Media 1788 ControlNet Bridge Redundant Fiber Media DeviceNet Scanner Show Vendor fal 7 M Other M Specialty 1 0 Select All M Analog M Digital M Communication V Motion M Controller Clear All Cancel Help gt Module Properties Controller 1788 DNBO A 1 1 Eg 4 Specify the slot number 1 or 2 where you installed the communication card Type 1788 DNBO A 1788 DeviceNet Scanner Vendor Allen Bradley tame fare ad B Slot 2 Input Size 124 22bit Description ha Output Size fi 23 4 32 bit Status Size 32 7 32 bit Revision fr fi 4 Electronic Keying Compatible Module z Cancel Back Next gt Finish gt gt Help Complete your system configuration and develop your program logic Then download the project to the controller Publication 1794 UM001E EN P June 2003 6 4 Communicating with Devices on a DeviceNet Link Step 3 Define the DeviceNet scanlist Use RSNetWorx for DeviceNet to create a scanlist of the DeviceNet devices connected to the 1788 DNBO card If the FlexLogix controller is powered up while connected t
77. a i FlexLogix controllers each with a 1788 CNC CNCR card linked over ControlNet link This example FlexLogix system demonstrates e Centralized control using a ControlLogix controller to coordinate several FlexLogix controllers e Distributed control using FlexLogix controllers at several locations e FlexLogix controller controlling a maximum of 8 local I O modules and 8 extended local I O modules e Local RS 232 connection for remote upload download of a controller project for DF1 master slave communications or for ASCII programming Publication 1794 UM001E EN P June 2003 1 2 Getting Started Creating and Downloading The following diagram illustrates the steps you follow to create and Project download a project The remainder of this chapter provides examples a Frojec of each step System setup for this quick start fo H SS Local Create a project Praeevereegua slot 0 1794 IB16 go to page 1 3 Local2 slot 0 1794 IF2XOF2I Configure 2 1 0 modules You need e RSLogix5000 programming software e RSLinx communication software e DF1 point to point serial connection from the workstation to the 4 Create tags controller using 1756 CP3 or 1747 CP3 cable If you don t have this hardware you can still follow these steps Substitute the S Download 5 a p
78. a i m c 4 SAA tlhe 4 fY a ons osa ose gt No Edits i froces Disabled Etg Nee need AB DFI 4 4 gt User A Bit TimegCounter Input Output Compare Computedath Move Logical FilemMisc A Files Controller quick_start MainProgram MainRoutine Ble Controller Tags r gt C Controller Fault Handler 0 e H H C3 Power Up Handler e Ege Tasks e A Sa MainTask End Drag and drop the XIO instruction on an empty rung Publication 1794 UM001E EN P June 2003 1 16 Getting Started Entering logic continued 3 Assign a tag to the XIO instruction Double click the tag area of the instruction W MainProgram quick_start e i e F E FLEX_adapter AB1794 Use the drop down menu to select input_1 HFLEX_adapter O AB1794 _ gt input_1 BOOL fF Local 0 AB1794 fF Local 0 1 AB 1794 F Local 1 AB1794 fF Local 1 1 AB1794 fF Local 1 0 AB1794 fF Local AB1794 fF Local 0 AB1794 F Local2 0 4B 1794 Controller Scoped Tags Program Scoped Tags The software displays an incomplete rung MainProgram MainRoutine olx a End 4 Enter this logic MainProgram MainRoutine Ol x TON 0 _ Timer On Delay LEN Timer timer 1 DN gt Preset 1000 Accum of timer_1 dn E 5 5 To save the project from the File menu select Save
79. al so configure each module for a rack optimized connection I O modules on the extended local rail are analog so configure each module for a direct connection I O modules on the ControlNet network are 4 digital and 4 analog so configure each digital module for a rack optimized connection and each analog module for a direct connection there are no produced or consumed tags the controller sends 2 messages to other devices on the ControlNet network the controller uses 2 connections to the 1788 DNBO module to collect data from the DeviceNet devices Local connections Connection Type Device Connections Total Quantity per Device Connections rack optimized connection to DIN rails 2 1 2 1 0 module direct connection on extended local rail 8 1 8 1788 DNBO communication card rack optimized connection 1 2 2 total 12 Remote connections Connection Type Device Connections Total Quantity per Device Connections remote ControlNet communication device 1 1 1 configured as a rack optimized connection 1 0 module over ControlNet direct connection 4 1 4 cached message 2 1 2 total 7 Publication 1794 UM001E EN P June 2003 2 20 What Is FlexLogix Downloading Projects 4 Go online with the controller In general you use the programming software to download a project from your programming computer to the controller The 1794 L33 A and 1794 L34 B FlexLogix controllers also support
80. al2 0 0 4B 1794_IF2XOF21 0 0 Local2 AB 1794_AVB_8SLOT 1 0 Local2 0 AB 1794_AVB_8SLOT 0 0 timer_1 TIMER input_1 Local 0 Data 1 Local 0 1 Data 1 BOOL Decimal output_1 Local1 0 Data 1 Local1 0 Data1 BOOL Decimal Publication 1794 UM001E EN P June 2003 3 Create tags Click here to display a grid of lt bits and select the input bit Getting Started 1 15 Entering logic 1 When you created the project the software automatically created a MainTask MainProgram and MainRoutine Use these defaults for this example Double click MainRoutine p Use default task program and routine The software displays an empty routine So RSLogix 5000 quick_start File Edit View Search Logic Communi alsa S Hee ol No Edits Driver AB_DF1 1 NG Forces aS Disauled E E Controller quick_start A Controller Tags EE Controller Fault Handler C Power Up Handler ES Tasks E MainTask cS a MainProgram A Program Tags MainRoutine Unscheduled Programs MainProgram MainRoutine Ox a End 2 Enter an XIO instruction f RSLogix 5000 quick_start File Edit View Search Logic Communications Tools Window Help Biel es e sle oA 2 all fe e alal ortine z NG Fores v 2 MainProgram 9 Program Tags E MainRoutine EI Unscheduled Programs E Data Types G
81. ame AB_DF1 1 Comm Port COM1 7 Device PLC CH0 hd Baud Rate 19200 7 ens m al Parity None 7 Enor Checking BCC Stop Bits 1 7 Protocol Full Duplex Z Auto Configure F Use Modem Dialer Bortigure Dialer Click OK Cancel Delete Help 3 Specify a name for the driver Add New RSLinx Driver Choose a name for the new driver 15 characters maximum Cancel AB_DF1 1 D Publication 1794 UM001E EN P June 2003 Communicating with Devices on a Serial Link 7 9 Example 1 Workstation Directly Connected to a FlexLogix Controller isolator recommended This field Station address In the following example a workstation directly connects to a FlexLogix controller over a serial link This is useful for downloading a controller project directly to the controller serial Use RSLogix 5000 programming software to configure the controller s serial port for the DF1 point to point full duplex protocol This type of protocol supports simultaneous transmission between two devices in both directions The DF1 point to point protocol controls message flow detects and signals errors and retries if errors are detected Configuring a DF1 point to point station Description The station address for the serial port on the DF1 point to point network Enter a valid DF1 address 0 254 Address 255 is reserved for broadcast messages The default is 0 NA
82. anning order of the DeviceNet devices Y 1788 DNBO 5 2 x General Module Scanlist Input Output ADR Summary Available Devices Scanlist 01 1794 ADN DeviceNet E 04 1761 NET DNI Devic EJ 05 1794 ADN DeviceNet lt 2962 DRT1 0D16 63 1734 0B2E 2 Pt 24V I Automap on Add IV Node Active Upload from Scanner rie V Vendor Download to Scanner I Product Code Edit 1 0 Parameters Publication 1794 UM001E EN P June 2003 6 6 Communicating with Devices on a DeviceNet Link Publication 1794 UM001E EN P June 2003 Defining the data blocks How you configure the DeviceNet devices determines how many words you use per device The 1788 DNBO card supports a maximum of e 124 32 bit words of input data e 123 32 bit words of output data e 32 32 bit words of status data Once you define the scanlist you define how the data for the devices maps into the input output and status data blocks Use the Input Output or Status tabs to define the associated data block EX 1788 DNBO 5 AE tX 1788 DNBO 5 HE General Module Scanlist Input Output ADR Summary General Module Scaniist Input Output Jann Summary ype ap E 01 1794 AD Polled 6 1 1 Data 0 0 J05 1734AD Poled 4 1 Data 1 16 7 E 63 lt Remov Polled 1 1 1 Data 2 16 ume T 01 1794 Polled 4 1 0 Data 0 0 ZJ05 17344 Poled 2 1 0Data i 0 i E 62 lt Re
83. ap a compatibility file for MSG instructions initiated by a PLC 5 PLC 3 or SLC controller Place the FlexLogix tag name in double quotes You could optionally map a compatibility file For example if you enter 70 for the compatibility file you enter 70 0 for the source tag PLC 2 reads from FlexLogix source tag 200 destination element 010 The source tag is the three digit PLC 2 address you specified for PLC 2 mapping Producing and Consuming Data Tag type Description When the FlexLogix controller initiates messages to PLC or SLC controllers you do not have to map compatibility files You enter the data table address of the target device just as you would a tag name SLC 5 05 controllers SLC 5 04 controllers OS402 and above and SLC 5 03 controllers 08303 and above support logical ASCII addressing and support PLC SLC mapping see the examples above For all other SLC or MicroLogix1000 controllers you must map a PLC 2 compatibility file see the PLC 2 examples above The FlexLogix controller supports the ability to produce broadcast and consume receive system shared tags over a ControlNet link Produced and consumed data is accessible by multiple controllers over a ControlNet network Produced and consumed data are scheduled connections because the controller sends or receives data at a predetermined RPI rate Produced and consumed tags must be controller scoped tags of DINT or REAL data type or in a
84. ask 1 configuration status watchdog program 32 program 1 program local main routine tags fault routine other routines controller global tags 1 0 data system shared data Publication 1794 UM001E EN P June 2003 What Is FlexLogix 2 3 Defining tasks A task provides scheduling and priority information for a set of one or more programs You can configure tasks as either continuous or periodic The FlexLogix controller supports as many as 8 tasks only one of which can be continuous A task can have as many as 32 separate programs each with its own executable routines and program scoped tags Once a task is triggered activated all the programs assigned to the task execute in the order in which they are grouped Programs can only appear once in the Controller Organizer and cannot be shared by multiple tasks Specifying task priorities Each task in the controller has a priority level The operating system uses the priority level to determine which task to execute when multiple tasks are triggered There are 15 configurable priority levels for periodic tasks that range from 1 15 with 1 being the highest priority and 15 being the lowest priority A higher priority task will interrupt any lower priority task The continuous task has the lowest priority and is always interrupted by a periodic task The FlexLogix controller uses a dedicated periodic task at priority 7 to process I O data Thi
85. ation 1794 UM001E EN P June 2003 5 8 Communicating with Devices on a ControlNet Link Device remote adapter FLEX_adapter Example Tag Names automatically created by the software FLEX_adapter FLEX_adapter SlotStatusBits FLEX_adapter Data FLEX_adapter 0 FLEX_adapter 0 Data remote input in slot 0 direct connection Publication 1794 UM001E EN P June 2003 FLEX_adapter 0 C FLEX_adapter 0 C Config FLEX_adapter 0 C FilterO_00_1 FLEX_adapter 0 C Filter1_00_11 FLEX_adapter 0 C Filter2_00_1 FLEX_adapter 0 C Filter3_12_15 FLEX_adapter 0 C Filter4_12_15 FLEX_adapter 0 C Filters_12_15 FLEX_adapter 0 C ResetCounter FLEX_adapter 0 C DisableFilter FLEX_adapter 0 FLEX_adapter 0 1 Fault FLEX_adapter 0 1 Data FLEX_adapter 0 1 Counter Device remote output in slot 1 direct connection Communicating with Devices on a ControlNet Link 5 9 Example Tag Names automatically created by the software FLEX_adapter 1 C FLEX_adapter 1 C SSDate FLEX_adapter 1 1 FLEX_adapter 1 Fault FLEX_adapter 1 0 FLEX_adapter 1 0 Data remote input2 in slot 2 rack optimized connection These tags are created as aliases into the FLEX_adapter tag FLEX_adapter 2 C FLEX_adapter 2 C Config FLEX_adapter 2 C FilterO_00_1 FLEX_adapter 2 C Filter1_00_1 FLEX_adapter 2 C Filter2_00_1 FLEX_adapter 2 C Filter3_12_15 FLEX_adapter 2 C Fil
86. ay De POR REDAU Eee 2 3 Defining programs 1 1 9 9 amp ddsand oe Ges 4M Gee a dike end cs 2 5 Defining routines faut scan Sok sip Sag Ah a 2 5 isto th Event Task socre npete d Ea hehe Par ie 2 6 Prioritizing Periodic and Event Tasks 2 6 Triggering the Event Task 449 35 4p hake ale Ps oad 2 7 Programmatically Determine if an EVENT Instruction Triggered a Task r 8 Sa G 9es ge ah Salt Gh bps Beas ates 2 8 How the FlexLogix System Uses Connections 2 9 Determining Connections for Produced and Consumed TASS aC caer pase Sty hy ete pee Aye A Se AS 2 10 Determining Connections for Messages 2 11 Determining Connections for I O Modules 2 12 Connections for local and extended local I O modules 2 12 Connections for remote devices 4 6 o h 4 0 O86 4 eG es 2 13 Direct connections for I O modules 2 13 Rack optimized connections for I O modules 2 14 Combining direct and rack optimized connections 2 14 Connections to remote ControlNet or EtherNet IP devices nnna is ah Rg tle ie 8 Ge Gk Hoon ct 2 15 Connections to DeviceNet devices 2 16 Determining Total Connection Requirements 2 17 Local connections eot nici oh ce tee Eek E eK ales 2 19 Remote CONNECHONS 3 4 4 God eh we ae wea hes 2 19 Downloading Projects atic eet nda hte ae ee ee Ste 2 20 Selecting a System Overhead Percentage 2 21 Publication 1794 UM001E EN P
87. beginning on page 10 6 Put controller into RUN mode Either disable power to the controller or disconnect the scanner from DeviceNet This controller will be the secondary controller FlexLogix Back Up on DeviceNet 10 5 9 Connect the other FlexLogix controller with a 1788 DNBO scanner on the network 10 Set the node address to 0 11 Power up the controller and scanner 12 Use RSNetWorx for DeviceNet to download the same scanlist used in step 5 It may be necessary to browse the network again before downloading the scanlist This second browsing of the network allows RSNetWorx for DeviceNet to establish communication to the new scanner at the same node number as the previous scanner 13 Use RSLogix5000 to download the user program to the second FlexLogix controller as performed in step 6 Typically the same user program is downloaded to the second FlexLogix controller as the first However unlike the scanlists the user programs in the controllers do not have to be identical 14 Put the controller into RUN mode This controller is now ready to go and is the primary controller 15 Reapply power to the secondary controller and or reconnect the secondary scanner to the DeviceNet subnet This completes the back up process For more detailed information on some of the steps listed previously see the next section Publication 1794 UM001E EN P June 2003 10 6 FlexLogix Back Up on DeviceNet Developing th
88. bit individual modules or groups of modules which prevents the controller from trying to communicate with the modules Inhibiting a module shuts down the connection from the controller to that module When you configure an I O module it defaults to being not inhibited You can change an individual module s properties to inhibit a module ATTENTION Inhibiting a module causes the connection to the module to be broken and prevents communication of I O data The controller and other I O modules continue to operate based on old data from that module To avoid potential injury and damage to machinery make sure this does not create unsafe operation Placing and Configuring Local 1 0 3 15 Even if you inhibit an I O module the FlexBus still scans the module each scan sequence You can only inhibit an I O module if you configured the module to operate with a direct connection On the Connection tab of the module properties in the programming software you can select to inhibit that specific module Module Properties Local 2 1794 IB167A 1 1 x Requested Packet Interval RPI 5 i4 ms I Major Fault On Controller If Connection Fails While in Run Mode Module Fault Cancel lt Back Next gt L Erin Help To inhibit a rack optimized connection you must inhibit the DIN rail which in turns inhibits all the modules on that rail whether configured for rack optimized or direct connections W
89. c power source selector switch EXTERNAL O oooo ooooo f lt 4 terminals for external 24V dc power supply Publication 1794 UM001E EN P June 2003 Communicating with Devices on a Serial Link 7 3 2 Select the appropriate cable If you are using an isolator Use this cable yes The 1761 CBL APOO cable right angle bend connector to controller or the 1761 CBL PM02 cable straight connector to the controller attaches the controller to port 2 on the 1761 NET AIC isolator The 8 pin mini DIN connector is not commercially available so you cannot make this cable 6 O 1 7 2 re St 8 4 9 O Z DB 9 right angle or straight cable end Pin DB 9 end 678 T DE 12 8 pin mini DIN cable end Mini DIN end 1 DCD DCD 2 RxD RxD 3 TxD TxD 4 DTR DTR 5 ground ground 6 DSR DSR 7 RTS RTS 8 CTS CTS 9 na na no The 1756 CP3 cable attaches the controller directly to the RS 232 device 1 CD 1 CD 2 RDX 2 RDX 3 TXD 3 TXD 4 DTR 4 DTR COMMON COMMON L 6 DSR 6 DSR 7 RTS 7 RTS 8 CTS 8 CTS 9 9 straight right angle cable end cable end If you make your own cable it must be shielded and the shields must be tied to the metal shell that surrounds the pins on both ends of the cable You can also use a 1747 CP3 cabl
90. cal 0 C DelayTime_0 BOOL Decimal Local 0 C DelayTime_1 BOOL Decimal Local 0 C DelayTime_2 BOOL Decimal Local 0 C DelayTime_3 BOOL Decimal Local 0 C DelayTime_4 BOOL Decimal Local 0 C DelayTime_5 BOOL Decimal Publication 1794 UM001E EN P June 2003 3 14 Placing and Configuring Local 1 0 Inhibiting 1 0 Module Operation Publication 1794 UM001E EN P June 2003 The rack optimized tags are created as aliases into the array tag Local I which is the array for input modules on the local rail This array contains one element for each slot on the rail based on the chassis size you specify when you configure the rail You can either address the rack optimized module by the alias tag which uses the slot number or the array element in the rail tag If you enter the alias tag in your logic the programming software displays the base tag Local I contains an element for each possible slot on the rail whether you actually install an input module there or not Local O also contains an element for each possible slot If you configure a module on the local rail as a direct connection do not use the associated array element in Local I or Local O Use the tag the software creates for the module which uses the slot number In some situations such as when initially commissioning a system it is useful to disable portions of a control system and enable them as you wire up the control system The controller lets you inhi
91. ce the FlexLogix tag name in double quotes Type of MSG Instruction Example Source and Destination PLC 5 writes to FlexLogix source element N7 10 destination tag array_1 PLC 5 reads from FlexLogix source tag array_1 destination element N7 10 Publication 1794 UM001E EN P June 2003 Communicating with Devices on an EtherNet IP Link 4 29 Example 3 Total connections required by Flex1 The following table calculates the connections used in this example Connection Amount Flex1 controller to 3 local 1 0 modules rack optimized connection for the DIN rail 1 direct connection for each I O module 3 Flex1 controller to local 1788 ENBT 0 connected cached MSG from Flex1 to Control1 1 connected cached MSG from Flex1 to PLC 5E1 1 total connections used 6 If you configured the local I O modules as rack optimized you would only need the DIN rail connection to the I O modules reducing the above example by 3 connections Publication 1794 UM001E EN P June 2003 4 30 Communicating with Devices on an EtherNet IP Link Example 4 Using FlexLogix You can use the FlexLogix controller to bridge messages between as a Bridge EtherNet IP A devices the controller supports one connected and one unconnected message between devices The FlexLogix controller will not bridge I O data only messaging data and there is no buffer to store waiting messages that bridge networks IMPORTANT The Fle
92. ckwell Automation representative for any States technical support issues New Product Satisfaction Return Rockwell tests all of our products to ensure that they are fully operational when shipped from the manufacturing facility However if your product is not functioning and needs to be returned United States Contact your distributor You must provide a Customer Support case number see phone number above to obtain one to your distributor in order to complete the return process Outside United Please contact your local Rockwell Automation representative for States return procedure www rockwellautomation com Corporate Headquarters Rockwell Automation 777 East Wisconsin Avenue Suite 1400 Milwaukee WI 53202 5302 USA Tel 1 414 212 5200 Fax 1 414 212 5201 Headquarters for Allen Bradley Products Rockwell Software Products and Global Manufacturing Solutions Americas Rockwell Automation 1201 South Second Street Milwaukee WI 53204 2496 USA Tel 1 414 382 2000 Fax 1 414 382 4444 Europe Rockwell Automation SA NV Vorstlaan Boulevard du Souverain 36 BP 3A B 1170 Brussels Belgium Tel 32 2 663 0600 Fax 32 2 663 0640 Asia Pacific Rockwell Automation 27 F Citicorp Centre 18 Whitfield Road Causeway Bay Hong Kong Tel 852 2887 4788 Fax 852 2508 1846 Headquarters for Dodge and Reliance Electric Products Americas Rockwell Automation 6040 Ponders Court Greenville SC 29615 4617 USA Tel 1 864
93. connections e other types of messages up to 16 connections 12 x or later up to 32 connections Publication 1794 UM001E EN P June 2003 2 12 What Is FlexLogix Determining Connections E for 1 0 Modules Connection direct The FlexLogix system uses connections to transmit I O data These connections can either be direct connections or rack optimized connection Over ControlNet I O connections are scheduled connections Description A direct connection is a real time data transfer link between the controller and an 1 0 module The controller maintains and monitors the connection between the controller and the I O module Any break in the connection such as a module fault or the removal of a module while under power causes the controller to set fault status bits in the data area associated with the module rack optimized Publication 1794 UM001E EN P June 2003 For digital I O modules you can select rack optimized communication A rack optimized connection consolidates connection usage between the controller and all the digital 1 0 modules on a rack or DIN rail Rather than having individual direct connections for each 1 0 module there is one connection for the entire rack or DIN rail Connections for local and extended local 1 0 modules The FlexLogix controller automatically assigns one rack optimized connection for the local DIN rail and one rack optimized connection for the extended local DIN rail Yo
94. ction also limits the status and diagnostic information that is available from the I O modules and is limited to a single RPI Combining direct and rack optimized connections A DIN rail can have both a rack optimized connection and direct connections Assume that the I O modules in slot 0 and slot 1 on the local rail are configured for a rack optimized connection and that the I O module in slot 2 is configured for a direct connection Also assume that the I O modules on the extended local DIN rail are analog I O modules so each module requires a direct connection The following table calculates the connections in this example Connection Amount FlexLogix controller to 3 local 1 0 modules rack optimized connection for the DIN rail 1 direct connection for one I O module slot 2 1 FlexLogix controller to 2 extended local 1 0 modules rack optimized connection for the DIN rail 1 direct connection for each 1 0 module 2 total connections used 5 Publication 1794 UM001E EN P June 2003 What Is FlexLogix 2 15 Connections to remote ControlNet or EtherNet IP devices A remote device over ControlNet and EtherNet IP can be configured as either a rack optimized connection and direct connection In this example the FlexLogix controller uses one rack optimized connection to communicate with the communication adapter to receive data from the digital I O modules two in this example a
95. d and consumed tags e messages You indirectly determine the number of connections the controller uses by configuring the controller to communicate with other devices in the system Connections are allocations of resources that provide more reliable communications between devices than unconnected messages The FlexLogix system supports both scheduled and unscheduled connections and unconnected messages Description A scheduled connection is unique to ControlNet communications A scheduled connection lets you send and receive data repeatedly at a predetermined rate which is the requested packet interval RPI For example a connection to an 1 0 module is a scheduled connection because you repeatedly receive data from the module at a specified rate Other scheduled connections include connections to e communication devices e produced consumed tags On a ControlNet network you must use RSNetWorx for ControlNet to enable all scheduled connections and establish a network update time NUT unscheduled connection e deterministic e used by both ControlNet and EtherNet IP An unscheduled connection is a message transfer between controllers that is triggered by the requested packet interval RPI or the program such as a MSG instruction Unscheduled messaging lets you send and receive data when needed All EtherNet IP connections are unscheduled unconnected message e least deterministic An unconnected message is a me
96. d connection These tags are created as aliases into the FLEX_adapter tag FLEX_adapter 2 C FLEX_adapter 2 C Config FLEX_adapter 2 C FilterO_00_1 FLEX_adapter 2 C Filter1_00_1 FLEX_adapter 2 C Filter2_00_1 FLEX_adapter 2 C Filter3_12_15 FLEX_adapter 2 C Filter4_12_15 FLEX_adapter 2 C Filters_12_15 FLEX_adapter 2 C ResetCounter FLEX_adapter 2 C DisableFilter FLEX_adapter 2 remote output2 in slot 3 rack optimized connection These tags are created as aliases into the FLEX_adapter 0 tag FLEX_adapter 3 C FLEX_adapter 3 C SSDate FLEX_adapter 3 0 For examples of local I O tags see Chapter 3 Placing and Configuring Local I O Publication 1794 UM001E EN P June 2003 4 12 Communicating with Devices on an EtherNet IP Link Sending Messages The FlexLogix controller can send MSG instructions to other controllers over an EtherNet IP link Each MSG instruction requires you to specify a target and an address within the target The number of messages that a device can support depends on the type of message and the type of device This device Support this many Support this many unconnected messages connected messages 1756 ENBT module 256 128 for a Logix5550 controller 1788 ENBT daughtercard 5 32 for a FlexLogix controller 1794 AENT adapter The 1794 AENT adapter can support a total of 32 messages whether they be connected unconnected or some combination of both
97. destination data type The FlexLogix controller can process messages initiated from PLC or SLC controllers These messages use data table addresses In order for these controllers to access tags within the FlexLogix controller you map tags to data table addresses Publication 1794 UM001E EN P June 2003 4 18 Communicating with Devices on an EtherNet IP Link For In this field PLC 3 PLC 5 and File Number SLC controllers Mapping addresses The programming software includes a PLC SLC mapping tool which allows you to make an existing controller array tag in the local controller available to PLC 2 PLC 3 PLC 5 or SLC controllers To map addresses 1 From the Logic menu select Map PLC SLC Messages PLC2 3 5 SLC Mapping Lx PLC 3 5 SLC Mapping EO Help Delete Map PLC 2 Mapping Tag Name 2 Specify this information Specify For example Type the file number of the data table in the 10 PLC SLC controller Tag Name Type the array tag name the local controller uses to refer array_1 to the PLC SLC data table address The tag must be an integer array SINT INT or DINT that is large enough for the message data PLC 2 controllers Tag Name Type the tag name to be the PLC 2 compatibility file 200 Publication 1794 UM001E EN P June 2003 TIP You can map as many tags as you want to a PLC 3 PLC 5 or SLC controller You can map only one tag to a PLC 2 controller
98. digital and analog I O modules mixed 5 msl second rail of digital and analog 1 0 modules mixed 5 ms 1 You can use one rail of modules on the local DIN rail or the extended DIN rail 2 f the number of analog I O modules is small you can speed up the RPI using the following equation RPI 2ms Number of analog 1 0 modules x 0 5ms Publication 1794 UM001E EN P June 2003 Placing and Configuring Local 1 0 3 7 Determining When the Controller Updates 1 0 The FlexLogix controller uses to two services to scan I O the FlexBus and the controller itself The FlexBus continually scans all the slots 0 7 on each DIN rail The FlexBus scans both DIN rails at the same time starting with slot 0 then scanning slot 1 and continuing with all the slots and then repeating the cycle Even if a module is inhibited or a slot is empty the FlexBus scans that slot The FlexBus scan identifies where modules reside and collects module data for the controller scan The controller scans only those modules that are configured in the Control Organizer This scan updates the module tags with current data The RPI for the DIN rail affects how fast the controller gets data from the FlexBus The FlexLogix system follows a producer consumer model Input modules produce data for the system Controllers output modules and intelligent modules produce and consume data The producer consumer model multicasts data This means that multiple nodes can con
99. dresses 8 6 Communicating with Devices on a Third Party Link FlexLogix Back Up on DeviceNet FlexLogix System Specifications Maintaining the Battery Table of Contents 5 Installing a DH 485 Network 0 0005 8 7 Grounding and terminating a DH 485 network 8 9 Example FlexLogix Controller ControlLogix Controller and SLC Controller on the Same DH 485 Network 8 9 Chapter 9 Using This Ghaptet osse gad are g cane ee end eee daa anne g 9 1 Configuring Your System for a Third Party Link 9 1 Step 1 Install thesnardwates 4 4 cuieg o aha ee cies 9 2 Step 2 Configure the daughtercard as part of the system 9 2 Communication Format vos ae Senn ES Dade eh eae Knee sh 9 4 Connection Parameters asasan aaaea 9 4 Chapter 10 How the Back up Works nananana aaa 10 2 Requirements of the Back Up 10 3 Power Up and System Start up oaaae 10 4 Developing the FlexLogix Back Up Application 10 6 Back up Heartbeat Configuration Rungs 10 6 Reading Back up State RUNG 44 4 naaa eke ea 10 10 Reading Back up Status nanana earns ea eS 10 12 Using Indicators to Check Status aaa aaaea aaa 10 13 Development and Debugging Tips 10 13 Appendix A Using This Appendix n aaua aaaea A 1 FlexLogix Controller gt gerrr a eae Pees Pale EO A 1 1794 FLA FlexLogix Extended Local Adapter A 5 1756 BAL Battery cniras ra
100. duced tag and select the DINT or REAL data type as appropriate More than one DINT or REAL A Create a user defined data type that contains an array of DINTs or REALs as appropriate B Create a produced tag and select the user defined data type you created Publication 1794 UM001E EN P June 2003 5 30 Communicating with Devices on a ControlNet Link Publication 1794 UM001E EN P June 2003 2 In RSNetWorx software open the ControlNet configuration for the target ControlNet PLC 5 controller insert a Receive Scheduled Message and enter the following Message size lf the produced tag Then for the Message size enter contains INTs The number of integers in the produced tag DINTs Two times the number of DINTs or REALs in the produced REALS tag For example if the produced tag contains 10 DINTs enter 20 for the Message size 3 In the RSNetWorx software reschedule save the network The ControlNet PLC 5 controller does not perform type checking Make sure the PLC 5 data type can correctly receive the FlexLogix produced tag to ensure proper data is being received When a ControlNet PLC 5 controller consumes a tag that is produced by a Logix5000 controller it stores the data in consecutive 16 bit integers The ControlNet PLC 5 controller stores floating point data which requires 32 bits regardless of the type of controller as follows e The first integer contains the upper left most bits of the valu
101. e e The second integer contains the lower right most bits of the value To re construct the floating point data within the ControlNet PLC 5 controller first reverse the order of the integers and then copy them to a floating point file Communicating with Devices on a ControlNet Link 5 31 Consuming a tag from a ControlNet PLC 5 controller To consume a tag from a ControlNet PLC 5 controller 1 In RSNetWorx software open the ControlNet configuration of the ControlNet PLC 5 controller insert a Send Scheduled Message 2 In RSLogix 5000 software add the ControlNet PLC 5 controller to the Controller Organizer 3 Create a user defined data type that contains these members Data type Description DINT Status INT x where x is the output size of the Data produced by a ControlNet PLC 5 data from the ControlNet PLC 5 controller controller If you are consuming only one INT no dimension is required 4 Create a consumed tag with the following properties For this tag property Type or select Tag Type Consumed Controller The ControlNet PLC 5 that is producing the data Remote Instance The message number from the ControlNet configuration of the ControlNet PLC 5 controller RPI A power of two times the NUT of the ControlNet network For example if the NUT is 5ms select an RPI of 5 10 20 40 etc Data Type The user defined data type that you created 5 In the RSNetWorx for ControlNe
102. e FlexLogix Back Up Application Publication 1794 UM001E EN P June 2003 The FlexLogix back up is enabled from an RSLogix 5000 user program with a few simple ladder rungs or equivalent The following rungs are used in the FlexLogix back up e Back up Heartbeat Configuration Rungs required e Reading Back up State Rung optional e Reading Back up Status optional Back up Heartbeat Configuration Rungs The first and most critical step is to set the back up heartbeat constant in the DeviceNet scanner The heartbeat constant enables the back up feature and determines the switchover time 2 x heartbeat By default the heartbeat is zero this default value disables the back up mode Your user program must set the heartbeat to a non zero value to enable back up The heartbeat occurs in multiples of 8ms i e 8 16 24 etc We recommend a value of 16 48ms for most applications The recommended heartbeat times result in switchover times of 32 96ms However these times do not include controller scan delays IMPORTANT If multiples of 8 are not used for the requested heartbeat then the DeviceNet scanner uses the next higher supported heartbeat value that can be read from the scanner For example if you set the heartbeat to 10 the scanner uses a 16ms heartbeat FlexLogix Back Up on DeviceNet 10 7 Setting the Heartbeat Constant You can set the heartbeat constant with five rungs of ladder logic Figure 10 2 shows
103. e from the SLC product family This cable has a larger right angle connector than the 1756 CP3 cable Publication 1794 UM001E EN P June 2003 7 4 Communicating with Devices on a Serial Link 3 Connect the appropriate cable to the serial port on the controller A E z laee a B Sooda il me L O IL 1761 cable isolator e 1761 NET AIC user supplied modem cable Ge MEZZI J modem 24 V de ATTENTION The FlexLogix controller is grounded through its DIN rail It is important that you understand the workstation s grounding system before connecting it to the controller An isolator is recommended between the controller and the workstation Publication 1794 UM001E EN P June 2003 Communicating with Devices ona Serial Link 7 5 Step 2 Configure the serial port of the controller 1 In RSLogix 5000 programming software select the Controller folder Right click to select Properties 2 On the Serial Port tab specify the appropriate serial communication configuration f RSLogix 5000 quick_start 1794 L33 File Edit View Search Logic Co
104. e old battery 4 Install a new 1756 BA1 battery ATTENTION Only install a 1756 BA1 battery If you install a different battery you may damage the 1 controller 5 Attach the battery label a Write on the battery label the date you install the battery b Attach the label to the inside of the battery compartment 6 On the front of the controller is the BATTERY LED off If Then Yes Go to the next step No A Check that the battery is correctly connected to the controller B If the BATTERY LED remains on install another 1756 BA1 battery C If the BATTERY LED remains on after you complete Step B contact your Rockwell Automation representative or local distributor 7 Dispose the old battery according to state and local regulations ATTENTION Do not incinerate or dispose lithium batteries in general trash collection They may explode or rupture violently Follow state and local regulations for disposal of these materials You are legally responsible for hazards created while your battery is being disposed Publication 1794 UM001E EN P June 2003 Numerics 1756 BA1 A S B 1 1788 CN2DN 6 10 1788 CNCx 5 1 1788 DNBO 6 1 9 1 1788 ENBT 4 1 1794 FLA A 5 A adding extended local analog module 1 9 local input module 1 5 local output module 1 7 alias defining 3 20 getting started 1 14 analog module adding 1 9 ASCII protocol 7 15 B battery A 8 B 1 how to replace B 3 life B 1 storage
105. elopment and debugging tips e Develop and debug the entire application with only the primary controller and scanner present When the application is totally verified then download the program and exact same scanlist to the secondary controller without the primary controller present Verify that the secondary is also functioning properly and then both primary and secondary can be added to the network at the same time No configuration parameters are entered from RSNetworx for DeviceNet or RSLogix5000 to enable Back up All configuration occurs in the user program Almost your entire application e g except for a few ladder rungs can be developed without knowledge that the application will have a back up controller and scanner Local I O still works when this solution is used but the Local I O is not backed up Switchover time depends on the user configurable heartbeat After two heartbeats are lost between primary and secondary the switchover occurs This time can be as little as 50ms with a heartbeat of 16ms Publication 1794 UM001E EN P June 2003 10 14 FlexLogix Back Up on DeviceNet Publication 1794 UM001E EN P June 2003 e The I O during switchover is NOT bumpless Since the programs and I O updates are not synchronized it is possible for the secondary controller to be either slightly faster or slower than the primary For example if output changes during a switchover the fact that the primary and secondary con
106. endor Jar X Vv M Analog I Digital M Communication V Motion M Controller Other V Specialty 1 0 Select AIl Clear All Cancel Help a gt Module Properties Controller 1788 MODULE 1 1 x y information on communications format the connection parameters see the next section Type 1788 MODULE Generic 1788 Module Parent Controller Name Profibus Description a Comm Format Data DINT X Slot 1 r Connection Parameters Assembly A Instance Size Input fir2 fizs a 32 bit Output 5s jiz 32 bit iguration fis fo a 8 bit Status put Status mutaa Cancel Back Next gt Finish gt gt Help Publication 1794 UM001E EN P June 2003 9 4 Communicating with Devices on a Third Party Link Publication 1794 UM001E EN P June 2003 Communication Format The Communication Format field chooses a data type for information transmitted between the controller and a remote device connected to the 1788 MODULE communication card This format creates an array in the controller of whatever data type you choose for the input and output data Connection Parameters You must set connection parameters to define data identification and connection size An Assembly Instance and Data Size must be assigned for each e Input e Output e Configuration Assembly Instance The Assembly Instance is a number that identifies what data transferred between the owner c
107. ent discharged the controller provides the following warnings e On the front of the controller the BATTERY LED turns on solid red e A minor fault occurs type 10 code 10 Publication 1794 UM001E EN P June 2003 B 2 Maintaining the Battery To prevent the battery from leaking potentially dangerous chemicals replace the battery at least as often as ATTENTION To prevent possible battery leakage even if the BATTERY LED is off replace the battery according to this schedule below the controller is 0 to 35 C No required replacement 36 to 40 C 3 years 41 to 45 C 2 years 46 to 50 C 16 months 51 to 55 C 11 months 56 to 60 C 8 months To estimate how long the battery will support the memory of the controller 1 Determine the temperature C 1 in below the FlexLogix controller 2 Determine the percentage of time that the controller is powered off per week EXAMPLE If a controller is off e 8 hr day during a 5 day work week e all day Saturday and Sunday Then the controller is off 52 of the time 1 total hours per week 7 x 24 168 hours 2 total off hours per week 5 days x 8 hrs day Saturday Sunday 88 hours 3 percentage off time 88 168 52 Publication 1794 UM001E EN P June 2003 Maintaining the Battery B 3 Use the off time percentage you calculated with the following table to determine battery life Worst case batt
108. epend on the specific features of the I O module The name of the structure is based on the location of the I O module in the system Each I O tag is automatically created when you configure the I O module through the programming software Each tag name follows this format Location SlotNumber Type MemberName SubMemberName Bit where Is Location Identifies network location LOCAL local DIN rail or chassis LOCAL2 extended local DIN rail ADAPTER_NAME identifies remote adapter or bridge SlotNumber Slot number of I O module in its chassis Type Type of data input O output C configuration S status MemberName Specific data from the I O module depends on the type of data the module can store For example Data and Fault are possible fields of data for an I O module Data is the common name for values the are sent to or received from I O points SubMemberName Specific data related to a MemberName Bit optional Specific point on the I O module depends on the size of the 1 0 module 0 31 for a 32 point module L EXAMPLE 5 6 140 Configuration 1798 CNC A cnet 11794 4CN15 C FLEX_adapter amp 0 1794 16164 input amp 1 1794 06164 output amp 2 1794 1B16 4 input2 configured for rack optimized amp 3 1794 081674 output2 connections FlexBus Local amp 0 1794 16164 input amp 1 1794 081644 output g FlexBus Local2 configured for direct connections Public
109. ery life estimate Catalog number Temperature Power off 100 Power off 50 Battery duration after the LED turns on 1794 133 60 C 2 3 years 4 6 years 3 days 25 C 1 year 2 years 3 days 1794 134 60 C 1 8 years 3 6 years 3 days 25 C 6 7 months 1 1 year 3 days 1 The battery indicators BATTERY warns you when the battery is low These durations are the amounts of time the battery will retain controller memory from the time the controller is powered down after the LED first turns on IMPORTANT If the BATTERY LED turns on when you apply power to the controller the battery life may be less than the table above indicates Some of the warning time may have been used while the controller was off and unable to turn on the BATTERY LED Replacing a Battery Because the controller uses a lithium battery you must follow specific precautions when handling or disposing a battery ATTENTION The controller uses a lithium battery which contains potentially dangerous chemicals Before handling or disposing a battery review Guidelines for Handling Lithium Batteries publication AG 5 4 1 Turn off power to the FlexLogix controller 2 Does the existing battery show signs of leakage or damage If Then Yes Before handling the battery review Guidelines for Handling Lithium Batteries publication AG 5 4 No Go to the next step Publication 1794 UM001E EN P June 2003 B 4 Maintaining the Battery 3 Remove th
110. exLogix writes to PLC 2 FlexLogix reads from PLC 5 or SLC In the FlexLogix controller select one of these data types SINT INT DINT or REAL Example source element array_7 Specify the destination file type based on the destination device PLC 5 typed read S B N or F PLC 5 word range read S B N F O A or D SLC B N or F Example source element N7 10 Use the PLC 2 compatibility file Example destination tag 070 In the FlexLogix controller specify the destination data type based on the destination device PLC 5 SINT INT DINT or REAL SLC INT or REAL Example destination tag array_1 FlexLogix reads from PLC 2 Use the PLC 2 compatibility file Example source element 070 In the FlexLogix controller select one of these data types SINT INT DINT or REAL Example destination tag array_1 Publication 1794 UM001E EN P June 2003 Typed read command 16 bit words in PLC 5 controller The typed commands maintain data struc c gt 32 bit words in FlexLogix controller Communicating with Devices on a ControlNet Link 5 15 The FlexLogix controller can send typed or word range commands to PLC 5 controllers These commands read and write data differently The following diagrams show how the typed and word range commands differ Word range read command 16 bit words in PLC 5 controller 2 2 3 3 4 4
111. exl 4 27 Example 3 FlexLogix Controller to Other Devices 4 27 Example 3 Sending MSG instructions 4 28 Example 3 Total connections required by Flexl 4 29 Example 4 Using FlexLogix as a Bridge 4 30 Chapter 5 Using This Chapter so ark ms A eae SO AF Sead ateolbly Soke 5 1 Configuring Your System for a ControlNet Link 5 1 Step 1 Configure the hardware acs easyer ene aes 5 2 Step 2 Configure the communication driver 5 3 Step 3 Configure the daughtercard as part of the system 5 4 Configuring Remote VO 4 said vase eae oe Pace as 5 5 Accessing remote I O ia hs SOG US B48 OER S ES OOS 5 7 Scheduling the ControlNet Network 5 10 Sending Messages S y s xd pdt detest hea ek A ble ot 5 11 Communicating with another Logix based controller 5 13 Communicating with other controllers over ControlNet 5 14 Mapping addresses 7 0 4 4 0 ack we kie eb ee Se tle 5 15 Producing and Consuming Data 04 5 17 Maximum number of produced and consumed tags 5 18 Size limit of a produced or consumed tag 5 18 Producing a tag ee gawk st Baska now ANS a 5 19 COMSUIINS Alas cutis yay any Gp ow de ae o a te 5 20 Guidelines for Configuring Connections 5 21 Example 1 FlexLogix Controller and Remote I O 5 22 Example 1 Controlling remote devices 5 23 Example 1 Total connections required by Flexl 5 23 Exam
112. f LOCAL2 Local2 4 C SSData Local2 4 1 Fault Local2 4 0 Data data for the LOCAL DIN rail Local Data Local Fault Local 0 Data Local 0 Fault Publication 1794 UM001E EN P June 2003 3 20 Placing and Configuring Local 1 0 Using aliases to simplify tag names An alias lets you create a tag that represents another tag This is useful for defining descriptive tag names for I O values For example Example Description 1 0 structure Local 0 0 Data 0 The aliases describe the specific 1 0 points Local 0 I Fault 0 alias light_on Local 0 0 Data 0 light_off Local 0 1 Fault 0 Monitoring 1 0 Modules The FlexLogix controller offers different levels at which you can monitor I O modules You can e configure an I O module so that the controller faults if that I O module loses its connection with the controller e use the programming software to display fault data e program logic to monitor fault data so you can take appropriate action Configuring the module s response to a connection failure You can configure modules to generate a major fault in the controller if they lose their connection with the controller Module Properties Local 2 1794 IB167A 1 1 x Requested Packet Interval RPI 5 i4 ms le I Major Fault On Controller If Connection Fails While in Run Mode Module Fault Cancel lt Back Next gt Help Publication 1794 UM001E EN P June 2003 Placing and Confi
113. f as many as 8 I O modules and an extended local DIN rail of as many as 8 I O modules The second DIN rail is optional local DIN rail LOCAL gt extended local DIN rail LOCAL2 p Publication 1794 UM001E EN P June 2003 3 2 Placing and Configuring Local 1 0 Selecting a Power Supply In a FlexLogix system select an Allen Bradley power supply In applications that must be compliant with CSA requirements use a Separated Extra Low Voltage SELV power supply that is compliant with IEC 61010 1 Annex H When selecting power supplies e Provide power for the controller separately from the power for the FLEX I O modules To provide power for FLEX I O modules follow the guidelines in the documentation for those modules e When providing power for the 1794 FLA extended local I O adapter treat the adapter as a communication adapter not as an 1 O module 1794 FLEX power supplies The following power supplies are the Allen Bradley offerings for the FlexLogix system Catalog Nominal Input Maximum Maximum Maximum Output current number input voltage real input apparentinput transformer voltage range power power load 1794 PS3 120 230V ac 85 265Vac 86W 205VA 250VA 3 0A 24V de horizontal mount 2 8A 24Vde non horizontal mount 1794 PS13 36W 53VA 90VA 1 3A 24V de Publication 1794 UM001E EN P June 2003 Placing and Configuring Local 1 0 3 3 Power requirements and t
114. g which means that as many as two controllers can simultaneously receive the tag data The local controller producing must have one connection for the produced tag and the first consumer and one more connection for each additional consumer heartbeat The default produced tag requires as many connections as there are consumers for the produced tag For example if the 3 consumers will consume the produced tag it requires 3 connections As you increase the number of controllers that can consume a produced tag you also reduce the number of connections the controller has available for other operations like communications and 1 0 consumed Publication 1794 UM001E EN P June 2003 Each consumed tag requires one connection for the controller that is consuming the tag FlexLogix controllers can produce and consume tags over e a ControlNet network e an EtherNet IP network THe Fortwo controllers to share produced or consumed tags both controllers must be attached to the same control network such as a ControlNet or Ethernet IP network You cannot bridge produced and consumed tags over two networks What Is FlexLogix 2 11 The total number of tags that can be produced or consumed is limited by the number of available connections and memory If the controller uses all of its connections for I O and communication devices no connections are left for produced and consumed tags Determining Connections Messages transfer da
115. g uses one connection for the tag and the first configured consumer of the tag Each consumer thereafter uses an additional connection Size limit of a produced or consumed tag A produced or consumed tag can be as large as 488 bytes but it must also fit within the bandwidth of the ControlNet network e As the number of connections over a ControlNet network increases several connections including produced or consumed tags may need to share a network update e Since a ControlNet network can only pass 500 bytes in one update the data of each connection must be less than 488 bytes to fit into the update If a produced or consumed tag is too large for your ControlNet network make one or more of the following adjustments e Reduce the Network Update Time NUT At a faster NUT less connections have to share an update slot e Increase the Requested Packet Interval RPD of all connections At a higher RPI connections can take turns sending data during an update slot Communicating with Devices on a ControlNet Link 5 19 e For a ControlNet bridge module CNB or CNBR in a remote chassis select the most efficient communication format for that chassis Are most of the modules in the Then select this communication chassis non diagnostic digital format for the remote 1 0 modules communication module yes rack optimization no none The Rack Optimization format uses an additional 8 bytes for each slot in its chassis Anal
116. ges Publication 1794 UM001E EN P June 2003 A 6 FlexLogix System Specifications Category radiated RF immunity FlexLogix extended local I 0 adapter 1794 FLA IEC 61000 4 3 10V m with 1kHz sine wave 80 AM from 30MHz to 1000MHz EFT B immunity IEC 61000 4 4 4kV at 2 5kHz on power ports 2kV at 5kHz on communications ports surge transient immunity IEC 61000 4 5 2kV line earth CM on shielded ports conducted RF immunity IEC 61000 4 6 10Vrms with 1kHz sine wave 80 AM from 150kHz to 8OMHz enclosure type rating none open style weight 28 kg 62 Ibs power supply a 1794 PS3 or 1794 PS13 In applications that must be compliant with CSA requirements use a Separated Extra Low Voltage SELV power supply that is compliant with IEC 61010 1 Annex H power conductors 60 C 140 F minimum copper 22 12 AWG 4 mm stranded 3 64 inch 1 2mm insulation maximum length 10m or less category 32 power connector torque Publication 1794 UM001E EN P June 2003 5 7 inch pounds Category extended local 1 0 cable FlexLogix System Specifications A 7 FlexLogix extended local 1 0 adapter 1794 FLA 1794 CE1 cable 1 foot 1794 CE3 cable 3 feet category 3 DIN rail steel 35 x 7 55mm DIN rail A B part number 199 DR1 46277 3 EN 50022 Certifications when product is marked UL CSA CSA crl2 C Tick EEx
117. gramming software to map the 1788 MODULE card as part of the FlexLogix system In the Controller Organizer add the card to the I O Configuration folder Communicating with Devices on a Third Party Link 9 3 1 In RSLogix 5000 programming software select the 1 0 Configuration folder 2 Right click to select New Module and add a 1788 MODULE communication daughtercard 3 Specify the appropriate communication settings f RSLogix 5000 Profibus 1794 L34 File Edit View Search Logic Communicatior als a 2 see 17 Offline D RUN E NoFoces gt OK t Moeis Alin t Controller Profibus A Controller Tags E Controller Fault Handler E Power Up Handler E Tasks 8 MainTask H E MainProgram CI Unscheduled Programs 7 6 Motion Groups 3 Ungrouped Axes 3 Trends amp Data Types i User Defined Strings E Predefined Ci Module Defined amp es g FlexBus 2 FlexBusl E firat iie 4 Specify the module s properties For more Select Module Type x gt Type Major Revision f1788 MODULE fi x Description 1788 DeviceNet Scanner le Generic 1 1788 10 100 Mbps Ethernet Bridge Twisted Pair Media 1788 ControlNet Bridge Coax Media 1788 ControlNet Bridge Redundant Coax Media 1788 ControlNet Bridge Fiber Media 1788 ControlNet Bridge Redundant Fiber Media Show V
118. gs EA MainRoutine CI Unscheduled Programs Motion Groups CI Ungrouped Axes Trends Data Types CR User Defined Sal Strings STRING ER Predefined E Module Defined A Place the cursor over the local DIN rail FlexBus Local 8 1 0 Co B Click the right mouse button and select New Module 2 Select an input module to add Type Major Revision 1794481674 fi x Description 16 Point 120V AC Input 8 Point 120V AC Input 8 Point 120V AC Isolated Input 10 Input 6 Output 24V DC Sink Source 16 Point 24V DC Input Sink 1 794 IB1 6XOB16P 4 16 Input 16 Output 24V DC Sink Protected Source Select a catalog number 1794 1B8 A 8 Point 24V DC Input Sink 1794 IB85 A 8 Point 24V DC Sensor Input N794 IC1 6 4 16 Point 48v DC Input Sink 1 794 ID2 B 2 Channel 24 DC Incremental Encoder 1794 E 40E 2 B 4 Input 2 Output 24 DC Non lsolated Analog 1794 IE8 B 8 Channel 24V DC Non Isolated Voltage Current Analog Input xl Show Vendor Ja z M Other M Specialty 1 0 Select All M Analog M Digital M Communication V Motion MV Controller Clear All Cancel Help Click OK continued Publication 1794 UM001E EN P June 2003 1 6 Getting Started Adding a local input module continued 3 Identify the input module These screens are specific to the 1794 IB16 input module Module Properties Local 1794 IB167A 1 1 x Type 1794 1B16 4 16 Poi
119. gs whose values are produced e Controller name that owns the tag that the local controller by another controller wants to consume e Tag name or instance that the controller wants to consume e Data type of the tag to consume e Update interval of how often the local controller consumes the tag The producer and consumer must be configured correctly for the specified data to be shared A produced tag in the producer must be specified exactly the same as a consumed tag in the consumer If any produced consumed tag between a producer and consumer is not specified correctly none of the produced consumed tags for that producer and consumer will be transferred For example if a FlexLogix controller is consuming three tags that another FlexLogix controller consumes but the first tag is specified incorrectly none of the tags are transferred to the consuming FlexLogix controller However one consumer failing to access shared data does not affect other consumers accessing the same data For example if the producing FlexLogix controller from the previous example also produced tags for other consuming controllers but did so correctly those tags are still transferred to the additional consuming controllers Maximum number of produced and consumed tags The maximum number of produced consumed tags that you can configure depends on the connection limits of the communication device that transfers the produced consumed data Each produced tag uses
120. gt Offline J M RUN No Forces ti No Edits a E ya C3 Power Up Handler E Tasks H 8 MainTask B ta MainProgram A Program Tags EA MainRoutine 3 Unscheduled Programs E Motion Groups G Ungrouped Axes EI Trends 3 6 Data Types Ep User Defined Strings R STRING E Predefined E Module Defined Select Module Type x Major Revision Description A ontrolNet Bridge Coax Media 1788 ControlNet Bridge Redundant Coax Media 1788 ControlNet Bridge Fiber Media 1788 ControlNet Bridge Redundant Fiber Media 1788 DeviceNet Scanner Show Vendor far 7 M Other M Specialty 1 0 Select All M Analog M Digital M Communication V Motion M Controller Clear AII Cancel Help gt Module Properties Controller 1788 CNC A 1 1 x Type 1788 CNC A 1788 ControlNet Bridge Coax Media 4 Specify the slot number 1 or 2 where you installed Vendor Allen Bradley the communication daughtercard Publication 1794 UM001E EN P June 2003 Name foretcard BP Slot i 5 Description a m Revision al fi Electronic Keying Compatible Module 7 Cancel Bact Next gt Lenin Help Complete your system configuration and develop your program logic Then download the project to the FlexLogix controller Communicating with Devices on a ControlNet Link 5 5 Configuring Remote 0 The FlexLogix controller supports remote I O
121. guring Local 1 0 3 21 If you do not configure the major fault to occur you should monitor the module status If a module loses its connection to the controller e outputs go to their configured faulted state e inputs remain in their last non faulted state ATTENTION If a module loses its connection to the controller the controller and other I O modules continue to operate based on old data from that module To avoid potential injury and damage to machinery make sure this does not create unsafe operation Configure critical I O modules to generate a controller major fault when they lose their connections to the controller Or monitor the status of I O modules Monitoring an 1 0 module Most I O modules have fault bits that indicate when a fault occurs at a specific point of a module To view this data through the programming software 1 In the Controller Organizer select Controller Tags Right click to select Monitor Tags Controller Tags examples controller File Edit View Search Logic Co alemi 8 SANESE Scope examples controller x Show Show All 7 Sot Tag Name 7 ortine z fo Forces Tag Name No Edits z Forces Disat Local 0 C Local 0 1 ORS _Path lt none gt E E Controller examples Locak0 Fault 2 0000_0000_0000_0000_0000_0000_o000 0000 Controler Tag Local0 Data 2 0000
122. guring a DIN Rail When you create a FlexLogix project the programming software automatically creates two DIN rails for the project You must configure the DIN rail 1 In the Controller Organizer select either the local Local or the extended local Local2 rail of the controller Right click the selected rail and select Properties 2 Specify the configuration options for the rail f RSLogix 5000 quick_start 1794 L33 A File Edit View Search Logic Communicatio Cu Offline J E RUN _ No Forces r s No Edits a ya 3 Power Up Handler B 86 Tasks 8 fa MainTask ta MainProgram A Program Tags EA MainRoutine 3 Unscheduled Programs 6 Motion Groups G Ungrouped Axes Trends 3J Data Types i User Defined ESR Strings R STRING H E Predefined 498 Module Defined 5 6 1 0 Configuration H 5 111796 at 2 FlexBus Loc 8 0 172 WEEE Description Module Fault Cross Reference Print aE New Module E Module Properties Controller 3 FlexBus 10 1 x General Connection Module Info Type FlexBus 1794 Virtual Backplane Adapter Vendor Allen Bradley Parent Controller Name te cal Slot 3 Description l H Chassis Size fe Comm Format Rack Optimization Revision fia fi 4 Status Offline Cancel Apply Help You must specify these characteristics e On the General tab specify the size
123. guring the AB_ETH Driver To configure the AB_ETH Ethernet communication driver perform the following steps 1 Start RSLinx Q RSLinx Professional RSWho 1 M E a Ling Gates Hs AB_KTA gs ABKTCA Configure Client Applications Configure CIP Options Configure Gateway Link Gateways AB_KT 1 Data AB_KTC 1 e Ethemet Highway Plus ControlNet Driver Diagnostics CIP Diagnostics Gateway Diagnostics Configure communication hardware 08 31 00 09 40AM 4 2 From the Communications menu select Configure Drivers The following window will open Configure Drivers r Available Driver Types Close Add evs N Help r Configured Drivers Status AB KICI CNet Name and Description Sta 0 i NNING Running Configure Node 17 Addr d000 Intr None RUNNING Running Startup Start Stop eebe ER Delete Publication 1794 UM001E EN P June 2003 4 4 Communicating with Devices on an EtherNet IP Link 3 Click on the arrow to the right of the Available Driver Types box The Available Driver Types list will appear Configure Drivers 21 x m Available Driver Types Close X Add New _ 5 232 DF devices lt z Help 1784 KT C X for CotrolNet devices 1784 KT KTX D PKTX D for DH DH 485 devices DF1 Polling Master Driver Status 1784 PCC for ControlNet devices Running Configure 1784
124. he control parameters for no handshaking You can connect 2 255 nodes to a single link In DF1 slave mode a controller uses DF1 half duplex protocol One node is designated as the master and it controls who has access to the link All the other nodes are slave stations and must wait for permission from the master before transmitting User mode communicating with ASCII devices 7 15 This requires your program logic to use the ASCII instructions to read and write data from and to an ASCII device Publication 1794 UM001E EN P June 2003 7 8 Communicating with Devices on a Serial Link Step 3 Configure the communication driver Use RSLinx software to configure the serial communication driver Select the DF1 driver 1 In RSLinx software select Communication Configure Driver From the Available Driver Types list select RS 232 DF1 Devices Qy Rockwell Software RSLinx Lite RSWho 1 Configure Drivers File View Eeoa Station Security Window Help gees H Ee Yew FiS 232 DF Devices Add New Help Configured Drivers Configure Shortcuts Name and Description Configure Client Applications Configure Configure CIP Options Startup r z z inx Gateways E Driver Diagnostics Ethernet en CIP Diagnostics Siop Click Add New lt gt 2 Specify the appropriate communication settings Configure Allen Bradley DF1 Communications Device Device N
125. he linking device cn_2_dnet the software automatically creates cn_2_dnet I and cn_2_dnet O data structures S 1 0 Configuration E 1 1788 CNC A CNET_card1 f 11788 CN2DN cnet_2_dnet gm 3 FlexBus Local gm 4 FlexBus Local2 Publication 1794 UM001E EN P June 2003 The 1788 CN2DN device in this example is in named A cnet_2_dnet The data for the linking device is configured as a Communicating with Devices on a DeviceNet Link 6 11 The rack optimized connection creates a DINT element for mapped data for each DeviceNet module connected to the linking device cnet_2_dnet The array cnet_2_dnet I Data contains the possible input elements the cnet_2_dnet O Data contains the possible output elements Controller Tags remote_example controller OF Xx Jremote_example cor 7 ShowAl E TagName F TagName Ve Force Maske Style Type 20000_o000_o000 Binary OO ooo o E a He ee a a e a a Hee he E F m 2 E E z m E E The index number on the array element refers to the same numbered word mapped to the device in RSNetWorx for DeviceNet Depending on the device there can be several words mapped to on device You can create aliases to the elements you actually use to more identify the data you need Publication 1794 UM001E EN P June 2003 6 12 Communicating with Devices on a DeviceNet Link Publication 1794 UM001E EN P
126. he source and destination tags e must be controller scoped tags e can be of any data type except for AXIS MESSAGE or MOTION_GROUP Publication 1794 UM001E EN P June 2003 Communicating with Devices on an EtherNet IP Link 4 15 Communicating with other controllers over EtherNet IP The FlexLogix controller also uses MSG instructions to communicate with PLC and SLC controllers The MSG instructions differ depending on which controller initiates the instruction For MSG instructions originating from a FlexLogix controller to a PLC or SLC controller Type of MSG Supported Source File Types Supported Destination File Types Instruction FlexLogix writes In the FlexLogix controller specify the source data type Specify the destination file type based on the to PLC 5or SLC based on the destination device destination device PLC 5 SINT INT DINT or REAL PLC 5 typed write S B N or F SLC INT REAL PLC 5 word range write S B N F 0 A or D SLC B N or F Example source element array_7 Example destination tag V7 70 Publication 1794 UM001E EN P June 2003 4 16 Communicating with Devices on an EtherNet IP Link Type of MSG Supported Source File Types Instruction FlexLogix writes In the FlexLogix controller select one of these data types to PLC 2 SINT INT DINT or REAL Example source element array_7 FlexLogix reads Specify the destination file type based on the destination from PLC 5 or de
127. hen you inhibit a communication module such as a 1788 CNC communication card the controller shuts down the connections to the communication card and to all the modules that depend on that card Inhibiting a communication module lets you disable an entire branch of the I O network Publication 1794 UM001E EN P June 2003 3 16 Placing and Configuring Local 1 0 When you select to inhibit a module the controller organizer displays a yellow attention symbol A over the module If you are Inhibit a module to offline put a place holder for a module you are configuring The inhibit status is stored in the project When you download the project the module is still inhibited online stop communication to a module If you inhibit a module while you are connected to the module the connection to the module is closed The modules outputs go to the last configured program mode If you inhibit a module but a connection to the module was not established perhaps due to an error condition or fault the module is inhibited The module status information changes to indicate that the module is inhibited and not faulted If you uninhibit a module clear the check box and no fault condition occurs a connection is made to the module and the module is dynamically reconfigured if the controller is the owner controller with the configuration you created for that module If you uninhibit the module and a fault condition occurs a connection i
128. hile offline the IP address of the Prescription IP Address 130 130 130 25 communication daughtercard that you installed E fo TT IMPORTANT When the project is online you can also specify the IP address on the Port Slot g Configuration screen if you did not Revision 1 1 Electronic Keying fc tible Modul z already use the Bootp tool to specify 2 eo an IP address When you specify an IP Cancel Bach Next gt address on the Port Configuration screen you assign the IP address to the device If you specify an IP address on the Port Configuration screen make sure it matches the IP address on the General screen Complete your system configuration and develop your program logic Then download the project to the FlexLogix controller Publication 1794 UM001E EN P June 2003 Communicating with Devices on an EtherNet IP Link 4 7 Configuring Remote 1 0 The FlexLogix controller supports remote I O over a EtherNet IP link Configuring I O in a remote chassis is similar to configuring local I O The difference is that you must also configure the communication daughtercard 1788 ENBT in the local chassis and the communication module in the remote chassis Add the FLEX 1 0 Ethernet Adapter to the 1 0 Configuration 1 In RSLogix 5000 programming software select 1788 ENBT communication daughtercard 2 Right click to select New Module and add a 1794 AENT Ethernet adapter 3 Specify the appro
129. ing temperature IEC 60068 2 1 Test Ad Operating Cold IEC 60068 2 2 Test Bd Operating Dry Heat IEC 60068 2 14 Test Nb Operating Thermal Shock 0 to 60 C 32 to 140 F Publication 1794 UM001E EN P June 2003 A 2 FlexLogix System Specifications Category storage temperature FlexLogix controller 1794 L33 L34 IEC 60068 2 1 Test Ab Un packaged Non operating Cold IEC 60068 2 2 Test Bb Un packaged Non operating Dry Heat IEC 60068 2 14 Test Na Un packaged Non operating Thermal Shock 40 to 85 C 40 to 185 F relative humidity IEC 60068 2 30 Test Db Un packaged Non operating Damp Heat 5 to 95 non condensing vibration IEC60068 2 6 Test Fc Operating 5g 10 500Hz shock IEC60068 2 27 Test Ea Unpackaged shock ES 002 Operating 30g Non operating 50g emissions CISPR 11 Group 1 Class A with appropriate enclosure ESD immunity IEC 61000 4 2 6kV contact discharges 8kV air discharges radiated RF immunity IEC 61000 4 3 10V m with 1kHz sine wave 80 AM from 30MHz to 1000MHz EFT B immunity IEC 61000 4 4 4kV at 2 5kHz on power ports 2kV at 5kHz on communications ports surge transient immunity IEC 61000 4 5 2kV line earth CM on shielded ports conducted RF immunity IEC 61000 4 6 10Vrms with 1kHz sine wave 80 AM from 150kHz to 80MHz enclosure type rating none open style weight 1794 L33_ 71 kg
130. instructions between Logix based controllers Type of MSG Instruction Example Source and Destination Logix based controller writes to source tag array_1 Logix based controller CIP Data Table Write destination tag array_2 Logix based controller reads from source tag array_1 Logix based controller CIP Data Table Read destination tag array_2 The source and destination tags e must be controller scoped tags e can be of any data type except for AXIS MESSAGE or MOTION_GROUP Publication 1794 UM001E EN P June 2003 5 14 Type of MSG Instruction FlexLogix writes to PLC 5 or SLC Communicating with Devices on a ControlNet Link Communicating with other controllers over ControlNet The FlexLogix controller also uses MSG instructions to communicate with PLC and SLC controllers The MSG instructions differ depending on which controller initiates the instruction For MSG instructions originating from a FlexLogix controller to a PLC or SLC controller Supported Source File Types In the FlexLogix controller specify the source data type based on the destination device PLC 5 SINT INT DINT or REAL SLC INT or REAL Example source element array_7 Supported Destination File Types Specify the destination file type based on the destination device PLC 5 typed write S B N or F PLC 5 word range write S B N F 1 0 A or D SLC B N or F Example destination tag N7 10 Fl
131. iod of inactivity that exceeds the time of a link dead timeout When the link dead timeout is exceeded usually the initiator with the lowest address claims the token When an initiator has the token it will begin to build the network Building a network begins when the initiator that claimed the token tries to pass the token to the successor node If the attempt to pass the token fails or if the initiator has no established successor for example when it powers up it begins a linear search for a successor starting with the node above it in the addressing When the initiator finds another active initiator it passes the token to that node which repeats the process until the token is passed all the way around the network to the first node At this point the network is in a state of normal operation Publication 1794 UM001E EN P June 2003 8 6 Communicating with Devices on a DH 485 Link Publication 1794 UM001E EN P June 2003 Number of nodes and node addresses The number of nodes on the network directly affects the data transfer time between nodes Unnecessary nodes such as a second programming terminal that is not being used slow the data transfer rate The maximum number of nodes on the network is 32 If the node addresses for controllers are assigned in sequence starting at node 1 with node 0 left for a programming terminal it is as efficient to leave the maximum node address at 31 as it is to decrease it to the highe
132. iority number that is less than higher priority the priority number of the other task another task to interrupt this task Assign a priority number that is greater than lower priority the priority number of the other task Notes e A higher priority task interrupts all lower priority tasks e A higher priority task can interrupt a lower priority task multiple times this task to share controller time with another task Assign the same priority number to both tasks The controller switches back and forth between each task and executes each one for Ims What Is FlexLogix 2 7 Triggering the Event Task To trigger an event task based on conditions in your logic use the EVENT Instruction trigger il Task Properties Task_1 General Configuration Program Schedule Monitor Let an event trigger this task Type Event 7 Let an EVENT instruction trigger the task Trigger EVENT Instruction Only 7 No tag is required Tag knone gt x Execute Task If No Event Occurs Within fi 000 000 ms Priority fi Lower Number Yields Higher Priority The EVENT Instruction Only trigger requires that you use a Trigger Event Task EVENT instruction to trigger the task You can use an EVENT instruction from multiple points in your project Each time the instruction executes it triggers the specified event task EVENT instruction in program A SE S l EVENT in
133. ission and the de assertion of the RTS signal This time delay is a buffer to make sure the modem successfully transmits the entire message The range is 0 32767 periods Normally leave at zero Publication 1794 UM001E EN P June 2003 Use this mode DF1 point to point Communicating with Devices on a Serial Link 7 7 Specifying system protocol characteristics The available system modes are For See page communication between the controller and one other DF1 protocol compatible device 7 9 This is the default system mode This mode is typically used to program the controller through its serial port DF1 master mode control of polling and message transmission between the master and slave nodes 7 12 The master slave network includes one controller configured as the master node and as many as 254 slave nodes Link slave nodes using modems or line drivers A master slave network can have node numbers from 0 254 Each node must have a unique node address Also at least 2 nodes must exist to define your link as a network 1 master and 1 slave station are the two nodes DF1 slave mode using a controller as a slave station in a master slave serial communication network 7 12 When there are multiple slave stations on the network link slave stations using modems or line drivers When you have a single slave station on the network you do not need a modem to connect the slave station to the master you can configure t
134. it The message in rung 3 uses the INT data type Figure 10 4 If new Heartbeat has been set verify Heartbeat Configuration by reading back from scanner to make sure configuration was accepted Get_Attrib_Single to Class 0x90 Instance 0x01 Attrib 0x12 DeviceNet 0 CommandRegister Run Set_Heartbeat DN MSG 3 Type CIP Generic Message Control Read_Heartbeat_Verify E a If scanner successfully configured or scanner already in RUN mode then set scanner to RUN mode NOTE Since scanner resets after being configured there may be a delay END OF BACKUP INITIALIZATION DeviceNet 0 CommandRegister Run Read_Heartbeat DN EQU DeviceNet 0 CommandRegister Run 4 Equal Source Current_Heartbeat Del SourceB Config_Heartbeat 16 DeviceNet 0 CommandRegister Run Rung 3 message configuration and communication tabs Configuration Communication Tag l Configuration Communication Tag l Message Type CIP Generic Path DeviceNet DeviceNet Service Get Attribute Single pe ani z c ation Method Type C ation Method Source l p a Bytes Co CDH Chame z Destination Link 0 a P eal Be o Hex Destination Curent Heartbeat z Bi m Source 0 Instance f1 Attributef12 Hex di k New Tag I Connected O Enable Enable Waiting Start Done Done Length 2 O Enable Enable Waiting Start Done Done Length 2 Eror Code Extended Error Code I Ti
135. king the time to provide us feedback Ty You can complete this form and mail it back to us visit us online at www ab com manuals or email us at RADocumentComments ra rockwell com Pub Title Type FlexLogix System Cat No 1794 L33 and 1794 L34 Pub No 1794 UM001E EN P Pub Date June 2003 Part No 957782 76 Please complete the sections below Where applicable rank the feature 1 needs improvement Overall Usefulness 1 2 3 How can we make this publication more useful for you c 2 3 Can we add more information to help you ompleteness all necessary information procedure step illustration feature is provided oa example guideline other explanation definition Technical Accuracy 1 2 3 Can we be more accurate all provided information is correct text illustration Clarity 1 2 3 How can we make things clearer all provided information is easy to understand Other Comments You can add additional comments on the back of this form Your Name Location Phone Your Title Function Would you like us to contact you regarding your comments No there is no need to contact me Yes please call me Yes please email me at Yes please contact me via Return this form to Allen Bradley Marketing Communications 1 Allen Bradley Dr Mayfield Hts OH 44124 9705 Phone 440 646 3176 Fax 440 646 3525 Email RADocumentComments ra rockwell com 2 Satisfactory and 3 outstanding P
136. ks e Manage project files e Organize your logic e Organize tags e Program routines e Test a project e Handle faults Who Should Use This manual is intended for those individuals who program This Manual applications that use FlexLogix controllers such as e software engineers e control engineers e application engineers e instrumentation technicians Publication 1794 UM001E EN P June 2003 Preface 2 When to Use This Manual Use this manual e when you are ready to integrate your application with the 1 0 devices controllers and networks in your system e after you perform these actions develop the basic code for your application perform isolated tests of your application How to Use this Manual This manual is divided into the basic tasks that you perform while programming a FlexLogix controller Each chapter covers a main task such as communicating over a specific network For each main task the chapter e lists what you need e describes the steps to follow to accomplish that task e provides details for each step as necessary e includes example system configurations Publication 1794 UM001E EN P June 2003 Summary of Changes Introduction This version of the FlexLogix System User Manual corresponds to version 12 and later of the controller firmware Revision bars shown in the margin of this page indicate changed information Significant changes made to this manual include For this u
137. l Link Communicating with Devices on a Serial Link For information about See page Configuring your system for a serial link 7 1 Example 1 workstation directly connected to a FlexLogix controller 7 9 Example 2 workstation remotely connected to a FlexLogix controller 7 10 Example 3 FlexLogix controller communicating with a bar code reader 7 15 IMPORTANT on gt length of serial RS 232 cables to 15 2m For the FlexLogix controller to operate on a serial network you need e a workstation with a serial port e RSLinx software to configure the serial communication driver e RSLogix5000 programming software to configure the serial port of the controller Step 1 Configure the hardware The RS 232 port is a non isolated serial port built in to the front of the FlexLogix controller 1 Determine whether you need an isolator If you connect the controller to a modem or an ASCII device consider installing an isolator between the controller and modem or ASCII device An isolator is also recommended when connecting the controller directly to a programming workstation Publication 1794 UM001E EN P June 2003 7 2 Communicating with Devices on a Serial Link One possible isolator is the 1761 NET AIC interface converter lt q _ port 2 mini DIN 8 RS 232 baud rate selector switch p gt DC SOURCE CABLE port 1 DB 9 RS 232 DTE gt lt q d
138. l1 EtherNet IP H H BO J y wo E Le oo E 7 FlexLogix controller CE J FlexLogix controller Flex1 Ethernet PLC 5 controller Flex2 PLC5E1 Publication 1794 UM001E EN P June 2003 4 28 Communicating with Devices on an EtherNet IP Link Example 3 Sending MSG instructions You configure a MSG instruction to a Logix5550 controller the same as you do for a FlexLogix controller All Logix based controllers follow the same MSG configuration requirements See Example 2 above Configuring a MSG instruction for a PLC 5 controller depends on the originating controller For MSG instructions originating from the FlexLogix controller to the Ethernet PLC 5 controller Type of Logix MSG instruction Source Destination Typed Read any integer element such as B3 0 SINT INT or DINT tag T4 0 ACC C5 0 ACC N7 0 etc any floating point element such as F8 0 REAL tag PD10 0 SP etc Typed Write SINT or INT tag any integer element such as B3 0 T4 0 ACC C5 0 ACC N7 0 etc REAL tag any floating point element such as F8 0 PD10 0 SP etc Word Range Read any data type such as B3 0 14 0 C5 0 SINT INT DINT or REAL R6 0 N7 0 F8 0 etc Word Range Write SINT INT DINT or REAL any data type such as B3 0 14 0 C5 0 R6 0 N7 0 F8 0 etc The PLC 5 controller supports logical ASCII addressing so you do not have to map a compatibility file for MSG instructions initiated by a PLC 5 controller Pla
139. ller has its own local I O Controller Distributed control ControlNet r i Flex1 Flex2 workstation node 16 node 27 Example 2 Sending a MSG instruction To send a MSG from Flex1 to Flex2 1 For Flex1 create a controller scoped tag and select the MESSAGE data type 2 Enter a MSG instruction In this example logic a message is sent when a specific condition is met When count_send is set send count_msg count_send count_msg en MSG 4 E 4 F Type Unconfigured CEN Message Control count_msg lt _DN gt CERD 3 Configure the MSG instruction On the Configuration tab Message Tye CIP DataTableReador CIP Data Table Write Source Tag Tag containing the data to be transferred Number of Elements Number of array elements to transfer Destination Tag Tag to which the data will be transferred Publication 1794 UM001E EN P June 2003 Communicating with Devices on a ControlNet Link 5 25 4 On the Communication tab specify the communication path A communication path requires pairs of numbers The first number in the pair identifies the port from which the message exits The second number in the pair designates the node address of the next device For this item Specify Communication Path 1 1 2 27 1 0 where 1 is the FlexLogix backplane of Flex1 1 is 1788 CNC daughtercard in slot 1 2 is the ControlNet port 27 is the Co
140. lp The default communication format for an I O module is for a direct connection Each rail for the FlexLogix controller is automatically configured for a rack optimized connection so consider configuring all local I O modules for rack optimized connections Use the documentation for the I O module to determine what data format to use Placing and Configuring Local 1 0 3 13 communication format input data which corresponds to a direct connection for the 1 0 module The listen only communication format works for remote I O only Because of the distributed nature of a FlexLogix system the FlexLogix controller must own its local I O modules No other Logix based controller can listen to or own the local FlexLogix I O The FlexLogix controller must produce its local I O data for other controller to consume If you select listen only for a local I O module the connection to that module will fault The following tag structures are possible for a 1794 IA16 module The communication format determines the structure that is created for the module Assume that the module is in slot 0 The software creates the appropriate tags using the slot number to differentiate the tags for this example module from any other module i Sok Tag Name 7 Controller Tags quick_start controller ioj x Scope quick_start controlle 7 Show fShow All P Tag Name y Alias For Base Tag
141. m again The FlexLogix Back Up on DeviceNet solution takes advantage of Shared DeviceNet Mastership of Slave I O Devices technology Typically only a single DeviceNet master exists for any particular slave With Shared DeviceNet Mastership two masters can exist Heartbeat communications between primary and secondary controllers determines which scanner is the master and which scanner remains in stand by mode Publication 1794 UM001E EN P June 2003 10 2 FlexLogix Back Up on DeviceNet How the Back up Works Figure 10 1 shows an example back up system In the back up system the following occurs Figu Primary controller e Both controllers scanners simultaneously receive all inputs e Both controllers execute in parallel but are NOT synchronized e Only the primary controllers sends output data to the I O devices A virtual switch in the 1788 DNBO cards is used to switch outputs between primary and secondary controllers e After failure or forced switchover outputs are automatically switched by the 1788 DNBO card from the primary controller to secondary When the switch occurs the secondary controller becomes the primary controller The switchover occurs so quickly that the I O devices do not timeout these devices are unaware that redundant controllers scanners exist and are unaware of the switchover re 10 1 DeviceNet TDOD00000 Secondary controller All backed up devices must operate on
142. med Out Enor Cor Extended Error Code I Timed Out Error Path Error Path Eror Text Error Text Caneel Aey Hep OK Cancel f roi Hep This completes the required portion of ladder logic to enable the FlexLogix back up on DeviceNet The following sections describe how to use additional ladder logic to read back up state and status However these sections are not required to complete the back up solution Publication 1794 UM001E EN P June 2003 10 10 FlexLogix Back Up on DeviceNet Reading Back up State Rung You can read the back up state of the DeviceNet scanner with a single rung of ladder logic The back up state is useful for debug or more sophisticated back up schemes The message in this rung uses the SINT data type Figure 10 5 shows the rung you can use to read the back up state Figure 10 5 OPTIONAL Constantly Read Backup State 0 Disabled 1 Primary Scanner 2 Backup Scanner 3 Invalid Primary Node Address e g can t be 62 or 63 4 Faulted Backup Scanner CRC Failure e g Scan Lists don t match 5 Faulted Backup Scanner Backup Node Number Failure e g Backup not Primary 1 6 Backup Scanner Pending Primary Detection 254 Attempting Primary Access 255 Attempting Backup Access Read_Backup_State EN MSG 5 ee Type CIP Genetic Message Control Read_Backup_State E ma MOY Move Source Backup_State 2e Dest DUMMY 2e Rung 5
143. message between devices The FlexLogix controller will not bridge I O data only messaging data and there is no buffer to store waiting messages that bridge networks IMPORTANT The FlexLogix controller s performance degrades significantly if you use the controller as a bridge Bridging over the FlexLogix controller should be targeted toward applications that are not real time dependent such as RSLogix 5000 program downloads and ControlFlash updates For example in the example below a message originates at a workstation and is bridged over FlexLogix to a PanelView station workstation with 1784 PCIC node address 27 ControlNet B FlexLogix system Flex1 1788 CNC in slot 1 as node 33 1788 CNC in slot 2 as node 32 m PanelView station node address 77 Publication 1794 UM001E EN P June 2003 5 34 Communicating with Devices on a ControlNet Link Publication 1794 UM001E EN P June 2003 In the previous example the message originates and ends on ControlNet The FlexLogix controller will bridge messages between different networks However the FLexLogix controller cannot bridge a message that originates on DeviceNet For more information see Table 5 1 Table 5 1 Bridging Over the FlexLogix Controller The FlexLogix controller can bridge messages that originate on this network EtherNet IP and end of this network EtherNet IP ControlNet DeviceNet RS
144. mine whether you need an optical isolator If you connect the controller to a modem or an ASCII device consider installing an isolator between the controller and modem or ASCII device An isolator is also recommended when connecting the controller directly to a programming workstation Publication 1794 UM001E EN P June 2003 Are you using an isolator Use this cable FlexLogix System Specifications A 9 no The 1756 CP3 cable attaches the controller directly to the controller 1 cD 1 CD 2 RDX 2 RDX 3 TXD 3 TXD 4 DTR 4 DTR COMMON COMMON 6 DSR 6 DSR 7 RTS 7 RTS 8 CTS 8 CTS 9 9 If you make your own cable it must be shielded and the shields must be tied to the metal shell that surrounds the pins on both ends of the cable You can also use a 1747 CP3 cable from the SLC product family This cable has a larger right angle connector than the 1756 CP3 cable yes The 1761 CBL APOO cable right angle connector to controller or the 1761 CBL PM02 cable straight connector to the controller attaches the controller to port 2 on the 1761 NET AIC isolator The mini DIN connector is not commercially available so you cannot make this cable 6 TO 1 7 LA mAH 3 B LEN 4 ated DB 9 right angle or straight cable end 8 pin mini DIN cable end Pin DB 9 end Mini DIN end 1 DCD DCD 2 RxD RxD 3
145. mization 1756 ENBT only Oor 1 remote I O device over EtherNet IP direct connection produced and consumed tag produced tag and one consumer each additional consumer consumed tag maximum active message total After calculating the number of remote connections make sure they do not exceed the limitations of the communication card e each ControlNet communication card supports 32 total connections 9 of which can be scheduled such as direct I O connections and produced and consumed tags e the Ethernet IP communication card supports 32 total connections of any type Even if the total number of connections is within the card limitations the total number of messages per second must also be within the card limitations You can estimate the number of messages per second for a connection as 2 1000 ms RPI The communication cards support e each ControlNet communication card supports 1490 messages second e the EtherNet IP communication card supports 4000 messages second Publication 1794 UM001E EN P June 2003 What Is FlexLogix 2 19 This example system has these details local rail 81 0 modules controller i extended local rail 81 0 modules trolNet network ControlNet networ 8 1 0 modules DeviceNet network 4 DeviceNet devices e I O modules on the local rail are digit
146. mmunical Offline J E RUN No Forces gt S Controller quick_stay A Controller Tags m Controller Fault H Print 3 Power Up Hand EJ Tasks A A MainTask Verify ap Data Bits iM Controller Properties quick_start Minor Faults Date Time Advanced File Nonvolatile Memory General Serial Port System Protocol User Protocol Major Faults Mode Shov Whine values Baud Rate 19200 Parity None Stop Bits 1 X Control Line No Handshake 7 I Continuous Carer BTS Send Delay fo x20 ms RTS Off Delay fo x20 ms Cancel Help 3 On the System Protocol tab select the appropriate DF1 communication mode for point to point or master slave communications Or on the User Protocol tab select ASCII to communicate with an ASCII device Characteristic Mode Specifying serial port characteristics Specify these characteristics on the Serial Port tab default values are shown in bold Description default is shown in bold Select System for DF1 communication or User mode for ASCII communication Baud rate Specifies the communication rate for the serial port Select a baud rate that all devices in your system support Select 110 300 600 1200 2400 4800 9600 or 19200 Kbps Parity Specifies the parity setting for the serial port Parity provides additional message packet error detection Select None or Eve
147. mov Polled 2 1 0 Data 1 16 Leman E 63 lt Remov Poled 1 1 0 Data 2 0 Advanced Advanced Options Options Memory Assembly Data 7 Start DWord 0 a Memory Assembly Data 7 Start DWord 0 a Bits 31 0 p Bits 31 0 p 1 1 Datal0l 1 0 Datal0l 7 Datall 05 1794 ADN Device 1 0 Datal1 62 lt Removed from Co 05 1794 ADN Device T l Datal2 63 lt Rem 05 1794 ADN Device 1 0 Datal21 63 lt Rem 1 1 Datal3 1 0 Datal3 1 1 Dataldl 1 0 Dataldl 1 1 Datal5 1 0 Datal5 1 1 Datal l 1 0 Datal l 1 Datal7 1 0 Datal7l T Datalal tha 1 0 Datafal zl Use the AutoMap button to simplify defining the data block for each DeviceNet device The above screens show how many 32 bit words are mapped for the devices on this example network These words map directly into the array tags that the software creates for the 1788 DNBO card Most DeviceNet devices support 16 bit words Take care how you map these into the 32 bit words used in RSLogix 5000 programming software RSNetWorx for DeviceNet lets you DINT align the device data While this might simplify the organization of the data it might also limit the data you have available Communicating with Devices on a DeviceNet Link 6 7 Accessing DeviceNet Devices This address variable I O information is presented as a structure of multiple fields which depend on the specific featu
148. n Data bits Specifies the number of bits per message packet Select 8 Stop bits Specifies the number of stop bits to the device with which the controller is communicating Select 1 or 2 Publication 1794 UM001E EN P June 2003 7 6 Communicating with Devices on a Serial Link Characteristic Description default is shown in bold Control line Specifies the mode in which the serial driver operates Select No Handshake Full Duplex Half Duplex with Continuous Carrier or Half Duplex without Continuous Carrier If you are not using a modem select No Handshake If both modems in a point to point link are full duplex select Full Duplex for both controllers If the master modem is full duplex and the slave modem is half duplex select Full Duplex for the master controller and select Half Duplex with Continuous Carrier for the slave controller If all the modems in the system are half duplex select Half Duplex without Continuous Carrier for the controller RTS send delay Enter a count that represents the number of 20msec periods of time that elapse between the assertion of the RTS signal and the beginning of a message transmission This time delay lets the modem prepare to transmit a message The CTS signal must be high for the transmission to occur The range is 0 32767 periods RTS off delay Enter a count that represents the number of 20msec periods of time that elapse between the end of a message transm
149. n Bradley Requested Packet Interval RPI 10 i4 ms 1 0 750 0 ms Parent Ethemet_card WESS Name FLEX 10_Adapter oare Doe Nate Denies IP Address 130 130 130 2 I Major Fault On Controller If Connection Fails While in Run Mode Sai r Module Fault nal w I Comm Format Rack Optimization baal a Chassis Size 8 4 Bevs P p 4 Ghonic Keying Compatible Module x Cancel Beck Newt gt Finish gt gt Cancel lt Back Finish gt gt Hep t 4 Specify while offline the IP address of the communication daughtercard that you installed IMPORTANT When the project is online you can also specify the IP address on the Port Configuration screen if you did not already use the Bootp tool to specify an IP address When you specify an IP address on the Port Configuration screen you assign the IP address to the device If you specify an IP address on the Port Configuration screen make sure it matches the IP address on the General screen Publication 1794 UM001E EN P June 2003 4 8 Communicating with Devices on an EtherNet IP Link Add FLEX 1 0 Modules to the 1 0 Configuration 1 In RSLogix 5000 programming software select 1794 AENT Ethernet adapter 2 Right click to select New Module and add the appropriate FLEX 1 0 module 3 Specify the appropriate module settings F RSLogix 5000 FlexLogix 1794 134 Select Module Type x File Edt View Search Logic Communications T
150. n array or structure Specify produced These are tags that the controller e Enabled for producing produced for other controllers to consume e How many consumers allowed consumed These are tags whose values are produced e Controller name that owns the tag that the local controller by another controller wants to consume e Jag name or instance that the controller wants to consume e Data type of the tag to consume e Update interval of how often the local controller consumes the tag The producer and consumer must be configured correctly for the specified data to be shared A produced tag in the producer must be specified exactly the same as a consumed tag in the consumer Publication 1794 UM001E EN P June 2003 5 18 Communicating with Devices on a ControlNet Link Publication 1794 UM001E EN P June 2003 If any produced consumed tag between a producer and consumer is not specified correctly none of the produced consumed tags for that producer and consumer will be transferred However other consumers can still access their shared tags as long as their tags are specified correctly One consumer failing to access shared data does not affect other consumers accessing the same data Maximum number of produced and consumed tags The maximum number of produced consumed tags that you can configure depends on the connection limits of the communication device that transfers the produced consumed data Each produced ta
151. n this case all outputs are reset regardless of the module configurations Publication 1794 UM001E EN P June 2003 3 6 Placing and Configuring Local 1 0 Placing Local 1 0 Modules When you create a project for a FlexLogix controller the Controller Organizer for that project automatically displays both the local DIN rail and the extended DIN rail If you do not use one of the DIN rails inhibit that rail You must configure an RPI rate for each DIN rail This rate applies to all the I O modules you install on that DIN rail The fastest RPI possible for a rail depends on the type of modules on that rail that is the fastest RPI for a module on the rail determines the RPI for the entire rail TIP If you have a mix of analog and digital I O modules place the digital I O modules on one DIN rail and place the analog I O modules on the second DIN rail You can then configure a faster RPI for the digital I O modules using a rack optimized connection and a more appropriate RPI for the analog I O modules each using a direct connection without impacting the digital I O modules If you have The fastest possible RPI is one raill of digital 1 0 modules 2ms one rail of analog I O modules 5ms one rail of digital and analog I O modules mixed 5 ms first rail of digital 1 0 modules 2ms second rail of analog I O modules 5ms first rail of digital 1 0 modules 2ms second rail of digital 1 0 modules 5ms first rail of
152. nd uses one direct connection to communicate with the analog module The following table calculates the connections in this example Connection Amount FlexLogix controller to 3 local 1 0 modules rack optimized connection for the DIN rail 1 direct connection for one I O module slot 2 1 FlexLogix controller to communication card 0 1788 CNx or 1788 ENBT FlexLogix controller to communication adapter 1 rack optimized connection for digital 1 0 modules FlexLogix controller to remote analog I O module 1 total connections used 4 total connections through the 2 This number is within the communications card connection limits of either the 1788 CNx card maximum connections 9 or the 1788 ENBT card maximum connections 32 Publication 1794 UM001E EN P June 2003 2 16 What Is FlexLogix Publication 1794 UM001E EN P June 2003 Connections to DeviceNet devices In this example the controller uses two connections one for status and one for I O to communicate with the DeviceNet devices through the 1788 DNBO module The 1788 DNBO module uses a rack optimized connection to the DeviceNet devices FlexLogix controller DeviceNet devices The following table calculates the connections in this example Connection Amount FlexLogix controller to 3 local 1 0 modules rack optimized connection for the DIN rail 1 direct connection f
153. network Publication 1794 UM001E EN P June 2003 5 2 Communicating with Devices on a ControlNet Link Publication 1794 UM001E EN P June 2003 Step 1 Configure the hardware Before you can connect the FlexLogix system to the ControlNet network you must configure the 1788 CNx communication daughtercard and make sure it s properly installed in the FlexLogix controller slot 1 slot 2 J WWW v 43324 Remember which slot you use for which communication daughtercard You ll need the slot number to configure the communication daughtercard in the RSLogix 5000 programming software The controller uses slot 0 For more information about configuring a 1788 CNx communication daughtercard see For this card See this document 1788 CNC CNCR 1788 IN002 1788 CNF CNFR 1788 INO05 Communicating with Devices on a ControlNet Link 5 3 Step 2 Configure the communication driver Use RSLinx software to configure the ControlNet communication driver Select the appropriate communication driver for the communication daughtercard in your workstation 1 In RSLinx software select Configure Driver Select the appropriate driver fe Eile View SIRs s 5 BSWho ES oe Station Security Window Help Configure Drivers Configure Shortcuts Configure Client Applications Configure CIP Options M Autobrowse es Lins Driver Diagnostics CIP Diagnostics
154. ng the network e maximum network length of 1219 m 4000 ft The DH 485 protocol supports two classes of devices initiators and responders All initiators on the network get a chance to initiate message transfers The DH 485 protocol uses a token pass algorithm to determine which initiator has the right to transmit Communicating with Devices on a DH 485 Link 8 5 DH 485 token rotation A node holding the token can send any valid packet onto the network Each node gets only one transmission plus two retries each time it receives the token After a node sends one message packet it attempts to give the token to its successor by sending a token pass packet to its successor If no network activity occurs the initiator sends the token pass packet again After two retries a total of three tries the initiator attempts to find a new successor IMPORTANT The maximum address that the initiator searches for before starting again with zero is the value in the configurable parameter maximum node address The default value for this parameter is 31 for all initiators and responders The allowable range of the node address of an initiator is 0 to 31 The allowable address range for all responders is 1 to 31 There must be at least one initiator on the network Network initialization The network requires at least one initiator to initialize it Network initialization begins when an initiator on the network detects a per
155. nonvolatile memory for project storage IMPORTANT Nonvolatile memory stores the contents of user memory at the time that you store the project e Changes that you make after you store the project are not reflected in nonvolatile memory e If you want to store changes such as online edits RPI changes tag values or this particular FlexLogix controller s portion of the ControlNet network schedule i e the portion of the ControlNet schedule that affects the ControlNet nodes this controller makes connections to store the project again after you make changes To store a project in nonvolatile memory View properties for the controller and select the Nonvolatile Memory tab fo RSLogix 5000 r8_quicktest 1794 L33 File Edit View Search Logic Communications Te Rem Run m M Run Mode No Forces gt Controller OK 1 7 Battery OK No Edits ale fn 2 Se i Verity Controller 1 J Controller F Print I Power Up H General Serial Port System Protocol User Protocol Maior Faults Minor Faults Date Time Advanced SFCExecution Fie Nonvolatile Memor Load Store r Image in Nonvolatile Memory Name 18_quicktest Type 1794 L33 FlexLogix5433 Controller Revision 11 12 Load Image User Initiated Load Mode Program Remote Only Click the Load Store button and specify when you want the controller to load the project from n
156. nt 24V DC Input Sink Vendor Allen Bradley You should enter a name Parent local Name input_module Slot 10 a Describe the module optional p Description A 4 Select the communication format Comm Format RESAN ation Electronic Keying Compatible Module x al Specify electronic keying gy Revision Cancel Bac Next gt Help Click Next 4 Use the Create wizard to configure the input module Use default values for this example If you do not want to go through each screen in the Create wizard click Finish Module Properties Local 0 1794 IB167A 1 1 x Requested Packet Interval RPI 5 0 a ms 2 0 750 0 ms I Inhibit Module T Major Fault On C Lake ity E Oe A T E x Module Fault Identification r Status Vendor Fault Product Type Module Identity Product Code Revision Module Properties Local 0 1794 IB167A 1 1 x Input Filter Time M Enable Counter Click Next I Enable Filter lt Back Next Finish gt gt Help Click Finish Publication 1794 UM001E EN P June 2003 Getting Started 1 7 Adding a local output module 1 Create a new module A Place the cursor over the local DIN rail FlexBus Local gt B Click the right mouse button and select New Module 2 Select an output module to add lect a catal ber Select a catalog number f RSLogix 5000 quick_start 1794 L33 A File Edit View Sea
157. nt of time in msec between updates of the data from the remote controller The local controller will receive data at least this fast Display Style If you are creating a consumed tag that refers to a tag whose data type is BOOL SINT INT DINT or REAL you can select a display style This display style defines how the tag value will be displayed in the data monitor and ladder editor The display style does not have to match the display style of the tag in the remote controller Publication 1794 UM001E EN P June 2003 All consumed tags are automatically controller scope Communicating with Devices on a ControlNet Link 5 21 Guidelines for Configuring Connections To consume data from a remote controller use RSNetWorx software to schedule the connection over the ControlNet network The produced tag in the originating FlexLogix controller must have the same data type as the consumed tag in the other FlexLogix controller The FlexLogix controller performs type checking to ensure proper data is being received IMPORTANT If a consumed tag connection fails none of the tags are transferred from the producing controller to the consuming controller Each 1788 CNx communication daughtercard supports 9 scheduled connections How you configure these connections determines how many devices the daughtercard can support If you have two communication daughtercards use one for communication and the other for remote I O While
158. ntrolNet node of Flex2 1 is the FlexLogix backplane of Flex2 0 is the controller slot of Flex2 Example 2 Producing and consuming tags Produced data must be of DINT or REAL data type or an array or structure You can use a user defined structure to group BOOL SINT and INT data to be produced You can produce a base alias or consumed tag The consumed tag must have the same data type as the produced tag in the originating controller The controller performs type checking to ensure proper data is being received ControlNet Flex1 TagA TagB DINT REAL Flex2 controllerb workstation TagA DINT TagB REAL Publication 1794 UM001E EN P June 2003 5 26 Communicating with Devices on a ControlNet Link This example shows Flex1 as producing TagA and consuming TagB DINT Decimal controllerb tagB REAL Float TagB Sg Tag Properties tagA ioj x Sg Tag Properties tagB ioj x General General Name Name Description a Description a TagType Base C Ajas Consumed TagType C Base C Alias Consumed Data Type DINT Bi Bontiqure Controller eontrollerb z RPI ms Scope Flex _quick_start Remote Tag ftaa 20 4 i ame Style Decimal z REAL P eae V Produce this tag for up to B a consumers Style Fost 7 I Produce this tag for up to E a consumers OK Cancel Apply Help OK Cancel Apply Help Each pr
159. o Edits a E vo i Select Module Type x B E Controller quick_start A Controller Tags C Controller Fault Handler C3 Power Up Handler EJ Tasks a MainTask B E MainProgram E Program Tags EA MainRoutine 9 Unscheduled Programs Motion Groups 3 Ungrouped Axes Trends Data Types ER User Defined Sa Strings R STRING Cp Predefined ER Module Defined E 1 0 Configuration aaf F a D m 0D F F Gut g FlexBus ECL 1794 IC16 A 16 Point 48v DC Input Sink 1794 ID2 B 2 Channel 24 DC Incremental Encoder 1794 E 40E 2 B 4 Input 2 Output 24 DC Non lsolated Analog 1794 IE8 B 8 Channel 24V DC Non Isolated Voltage Current Analog Input xl Show Vendor Jal 7 M Other M Specialty 1 0 Select All M Analog WM Digital M Communication MV Motion I Controller Clear All Cancel Help j Type Major Revision Description l 16 Point 120 AC Input l 8 Point 120V AC Input l 8 Point 120V AC Isolated Input l 10 Input 6 Output 24V DC Sink Source 794 IB16 4 16 Point 24V DC Input Sink 1 794 IB1 EXOB1BP 4 16 Input 16 Output 24V DC Sink Protected Source 1794 1BB 4 8 Point 24V DC Input Sink ap 1 794 IB8S 74 8 Point 24V DC Sensor Input 3 Configure the module Use the module wizard to specify characteristics for the module Click Next to continue through the wizard Module Properties Local 1794 IB167A 1 1 x Type 1794 1B16 4 16 Point 24V
160. o the 1788 DNBO card the controller project does not have to be downloaded from RSLogix 5000 programming software to the controller and the controller must be in Program or Remote Program mode 1 In RSNetWorx software go online enable edits and survey the network dnbo_polled_55active dnt RSNetWorx for DeviceNet BEE File Edit View Network Device Tools Help Hl al e B S RIR alk El s Elz Hardware 1794 ADN 1788 DNBO 1761 NET DN 1794ADN DeviceNet 6 Device Net DeviceNet E DeviceNet EMG Category tS H AC Drive i 0 02 04 05 General Purpose Discrete 1 0 Generic Device Human Machine Interface Inductive Proximity Switch Limit Switch Motor Protector Photoelectric Sensor Rockwell Automation miscellar SCANport Adapter Smart MCC D LP Inc FRABA Sensorsysteme GmbH Omron Corporation Rockwell Automation Allen B Rockwell Automation Dodge Rockwell Automation Electro Rockwell Automation Relianc m OSS oO wae Te g 2 E E S E E vi Ready Offline 2 Assign anode address to each device 3 Configure each device 4 Add each device to the scanlist for the 1788 DNBO card EX 1788 DNBO 5 71x General Module Scaniist Input Output ADR Summary Available Devices Scanlist 2 E 04 1761 NET DNI Devic 605 1794 ADN DeviceNet El 26 62 DRT1 0016 63 1734 0B2E 2 Pt 24V IT Automap on Add I Node Active Electronic Key
161. oduced tags requires one connection for the producing controller and an additional connection for each consuming controller Each consumed tag requires one connection Example 2 Total connections required by Flex1 The following table calculates the connections used in this example Connection Amount Flex1 controller to 3 local 1 0 modules rack optimized connection for the DIN rail 1 direct connection for each I O module 3 Flex1 controller to local 1788 CNC 0 Flex1 controller to remote 1788 CNC 0 connected cached MSG from Flex1 to Flex2 produced TagA produced from Flex to Flex2 other consumer 2 are configured consumed TagB total connections used 8 Publication 1794 UM001E EN P June 2003 Communicating with Devices on a ControlNet Link 5 27 Example 3 FlexLogix Controller to Other Devices Distributed control with a ControlLogix controller as the coordinating controller ControlNet If you configured the local I O modules as rack optimized you would only need the DIN rail connection to the I O modules reducing the above example by 3 connections In the following example one FlexLogix controller communicates with a Logix5550 controller and a ControlNet PLC 5 controller over ControlNet ControlLogix controller Control1 FlexLogix controller Flex1 Type of Logix MSG instruction Typed Read OOH We
162. oduction of the contents of this copyrighted publication in whole or part without written permission of Rockwell Automation is prohibited Throughout this publication notes may be used to make you aware of safety considerations The following annotations and their accompanying statements help you to identify a potential hazard avoid a potential hazard and recognize the consequences of a potential hazard Identifies information about practices or circumstances that can cause an explosion in a hazardous environment which may lead to personal injury or death property damage or economic loss ATTENTION Identifies information about practices Or circumstances that can lead to personal injury or f death property damage or economic loss IMPORTANT Identifies information that is critical for successful application and understanding of the product Allen Bradley is a trademark of Rockwell Automation Preface Purpose of this Manual This manual guides the development of projects for FlexLogix controllers It provides procedures on how to establish communications e over the following networks ControlNet DeviceNet EtherNet IP serial DH 485 e with the following devices controllers I O workstations PanelView terminals This manual works together with the Logix5000 Controllers Common Procedures Programming Manual publication 1756 PM001 which covers the following tas
163. of the chassis Enter the number of modules 1 8 that you plan to install on the rail The controller uses this chassis size to determine the size of tag for the rail s rack optimized data e On the Connection tab specify the RPI rate The RPI rate of the DIN rail applies to all the I O modules you install on that DIN rail IMPORTANT If there are no modules installed on a rail make sure to inhibit that rail The communication format for the DIN rail is automatically set for rack optimized You cannot change this setting because the controller uses one rack optimized connection for each DIN rail whether you configure any I O modules for rack optimized or not Publication 1794 UM001E EN P June 2003 3 10 Placing and Configuring Local 1 0 Configuring Local 1 0 Modules Use the programming software to configure the I O modules for the controller You can configure I O modules for both the local and the extended local rails Before you configure I O modules specify the RPI rate for the DIN rail All the I O modules on a DIN rail operate at this RPI The DIN rail always operates as rack optimized To configure an I O module 1 In the Controller Organizer select either the local or the extended local rail of the controller Right click the selected rail and select New Module f RSLogix 5000 quick_start 1794 L33 A File Edit View Search Logic Communications Offline fl m RUN No Forces b F Ok M BAT N
164. og modules or modules that are sending or getting diagnostic fuse or timestamp data require direct connections and cannot take advantage of the rack optimized form Selecting None frees up the 8 bytes per slot for other uses such as produced or consumed tags e Separate the tag into two or more smaller tags Group the data according to similar update rates For example you could create one tag for data that is critical and another tag for data that is not as critical Assign a different RPI to each tag e Create logic to transfer the data in smaller sections packets Producing a tag Produced data must be of DINT or REAL data type or an array or structure You can use a user defined structure to group BOOL SINT and INT data to be produced To create a produced tag 1 You must be programming offline 2 In the controller organizer double click the Controller Tags folder and then click the Edit Tags tab 3 Select the tag that you want to produce or enter a new tag and display the Tag Properties dialog box 4 Make sure the tag is controller scope 5 Select the Produce this tag check box Specify how many controllers can consume the tag You can produce a base alias or consumed tag Publication 1794 UM001E EN P June 2003 5 20 Communicating with Devices on a ControlNet Link The consumed tag in a receiving controller must have the same data type as the produced tag in the originating
165. ogix Controller i Publication 1794 UM001E EN P June 2003 In the following example a workstation remotely connects to a FlexLogix controller over s serial link A modem is connected to the controller to provide remote access S isolator recommended EJ J ne cael a TT J modem i If you use a modem to remotely connect the controller to one workstation use RSLogix 5000 programming software to configure the serial port of the controller for the DF1 point to point full duplex protocol as in the previous example If the controller is part of a master slave serial network configure the serial port of the controller for either the DF1 master or DF1 slave protocol both half duplex standard communication mode Communicating with Devices ona Serial Link 7 11 Master slave communication methods A master station can communicate with a slave station in two ways This method Initiates polling packets to slave stations according to their position in the polling array s Polling packets are formed based on the contents of the normal poll array and the priority poll array Benefits This communication method is most often used for point to multipoint configurations This method provides these capabilities e slave stations can send messages to the master station polled report by exception e slave station
166. olling modes only An integer tag array that contains the station addresses of the slave stations Create a single dimension array of data type INT that is large enough to hold all the normal station addresses The minimum size is three elements This tag must be controller scoped The format is list 0 contains total number of stations to poll list 1 contains address of station currently being polled list 2 contains address of first slave station to poll list 3 contains address of second slave station to poll list n contains address of last slave station to poll Normal poll group size Standard polling modes only The number of stations the master station polls after polling all the stations in the priority poll array Enter 0 default to poll the entire array Priority poll node tag Standard polling modes only An integer tag array that contains the station addresses of the slave stations you need to poll more frequently Create a single dimension array of data type INT that is large enough to hold all the priority station addresses The minimum size is three elements This tag must be controller scoped The format is list 0 contains total number of stations to be polled list 1 contains address of station currently being polled list 2 contains address of first slave station to poll list 3 contains address of second slave station to poll list n contains address of last slave station to poll Publication 179
167. ompatibility file 200 TIP You can map as many tags as you want to a PLC 3 PLC 5 or SLC controller You can map only one tag to a PLC 2 controller The following table shows example source and destination tags and elements for different controller combinations Type of MSG Instruction Example Source and Destination PLC 5 writes to FlexLogix source element N7 10 destination tag array_1 SLC writes to FlexLogix The PLC 5 PLC 3 and SLC controllers support logical ASCII addressing so you do not SLC 5 05 have to map a compatibility file for MSG instructions initiated by a PLC 5 PLC 3 or SLC controller Place the FlexLogix tag name in double quotes SLC 5 04 0S402 and above You could optionally map a compatibility file For example if you enter 70 for the SLC 5 03 0303 and above compatibility file you enter 70 0 for the destination tag PLC 2 writes to FlexLogix source element 010 destination tag 200 The destination tag is the three digit PLC 2 address you specified for PLC 2 mapping Publication 1794 UM001E EN P June 2003 Communicating with Devices on a ControlNet Link 5 17 Type of MSG Instruction PLC 5 reads from FlexLogix SLC reads from FlexLogix LC 5 05 LC 5 04 0S402 and above QOQI SLC 5 03 0 303 and above Example Source and Destination source tag array_1 destination element N7 10 The PLC 5 PLC 3 and SLC controllers support logical ASCII addressing so you do not have to m
168. ons European Union 89 336 EEC EMC Directive compliant with EN 50081 2 Industrial Emissions EN 50082 2 Industrial Immunity EN 61326 Meas Control Lab Industrial Requirements EN 61000 6 2 Industrial Immunity Australian Radiocommunications Act compliant with AS NZS 2064 Industrial Emissions European Union 94 9 EEC ATEX Directive compliant with EN 50021 Potentially Explosive Atmospheres Protection n To maintain these vibration and shock specifications you must use DIN rail locks 2 See the Industrial Automation Wiring and Grounding Guidelines publication 1770 4 1 3 See the Product Certification link at www ab com for Declarations of Conformity Certificates and other certification details IMPORTANT The amount of memory that the software displays includes both the user available memory and the memory reserved for overhead e The Unused field represents the memory available for the user program e The Total field represents the total memory available on the module including user program and overhead Do not use this field when determining your memory usage See the specifications for your controller to determine how much memory you have available for programming This dialog box might display a higher number but the additional memory is required by system overhead and may not be available for programming Publication 1794 UM001E EN P June 2003 1794 FLA FlexLogix Extended Local Adapter
169. ontroller and I O module looks like You must create a map that defines your assembly instance entries Size The size field determines how large the connections are between the owner controller and the I O module Connections are sent in sizes matching the communications format data type selected The default DINT results in 32 bit quantities Complete your system configuration and develop your program logic Then download the project to the controller Chapter 10 FlexLogix Back Up on DeviceNet l Using This Chapter For information about See page How the Back up Works 10 2 Power Up and System Start up 10 4 Developing the FlexLogix Back Up Application 10 6 Using Indicators to Check Status 10 13 Development and Debugging Tips 10 13 This chapter offers a solution to back up your FlexLogix controller on DeviceNet FlexLogix Back Up on DeviceNet is a simple low cost back up system most effective when used in smaller applications that require fast switchovers from a primary to a secondary controller This back up solution will e minimize downtime in case of controller failure when the same program is used in both programs e mitigate the risk of changes adversely affecting the application use old proven program in one controller and new untested program in other controller If the new untested program causes a problem a forced switchover can be made to the older proven program without downloading the progra
170. onvolatile memory r Image in Nonvolatile Memory Name 18_quicktest Type 1794 L33 FlexLogix5433 Controller Revision 11 12 Load Image User Initiated Load Mode Program Remote Only Image Note quickstart Stored 6 3 2002 10 51 34 AM r Controller Name 18_quicktest Type 1794 L33 4 FlexLogix5433 Controller Revision thie Load Image User Initiated Load Mode Program Remote Only A Image Note r3 Load gt lt Store Click the Load button to load the project from nonvolatile memory into the controller Click the Store button to copy the contents of the controller s user memory to nonvolatile memory Publication 1794 UM001E EN P June 2003 What Is FlexLogix 2 21 You can select In this field Select this option If you want Load Image On Power Up to load memory when you turn on or cycle the chassis power or cycle the chassis power On Corrupt Memory to load memory whenever there is no project in the controller and you turn on or cycle the chassis power User Initiated only use RSLogix 5000 software to load a project Load Mode Remote Program the controller to go to Remote Program mode after loading from nonvolatile memory Remote Run the controller to go to Remote Run mode after loading from nonvolatile memory After you load or store to or from nonvolatile memory RSLogix 5000 software goes offline from the controller For details on storing to nonvolatile memory or rest
171. or 9842 A lo M X o 5 A 2 z z J Nl 2 re B Shrink tubing recommended ONA B Blue 3106A or drain wire 3 Common Blue with white stripes 9842 Publication 1794 UM001E EN P June 2003 8 8 Communicating with Devices on a DH 485 Link Publication 1794 UM001E EN P June 2003 Multiple Cable Connection to successive device to previous device The table below shows wire terminal connections for Belden 3106A For this Wire Pair Connect this Wire To this Terminal shield drain non jacketed 2 Shield blue blue 3 Common white orange white with orange stripe 4 Data B orange with white stripe 5 Data A The table below shows wire terminal connections for Belden 9842 For this Wire Pair Connect this Wire To this Terminal shield drain non jacketed 2 Shield blue white white with blue stripe cut back no connection blue with white stripe 3 Common white orange white with orange stripe 4 Data B orange with white stripe 5 Data A 0 To prevent confusion when insta immediately after the insulation ling the communication cable cut back he white with blue stripe wire jacket is removed This wire is not used by DH 485 Communicating with Devices on a DH 485 Link 8 9 Grounding and terminating a DH 485 network a Jumper Jumper i to Belden 9842 Cable ee eLA 1219 m 4000 ft Maximum
172. or For the cee controller to operate on an Ethernet network a EtherNet IP Link you need e a workstation with an appropriate EtherNet IP communication daughtercard e a 1788 ENBT communication daughtercard installed in the FlexLogix communication slot e RSLinx software to configure the EtherNet IP communication driver e RSLogix5000 programming software Version 11 or later to configure the 1788 ENBT communication daughtercard as part of the FlexLogix system IMPORTANT Unlike ControlNet the EtherNet IP network requires no scheduling Publication 1794 UM001E EN P June 2003 4 2 Communicating with Devices on an EtherNet IP Link Publication 1794 UM001E EN P June 2003 Step 1 Configure the hardware Before you can connect the FlexLogix system to the Ethernet network you must configure the 1788 ENBT communication daughtercard and make sure it s properly installed in the FlexLogix controller slot 1 Z slot 2 A S R Z d l f LSL 2 J D 6 C A L0 r Aaf O e 3 1032 Remember which slot you use for which communication daughtercard You ll need the slot number to configure the communication daughtercard in the RSLogix 5000 programming software The controller uses slot 0 For more information about configuring a 1788 ENBT communication daughtercard see For this card See this document 1788 ENBT 1788 IN054 Communicating with Devices on an EtherNet IP Link 4 3 Step 2 Confi
173. or one I O module slot 2 FlexLogix controller to the 1788 DNBO DeviceNet 2 communication card total connections used 4 1 FlexLogix controller connection to remote DeviceNet devices are accounted for in the 2 connections to the 1788 DNBO card The 1788 DNBO card does not establish connections to its devices and therefore the controller does not establish connections with DeviceNet devices The 1788 DNBO module acts as a scanner that gathers all the data from its devices and packs that data together into one image that is passed to the controller However the controller can use a MSG instruction to get information directly to or from a DeviceNet device What Is FlexLogix 2 17 Determining Total To calculate the total connection requirements for a FlexLogix Connection Requirements Use the following table to tally local connections controller consider the connections to local I O modules including extended local I O modules and the connections to remote modules Connection Type Device Connections Total Quantity per Device Connections rack optimized connection for the local DIN rail and the 2 2 extended local DIN rail 1 0 module rack optimized connection on local rail 0 1 0 module direct connection on local rail 1 1 0 module rack optimized connection on extended local rail 0 1 0 module direct connection on extended local rail 1 1788 CNx ControlNet communication
174. oring from nonvolatile memory see the Logix5000 Controllers Common Procedures Programming Manual publication 1756 PM001 Selecting a System The Controller Properties lets you specify a percentage for system Overhead Percentage overhead This percentage specifies the percentage of controller time excluding the time for periodic tasks that is devoted to communication and background functions 1 View properties for the controller and select the Advanced tab f RSLogix 5000 quick_start 1794 L33 4 File Edit View Search Logic Communicatic Offline No Forces No Edits Controller 7 2 Controller F 5S Power Up a Tasks 3 MainTask Verify Print Sg Controller Properties quick_start _ Oy x General Serial Port System Protocol User Protocol Major Faults Minor Faults Date and Time Advanced File Memory Used 75 564 bytes Unused 63 648 bytes Total 139 212 bytes Controller Fault Handler none r r v Power Up Handler none System Overhead Time Slice JET Cancel Apply Help System overhead functions include e communicating with programming and HMI devices such as RSLogix 5000 software Publication 1794 UM001E EN P June 2003 2 22 What Is FlexLogix e responding to messages e sending messages including block transfers e re establishing and monitoring I O connections such as RIUP conditions this does
175. output amp 2 1794 1B16 4 input2 configured for rack optimized amp 3 1794 081674 output2 connections fees FFlexBus Local amp 0 1794181674 input amp 1 1794 0B16 4 output g FlexBus Local2 X configured for direct connections Publication 1794 UM001E EN P June 2003 4 10 Communicating with Devices on an EtherNet IP Link Device remote adapter FLEX_adapter Example Tag Names automatically created by the software FLEX_adapter FLEX_adapter SlotStatusBits FLEX_adapter Data FLEX_adapter 0 FLEX_adapter 0 Data remote input in slot 0 direct connection Publication 1794 UM001E EN P June 2003 FLEX_adapter 0 C FLEX_adapter 0 C Config FLEX_adapter 0 C FilterO_00_1 FLEX_adapter 0 C Filter1_00_11 FLEX_adapter 0 C Filter2_00_1 FLEX_adapter 0 C Filter3_12_15 FLEX_adapter 0 C Filter4_12_15 FLEX_adapter 0 C Filters_12_15 FLEX_adapter 0 C ResetCounter FLEX_adapter 0 C DisableFilter FLEX_adapter 0 FLEX_adapter 0 1 Fault FLEX_adapter 0 1 Data FLEX_adapter 0 1 Counter Device remote output in slot 1 direct connection Communicating with Devices on an EtherNet IP Link 4 11 Example Tag Names automatically created by the software FLEX_adapter 1 C FLEX_adapter 1 C SSDate FLEX_adapter 1 1 FLEX_adapter 1 Fault FLEX_adapter 1 0 FLEX_adapter 1 0 Data remote input2 in slot 2 rack optimize
176. pdated information See Using the Event Task Chapter 2 FlexLogix Back Up on DeviceNet Chapter 10 Additional minor changes not listed in the table above have been made to this manual They are all marked by change bars Publication 1794 UM001E EN P June 2003 Summary of Changes 2 Notes Publication 1794 UM001E EN P June 2003 Getting Started What Is FlexLogix Table of Contents Chapter 1 Introducti Grey Sete ae diy te wat es WER wed Eig te eae ee Gate 1 1 Creating and Downloading a Project 1 2 Creanga projects us tela ob she ul AA th wih Whe Ato a cas atte Ee 1 3 Changing project properties nay a Pubes Re 1 4 Adding a local input modules 4 4 naana aaa 1 5 Adding a local output module onnaa aaaea 1 7 Adding an extended local analog module 1 9 Changing module properties noana aaaea a 1 11 Viewing O tags naaa Ebel eS fee AGE ORS ae ae 1 12 Creating OUIET TAGS o 44 2 Gait stink Aes Goh Sk Ge dA 1 13 Documenting I O with alias tags 1 14 POOH logia s gag cards aie a wr page mh ROR e ERE E n AGT We Ramee G 1 15 Downloading a project hans bed nae te Gh ee ee ae aes 1 17 Viewing program scan LUNE s cio aon ke Dooce eae Gees 1 18 Viewing controller memory usage 004 1 19 Chapter 2 Using This Chapter n a ees Gnd bee amp ore Ra tees 2 1 Developing Programs 5 cxo3 6 sha ca aphediy osc be Bande aaa hp onde 2 2 DSHS tasks eo wise EEDE 4 B
177. ped Axes o an faa Trends Panelview 2711 PanelView Operator Terminal xl Data Types Show 7 ot Demed Vendor an M Other F Speciatyl 0 __Selectall_ CR Strings EA STRING M Analog I Digital MV Communication V Motion M Controller Clear All Ep Predefined Module Defined 1 0 Configuration Cancel Help 5 5 FlexBus Local amp 0 17941B1E Cut ma miagaaans ap Type 1794 4CN15 C 1794 ControlNet Adapter Vendor Allen Bradley Parent cnet_card Name Jremote_cned Node fi Description 4 Chassis Size fe 4 Comm Format Rack Optimization z Revision PO fi Electronic Keying Compatible Module 7 Cancel Back Next gt Finish gt gt Help 5 Add and configure the remote 1 0 modules on the remote communication module you just added The local daughtercard becomes the parent module to the remote module The controller organizer shows this parent child relationship between local and remote communication devices Configure I O modules for the remote communication module by adding them to the remote communication module i e right click the 1794 ACN15 module and select New Module Configure the remote I O modules the same way you do local I O modules Publication 1794 UM001E EN P June 2003 This address variable Communicating with Devices on a ControlNet Link 5 7 Accessing remote 0 I O information is presented as a structure of multiple fields which d
178. performance vertical horizontal a a Yj fm LM bbb ey l m Vi Lida Ly Yi Li N 3 Soonnn0an S J iol uf amp yy LLL l Snonnonnn Use the optional 1794 CE1 0 3m 1ft or 1794 CE3 0 9m 3ft extender cable to add an extended local rail of I O to the controller You can have as many as eight I O modules on the local rail and eight modules on the extended local rail local rail Placing and Configuring Local 1 O 3 5 Dividing 1 0 Modules You a also a Slates o r n nan 1 O You can split a rail right after the controller or adapter or after any Across DIN Rails VO moduk KEKZELLEXL C H Viaceveres Guanes ATTENTION If you have an extended local DIN rail LOCAL2 or a split rail the modules after the 1794 CE1 CE3 cable will fault if the cable is disconnected I
179. ple 2 FlexLogix Controller to FlexLogix Controller 5 24 Example 2 Sending a MSG instruction 5 24 Example 2 Producing and consuming tags 5 25 Example 2 Total connections required by Flexl 5 26 Example 3 FlexLogix Controller to Other Devices 5 27 Example 3 Sending MSG instructions 5 27 Example 3 Producing and consuming tags 5 29 Example 3 Total connections required by Flexl 5 32 Example 4 Using FlexLogix as a Bridge 5 33 Publication 1794 UM001E EN P June 2003 Table of Contents 4 Communicating with Devices on a DeviceNet Link Communicating with Devices on a Serial Link Communicating with Devices on a DH 485 Link Publication 1794 UM001E EN P June 2003 Chapter 6 Using This Chapter v6 0 2 0k Saale ls Aaa waa a 6 1 Configuring Your System for a DeviceNet Link 6 1 Step 1 Install the hardware 0 0 0 00 00 eee 6 2 Step 2 Configure the daughtercard as part of the system 6 3 Step 3 Define the DeviceNet scanlist 6 4 Placing DeviceNet Devices 0 0 0 0000 6 5 Defining the data blocks 6 62 4 44 65 48 aks ated aa 4 6 6 Accessing DeviceNet Devices 00000 6 7 Placing the Communication Card in Run Mode 6 9 Example 1 FlexLogix Controller and DeviceNet Devices 6 9 Example 2 Using a 1788 CN2DN Linking Device 6 10 System requirements for using the linking device 6
180. priate adapter settings E RSLooix 5000 FlexLogix 1794 134 Select Module Type Ea File Edit View Search Logic Communications Belaj S see E Ippe Major Revision Ofine l Can m 1754AENT A 2 H NoFace pa OK me E Description L a 1734 AENT ZA 1734 Ethemet Adapter Twisted Pair Media Controller Tags F C Controller Fault Handler Power Up Handler Tasks MainTask B E MainProgram A Program Tags E MainRoutine Unscheduled Programs Motion Groups C Ungrouped Axes E Trends 5 6 Data Types CR User Defined S E Strings E STRING S E Predefined E Module Defined 5 6 1 0 Configuration Q oO oO 2 FlexBus Local 2 FlexBus Local2 Copy Paste Create a module 1756 ENBT A 1756 10 100 Mbps Ethernet Bridge Twisted Pair Media 1 756 ENET A 1756 Ethernet Communication Interface 1 756 ENET B 1756 Ethemet Bridge 1 788 ENBT A 1788 10 100 Mbps Ethernet Bridge Twisted Pair Media 1794 AENT 7A 1794 10 100 Mbps Ethernet Adapter Twisted Pair Media IETHERNET MODULE Generic Ethemet Module gt Show Vendor All v M Other M Specialty 1 0 Select All M Analog M Digital M Communication V Motion M Controller Clear All Cancel Help Delete Cross Reference Frin Properties Module Properties Ethernet_card 1794 AENT A 2 1 El Type 1794 AENT A 1794 10 100 Mbps Ethemet Adapter Twisted Pair Media Vendor Alle
181. ram fault routine The controller executes this routine if it encounters an instruction execution fault within any of the routines in the associated program Publication 1794 UM001E EN P June 2003 2 6 What Is FlexLogix Using the Event Task Publication 1794 UM001E EN P June 2003 The event task is available with FlexLogix controllers using firmware version 12 x or greater Previously the only tasks available were the continuous task and periodic task However the event task offers FlexLogix controller users a task that executes a section of logic immediately when an event occurs An event task performs a function only when a specific event trigger occurs Whenever the trigger for the event task occurs the event task e interrupts any lower priority tasks e executes one time e returns control to where the previous task left off For FlexLogix controller the event task trigger can only be the EVENT instruction Prioritizing Periodic and Event Tasks Although a FlexLogix project can contain up to 8 tasks the controller executes only one task at a time If a periodic or event task is triggered while another task is currently executing the priority of each task tells the controller what to do The FlexLogix controller has 15 priority levels for its tasks To assign a priority to a task use the guidelines described in Table 2 1 Table 2 1 If you want this task to interrupt another task Then Assign a pr
182. ransformer sizing These graphs display backplane power load e Use the real power value to determine the amount of heat dissipation you have inside the enclosure e Use the apparent power value to estimate power cost e Use the transformer load value plus all other loads on a transformer to determine the required transformer size 1794 PS3 output n 3 3 ac dc current 3 5 5 load Amps 1 1 1 0 0 0 0 2 40 60 80 100 0 50 100 150 200 250 0 50 100 150 200 250 real power Watts apparent power Watts transformer load VA 15 15 15 1794 PS 13 output 1 2 1 2 1 2 0 9 0 9 0 9 ac dc current load ate We e Amps 0 3 0 3 0 3 0 0 0 0 0 0 10 2 30 40 0 1 30 45 60 0 2 40 60 80 100 real power Watts apparent power Watts transformer load VA real power Watts x 2 5 Publication 1794 UM001E EN P June 2003 3 4 Placing and Configuring Local 1 0 Planning the DIN Rails Publication 1794 UM001E EN P June 2003 You can horizontally or vertically mount the FlexLogix system on steel 35 x 7 55mm DIN rails A B part number 199 DR1 46277 3 EN 50022 The DIN rails for all FlexLogix system components including all local and extended local I O modules must be mounted on a common conductive surface to ensure proper electromagnetic interference EMD
183. rcard 3 Specify the appropriate communication daughtercard settings i Hf RSLogix 5000 FlexLogix 1794 Select Module Type x Fie Edit View Search Logic Cor Type Major Revision I Blaja Aee 1758ENBT A M a Offline J F RUN ees d FoK Description No Edits a F BAT 1 788 CNC A 1788 ControlNet Bridge Coax Media Fo 1788 CNCR A 1788 ControlNet Bridge Redundant Coax Media 1 788 CNF A 1788 ControlNet Bridge Fiber Media 1 788 CNFR ZA 1788 ControlNet Bridge Redundant Fiber Media 1 788 DNBO A 1788 DeviceNet Scanner 1788 10 100 Mbps Ethernet Bridge Fiber Media 788 10 100 Mbps Ethernet Bridge Twisted Pair Media Controller FlexLogix A Controller Tags C Controller Fault Handler Ca Power Up Handler ES Tasks ata MainTask 8 MainProgram A Program Tags MainRoutine Ea Unscheduled Programs ES Motion Groups Show i i oe Axes Vendor fa 7 M Other M Specialty 1 0 Select All 3 Trends Ea Data Types V Analog M Digital M Communication IM Motion I Controller Clear All C User Defined B Strings R STRING Cancel Help E E Predefined 1 4 Module Defined a Im FlexB N am FlexB Git i Copy Create a module ea Module Properties Controller 1788 ENBT 7A 1 1 Type 1788 ENBT amp 1788 10 100 Mbps Ethemet Bridge Twisted Pair Media Vendor Allen Bradley Parent Controller Name Ethemnet_card lies Host Name 4 Specify w
184. rch Logic Communications i am Offline fil m RUN LA No Forces b m Ok M BAT No Edits a E o Controller quick_start A Controller Tags E Controller Fault Handler C3 Power Up Handler B 63 Tasks f MainTask 23 MainProgram A Program Tags EA MainRoutine 3 Unscheduled Programs 6 Motion Groups EI Ungrouped Axes E Trends 3 6 Data Types Eh User Defined Sa Strings STRING E Predefined Oi Module Defined 3 6 1 0 Configuration a Ea 2 FlexBus Coca MEEME Eat Type 1794 081674 Major Revision Description 8 Point 220V AC Input 4 Channel 24V DC Frequency Counter 8 Channel 24V DC RTD Analog Input 8 Channel 24V DC RTD Thermocouple Analog Input 8 Channel 24V DC Thermocouple m Analog Input 16 Point 24V DC Input Source 16 Point 120 AC Output 8 Point 120V AC Output 8 Point 120V AC Isolated Output 16 Point 24V DC Output Source 16 Point 24 DC Protected Output Source 8 Point 24V DC Output Source xl Show Vendor Ja 7 M Other M Specialty 1 0 Select All M Analog M Digital Clear All M Communication V Motion M Controller Cancel Help Click OK continued Publication 1794 UM001E EN P June 2003 1 8 Getting Started Adding a local output module continued 3 Identify the output module These screens are specific to the 1794 0B16 output module Module P
185. remote communication devices Publication 1794 UM001E EN P June 2003 This address variable Communicating with Devices on an EtherNet IP Link 4 9 Accessing remote 0 I O information is presented as a structure of multiple fields which depend on the specific features of the I O module The name of the structure is based on the location of the I O module in the system Each I O tag is automatically created when you configure the I O module through the programming software Each tag name follows this format Location SlotNumber Type MemberName SubMemberName Bit where Is Location Identifies network location LOCAL local DIN rail or chassis LOCAL2 extended local DIN rail ADAPTER_NAME identifies remote adapter or bridge SlotNumber Slot number of 1 0 module in its chassis Type Type of data input O output C configuration S status MemberName Specific data from the I O module depends on the type of data the module can store For example Data and Fault are possible fields of data for an I O module Data is the common name for values the are sent to or received from I O points SubMemberName Specific data related to a MemberName Bit optional Specific point on the I O module depends on the size of the 1 0 module 0 31 for a 32 point module 3 6 140 Configuration E ab 1 1788 ENBT 7A Ethernet_card 1794 4ENT ZA FLEX_IO_Adapter amp 0 1794 18 16 4 inputi amp 1 1794 0B16 4
186. res of the I O module The name of the structure is based on the location of the I O module in the system Each I O tag is automatically created when you configure the I O module through the programming software Each tag name follows this format Location SlotNumber Type MemberName SubMemberName Bit where Is Location Identifies network location LOCAL identifies communication card within the workstation SlotNumber Slot number of 1 0 module in its chassis Type Type of data input O output C configuration S status MemberName Specific data from the I O module depends on the type of data the module can store For example Data and Fault are possible fields of data for an I O module Data is the common name for values the are sent to or received from I O points SubMemberName Specific data related to a MemberName Bit optional Specific point on the I O module depends on the size of the 1 0 module 0 31 for a 32 point module 1 0 Configuration i 1 1788 DNBO A dnet The 1788 DNBO card in this example is in named dnet gm FlexBus Local The data for the card is configured as a rack optimized g FlexBus Local2 connection Publication 1794 UM001E EN P June 2003 6 8 Communicating with Devices on a DeviceNet Link The rack optimized connection creates a DINT element for mapped data for each DeviceNet module connected to the card dnet The array dnet I Data contains the possible inpu
187. roject Publication 1794 UM001E EN P June 2003 Getting Started 1 3 Creating a project 1 Select File gt New RSLogix 5000 A Edit View Search Loc Open Ctr O 2 Define the project The software uses the project name you enter with an ACD extension to store your project New Controller x Vendor Allen Bradley Select a controller type p Type 17941337A FlexLogi5433 Contoler Name the project 3 1 Redundancy Enabled Secured Cancel Name Describe the project optional Description a f Chassis lippe enone gt zj Select the controller revision Glee om Revision UME r Create In JESRSLogix 5000 Projects Browse Select where to store the project gt E a typically use the default directory The software creates the new controller and displays wn ed Pet snoney dS JT Pi etl PETE Eze ee es Op p BI lt gt Favorites KBt A _lmericourter A Innuloulmat A Compare QA _computematn K Movehogcal A Flemisc A Flesnin A Seq Controller Fault Handler k Power Up Handler controller organizer gt B S Tasks DA MainTask 8 MainProgram Program Tags B amp B MainRoutine Unscheduled Programs J Motion Groups G Ungrouped Axes G Trends B 68 Data Types Gip User Defined SR Strings STRING Gi Predefined i Module Defined 5 8 1 0 Configuration 2 FlexBus Local 2 FlexBus Local2
188. roller 5 24 example FlexLogix controller to other devices 5 27 Publication 1794 UM001E EN P June 2003 2 Index hardware 5 2 mapping address 5 15 message to other controller 5 14 message to other Logix based controller 5 13 overview 5 1 produced consumed tag 5 17 producing a tag 5 19 remote devices 5 5 schedule network 5 10 sending messages 5 11 creating project 1 3 tags 1 13 D data 3 17 developing programs 2 2 DeviceNet accessing remote devices 6 7 communication card 6 3 9 2 configuring the system 6 1 9 1 example FlexLogix controller and DeviceNet devices 6 9 example using a 1788 CN2DN linking device 6 10 FlexLogix back up on the network 10 1 10 14 hardware 6 2 9 2 overview 6 1 9 1 scan list 6 4 DF1 protocol master 7 7 7 12 master slave methods 7 11 point to point 7 7 7 9 slave 7 7 7 12 DH 485 configuring the port 8 3 configuring the system 8 1 example network configuration 8 9 grounding 8 9 hardware 8 2 installing 8 7 network initialization 8 5 nodes 8 6 overview 8 1 terminating 8 9 token rotation 8 5 Publication 1794 UM001E EN P June 2003 DIN rail configuring 3 9 splitting 3 5 direct connection 2 12 documenting 1 0 1 14 downloading project 1 17 2 20 E electronic keying 3 11 entering logic 1 15 EtherNet IP accessing remote devices 4 9 communication card 4 6 configuring the system 4 1 connection guidelines 4 23 consuming a tag 4 22 example FlexLogix cont
189. roller allows up to 250 total connections the communications cards that connect to remote devices are limited to far fewer connections i e 32 connections for ControlNet or EtherNet IP Direct connections for I O modules In this example assume that each I O module is configured for a direct connection to the controller The following table calculates the connections in this example Connection Amount FlexLogix controller to 3 local 1 0 modules rack optimized connection for the DIN rail 1 direct connection for each 1 0 module 3 FlexLogix controller to 2 extended local 1 0 modules rack optimized connection for the DIN rail 1 N direct connection for each I O module total connections used 7 Publication 1794 UM001E EN P June 2003 2 14 What Is FlexLogix Rack optimized connections for 1 0 modules In this example assume that each I O module is configured for a rack optimized connection to the controller The following table calculates the connections in this example Connection Amount FlexLogix controller to 3 local 1 0 modules rack optimized connection for the DIN rail 1 FlexLogix controller to 2 extended local 1 0 modules rack optimized connection for the DIN rail 1 total connections used 2 TIP The rack optimized connection conserves connections and lowers controller overhead in the I O update task However the rack optimized conne
190. roller and remote devices 4 23 example FlexLogix controller as a bridge 4 30 example FlexLogix controller to FlexLogix controller 4 24 example FlexLogix controller to other devices 4 27 hardware 4 2 mapping address 4 18 message to other controller 4 15 message to other Logix based controller 4 14 overview 4 1 produced consumed tag 4 20 producing a tag 4 21 remote devices 4 7 sending messages 4 12 event tasks 2 6 2 8 example DH 485 configuration 8 9 FlexLogix controller and DeviceNet devices 6 9 FlexLogix controller and remote devices over ControlNet 5 22 FlexLogix controller and remote devices over EtherNet IP 4 23 FlexLogix controller as a Contro Net bridge 5 33 FlexLogix controller as a EtherNet IP bridge 4 30 FlexLogix controller to FlexLogix controller over ControlNet 5 24 FlexLogix controller to FlexLogix controller over EtherNet IP 4 24 FlexLogix controller to other devices over ControlNet 5 27 FlexLogix controller to other devices over EtherNet IP 4 27 monitoring I O module 3 21 monitoring rack optimized connection 3 22 using a 1788 CN2DN linking device 6 10 extended local adapter A 5 F fault bit 3 21 G getting started adding a local input module 1 5 adding a local output module 1 7 adding an extended local analog module 1 9 changing module properties 1 11 changing project properties 1 4 creating a project 1 3 creating tags 1 13 documenting 1 0 wi
191. roperties Local 1794 OB16 A 1 1 x Type 1794 0B16 4 16 Point 24V DC Output Source Vendor Allen Bradley You should enter a name repre TAS gt Name foutput_module Slot 1 Describe the module optional p gt Description this is a local output module a Select the communication format Comm Format Rack Optimization 7 S pec ify electronic keyi ng Revision fy Electronic Keying Compatible Module g Cancel Back Next gt Help Click Next 4 Use the Create wizard to configure the output module Use default values for this example If you do not want to go through each screen in the Create wizard click Module Properties Local 1 1794 0B16 A 1 1 x Requested Packet Interval RPI 5 ms 2 0 750 0 ms nnne Miedole I Major Fault On Controller If Connection Fails While in Run Mode Module Fault Module Properties Local 1 1794 0B16 A 1 1 x r Identification r Status Vendor Fault Product Type Module Identity Product Code ES Revision Module Properties Local 1 1794 O0B16 A 1 1 x Click Next Communication Fault Behavior Reset Outputs hd Program Mode Behavior Reset Outputs v Point Sate State Value T lt Back WEZE Finish gt gt Help Click Finish Publication 1794 UM001E EN P June 2003 Adding an extended local analog module 1 Create a new module A Place the cursor over the extended local DIN rail FlexBus Local2 py B Click
192. s If you increase the time slice to 20 the system overhead interrupts the continuous task every 4ms of continuous task time 1 ms 1 ms 1 ms 1 ms 1 ms system overhead i reel Bi El 4ms 4ms 4ms 4ms 4ms oou O 5 10 15 20 25 elapsed time ms If you increase the time slice to 50 the system overhead interrupts the continuous task every 1ms of continuous task time 1 ms system overhead H H Eil H D H Bi Hi Ei E Hi Ei E 1 ms continuous task H B D D D E ised E E E E E m 5 10 15 20 25 elapsed time ms If the controller only contains a periodic task s the system overhead timeslice value has no effect System overhead runs whenever a periodic task is not running periodic task ri ES 5 10 15 20 25 elapsed time ms Publication 1794 UM001E EN P June 2003 2 24 What Is FlexLogix Notes Publication 1794 UM001E EN P June 2003 Chapter 3 Placing and Configuring Local 1 0 Using This Chapter For information about See page Selecting a Power Supply 3 2 Planning the DIN Rails 3 4 Dividing I O Modules Across DIN Rails 3 5 Placing Local 1 0 Modules 3 6 Determining When the Controller Updates 1 0 3 7 Configuring a DIN Rail 3 9 Configuring Local 1 0 Modules 3 10 Inhibiting 1 0 Module Operation 3 14 Accessing I O Data 3 17 Monitoring 1 0 Modules 3 20 The FlexLogix controller supports a local DIN rail o
193. s can send messages to each other via the master e master maintains an active station array The poll array resides in a user designated data file You can configure the master e to send messages during its turn in the poll array or e for between station polls master transmits any message that it needs to send before polling the next slave station In either case configure the master to receive multiple messages or a single message per scan from each slave station message based communication mode initiates communication to slave stations using only user programmed message MSG instructions Each request for data from a slave station must be programmed via a MSG instruction The master polls the slave station for a reply to the message after waiting a user configured period of time The waiting period gives the slave station time to formulate a reply and prepare the reply for transmission After all of the messages in the master s message out queue are transmitted the slave to slave queue is checked for messages to send If your application uses satellite transmission or public switched telephone network transmission consider choosing message based communication Communication to a slave station can be initiated on an as needed basis Also choose this method if you need to communicate with non intelligent remote terminal units RTUs Publication 1794 UM001E EN P June 2003 7 12 Communicating with
194. s not made to the module The module status information changes to indicate the fault condition Publication 1794 UM001E EN P June 2003 To inhibit a module from logic you must first read the Mode attribute for the module using a GSV instruction Set bit 2 to the inhibit status Placing and Configuring Local 1 0 3 17 1 to inhibit or 0 to uninhibit Use a SSV instruction to write the Mode attribute back to the module For example The GSV instruction gets the current status of the module named input_module The SSV instruction sets the state of input_module as either inhibited or uninhibited GSV Get system value CIP Object class MODULE CIP Object name input_module Attribute name Mode Dest input_mod_mode o When on inhibits the module When off SSV_state input_mod_mode 2 Set system value CIP Object class MODULE CIP Object name input_module Attribute name Mode Source input_mod_mode pe Accessing 1 0 Data The programming software displays I O data as structures of multiple tags that depend on the specific features of the I O module The names of the data structures are based on the location of the I O module The programming software automatically creates the necessary structures and tags when you configure the module Each tag name follows this format Location SlotNumber Type MemberName SubMemberName Bit Publication 1794 UM001E EN P June 2003 3 18 Placing and Configuring Local 1 0
195. s periodic task executes at the fastest RPI you have scheduled for the FlexLogix system Its total execution time is as long as it takes to scan the configured I O modules How you configure your tasks affects how the controller receives I O data Periodic tasks at priorities 1 6 can starve the dedicated I O task tasks at priority 8 15 can be starved by the dedicated I O task TIP For typical applications the periodic task priority should be set at a priority level lower than 7 Remember priority levels are ranked in ascending order a priority lower than 7 means a priority level of 8 15 The default priority of 10 should be sufficient for most applications If a periodic task must execute without interruption from the I O update task set the priority level higher than 7 G e 1 6 Publication 1794 UM001E EN P June 2003 2 4 What Is FlexLogix The following example shows the task execution order for an application with periodic tasks and a continuous task Task Priority Level Task Type Actual Worst Case Execution Time Execution Time 1 5 20ms periodic task 2ms 2ms 2 7 dedicated 0 task ims ims 5ms fastest RPI 3 10 10ms periodic task Ams 8ms 4 none lowest continuous task 25ms 60ms Task 1 Task 2 Task 3 Notes A The highest priority task interrupts all lower priority tasks B The dedicated I O task can be interrupted by periodic tasks with priority levels 1 6 The dedicated I O task
196. ssage that does not require connection resources An unconnected message is sent as a single request response Publication 1794 UM001E EN P June 2003 2 10 What Is FlexLogix Determining Connections for Produced and Consumed Tags This type of tag produced The communication module you select determines the number of connections you have available for I O and messages This communication card Supports this number of connections 1788 CNx 32 connections 9 of which can be scheduled The remaining connections or all 32 if you have no scheduled connections can be used for unscheduled connections 1788 ENBT 32 connections can be used for explicit and implicit connections all 32 connections are any combination of remote 1 0 produce consume and messaging connections How you configure connections determines how many remote devices a communication card can support If you have two communication cards use one for messaging e g HMD and the other for control of I O While one card can support both functions performance can improve by separating these functions onto separate cards The FlexLogix controller supports the ability to produce broadcast and consume receive system shared tags Produced and consumed tags each require connections Over ControlNet produced and consumed tags are scheduled connections Requires these connections By default a produced tag allows two other controllers to consume the ta
197. st node address on the network Then adding devices to the network at a later time will not require modifying the maximum node address in every device on the network The maximum node address should be the same for all devices on a DH 485 network for optimal operation The best network performance occurs when node addresses start at 0 and are assigned in sequential order The controller defaults to node address 1 controllers cannot be node 0 Initiators such as personal computers should be assigned the lowest numbered addresses to minimize the time required to initialize the network Communicating with Devices on a DH 485 Link 8 7 Installing a DH 485 Network A DH 485 network consists of a number of cable segments daisy chained together The total length of the cable segments cannot exceed 1219 m 4000 ft IMPORTANT Use shielded twisted pair cable either Belden 3106A or Belden 9842 A daisy chained network is recommended 5 7 NMA f NF Zz Z When cutting cable segments make them long enough to route them from one link coupler to the next with sufficient slack to prevent strain on the connector Allow enough extra cable to prevent chafing and kinking in the cable Single Cable Connection Orange with white stripes White with orange stripes D 6 Termination Belden 3106A
198. ster station Description The station address for the serial port on the DF1 master Enter a valid DF1 address 0 254 Address 255 is reserved for broadcast messages The default is 0 Transmit retries Specifies the number of times a message is retried after the first attempt before being declared undeliverable Enter a value 0 127 The default is 3 ACK timeout Specifies the amount of time you want the controller to wait for an acknowledgment to its message transmission Enter a value 0 32767 Limits are defined in 20ms intervals The default is 50 1000ms Reply message wait Message based polling mode only Specifies the amount of time the master station waits after receiving an ACK to a master initiated message before polling the slave station for a reply Enter a value 0 65535 Limits are defined in 20ms intervals The default is 5 100ms Publication 1794 UM001E EN P June 2003 This field Polling mode Communicating with Devices on a Serial Link 7 13 Description Select one of these e Message Based slave cannot initiate messages e Message Based slave can initiate messages default e Standard multiple message transfer per node scan e Standard single message transfer per node scan Master transmit Standard polling modes only Select when the master station sends messages e between station polls default e in polling sequence Normal poll node tag Standard p
199. struction in program B ee Oo event task E Uy Description O Program A executes an EVENT instruction The event task that is specified by the EVENT instruction executes one time Program B executes an EVENT instruction The event task that is specified by the EVENT instruction executes one time Publication 1794 UM001E EN P June 2003 2 8 What Is FlexLogix Programmatically Determine if an EVENT Instruction Triggered a Task To determine if an EVENT instruction triggered an event task use a Get System Value GSV instruction to monitor the Status attribute of the task Table 2 2 Status Attribute of the TASK Object Attribute Status For this Data Type Instruction DINT GSV SSV Description Provides status information about the task Once the controller sets a bit you must manually clear the bit to determine if another fault of that type occurred To determine if Examine this bit anil ie only A timeout triggered the task eventtaskonly 1 7 An overlap occurred for this task 2 The controller does not clear the bits of the Status attribute once they are set To use a bit for new status information you must manually clear the bit Use a Set System Value SSV instruction to set the attribute to a different value Checklist for an EVENT Instruction Task 1 EVENT instruction Make sure you Use a Trigger Event Task EVNT instruction at each point in your logic that
200. sume the same data at the same time from a single device The controller continually scans the control logic One scan is the time it takes the controller to execute the logic once Input data transfers to the controller and output data transfers to output modules asynchronous to the logic scan TIP If you want data to remain constant throughout one scan make a copy of the data at the beginning of the scan and use the copy throughout the scan Publication 1794 UM001E EN P June 2003 3 8 Placing and Configuring Local 1 0 Publication 1794 UM001E EN P June 2003 Use the following flowchart to determine when a producer controller input module or communication module sends data input or output data output p gt analog or digital digital input analog y digital analog or digital ae p remote or local analog remote N q RTS lt RPI e Yes local Data is sent to the backplane at the RTS y Data is sent to the backplane at the RTS and RPI q Data is sent to the backplane at the RPI y Data is sent to the Remote data is sent backplane at the RPI and at e over the ControlNet the end of every program network at the actual scan packet interval e over the EtherNet IP network at the requested packet interval Placing and Configuring Local 1 0 3 9 Confi
201. t elements the dnet O Data contains the possible output elements devicenet_example Z Showa E TagName F 2 0000_0000_00 222 m od e a Ee x a a gt a Ei B i a Ei R The index number on the array element refers to the same numbered word mapped to the device in RSNetWorx for DeviceNet Depending on the device there can be several words mapped to on device You can create aliases to the elements you actually use to more identify the data you need Publication 1794 UM001E EN P June 2003 Communicating with Devices on a DeviceNet Link 6 9 Placing the Communication is place a ka Be in na ae your ici ogic needs to set the CommandRegister Run bit in the output wor Card in Run Mode for the 1788 DNBO card Scope devicenet_example i 7 Show Show All z Sort Tag Name x Force Mask e soni i ta ceo dt Toant Set this bit _ gt dnet 0 CommandRegister Run 0 dnet 0 CommandRegister Fault 0 dnet 0 CommandRegister DisableNet 0 dnet 0 CommandRegister HaltS canner 0 Ldnet O CommandRegister Reset 0 dnet 0 Data Moga ffazere dnet S hea ENEY For example dnet 0 CommandR egister Aun D n M m Example 1 FlexLogix In the following example one FlexLogix controller controls remote Controller and DeviceNet DeviceNet devices through a 1788
202. t software reschedule save the network Publication 1794 UM001E EN P June 2003 5 32 Communicating with Devices on a ControlNet Link Example 3 Total connections required by Flex1 The following table calculates the connections used in this example Connection Amount Flex1 controller to 3 local 1 0 modules rack optimized connection for the DIN rail 1 direct connection for each I O module 3 Flex1 controller to local 1788 CNC 0 Flex1 controller to remote 1756 CNB Flex1 controller to remote ControlNet PLC 5 connected cached MSG from Flex1 to Control1 connected cached MSG from Flex1 to PLC5C1 Produced TagA produced from Flex1 to Flex2 consumed by PLC5C1 Consumed TagB from Flex2 Consumed INT from PLC5C1 total connections used 12 If you configured the local I O modules as rack optimized you would only need the DIN rail connection to the I O modules reducing the above example by 3 connections You can configure the 1756 CNB module to use no connection This is useful if you configure all direct connections to their associated I O modules and do not need a rack optimized connection Publication 1794 UM001E EN P June 2003 Communicating with Devices on a ControlNet Link 5 33 Example 4 Using FlexLogix You can use the FlexLogix controller to bridge messages between as a Bridge ControlNet A devices the controller supports one connected and one unconnected
203. ta to other devices such as other controllers or for Messages operator interfaces Connected messages can leave the connection open cache or close the connection when the message is done transmitting The following table shows which messages use a connection This type of message And this communication method Uses a connection CIP data table read or write X PLC2 PLC3 PLC5 or SLC all types CIP CIP with Source ID DH X CIP generic CIP Optional block transfer read or write X 1 You can connect CIP generic messages but for most applications we recommend you leave CIP generic messages unconnected Connected messages are unscheduled connections on both ControlNet and EtherNet IP networks If a MSG instruction uses a connection you have the option to leave the connection open cache or close the connection when the message is done transmitting If you Then Cache the connection The connection stays open after the MSG instruction is done This optimizes execution time Opening a connection each time the message executes increases execution time Do not cache the The connection closes after the MSG instruction is done This connection frees up that connection for other uses The controller has the following limits on the number of connections that you can cache If you have this software Then you can cache and firmware revision 11 x or earlier e block transfer messages for up to 16
204. tem overhead and may not be available for programming Sg RSLogix 5000 quick_start 1794 L33 A File Edit View Search Logic Communications Tools W alela S ele olf _ foen Jp foco Te ges _Path lt none gt Controller Tags pe E Controller Fault Print Power Up Han B E Tasks a g MainT ask General Serial Port System Protocol User Protocol Major Faults Minor Faults Date and Time Advanced File Memory Used 75 564 bytes Unused 63 648 bytes Total 139 212 bytes Controller Fault Handler none z Power Up Handler none z System Overhead al Time Slice le Publication 1794 UM001E EN P June 2003 1 20 Getting Started What To Do Next Once your controller is installed and operating you can use RSLogix5000 programming software to develop and test your control application Use the remaining chapters in this manual as reference material for how the FlexLogix controller operates in the Logix environment Publication 1794 UM001E EN P June 2003 Chapter 2 What Is FlexLogix Using This Chapter For information about See page Developing Programs 2 2 Using the Event Task 2 6 How the FlexLogix System Uses Connections 2 9 Selecting a System Overhead Percentage 2 21 The FlexLogix controller is part of the Logix environment The FlexLogix controller provides a distributed control system built on these components
205. ter4_12_15 FLEX_adapter 2 C Filters_12_15 FLEX_adapter 2 C ResetCounter FLEX_adapter 2 C DisableFilter FLEX_adapter 2 remote output2 in slot 3 rack optimized connection These tags are created as aliases into the FLEX_adapter 0 tag FLEX_adapter 3 C FLEX_adapter 3 C SSDate FLEX_adapter 3 0 For examples of local I O tags see Chapter 3 Placing and Configuring Local I O Publication 1794 UM001E EN P June 2003 5 10 Communicating with Devices on a ControlNet Link Scheduling the ControlNet Use RSNetWorx software to schedule the ControlNet network The Network controller project must already be downloaded from RSLogix 5000 programming software to the controller and the controller must be in Program or Remote Program mode 1 In RSNetWorx software go online enable edits and survey the network ControlNet xc RSNetworx for ControlNet ol File Edit View Network Device Tools Help EE esmer eeN ee aN xi gt T Edits Enabled Curent 5 Network Update Time ms 5 00 Avg Scheduled Band 3 Unscheduled Bytes Per Sec 478619 Peak Scheduled Band 5 z Hardware xj oO ControlNet Category E AC Drive AC Drive No Drive Object Communication Adapter ControlNet to SCANport DC Drive No Drive Object Human Machine Interface Programmable Logic Controller Software Vendor Rockwell Automation Allen Bra Rockwell Automation Retance 1756 A10 A
206. th alias tags 1 14 downloading a project 1 17 entering logic 1 15 overview 1 1 steps 1 2 viewing controller memory usage 1 19 viewing I O tags 1 12 viewing scan time 1 18 H hardware ControlNet 5 2 DeviceNet 6 2 9 2 DH 485 8 2 EtherNet IP 4 2 serial 7 1 1 0 configuration FLEX 1 0 adapter 4 8 local ENBT module 4 7 Index 3 1 0 module 3 6 alias 3 20 communication format 3 12 configuring local 3 10 connection 2 12 DIN rail 3 9 direct connection 2 12 electronic keying 3 11 example logic for monitoring a rack optmized connection 3 22 example logic for monitoring the module 3 21 fault bits 3 21 local overview 3 1 monitoring 3 20 splitting the DIN rail 3 5 inhibit operation 3 14 input module adding 1 5 K keying electronic 3 11 L LEDs A 10 local 1 0 configuring 3 10 DIN rail 3 9 overview 3 1 placing modules 3 6 splitting the rail 3 5 logic entering 1 15 Logix environment 2 1 low battery B 1 M mapping address 4 18 5 15 master slave communication 7 11 memory controller usage 1 19 nonvolatile 2 20 message sending over ControlNet 5 11 sending over EtherNet IP 4 12 to other controller 4 15 5 14 to other Logix based controller 4 14 5 13 Publication 1794 UM001E EN P June 2003 4 Index monitoring example logic for I O module 3 21 example logic for rack optmized connection 3 22 I O module 3 20 rack optimized connection 3 22 nonvolatile memory 2 20 0 output module
207. the right mouse button and select New Module 2 Select an analog module to add Select a catal ber elect a catalog number Getting Started 1 9 f RSLogix 5000 quick_start 1794 L33 A File Edit View Search Logic Communications Offline fl mE RUN No Forces b F Ok Y M BAT No Edits a E o CI Controller Fault Handler C3 Power Up Handler B E Tasks a fa MainT ask B ta MainProgram A Program Tags EA MainRoutine 3 Unscheduled Programs 5 6 Motion Groups 3 Ungrouped Axes E Trends Data Types Ea User Defined SR Strings Ga STRING E Predefined E Module Defined 3 6 1 0 Configuration FlexBus Local amp 0 1794181674 input_m 1 1794 0B16 4 output Select Module Type x Type Major Revision fi 794 F2X0F 21 4 1 x Description 16 Point 24V DC Input Sink 16 Input 16 Output 24V DC Sink Protected Source 8 Point 24V DC Input Sink 8 Point 24V DC Sensor Input 16 Point 48V DC Input Sink 2 Channel 24V DC Incremental Encoder 4 Input 2 Output 24V DC Non lsolated Analog 8 Channel 24 DC Non Isolated Voltage Current Analog Input 2 Input 2 Output 24V DC Isolated Analog 4 Channel 24V DC Isolated Analog Input 2 Input Frequency Module 8 Point 220V AC Input xl Show Vendor fa z M Other M Specialty 1 0 Select All M Communication V Motion IV Controller Clear All
208. thout knowledge which controller is primary or secondary e Online edits are not automatically performed on both Primary and Secondary since no synchronization exists between Primary and Secondary Once an online edit occurs on the Primary then the Primary and Secondary will have different programs e FlexLogix Back up on DeviceNet is not Hot Back up Hot Back up implies complete synchronization of program program variables and I O Also I O switchover is completely bumpless is Hot Back up Appendix A FlexLogix System Specifications Using This Appendix For information about See page FlexLogix controller specifications A 1 1794 FLA FlexLogix extended local adapter specifications A 5 1756 BA1 battery specifications A 8 FlexLogix controller serial cable descriptions A 8 FlexLogix controller LED descriptions A 10 FlexLogix Controller Category FlexLogix controller 1794 L33 L34 user memory 1794 L33 64 KBytes 1794 L34 512 KBytes input voltage rating nominal 24V de range 19 2V to 31 2V de includes 5 ac ripple isolation voltage continuous voltage withstand rating 30V de Qualification tested to withstand 850V dc for 60 seconds input maximum current 1 33A maximum at 19 2V de 0 85A maximum at 24V de input maximum power 25 5W maximum at 19 2V 20 4W maximum at 24V de backplane FLEXBUS current output 653mA maximum 5 1V de thermal dissipation 87BTU hour 19 2V operat
209. tination Link o E E ex Class fo Hex Destination Curent_Heanbest z Gi Source link E Destination Node 0 a Octal Instance 1 Attribute12 Hex Sie T Connected F Cache Connections e O Enable Enable Waiting Start Done Done Lenath 2 O Enable Enable Waiting O Start Done Done Length 2 Eror Code Extended Error Code I Timed Oute O Eror Co Extended Error Code T Timed Out Error Path Error Path Error Text Error Text Caneel Ari Hep ok Caes p Hep Publication 1794 UM001E EN P June 2003 10 8 FlexLogix Back Up on DeviceNet Figure 10 3 shows rung 2 and the message set up used on it The message in rung 2 uses the INT data type Figure 10 3 If Scanner Configuration needs updating set the Heartbeat using MSG instruction to scanner Set_Attrib_Single to Class 0x90 Instance 0x01 Attrib 0x12 DeviceNet O CommandRegister Aun Read_Heartbeat DN EQ E M Type CIP Generic Not Equal Message Control Set_Heartbeat Source 4 Current_Heartbeat Source B Config_Heartbeat 166 YY Rung 2 message configuration and communication tabs Message Configuration Set_Heartbeat Message Configuration Read_Heartbeat ome ed Set Attribute Single ha Dies o J JJ Desi f ictal P he Publication 1794 UM001E EN P June 2003 FlexLogix Back Up on DeviceNet 10 9 Figure 10 4 shows rungs 3 amp 4 and the message set up used on
210. tion on using these tools see the EtherNet IP Communication Daughtercard user manual publication 1788 UM054 8 Repeat step 6 for each additional Ethernet module you need to access Configure driver AB_ETH 1 21x Station Mapping Station Host Name Add New 1 130 130 130 2 Delete 2 130 130 130 3 9 When you are done entering the IP addresses click on Apply 10 Click on OK to close the Configure driver window The new driver appears in the list of configured drivers Your list will display the drivers you have configured on your workstation Configure Drivers 21x Available Driver Types Close 5 lf Configured Drivers f Name and Description lt lt AB ETH 1 A B Ethemet RUNNING AB_KT 1_DH Sta 0 Addr D700 RUNNING AB_KTC 1 CNet Node 17 Addr d000 Intr None RUNNING Running Startup 11 Close RSLinx Publication 1794 UM001E EN P June 2003 4 6 Communicating with Devices on an EtherNet IP Link Step 3 Configure the daughtercard as part of the system Use RSLogix 5000 programming software Version 11 or later to map the 1788 ENBT communication daughtercard as part of the FlexLogix system In the Controller Organizer add the communication daughtercard to the I O Configuration folder 1 In RSLogix 5000 programming software select the 1 0 Configuration folder 2 Right click to select New Module and add a 1788 ENBT communication daughte
211. tions in the normal poll array have been polled Use the programming software to change the display style of the active station array to binary so you can view which stations are active Publication 1794 UM001E EN P June 2003 Communicating with Devices on a Serial Link 7 15 Example 3 FlexLogix Controller to a Bar Code Reader isolator recommended In the following example a workstation connects to a bar code reader A bar code reader is an ASCII device so you configure the serial port differently than in the previous examples Configure the serial port for user mode rather than a DF1 mode Connect the ASCII device to the controller To connect the ASCII device to the serial port of the controller 1 For the serial port of the ASCII device determine which pins send signals and which pins receive signals 2 Connect the sending pins to the corresponding receiving pins and attach jumpers If the communications Then wire the connectors as follows handshake f ASCII Device Controller 1 Co 1 CD 2 RDX 2 RDX 3 TXD lt 3 TXD 4 DTR S 4 DTR COMMON COMMON 6 DSR 6 DSR 7 RTS lt 7 RTS 8 CTS 8 CTS 2 a 42231 Publication 1794 UM001E EN P June 2003 7 16 Communicating with Devices on a Serial Link
212. to communicate with ASCII devices Your RSLogix5000 programming software CDROM includes programming examples using ASCII instructions For information about using these examples see the Logix5000 Controllers Reference Manual publication 1756 UM001 Publication 1794 UM001E EN P June 2003 Using This Chapter Configuring Your System for a DH 485 Link Chapter 8 Communicating with Devices ona DH 485 Link The DH 485 protocol uses RS 485 half duplex as its physical interface RS 485 is a definition of electrical characteristics it is not a protocol You can configure the RS 232 port of the FlexLogix controller to act as an DH 485 interface For information about See page Configuring your system for a DH 485 link 8 1 Planning a DH 485 network 8 4 Installing a DH 485 network 8 7 Example 1 FlexLogix controller ControlLogix controller and SLC 8 9 controller on the same DH 485 network IMPORTANT ea DH 485 network consists of multiple cable segments Limit the total length of all the segments to 1219m 4000 ft For the FlexLogix controller to operate on a DH 485 network you need e a 1761 NET AIC converter for each FlexLogix controller you want to put on the DH 485 network e RSLogix5000 programming software to configure the serial port of the controller for DH 485 communications Publication 1794 UM001E EN P June 2003 8 2 Communicating with Devices on a DH 485 Link Publication 1794 UM001E EN P
213. troller requires an additional connection for each subsequent consumer Publication 1794 UM001E EN P June 2003 4 22 Communicating with Devices on an EtherNet IP Link Consuming a tag A consumed tag represents data that is produced broadcast by one controller and received and stored by the consuming controller To create a consumed tag 1 You must be programming offline 2 In the controller organizer double click the Controller Tags folder and then click the Edit Tags tab 3 Select the tag that you want to consume or enter a new tag and display the Tag Properties dialog box 4 Specify In this field Type or select Tag Type Select Consumed Controller Select the name of the other controller You must have already created the controller in the controller organizer for the controller name to be available Remote Tag Name Remote Instance Type a name for the tag in the other controller you want to consume Important The name must match the name in the remote controller exactly or the connection faults RPI requested packet interval Type the amount of time in msec between updates of the data from the remote controller The local controller will receive data at least this fast Display Style If you are creating a consumed tag that refers to a tag whose data type is BOOL SINT INT DINT or REAL you can select a display style This display style defines how the tag value will be displayed in
214. trollers are unsynchronized can cause the output to momentarily switch between an older and newer value If you configure the switchover time slower than the program scan and I O update the secondary lags behind the primary and eliminates this e State variables such as counters or timers are NOT synchronized The user program must synchronize the primary and secondary controllers typically over an EtherNet IP or ControlNet link between controllers If the outputs are dependent on a state variable the lack of synchronization can also cause a bumpy switchover e As with all back up and redundancy systems the I O must change at a slower rate than the switchover time If the inputs change faster than the switchover the change of state is lost e Either the user program or user action determine the primary controller In its simplest mode the first scanner to power up or become available on DeviceNet first is the primary e Unlike some back up systems i e PLC5 the primary controller still maintain control of the I O and switchover does NOT occur if the primary controller is set to Program Idle mode The secondary 1788 DNBO scanner also indicates that it is in Idle Mode e By default a switchover will NOT occur if the default fault routine or user fault routine is executed in the primary controller However the user fault routine can force a switchover if so desired e If an operator interface is on DeviceNet then it can work wi
215. u then configure each I O module on a DIN rail to either use that rack optimized connection or to use a direct connection The rack optimized connection for each DIN rail exists whether or not you configure the I O modules to use that rack optimized connection The rack optimized connection lets you organize all the digital I O modules on one DIN rail into one connection to the controller Or you can choose to configure each I O module to have a direct connection to the controller Analog I O modules must have a direct connection to the controller It is not as critical to manage the number of connections for local and extended local I O modules as it is for remote devices because the controller supports a direct connection for each possible local and extended local I O device What Is FlexLogix 2 13 Connections for remote devices To optimize the number of available connections place remote digital I O in the same location and use a rack optimized connection to the remote adapter that connects the remote I O to the FlexLogix system If you have remote analog I O modules or want a direct connection to specific remote I O modules you do not have to create the rack optimized connection to the remote adapter To use direct connections to remote I O select none for the communication format of the remote communication device Ma fis vital that you manage your connections to remote devices because while the FlexLogix cont
216. ublication 1CCG 5 21 January 2001 PN 955107 02 PLEASE FASTEN HERE DO NOT STAPLE Other Comments PLEASE FOLD HERE BUSINESS REPLY MAIL FIRST CLASS MAIL PERMIT NO 18235 CLEVELAND OH POSTAGE WILL BE PAID BY THE ADDRESSEE Allen Bradley ao iaf DODGE 2 Rockwell Automation 1 ALLEN BRADLEY DR MAYFIELD HEIGHTS OH 44124 9705 Rockwell Automation Rockwell Automation provides technical information on the web to assist you in using our products At http support rockwellautomation com you can Support 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 For an additional level of technical phone support for installation configuration and troubleshooting we offer TechConnect Support programs For more information contact your local distributor or Rockwell Automation representative or visit http support rockwellautomation com Installation Assistance If you experience a problem with a hardware module within the first 24 hours of installation please review the information that s contained in this manual You can also contact a special Customer Support number for initial help in getting your module up and running United States 1 440 646 3223 Monday Friday 8am 5pm EST Outside United Please contact your local Ro
217. umber of connections that you can cache If you have this software Then you can cache and firmware revision 11 x or earlier e block transfer messages for up to 16 connections e other types of messages for up to 16 connections 12 x or later up to 32 connections The FlexLogix controller supports one connected and one unconnected MSG if you want to use the FlexLogix system as a bridge to a device on another network There is no buffer to store waiting MSG instructions that bridge networks ATTENTION The FlexLogix controllers performance degrades significantly if you use the controller as a bridge Bridging over the FlexLogix controller should be targeted toward applications that are not real time dependent such as RSLogix 5000 program downloads and ControlFlash updates Publication 1794 UM001E EN P June 2003 4 14 Communicating with Devices on an EtherNet IP Link Communicating with another Logix based controller All Logix based controllers can use MSG instructions to communicate with each other The following examples show how to use tags in MSG instructions between Logix based controllers Type of MSG Instruction Example Source and Destination Logix based controller writes to source tag array_1 Logix based controller CIP Data Table Write destination tag array_2 Logix based controller reads from source tag array_1 Logix based controller CIP Data Table Read destination tag array_2 T
218. ure and value c gt 32 bit words in FlexLogix controller The word range commands fill the destination tag contiguously Data structure and value change depending on the destination data type The FlexLogix controller can process messages initiated from PLC or SLC controllers These messages use data table addresses In order for these controllers to access tags within the FlexLogix controller you map tags to data table addresses Mapping addresses The programming software includes a PLC SLC mapping tool which allows you to make an existing controller array tag in the local controller available to PLC 2 PLC 3 PLC 5 or SLC controllers To map addresses Publication 1794 UM001E EN P June 2003 5 16 Communicating with Devices on a ControlNet Link 1 From the Logic menu select Map PLC SLC Messages PLC2 3 5 SLC Mapping Lx PLC 3 5 SLC Mapping MO YT corcat_ Help Delete Map PLC 2 Mapping Tag Name v 2 Specify this information For In this field Specify For example PLC 3 PLC 5 and File Number Type the file number of the data table in the 10 SLC controllers PLC SLC controller Tag Name Type the array tag name the local controller uses to refer array_1 to the PLC SLC data table address The tag must be an integer array SINT INT or DINT that is large enough for the message data PLC 2 controllers Tag Name Type the tag name to be the PLC 2 c
219. vice SLC PLC 5 typed read S B N or F PLC 5 word range read S B N F O A or D SLC B N or F Example source element NZ 10 Supported Destination File Types Use the PLC 2 compatibility file Example destination tag 010 In the FlexLogix controller specify the destination data type based on the destination device PLC 5 SINT INT DINT or REAL SLC INT REAL Example destination tag array_1 FlexLogix reads Use the PLC 2 compatibility file from PLC 2 Example source element 010 In the FlexLogix controller select one of these data types SINT INT DINT or REAL Example destination tag array_1 Publication 1794 UM001E EN P June 2003 Typed read command 16 bit words in PLC 5 controller The typed commands maintain data struc c gt Communicating with Devices on an EtherNet IP Link 4 17 The FlexLogix controller can send typed or word range commands to PLC 5 controllers These commands read and write data differently The following diagrams show how the typed and word range commands differ 32 bit words in FlexLogix controller ure and value Word range read command 32 bit words in FlexLogix controller 16 bit words in PLC 5 controller 1 2 1 2 c gt 4 3 3 4 The word range commands fill the destination tag contiguously Data structure and value change depending on the
220. with the FlexLogix controller you must configure the message s communication path in the controller s configuration For more information on how to configure the message s communication path see Example 2 on page 4 24 Publication 1794 UM001E EN P June 2003 4 32 Communicating with Devices on an EtherNet IP Link l Notes Publication 1794 UM001E EN P June 2003 Chapter 5 Communicating with Devices ona ControlNet Link Using This Chapter For information about See page Configuring your system for a ControlNet link 5 1 Configuring remote 1 0 5 5 Sending messages 5 11 Producing and consuming data 5 17 Guidelines for configuring connections 5 21 Example 1 FlexLogix controller and remote 1 0 5 22 Example 2 FlexLogix controller to FlexLogix controller 5 24 Example 3 FlexLogix controller to other devices 5 27 Example 4 Using FlexLogix as a bridge 5 33 Configuring Your System for For the aoe controller to operate on a ControlNet network a ControlNet Link you need e a workstation with an appropriate ControlNet communication daughtercard e a 1788 CNx communication daughtercard installed in the FlexLogix communication slot e RSLinx software to configure the ControlNet communication driver e RSLogix5000 programming software to configure the 1788 CNx communication daughtercard as part of the FlexLogix system e RSNetWorx for ControlNet software to schedule the FlexLogix system on the
221. xLogix controller s performance degrades significantly if you use the controller as a bridge Bridging over the FlexLogix controller should be targeted toward applications that are not real time dependent such as RSLogix 5000 program downloads and ControlFlash updates For example in the example below a message originates at a workstation and is bridged over FlexLogix to a PanelView station workstation EtherNet IP B FlexLogix system Publication 1794 UM001E EN P June 2003 PanelView station In the example above the message originates and ends on EtherNet IP The FlexLogix controller will bridge messages between different networks However the FLexLogix controller cannot bridge a message that originates on DeviceNet For more information see Table 4 1 Communicating with Devices on an EtherNet IP Link 4 31 Table 4 1 Bridging Over the FlexLogix Controller The FlexLogix controller can bridge messages that originate on this network and end of this network EtherNet IP EtherNet IP ControlNet DeviceNet RS 232 ControlNet EtherNet IP ControlNet DeviceNet RS 232 RS 232 EtherNet IP ControlNet DeviceNet IMPORTANT Note that when the FlexLogix controller is used as a bridge you do not have to account for the message s communication path in the controller s configuration However if the message originates
Download Pdf Manuals
Related Search
Related Contents
Samsung Galaxy Ace Käyttöopas Tractor Diagnostics with a Fluke 98 Rosewill RCT03BP chair Axicon - Online Barcode Verifier User Guide 1 - RusMANUAL.RU VF-MB1 / S15 通信オプション 注意事項説明書 資料請求L Pages - Surreal CMS Vox DA15 Stereo Amplifier User Manual Fellowes Saturn A3 Copyright © All rights reserved.
Failed to retrieve file