Home

1785-6.5.14, ControlNet PLC-5 Programmable Controllers User

image

Contents

1. Programming Terminal 1 Programming Terminal 1784 KTC or 00 KTCx 1786 CP 1784 KTCx dR poso i r I jeee PLC 5 40C eee 1 be jeee PLC 5 40C ControlNet Network or 5 200 ControlNet Network e OOO al a aa jeee Processor jeee m aeee Using 1770 KFC communication interface on coax media D Using 1770 KFC communication interface and NAP A Programming Terminal Al Programming Terminal 1770 KFC e Fame SPRECARE Os ia Os Serial Connection ae Serial 1786 CP se N Connection Ze i i i mae Z xo 1770 KFC 3l 6 I ile ee Ji an I I tela dii Fle eo l PLC 5 40C ile ee N jeooo PLC 5 40C 5 2 ControlNet Network or 5 20C ControlNet Network SaN l ra Processor jeee j jeee eee N W jeee Shown with redundant media The network access cable 1786 CP can be plugged into any ControlNet product s NAP to provide programming capability on the ControlNet network A programming terminal connected through this ca
2. To select the DH station address of Channel 1A set the switches of Always OFF Toggle pushed toward TOP OFF To select Set switch To Toggle pushed toward BOTTOM DH Station Number 1through6 See below ii SCONO Switch 7 is not used set it to OFF DH Switch DH Switch Station Station Number 1 2 3 4 5 6 Number 1 2 3 4 5 6 0 on on on on on on 40 on on on on on off 1 off on on on on on 41 off on on on on off 2 on off on on on on 42 on off on on on off 3 off off on on on on 43 off off on on on off of ni dl a A di 44 on on off on on off 45 off on off on on off 6 on off off on on on 46 on off off on on off 7 off off off on on on 47 off off off on on off 10 on on on off on on 50 on on on off on off 11 off on on off on on 51 off on on off on off 12 on off on off on on 52 on off on off on off 13 off off on off on on 53 off off on off on off 14 on on off off on on 54 on on off off on off 15 off on off off on on 55 off on off off on off 16 on off off off on on 56 on off off off on off 17 off off off off on on 57 off off off off on off 20 on on on on off on 60 on on on on off off 21 off on on on off on 61 off on on on off off 22 on off on on off on 62 on off on on off off 23 off off on on off on 63 off off on on off off 24 on on off on off on 64 on on off on off off 25 off on off on off on 65 off on off on off off 26 on off off on off on 66 on off off on off off 27 off off off on off on 67 off off off on
3. a i p PLC 5 40C Controlling Processor init IO init DO imi TO n i rr O Serial Connection sf z a 1770 KFC i _ Interface i ControlNet Network foco n coi a n n ala eco m E Fa i do DMI i coro HI hi li ei 1794 ACN Flex I O Adapter do pra Data Highway Plus Link PLC 5 40C bias Ped Sig Processor Example of a ControlNet Network Remote I O Link in ControlNet Non controlling Mode without Redundant Media Personal Computer or Personal Computer with Personal Computer with 1784 KTCx or Other Serial Device and ControlView or 1784 KTCx Card and ControlView or 1784 KTC Card and ControlView or 6200 Series Programming Software 6200 Series Programming Software 6200 Series Programming Software ig PLC 5 40C Controlling Processor ni C O int C O init DO QI Sr 2 Serial Connection sf 3 B 1770 KFC il Interface ControlNet Network eee H ii mwe N a MI jeee jeee nl n La K da A alla Jose mi l
4. Rem Prog Forces None Edits None 5 40C File CN Command PLC 5 Size in Local Destin Port Type Address Elemnts Node Address Number Fil F2 F3 F8 F9 F10 If you want to Do this Press F1 Command Type to toggle between PLC 5 TYPEDWRITE to select a write operation to another PLC 5 processor PLC 5 TYPED READ to select a read operation from another PLC 5 processor change the command type Press F2 PLC 5 Address Type the PLC 5 data table address Press Enter enter a PLC 5 data table address Press F3 Size in Elemnts Type a number of elements from 1 to 1000 Press Enter enter the size in elements Type a number from 1 to 99 Press Enter Press F9 Destin Address Type the destination data table address Press Enter enter a destination data table address 1 2 3 1 2 3 enter the destination network address 1 Press F8 Local Node 2 3 1 2 3 Chapter 4 Programming Your ControlNet System 6200 Follow the steps on the left to go to the Data Monitor for Message Control Main Menu Block screen Online Offline Program or Program Data Monitor for Message Control Block MG20 50 A F8 Communication Command PLC 5 TYPED WRITE PLC 5 Data Table Address N8 0 ignore if timed out 0 TO Size in Elements 1 to be retried 0 NR awaiting execution 0 EW Cursor to file continuous 0 CO or enter file number or name SOSIO message done 0 DN Local Contro
5. Addressing Mode 4 Slots Sa RES 16 Slots 2 Slot 2 4 6 8 1 Slot 4 8 12 16 1 2 Slot 8 16 24 32 The 6200 PLC 5 Programming Software reserves non ControlNet remote T O output and input image space according to these guidelines It does not overlap processor resident local I O reserved image space It addresses input and output image space offset in octal from 00 37 for the PLC 5 20C processor 00 177 for the PLC 5 40C processor The output image offset value in the I O map corresponds to the first slot of the referenced chassis i e in a 4 slot chassis set for 1 slot addressing the corresponding output image offset of 0 10 would map the words O 10 O 11 0 12 and O 13 to slots 0 1 2 and 3 respectively The input image offset corresponds to the first slot in the referenced rack and the offset location of the input modules in that rack corresponds to the same offset in the image table i e if a chassis set for 1 slot addressing has an input image offset of I 10 and an input module in slot 3 of 0 7 the word that corresponds to that input module would be I 10 3 or I 13 Chapter 2 Planning to Use Your ControlNet PLC 5 Processor Mapping ControlNet Data Transfer The ControlNet I O map table can contain up to 64 entries Each map table entry corresponds to one transfer either input or output of data between the ControlNet processor and an I O rack an I O module or another Con
6. insert an entry or range of entries into the list Move the cursor to the node where you want to add a module or message 2 Press F7 Insert to List 3 Type the slot or message number slot message or node slot message for a single new entry or range slot message slot message or node slot message slot message for multiple new entries 4 Press Enter delete a module or message 1 Move the cursor to the item that you want to delete 2 Press F8 Delete 3 Press F8 Delete Item delete all modules and messages 1 Press F8 Delete 2 Press F10 Delete List go to the ControlNet I O Action screen 1 Move the cursor to the 1794 Flex I O module entry who s actions you want to edit Important This option is not available ifthe 2 Press r9 Edit Actions display mode is set to Message Display on this screen by using F3 Select Display apply pending edits and return to the ControlNet I O Mapping Monitor screen Press F1 Accept Edits return to the ControlNet I O Mapping Monitor screen without saving any pending edits Press Esc 3 9 Chapter 3 Configuring Your ControlNet System 6200 Main Menu Online ry or Offline fol Channel Overview A A Move cursor to Channel 2 M Channel Configuration Monitor Ta Map Monitor Move cursor to a 1794 I O entry y Edit Actions 5 3 10 CONTROLNET Editing ControlNet 17
7. 1 Move the cursor to the entry s Exp Net Pckt Time ms field Type a number between the NUT and 15000 Press Enter manually enter the destination file for information received from a module or message e g a 1771 ACN 1794 ACN or Peer In Tati Wt ha Move the cursor to the entry s Input File field If the item is a digital module l is displayed If it is non discrete or peer to peer input the DIF is displayed Scheduled peer to peer inputs can also use the input image file 2 For non discrete or peer to peer input type an offset between 0 and 999 for discrete or peer to peer input type an offset between 0 and the end of the input image 3 Press Enter manually enter the amount of information 1 Move the cursor to the entry s Input Size field received from a module or message e g LT a 1771 ACN 1794 ACN or Peer In Type a value 3 Press Enter manually enter the source file for information 1 Move the cursor to the entry s output File field sent to a module or in a message e g a 1771 ACN 1794 ACN or Peer Out If the item is a digital module O is displayed If it is non discrete or peer to peer output the DOF is displayed Scheduled peer to peer outputs can also use the output image file 2 For non discrete or peer to peer output type an offset between 0 and 999 for discrete or peer to peer output type an offset between 0 and the end of the output image 3 Pres
8. 59 Extended local I O channel discrete transfer scan in ms 60 Extended local I O channel discrete maximum scan in ms S 61 Extended local I O channel block transfer scan in ms 62 S 127 Appendix B Processor Status File This word of Stores the status file 62 Extended I O channel maximum block transfer scan in ms 63 Protected processor data table protection file number 64 Number of remote block transfer command blocks being used by channel pair 1A 1B S 76 Number of slots in processor resident local rack 0 Illegal 1 4 slots 2 12 slots 3 8 slots 4 16 slots S 77 Communication time slice for communication housekeeping functions in ms S 78 MCP I O update disable bits Bit 0 for MCP A Bit 1 for MCP B etc 8 79 MCP inhibit bits Bit 0 for MCP A Bit 1 for MCP B etc S 80 S 127 MCP file number MCP scan time in ms MCP max scan time in ms The above sequence applies to each MCP therefore each MCP has 3 status words For example word 80 file number for MCP A word 81 scan time for MCP A word 82 maximum scan time for MCP A word 83 file number for MCP B word 84 scan time for MCP B etc B 7 Appendix ControlNet Instruction Set ControlNet I O Transfer Instruction Instruction Description CIO Control block CNET I O TRANSFER CT21 50 ControlNet I O Transfer CT Status Bits TO Time Out Bit EW Enabled Waiting Bit CO Co
9. FAULTED channel A is receiving a high level of unusable frames it is not usable Inactive channel A is not currently active 5 17 Appendix Processor Specifications Heat Dissipation 54 BTU hr Environmental Conditions Operating Temperature Storage Temperature Relative Humidity O to 60 C 32 140 F 40 to 85 C 40 to 185 F 5 to 95 without condensation Shock and Vibration Vibration Testing operating and non operating 1 g 10 to 500 Hz 0 012 inches peak to peak displacement Shock Operating Non operating 30 g peak acceleration for 11 1 ms duration 50 g peak acceleration for 11 1 ms duration Time of Day Clock Calendar Maximum Variations at 60 C Typical Variations at 20 C Timing Accuracy 5 min per month 20 s per month 1 program scan Battery 1770 XYC e 1785 ME16 e 1785 ME32 Memory Modules e 1785 MEG4 e 1785 M100 I O Modules Bulletin 1771 I O 1794 I O 1746 I O and 1791 I O including 8 16 32 pt and intelligent modules Hardware Addressing 2 slot e Any mix of 8 pt modules e 16 pt modules must be I O pairs e No 32 pt modules 1 slot e Any mix of 8 or 16 pt modules e 32 pt modules must be I O pairs 1 2 slot Any mix of 8 16 or 32 pt modules Communication e Serial e DH e DH using 1785 KA e Remote I O e ControlNet Location 1771 A1B A2B A8B A3B1 A4B AM1 AM2 chassis le
10. Force Status Indicator Channel 2 ControlNet Status Indicators Amber Green Red O O Channel 0 Communication ACTIVE FAULT ControlNet Network Access Port Status Indicator NAP RJ45 connector gt E gt Green Red e Channel 2 gt e ControlNet Redundant Media Ports es lt _ ____ Channel0 BNC dedicated so Serial Port 25 pin D shell supports standard EIA ae e RS 232C and RS 423 is RS 422A compatible W s Use this port with ASCII or DF1 full duplex half duplex master and half duplex slave protocols Channel 1 Status Indicators Green Red ___ CO Masa configuration supports processor DH Programming Terminal Connection E to Channel 1A SD e DF point to point one stop bit 8 pin mini DIN parallel with 3 pin connectors 08 e 2400 bps e BCC error check of Channel 1A use only when Channel 1A is e no parity e no handshaking configured for DH communications 5 Channel 1A Memory Module Space 3 pin default is DH configurable for 7 e remote I O scanner o e remote I O adapter n e DH communication e unused amp __ Battery Compartment Channel 1B 3 pin default is remote I O scanner configurable for e remote I O scanner e remote I O adapter Channel 0 is optically coupled provides high electrical e DH communication noise immunity and can be use
11. Toggle Size in Specify Next Prev Next Prev Bit Elemnts Address File File Element Element e F2 F3 E9 F7 F8 F9 F10 Cursor to CIO instruction a F ae The fields of the CT data type that you can directly address are a TO Abort Time out control bit word 0 bit 08 W EW Enabled waiting flag bit word 0 bit 02 ree CO Continuous control bit word 0 bit 03 rif ER Errored flag bit word 0 bit 04 DN Done flag bit word 0 bit 05 ST Started flag bit word 0 bit 06 EN Enabled flag bit word 0 bit 07 ERR Error code word word 1 RLEN Requested length word word 2 DLEN Done length word word 3 FILE Transfer file number word 4 ELEM Transfer element number word 5 For more detailed information on writing ladder programs see the PLC 5 Programming Software Instruction Set Reference publication 6200 6 4 11 and PLC 5 Programming Software Programming publication 6200 6 4 7 4 5 Chapter 4 Programming Your ControlNet System Using ControlNet Immediate Data Input and Output Instructions 6200 Main Menu Online Offline fal or fol J a Cursor to file or enter file number or name Monitor Insert Instruction IDI or pe A a A 4 6 You can use two instructions for immediate data input and output on a ControlNet network Immediate Data Input IDI and Immediate Data Output IDO Follow the steps on the left to add IDI and IDO instructions to your program IDI
12. is ok coniato do onlin Make sure the Configuration Manager node is present A B 9 g and working Check media for broken cables loose connectors missing Flashing Media fault terminators etc Red Off No other nodes present on network Add other nodes to the network Cycle power or reset unit Flashing i Red Green Incorrect network configuration If fault persists contact your Allen Bradley Company Inc representative or distributor Definition of terms e alternating the two indicators alternate between the two defined states at the same time applies to both indicators viewed together the two indicators are always in opposite states out of phase e flashing the indicator alternates between the two defined states applies to each indicator viewed independent of the other if both indicators are flashing they flash together in phase e steady indicator is on continuously in the defined state The Configuration Manager node at node 01 the controlling processor is the node responsible for distributing ControlNet configuration data to all nodes on the ControlNet network Using the 6200 Programming Software to Monitor ControlNet Configuration and Status Chapter 5 Monitoring and Troubleshooting Your ControlNet System This section shows you how to use the ControlNet configuration monitor and status screens found in the 6200 PLC 5 Programming Software release 5 1 or later ControlNet Configuration Moni
13. 2 9 Chapter 2 Planning to Use Your ControlNet PLC 5 Processor Map Table Entry Field Description Input File and Size This is the offset in the input file where the data is to be stored and the number of words to be received from the input device For discrete I O data transfer the offset is into the input image table for non discrete I O data transfer or peer to peer communication with another ControlNet processor the offset is into the Data Input File entered on the ControlNet configuration screen Scheduled peer to peer inputs can also use the input image file Output File and Size This is the offset in the output file where the data is located and the number of words of the output transfer For discrete I O data transfer the offset is into the output image table for non discrete I O data transfer or peer to peer communication with another ControlNet processor the offset is into the Data Output File DOF entered on the ControlNet configuration screen Scheduled peer to peer outputs can also use the output image file Status File Offset This is an offset in a status file that points to three words of information on the status of this map table entry Configuration File and Size Used only in 1771 non discrete I O data transfer and 1794 configurations this is the offset in a configuration file where configuration information needed for this node is located and the size in words of the information 2 1
14. ControlNet PLC 5 User Programmable Manual Controllers Cat No 1785 L20C L40C product icon Important User Information Because of the variety of uses for the products described in this pub lication those responsible for the application and use of this control equipment 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 The illustrations charts sample programs and layout examples shown in this guide are intended solely for purposes of example Since there are many variables and requirements associated with any particular installa tion Allen Bradley does not assume responsibility or liability to include intellectual property liability for actual use based on 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 Allen Bradley 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 Reproduction of the contents of this copyrighted publication in whole or in part without written permission of Allen Bradley Company Inc is prohibited Th
15. Expected Network Packet Time 1771 non discrete I O data transfer mapping default 2 11 2 12 range 2 11 1794 flex I O data transfer mapping default 2 12 range 2 12 description 2 9 F fault codes B 4 files configuration 2 10 configured with I O map for scheduled I O usage 2 9 Data Input 2 9 2 10 3 6 Data Output 2 9 2 10 3 6 Default Configuration 2 9 3 6 Diagnostics 3 4 5 13 I O Status 2 9 2 10 2 16 3 6 D 1 Index 1 5 I O status _2 9 input 2 10 input image 2 1 2 9 2 10 output _2 10 output image 2 1 2 10 processor status B 1 force status indicator 1 4 1 5 frame definition of ii front panel PLC 5 20C processor _1 4 PLC 5 40C processor _1 5 H handling the processor 1 3 heat dissipation specifications _A 1 I O ControlNet _2 1 automatic mapping 2 7 automatically mapping modules and messages that are not mapped 3 8 changing a module or message s type 3 7 changing the Expected Network Packet Time ENPT for a module or message 3 7 Clearing information about a module or message 3 8 Clearing information about all modules and messages 3 8 deleting a module or message _3 9 deleting all modules and messages 3 9 discrete I O data transfer mapping _2 10 editing 1794 I O module action _3 10 editing mapping _3 6 files configured with map Data Input File DIF 2 9 2 10 Data Output File DOF 2 9 2 10 Default Configuration File _2 9 I
16. the maximum time allowed for the network to update the data Look at the Exp Net Pckt Time ms field for that entry go to the ControlNet I O Mapping Edit screen Press F2 Map Edit select the display of slots messages or slots and messages in the list 1 Press F3 Select Display 2 Press F2 Slot Display or F3 Message Display OF F4 Slot Message go to the ControlNet Node Information Monitor screen Press F4 Node Monitor toggle back to view input output status and configuration information Press F5 View Mapping go to the ControlNet Map Entries Status screen Press F6 Monitor Status go to the I O Configuration Monitor Utility 1 Move your cursor to an analog entry 2 Press F8 I O Monitor go to the ControlNet I O Action Monitor screen Important This option is not available if the display mode is set to Message Display on this screen or the ControlNet I O Mapping screen by using F3 Select Display 1 Move the cursor to the 1794 I O module entry who s actions you want to monitor 2 Press F9 Monitor Actions return to the ControlNet Node Information Monitor screen Press Esc 6200 Main Menu Online Offline Program or Program J a General Utility A a Channel Overview A A Move cursor to Channel 2 CONTROLNET M Channel Configuration Monitor j Map Monitor M Mo
17. 2 Peer In 2 12 Peer Out 2 12 planning to use your processor where to go 2 1 PLC 5 processors locating additional information iii PLC 5 programming software locating additional information _ili processor connecting DH link _1 14 front panel PLC 5 20C _1 4 PLC 5 40C 1 5 specifications backplane current load maximum _A 2 typical A 2 battery A 1 certification _A 1 clock calendar _A 1 communication _A 1 ControlNet I O maximum link cable length with repeaters _A 2 maximum link cable length without a repeater A 2 maximum non discrete I O data transfer data table size A 2 maximum number of nodes per link with repeaters _A 2 maximum number of nodes per link without a repeater A 2 maximum number of repeaters in series per link A 2 maximum number of segments in series per link A 2 Network Update Time NUT A 2 number of ControlNet ports _A 2 number of redundant media ControlNet ports _A 2 transmission rate _A 2 environmental conditions _A 1 hardware addressing A 1 heat dissipation A 1 I O modules _A 1 keying A 1 location A 1 maximum number of MCPs _A 2 maximum total I O any mix A 2 complimentary A 2 maximum user memory words _A 2 memory modules A 1 non ControlNet remote I O I O scan time _A 2 maximum number of devices _A 2 maximum number of ports configurable for DH or remote I O A 2 maximum number of racks _A 2 number of dedicated DH ports A 2 transmissi
18. Appendix B Processor Status File Thiswordof Stores the status file 11 Major fault Bit Description 0 corrupted program file codes 10 19 1 corrupted address in ladder file codes 10 29 2 programming error codes 30 49 3 SFC fault codes 71 79 4 error while assembling program code 70 5 start up protection fault 6 peripheral device fault 7 jumped to fault routine codes 0 9 8 watchdog faulted 9 system configured wrong codes 80 89 10 recoverable hardware error 11 MCP does not exist or is not ladder or SFC file 12 PII does not exist or is not ladder 13 STI does not exist or is not ladder 14 fault routine does not exist or is not ladder 15 fault routine file is not a ladder file 12 Fault codes Code Description 0 9 user defined 10 failed data table check 11 bad user program checksum 12 bad integer operand type 13 bad mixed mode operand type 14 not enough operands for instruction 15 too many operands for instruction 16 bad instruction found 17 no expression end 18 missing end of edit zone 19 download aborted 20 indirect address out of range high 21 indirect address out of range low 22 attempt to access undefined file 23 file number less than 0 or greater than number of defined files or indirect reference to file 0 1 2 or bad file number 24 indirect reference to wrong file type 30 subroutine jump nesting level exceeded 31 too few subroutine parameters 32 jump to non ladder file 33 CAR routine not
19. ControlNet documentation is organized into manuals according to the tasks that you perform The manual that you are currently reading 1785 Enhanced Enhanced amp Ethernet PLC 5 ControlNet PLC 5 PLC 5 Processor Programmable Controllers Programmable Controllers System Overview User Manual User Manual Overview of processor How to configure How to install configure functionality system program and operate program operate and benefits and your processor maintain your processor operating features for ControlNet communication 1785 2 36 i 1785 6 5 12 IL 1785 6 5 14 1785 PLC 5 ControlNet PLC 5 Programmable Controllers Programmable Controllers Quick Reference Quick access to switches status bits indicators instructions SW screens Quick Start How to install and use a ControlNet processor in a typical system 1785 7 1 1785 7 4 For more information on 1785 PLC 5 programmable controllers or the above publications contact your local Allen Bradley Company Inc sales office or distributor iii iv Using This Manual PLC 5 Programming Software Documentation Control Net Documentation PLC 5 Programming Software Supplement ConttrolNet Support Using the software to configure and monitor a
20. IMMEDIATE DATA INPUT Data file offset 232 Length 10 Destination N11 232 IDO IMMEDIATE DATA OUTPUT Data file offset LTS Length 24 Source N12 175 END OF FILE Press a function key File 2 Rung 0 Rem Prog Forces None Edits None 5 40C File CN Change Config Return Program Documnt Search General Data Force Edit Mode Display to Menu Dirctry Utility Monitor Fl F2 F3 F4 FS F6 F7 F8 F9 F10 In the example above an IDI is initiated that updates the destination file from the private buffer before the next normal input image update The Data File Offset 232 is the offset into the buffer where the data is stored The Length 10 identifies the number of words in the transfer it can be an immediate value ranging from 1 to 64 or a logical address that specifies the number of words to be transferred The Destination N11 232 is the destination of the words to be transferred The Destination should be the matching data table address in the DIF except when you use the instruction to ensure data block integrity in the case of Selectable Timed Interrupts STIs See page 4 7 An IDO is initiated that updates the private memory output buffer from the source file before the next normal output image update The Data File Offset 175 is the offset into the buffer where the data is stored The Length 24 identifies the number of words in the transfer or a logical address that specifies the number of words to be tran
21. SQH2 _1 13 A automatic I O mapping _2 7 avoiding electrostatic damage _1 3 battery specifications _A 1 battery compartment 1 4 1 5 location of on PLC 5 20C 1 4 on PLC 5 40C 1 5 battery life 1 9 battery status indicator 1 4 1 5 C cables remote I O _1 1 cabling _1 19 certification _A 1 Channel 0 1 4 1 5 Channel 0 communication ACTIVE FAULT status indicator 1 4 1 5 channel 1 status indicators _1 5 Channel 1A 1 4 1 5 2 1 Channel 1B _1 4 1 5 2 1 Channel 2 1 4 1 5 ion N ion Channel 2 ControlNet status indicators Channel 2 Status screen fields COUNTERS LOCKED 5 13 Frames channel A errors 5 13 channel B errors 5 13 channel warnings _5 13 received aborted 5 13 received bad 5 13 received good 5 13 total received 5 13 transmitted aborted 5 13 transmitted good 5 13 media usage 5 13 Misc collisions 5 13 commands received _5 13 network silent 5 13 noise detected 5 13 out of step events 5 13 Network Capacity blockage _5 13 mismatch events _5 13 moderator node _5 13 unheard occurrences _5 13 update time overload 5 13 ClOs See ControlNet I O Transfer instructions clock processor _A 1 communication specifications _A 1 communication ports location of on PLC 5 20C _1 4 on PLC 5 40C _1 5 configuring your ControlNet system where to go 3 1 connecting a programming terminal _1 16 connecting to a Contro
22. data for the processor to process 90 coprocessor extensive memory test failed 91 coprocessor undefined message type 92 coprocessor illegal pool index 93 coprocessor illegal maximum pool size 94 coprocessor illegal ASCII message 95 coprocessor reported fault 96 coprocessor present signal lost 97 coprocessor illegal minimum pool size 98 coprocessor first last 16 bytes RAM test failed 99 coprocessor to processor data transfer faulted 100 processor to coprocessor transfer failed 101 coprocessor end of scan transfer failed 102 file number specified for raw data transfer through the coprocessor is an illegal value 103 element number specified for raw data transfer through the coprocessor is an illegal value 104 size of the transfer requested through the coprocessor is an illegal size 105 offset into the raw transfer segment of the coprocessor is an illegal value 106 coprocessor transfer protection violation 200 ControlNet output transfer missed 201 ControlNet input data missed 202 ControlNet diagnostic data missed 203 ControlNet scheduled transmit data overflow 204 ControlNet configuration too complex for the PLC 5 processor 13 Program file where fault occurred 14 Rung number where fault occurred 15 VME status file 16 I O Status File B 4 S 17 9 27 Appendix B Processor Status File This word of Stores the status file 17 Minor fault word 2 Bit Description 0 BT queue full to
23. mode 3 Press Enter clear the reset bit so that the processor 1 Move the cursor to the Reset field for that entry will set the output module or message S 5 Typeao Run Program command to the To processor s mode 3 Press Enter return to the ControlNet I O Mapping Press Esc Monitor screen 5 10 6200 Main Menu Online Offline Program or Program A E y General Utility A Channel Overview a Move cursor to Channel 2 M Channel Configuration Monitor M Map Monitor io Vv Move cursor to a 1794 I O entry Monitor Actions nl CONTROLNET Chapter 5 Monitoring and Troubleshooting Your ControlNet System Using the ControlNet I O Action Monitor Screen Follow the steps on the left to go to the ControlNet I O Action Monitor screen 7 Node 4 1794 ACN Module Type Slot 0 1794 Digital Reset 1 1794 IE8 A Reset 2 1794 0E4 A Safe 3 1794 IE4X0E2 A Safe 4 1794 Digital Reset 5 1794 Digital Reset 6 1794 Digital Reset 7 1794 Digital Reset Press a function key gt Rem Prog Forces None Map Monitor F2 Fault Action ControlNet I O Action MONITOR Channel 2 Configuration NODE 1 Idle Action Fault Action From Idle Reset Idle Reset Idle Reset Idle Reset Idle Reset Idle Reset Idle Reset Idle Reset Idle 5 40C File CN Define Edit LclRack Actions F7 F9 If you want to Do this go to the Contro
24. the software redisplays the Channel Overview screen with a new prompt and set of function keys a Channel Overview A Channel 0 SYSTEM POINT TO POINT Channel 1A DH Channel 1B SCANNER MODE Channel 2 CONTROLNET Channel 3A UNUSED PROCESSOR CONFIGURATION IS INCONSISTENT WITH CURRENT CONTROLNET CONFIGURATION Press F10 apply processor to CNet gt Rem Prog Forces None 5 40C File CN Apply to Link C F10 g If you want to Do this apply the processor configuration information to the current Press F10 Apply to Link ControlNet link configuration then go to the ControlNet Node Information Monitor screen return to the original Channel Overview screen Press Esc Defining Local Rack Characteristics 6200 Main Menu Offline Program General Utility p El Channel Overview Move cursor to Channel 2 CONTROLNET Channel Configuration Monitor 4 7 Define Local Rack A Chapter 3 Configuring Your ControlNet System If you are programming offline configuring Channel 2 for the first time and entering an edit screen for the first time or if you follow the steps on the left the software prompts you to select the number of slots in the local chassis and your addressing mode ControlNet Node Information MONITOR Channel 2 Configuration NODE Diagnostics file 0 Network Update Time ms 5 Coax Repeaters in Serie
25. 40C 1 5 using 5 2 5 3 status words I O map entry D 1 T tap _1 1 connecting _1 1 definition of i using _1 15 terminator definition of _ii trunk cable definition of _ii trunk cable section definition of _ii trunk cable drop cable connection _1 1 U unscheduled data transfer operations _2 3 unscheduled non discrete I O data transfer 2 3 unscheduled transfers definition of _ii using ControlNet I O Transfer CIO instructions 4 4 using ControlNet Immediate Data I O instructions 4 6 using ControlNet Message MSG instructions 4 2 using the ControlNet Channel 2 Status screen 5 12 using the ControlNet I O Action Monitor screen 5 11 using the ControlNet I O Mapping Monitor screen 5 7 using the ControlNet Map Entries Status screen _5 9 using the ControlNet Node Information Channel 2 Configuration Monitor screen _5 6 using the ControlNet status indicators 5 3 using the ControlNet View Times Monitor screen _5 8 using the ControlNet WHO ACTIVE Active Node Identification screen _5 14 using the ControlNet WHO ACTIVE Active Node Status screen 5 16 using the ControlNet WHO ACTIVE Channel Status screen 9 17 using the ControlNet WHO ACTIVE Network Status screen 5 19 using the general status indicators _5 2 using this manual conventions used ii intended audience for i introduction to i recommended preparation for i related te
26. 5 20E e PLC 5 60L 1A 2 e PLC 5 30 e PLC 5 80 e PLC 5 40 e PLC 5 80E si PLCS40C performed by the ControlNet network you must make e PLC 5 20 e PLC 5 40E these changes manually by reprogramming e PLC 5 20C PLC 5 40L e PLC 5 20E e PLC 5 60 1B 2 e PLC 5 30 PLC 5 60L e PLC 5 40 PLC 5 80 e PLC 5 40C e PLC 5 80E e PLC 5 40 PLC 5 80 P e PLC 5 60 2A or 2B Aor 1B performed by DH or remote l O you must make these changes manually by reprogramming 2 15 Chapter 2 Planning to Use Your ControlNet PLC 5 Processor Can be run on a Program files PLC 5 20C or for this process Archived from a On channel 5 40C channel If they fit and are 2 1A or 1B performed by remote I O you must make these e PLC 5 20E PLC 5 60L changes manually by reprogramming I O e PLC 5 40E e PLC 5 80E e PLC5 40L 2 performed by the ControlNet network you must make these changes manually by reprogramming Dia These include processor files data table files and port configurations If you do not update the program the ControlNet processor will fault You must change block transfer instructions for the ControlNet system from the standard block transfer read BTR and block transfer write BTW instructions to scheduled transfers or to unscheduled CIO instructions You must edit non ControlNet PLC 5 programs containing references to the I O Status File for use with I O connected via the ControlNet network Informatio
27. 5 6 7 8 10 123 4 5 6 7 8 9 10 Set Switches To Specify 2 3 4 5 6 7 8 9 10 ON ON ON OFF OFF ON ON OFF ON OFF Toggle pushed iias Da toward TOP OFF OFF OFF ON OFF OFF OFF OFF OFF ON OFF Toggle pushed RS 422A rs toward BOTTOM ON ON ON ON OFF OFF ON OFF OFF ON OFF RS 423 Selecting the ControlNet Select your processor s ControlNet network address by setting the two Network Address of 10 digit rotary switches on the top of the processor Channel 2 20 30 10 40 1 4 00 50 0 5 Network address 01 is shown 90 60 9 6 80 70 8 7 NET ADDRESS For optimum throughput You can select from as many as 99 network addresses from 01 to 99 for a rie A rta LI processor on a ControlNet link 00 is invalid sequential order starting with 01 for the controlling processor 1 11 Chapter 1 Installing Your ControlNet PLC 5 Processor Inserting Removing the Processor into from the I O Chassis Card Guides Installing a Remote I O Link Trunk cable drop cable considerations When using a trunk cable drop cable configuration use 1770 SC station connectors and follow these cable length guidelines e trunk cable length depends on the communication rate of the link see Table 1 A e drop cable length 30 4 m 100 cable ft maximum Important When using a trunk cable drop cable configuration set your communication rate to 57 6kK bit s For more information about designing trunk cable drop cable configu
28. ControlNet network PLC 5 Programming Software Instruction Set Reference Instruction execution parameters status bits and examples PLC 5 Programming Software Programming Creating managing files saving restoring files importing exporting files creating editing SFCs creating editing ladder 6200 6 4 20 6200 6 4 11 6200 6 4 7 PLC 5 PLC 5 Programming Software Programming Software Software Configuration 1 0 Configuration and Maintenance Installing software defining Configuring data table files configuring intelligent processor checking status I O modules clearing faults 6200 6 4 6 6200 6 4 12 For more information on PLC 5 programming software or the above publications contact your local Allen Bradley Company Inc sales office or distributor For detailed information on different aspects of planning and installing your ControlNet network see the following publications Publication Publication Number ControlNet Cable System Component List AG 2 2 ControlNet Cable System Planning and Installation Manual 1786 6 2 1 ControlNet Coax Tap Installation Instructions 1786 2 3 ControlNet Network Access Cable Installation Instructions 1786 2 6 ControlNet Repeater Installation Instructions 1786 2 7 Industrial Automation Wiring and Grounding Guidelines 1770 4 1 Using This Chapter Installing Your Cont
29. Data file offset 232 Length 10 Important In most cases you should set the Data file offset and the Source of an IDO or the Data Destination N11 232 file offset and the Destination of an IDI to the same address See page 4 6 for more information on IDO this and other aspects of using ControlNet IDI and IDO instructions IMMEDIATE DATA OUTPUT Data file offset 175 Length 24 Source N12 175 2 6 Understanding ControlNet I O Mapping Chapter 2 Planning to Use Your ControlNet PLC 5 Processor All scheduled data transfers must be mapped on a ControlNet network You specify where I O data is to be read from or written to i e mapped You do this and establish the relationship between processors I O adapters and data table file addresses by creating and maintaining an I O map table An I O map table entry is required for each scheduled data transfer The map table is stored in the configuration section of memory and is not accessible by your application program Using the 6200 PLC 5 Programming Software you can automatically configure and map nodes attached to your ControlNet I O See Chapter 3 for information on ControlNet automatic configuration and I O mapping Reserving Space for Non ControlNet I O Non ControlNet processor resident local I O and remote I O devices can only use fixed I O image locations based on rack number for discrete I O data transfer while discrete I O data transfer between Control
30. Features Because connections are opened and closed as needed more can exist in a program as long as no more than this number are active at one time Using I O Forcing Operations ControlNet I O forcing occurs in the same way as remote I O forcing in the PLC 5 20 and 5 40 processors The processor performs the forcing and transmits the forced data to the output and input image tables You can force any discrete I O data placed in the I O image however forcing of non discrete I O data is not supported For detailed information on forcing see PLC 5 Programming Software Configuration and Maintenance publication 6200 6 4 6 Using Immediate Data Transfer Operations ControlNet Immediate Data I O transfers Immediate Data Input IDI and Immediate Data Output IDO perform similarly to the remote I O supported immediate I O transfers Immediate Input INN and Immediate Output IOT which the ControlNet system also supports The logic scan is temporarily interrupted while the most recent state of one discrete input or output word is read from or written to the private memory buffer 2 5 Chapter 2 Planning to Use Your ControlNet PLC 5 Processor Fo i A d Immediate Data Transfer gt Private i Data Memory Dat t Table Buffers ata Update gt Files S oO oO 8 5 o O D x S ControlNet Data Transfer Program Scan PA nu lt gt Scheduled D
31. File Size 1 PLC 5 40C n a n a n a n a n a n a n a M rsor t OVE CUTSOELO al Peer Out to 3 20 n a n a N36 0 24 0 n a n a Channel 2 CONTROLNET 2 1771 ACN 5 1 010 8 0 010 8 3 n a n a 6 1771 IFE A 15 N34 0 20 n a n a 6 N38 0 37 7 1771 OFE A 13 N34 20 5 N36 64 5 9 N36 64 13 3 PLC 5 20C n a n a n a n a n a n a n a Channel l1 Peer In 7 N34 25 24 n a n a 15 n a n a Configuration P Press a function ke age or page down or enter a value Monitor a u 1 Y page up pag wn valu 4 Rem Prog Forces None Display Slot Message 5 40C File CN Accept Select Node Auto Clear Insert Delete Edit Select a Edits Display Edit Mapping ia to List Actions Option F1 F3 F4 F5 F6 F7 F8 F9 F10 Map Monitor If you want to Do this specify and create the status file the file containing 1 Move the cursor to the status File field status information on all the ControlNet network s scheduled I O map table entries Type an integer file number between N3 and N999 2 3 Press Enter 1 specify and create the DIF the file used for both non discrete and peer to peer input data transfer over the ControlNet network Move the cursor to the Data Input File field Type an integer file number between N3 and N999 2 3 Press Enter 1 specify and create the DOF the file used for both non discrete and peer to peer output data transfer over the ControlNet network Move the cursor to the Data Output File field Type an integer file number between N3 and N
32. Installing a Remote I O Link 1 12 Installing a DH Link 1 14 Connecting to a ControlNet Network 1 15 Connecting a Programming Terminal 0005 1 16 Selecting Appropriate Cables 000 0 eee e eee 1 18 Planning to Use Your ControlNet PLC 5 Processor 2 1 UsingiTnisChapler coliiarianssia interi 2 1 Understanding ControlNet I O 21 Understanding ControlNet I O Mapping 27 Using the ControlNet PLC 5 Processor in a ControlNet I O System 2 13 Converting from a Non ControlNet Remote I O System to a ControlNet I O System eee 2 15 Table of Contents Configuring Your ControlNet System Using This Chapter scsi Chew beetatducesns outs Matching the Processor Configuration with the ControlNet Configuration 00 cece eee eee Defining Local Rack Characteristics Editing ControlNet Node Information Editing ControlNet I O Mapping Programming Your ControlNet System Using This Chapter scri Using ControlNet Message Instructions Using the ControlNet I O Transfer Instruction Using ControlNet Immediate Data Input and Output Instructions Using Selectable Timed Interrupts with a Program ona ControlNet Network 0 00 cee eee eee eens Monitoring and Troubleshooting Your ControlNet System Using This Cha
33. Offline Program Online Program or Channel Overview A A Move cursor to Channel 2 CONTROLNET Channel Configuration Monitor Map Monitor id Follow the steps on the left to go to the ControlNet I O Mapping Monitor screen ControlNet I O Mapping MONITOR Channel 2 Configuration NODE 1 Status File N32 Network Update Time ms 5 Sch BW 64 Data Input File N34 2 00 Processor s ControlNet Resource Usage Data Output File N36 Map Entries PLC BW DIF DOF Dflt Config File N38 8 8 10 8 Node Mod Msg Type Act Net Pckt Input Output Status Config S M Time ms File Size File Size Offset File Size 1 PLC 5 40C n a n a n a n a n a n a n a 1 Peer Out to 3 20 n a n a N36 0 64 0 n a n a 2 1771 ACN 5 I 010 8 0 010 8 3 n a n a 6 1771 IFE A 10 N34 0 20 n a n a 6 N38 0 37 7 1771 OFE A 10 N34 20 5 N36 64 5 9 N36 64 13 3 PLC 5 20C n a n a n a n a n a n a n a 1 Peer In 5 N34 25 24 n a n a 15 n a n a Press a function key page up or page down or enter a node s m number gt Rem Prog Forces None Display Slot Message 5 40C File CN Map Select Node View Monitor Define 1 0 Monitor Edit Display Monitor Times Status LclRack Monitor Actions F2 ES F4 F5 F6 EF F8 F9 If you want to Do this quickly position the cursor on a specific entry in the list 1 Typethe node number a period and the slot or message number of the entry e g 2 7 2 Press Enter go to the Co
34. Os Os 00 0 a id e 2 i co TI Sa Programming Terminal Programming Terminal PLC 5 20C PLC 5 40C DH Link Processor DH Link Processor Serial Channel To program the processor using Channel 0 configure the channel for RS 232C using DF1 point to point protocol de F Ne e If your programming A x terminal has a Use cable Ooo O 9 pin serial port 1784 CP10 F Sa 25 pin serial port 1784 CP11 4 i x 7 Programming Terminal I Programming Terminal c LI i l Le BE IC PLC 5 20C PLC 5 40C Processor Processor Chapter 1 Installing Your ControlNet PLC 5 Processor ControlNet Connection You can connect programming devices to a ControlNet network through ATTENTION Do not connect the same communication card to both the NAP and the ControlNet network access cable 1786 CP a tap on the ControlNet network a tap on a ControlNet network Using 1784 KTCx communication card on coax media Using 1784 KTC or KTCx communication card and NAP
35. Table 2 G Chapter 2 Planning to Use Your ControlNet PLC 5 Processor Table 2 G 1771 Non discrete I O Data Transfer Mapping Default Default Valid Default Valid Default Valid Entries Input Input Output Output Config Configuration Module Type Description per Module Size Size s Size Sizes Size Sizes 1771 CFM A 1771 CFM A Configurable 2 41 0 41 60 0 4 14 24 60 0 4 14 24 34 Flowmeter Module 34 44 48 44 48 52 56 52 56 60 60 1771 DE A 1771 DE A Absolute Encoder Module 2 2 0 2 20 0 5 10 15 20 0 5 10 15 20 20 22 22 1771 IE 1771 IE Analog Input Module 1 8 1 8 1771 IF 1771 IF Analog Input Module 1 8 1 64 1771 IFE A 1771 IFE A Analog Input Module 1 20 5 20 37 0 3 37 1771 IFE B 1771 IFE B Analog Input Module 1 20 5 22 37 0 3 37 39 1771 13 1771 IJ Encoder Counter Module 2 1 0 1 3 0 3 3 0 3 1771 IK 1771 IK Encoder Counter Module 1771 IL A 1771 IL A Isolated Analog Input Mod 1 12 5 12 19 0 2 19 1771 IL B 1771 IL B Isolated Analog Input Mod 1 12 5 15 19 0 2 19 36 37 1771 IR A 1771 IR A RTD Input Module 1 8 3 8 14 0 2 8 14 1771 IR B 1771 IR B RTD Input Module 1 8 3 9 14 0 2 8 14 15 1771 IS 1771 IS Multiplexer Input Module 1 6 1 7 1771 IXE A 1771 IXE A Thermocouple Millivolt 1 12 4 12 27 0 1 19 27 Input Module 1771 IXE B 1771 IXE B Thermocouple Millivolt 1 12 4 13 27 0 1 19 27 28 Input Module 1771 IXHR
36. change all outputs to user specified fail safe values change a system s fault action 1 Move the cursor to the Fault Action From Idle column from idle i e the action that it takes when it faults from idle Press F8 Toggle A11 to toggle between e Idle to use the idle action e Fault to use the fault action change a module s fault action 1 Move the cursor to the module s field Fault Action field i e the action that it takes when it faults Press F10 Toggle Entry to toggle between e Reset to change all outputs to zero Hold Last to maintain all current output values safe to change all outputs to user specified fail safe values If you want to Chapter 3 Configuring Your ControlNet System Do this change a module s idle action i e the action that it takes when it becomes idle 1 Move the cursor to the module s Idle Action field 2 Press F10 Toggle Entry to toggle between e Reset to change all outputs to zero Hold Last to maintain all current output values e safe to change all outputs to user specified fail safe values change a module s fault action from idle i e the action that it takes when it faults from idle 1 Move the cursor to the module s Fault Action From Idle field 2 Press F10 Toggle Entry to toggle between e Idle to use the idle action e Fault to use the fault action apply pending edits and return to the C
37. in the background current values are continuously updated when COUNTERS LOCKED is not displayed media usage the media redundancy characteristic for the ControlNet channel a B A on1y Or B Only Frames transmitted good 6 15 08 number of good frames transmitted 5 07 00 5 15 08 transmitted aborted 9 07 00 number of frames that could not be transmitted completely and were aborted during transmission received good 7 07 00 number of good frames received on the active channel 7 15 08 6 07 00 received aborted 12 07 00 number of frames received that were aborted during transmission on the active channel received bad 8 15 08 number of unusable frames received on the active channel total received number of frames good and bad received on the active channel channel A errors 8 07 00 number of frames received on channel A that were unusable independent of the active channel channel selected for reception channel B errors 9 15 08 number of frames received on channel B that were unusable independent of the active channel channel selected for reception channel warnings 23 07 06 any channel that is receiving a low level of unusable frames i e frames containing data errors Network Capacity update time overload 10 07 00 number of times that a NUI passes with no opportunity to transmit blockage 11 07 00 number of times that a NUI does not contain enough room to allow the transmission of a particular frame moderator node 15 15 08 network address
38. manually entering the amount of information sent to a module or in amessage 3 7 manually entering the amount of information to be stored in the I O configuration file for a module 3 8 manually entering the destination file for information received from a module or message 3 7 manually entering the file for storing the I O configuration needed for a module 3 8 manually entering the source file for information sent from a module or in a message _3 7 matching the processor and ControlNet configurations _3 2 moving a node description to a new address 3 5 specifying the Data Input File DIF 3 6 specifying the Data Output File DOF 3 6 specifying the Default Configuration File 3 6 specifying the Diagnostics File 3 4 specifying the I O Status File _3 6 specifying the maximum scheduled node address _3 5 specifying the Network Update Time NUT 3 4 3 7 specifying the number of coax repeaters 3 4 specifying the redundancy characteristic of the ControlNet media 3 5 viewing the maximum percent of scheduled bandwidth _3 5 viewing the number of scheduled I O map table entries indicating data transfers to and from the processor 3 7 viewing the percent of scheduled bandwidth used in the worst case 3 7 viewing the percentage of the Data Input File DIF being used _3 7 viewing the percentage of the Data Output File DOF being used 3 7 configuring nodes 2 7 2 14 locating additional informati
39. memory protection disabled ON Processor memory protection enabled p Regardless of this switch setting outputs are turned off when any of the following occurs e processor detects a runtime error e an I O chassis backplane fault occurs e you select Program or Test mode e you set a status file bit to reset a local rack lf an EEPROM module is not installed and processor memory is valid the processor s PROC indicator blinks and the processor sets S 11 9 bit 9 in the major fault status word To clear this fault change the processor from Program mode to Run mode and back to Program mode Ifthe processor s keyswitch is set in Remote the processor enters Remote Run mode after it powers up and has its memory updated by the EEPROM module A processor fault solid red PROC LED occurs if processor memory is not valid You cannot clear processor memory when this switch is on 19309 Chapter 1 Installing Your ControlNet PLC 5 Processor Setting the I O Chassis Set the I O chassis configuration plug as follows Configuration Plug Y N 4 1 Locate the chassis configuration plug AT pami between the two left most slots of L the chassis 5 2 Set the I O chassis configuration plug S USING A NR i _ POWER S
40. of the node that is transmitting the moderator frame always the lowest active network address mismatch events 16 15 08 number of times a moderator frame was received with network parameters different from those in the receiving node unheard occurrences 16 07 00 number of times a node can receive a frame from a lower network address but cannot receive a moderator Misc out of step events 10 15 08 number of times any event prevents a frame from being transmitted in the NUI in which it should be transmitted network silent 13 15 08 number of times a node cannot hear any network activity for three consecutive NUIs number of times that a start of frame could not be detected nored Gearon 14 15 08 number of station commands received directly from the network that bypass the node s host commands received 17 15 08 processor number of times that a node prevents the transmission of a frame because it would cause a collisions 14 07 00 collision to occur In user specified Diagnostics File All counters display only the status of the node being examined 5 13 Chapter 5 Monitoring and Troubleshooting Your ControlNet System 5 14 6200 Main Menu WHO Go WHO Active Te If you want to Using the ControlNet WHO ACTIVE Active Node Identification Screen Important Keep the following in mind ControlNet WHO screens are available only when your programming device is communicating through a 1784 KTC card 1784 KTCx ca
41. off off 30 on on on off off on 70 on on on off off off 31 off on on off off on 71 off on on off off off 32 on off on off off on 72 on off on off off off 33 off off on off off on 73 off off on off off off 34 on on off off off on 74 on on off off off off 35 off on off off off on 75 off on off off off off 36 on off off off off on 76 on off off off off off 37 off off off off off on 77 off off off off off off Chapter 1 Installing Your ControlNet PLC 5 Processor Specifying the Serial Specify RS 232C RS 422A or RS 423 communication for Channel 0 by Interface of Channel 0 setting the switches of assembly SW2 Bottom View of PLC 5 20C Processor Bottom View of PLC 5 40C processor Switch Assembly SW2 Switch Assembly SW2 Front of 5 TT TT ERRO OO Q Front of Processor ESE CESSISCLOE SS Processor O A EFEFEREEEE RE OOO OOO EEEREN OO O E OOOO i Se uy g ree Ci 123 4
42. processor started fist program scan or the first scan of the next step in an SFC 2 Switch setting information bits 0 7 DH station number bit 11 12 are set based on the I O chassis backplane switches bit 12 bit 11 I O chassis addressing 0 0 illegal 1 0 1 2 slot 0 1 1 slot 1 1 2 slot bit 13 1 load from EEPROM bit 14 1 RAM backup not configured bit 15 1 memory unprotected B 1 Appendix B Processor Status File S 3 10 B 2 This word of Stores the status file S 3 to 6 Active Node table for channel 1A Word Bits DH Station 3 0 15 00 17 4 0 15 20 37 5 0 15 40 57 6 0 15 60 77 S 7 Global status bits e low 8 bits rack fault bits for racks 0 7 e high 8 bits rack queue full bits for racks 0 7 8 Last program scan in ms S 9 Maximum program scan in ms 10 Minor fault word 1 Bit Description ONO WDM O battery is missing or low replace in 1 2 days DH table has changed active node table STI delay too short interrupt program overlap EEPROM memory transfer at power up edits prevent SFC continuing invalid I O status file memory cartridge battery low no more command blocks exist not enough memory on the memory module to upload the program from the processor no MCP is configured to Run MCP not allowed PII word number not in local rack PII overlap no command blocks exist to get PII arithmetic overflow SFC action overlap S 11 S 12
43. program scan segment trunkline section of ControlNet network with terminators at each end a segment does not include repeaters segments connected by repeaters make up a link tap component that connects products to the ControlNet trunk cable a tap is required for each node and for each side of a repeater terminator 750 resistor mounted in a BNC plug placed on each end of a ControlNet segment to prevent reflections from occurring at the ends of the cable trunk cable bus or central part of the ControlNet cable system trunk cable section length of trunk cable between any two ControlNet taps unscheduled transfers non deterministic data transfers through ladder initiated communication or programming devices Conventions Related Publications PLC 5 Processor Documentation Preface Using this Manual This icon indicates that the current topic is discussed further in the publication s referenced A series like this indicates a keystroke procedure for you to follow to get to the correct screen or ad to complete a task using software Pj Text that shows what a terminal displays is shown like this Press a key Text in square brackets indicates an actual key that you press i e F1 Text describing information that you must provide is italicized i e filename The 1785 PLC 5 programmable controller 6200 programming software and
44. the ControlNet View Times screen 6200 Main Menu ControlNet View Times Offline fol Online v fal or General Utility Channel Overview Move cursor to Channel 2 CONTROLNET Channel Configuration Monitor Map Monitor a h View Times Te 5 8 a Node Mod Msg Type Press a function key page up or page down gt Rem Prog Forces None Display Monitor Mapping Status Map Select Node View Edit i i F2 F3 F4 F5 F6 S M Time ms Time ms 1 PLC 5 20C n a n a ug Peer Out To 3 20 20 2 1771 ACN 5 5 6 1771 IFE A 10 LS 7 1771 OFE A 10 13 3 PLC 5 20C n a n a I Peer In 5 7 Display Slot Message Monitor 1 0 i i MONITOR Channel 2 Configuration NODE 1 Status File N32 Network Update Time ms 5 Sch BW 64 Data Input File N34 0 Processor s ControlNet Resource Usage Data Output File N36 Map Entries PLC BW DIF DOF Dflt Config File N38 8 8 10 8 Act Net Pckt Exp Net Pckt or enter a node s m number 5 40C File CN Monitor Monitor Actions F8 F9 If you want to Do this quickly position the cursor on a specific entry in the list 1 Type the node number a period and the slot or message number of the entry 2 Press Enter see the ANPT for an entry the actual time it takes for the network to update the data Look at the Act Net Pckt Time ms field for that entry see the ENPT for an entry
45. the status offset field for that entry associated with an entry are located in the Status File see whether the data associated with an Look at the Data valid field for that entry PS velo orinvalld For all I O modules except 1794 e yEs indicates that the status data for the slot are valid e nO indicates that the status data for the slot are not valid For all 1794 I O modules e y indicates that the status data for the slot are valid e n indicates that the status data for the slot are not valid e x indicates that the slot is not configured For example a 1794 I O module field of yyxnnxyx indicates e the status data for slots 0 1 and 6 are valid e the status data for slots 3 and 4 are not valid e slots 2 5 and 7 are not configured set the inhibit bit so that the processor 1 Move the cursor to the Inhibit field for that entry will not attempt to establish a connection 9 Type a 1 with the module or message 3 Press Enter 5 9 Chapter 5 Monitoring and Troubleshooting Your ControlNet System If you want to Do this clear the inhibit bit so that the processor 1 Move the cursor to the Inhibit field for that entry will attempt to establish a connection with 2 Typeao the module or message 3 Press Enter set the reset bit so that the processor will 1 Move the cursor to the Reset field for that entry set the output module or message s 2 Tyoeal Run Program command to Program vp
46. when the ER bit is set e Done length indicates the number of words transferred e As many as 32 1771 READ and or 1771 WRITE CIOs can be active at a time e A minor fault is set when 32 1771 READ and or 1771 WRITE ClOs are active at a time e You cannot use CIO instructions to read or write blocks of data from or to 1794 Flex I O modules but you can use these instructions to configure 1794 features listed in the Description column e As many as 8 1794 Flex I O ClOs can be active at a time e A minor fault is set when 8 1794 Flex I O ClOs are active at a time e Any transfer initiated from a Processor Input Interrupt PII or Selectable Timed Interrupt STI program suspends execution of the program scan until the transfer is completed e Important This can extend your program scan by ten s of ms e No transfer is initiated when the processor is in Program mode e Transfers that have been running with the CO bit set automatically restart on the Program to Run transition when the Continue Last step bit is set and the data table has not changed e A transfer has a maximum size of 64 words e Only the processor owner of an adapter can send or receive transfers to or from any of that adapter s modules See pages 4 4 and C 1 for more information Peer to peer Messaging MSG Instructions 2 4 You can use ControlNet message MSG instructions and the data type MG to create unscheduled messages that are init
47. your selection or enter a unique substring of the name of the new node type change a node s series or revision 1 Move the cursor to the entry s series Revision field 2 Press F10 Select Option to toggle to your selection change a node s status to active node is a working 1 Move the cursor to the entry s status field communicating node on the ControlNet network or inactive configuration and map ping for node are 2 Press F10 Select Option to toggle to Active Of Inactive included in computation of NUT etc but device is not actually connected to the network go to the ControlNet I O Mapping Edit screen 1 Press F2 Map Edit 2 Go to page 3 6 move a node description to an unused network address 1 Move the cursor to one of the node s cursorable fields 2 Press F3 Move Entry 3 Type the new network address 4 Press Enter copy node information to a different network address 1 Move the cursor to one of the original node s cursorable fields 2 Press F4 Copy Entry 3 Type the new network address 4 Press Enter automatically add nodes connected to the channel to the node list if you are programming online Press F5 Auto Network delete all nodes from the list except for the processor that you are editing Press F6 Delete List insert an entry or range of entries into the node list 1 Press F7 Insert to List 2 Type a new network address or range of network addresse
48. 0 Discrete I O Data Transfer Mapping Regardless of the type of I O e g 1771 1794 all ControlNet discrete I O data is stored within the processor s I O image files according to the corresponding I O map table entry Any status information transferred along with the I O data is stored in a separate status file that you specify during configuration Non discrete I O Data Transfer Mapping All ControlNet non discrete I O data is stored in integer files that you specify in a ControlNet configuration screen The ControlNet processor supports two distinct image files both are integer data table files that you specify Data Input File DIF Data Output File DOF Each map table entry for a non discrete I O data transfer defines an offset into the DIF or DOF where the data is stored Using separate data table files for non discrete I O data transfer allows the processor to present non discrete I O data in the same way as discrete I O data continuously transmitted and asynchronous to the ladder logic program scan 1771 Modules ControlNet 1771 discrete I O data transfer mapping requires one map table entry per module ControlNet 1771 non discrete I O data transfer mapping requires one or two map table entries per module depending on the module type The PLC 5 20C and 5 40C ControlNet non discrete I O data transfer mechanism makes it possible to eliminate block transfer programming to communicate with the 1771 modules listed in
49. 1 features 2 4 C 1 peer to peer messaging instructions programming 4 2 C 1 peer to peer messaging _2 3 description 2 4 features 2 4 ControlNet I O automatic mapping _2 7 ControlNet I O mapping automatic _2 7 reserving rack space for remote l O linked racks before mapping _2 7 understanding _2 7 discrete I O data transfer mapping 2 10 mapping data transfers 2 9 non discrete I O data transfer mapping 2 10 modules that may be accommodated 2 12 ControlNet I O status indicator 1 4 1 5 ControlNet I O Transfer CIO instructions ControlNet immediate data 1 0 instructions Immediate Data Input IDI 2 6 C 2 Immediate Data Output IDO _2 6 C 2 process C 2 Index 1 3 ControlNet immediate data I O instructions process _2 6 ControlNet Immediate Data Input IDI instruction _2 6 ControlNet Immediate Data Output IDO instruction _2 6 ControlNet network definition of _ii locating additional information _iv ControlNet Network Access Port NAP ControlNet PLC 5 20C processor identifying components of _1 4 ControlNet PLC 5 40C processor identifying components of _1 5 ControlNet processor configuring your ControlNet system _3 1 fault codes B 4 installing 1 1 planning to use 2 1 programming your system 4 1 ControlNet system cabling 1 19 configuring 3 1 automatically adding nodes to the node list 3 5 automatically mapping modules and messages that are not mapped 3
50. 1 Allen Bradley Drive Mayfield Hts OH 44124 Phone 216 646 3166 FAX 216 646 4320 Publication ICCG 5 21 August 1995 PN 955107 82 PLEASE FASTEN HERE DO NOT STAPLE Other Comments PLEASE FOLD HERE Soe te Sen race ce on POSTAGE WILL BE PAID BY THE ADDRESSEE ON Rockwell Automation Allen Bradley 1 ALLEN BRADLEY DR MAYFIELD HEIGHTS OH 44124 9705 NO POSTAGE NECESSARY IF MAILED IN THE UNITED STATES PLEASE REMOVE Numbers 1770 CD _1 14 1 19 1770 KFC Communication Interface _2 1770 KFC Communication Interface _1 17 1771 Generic 2 11 1771 N Series Analog Modules _2 11 1771 AF 1 13 1771 AS 1 13 1771 DCM 1 13 1771 IE IF and IFE Analog Input Modules 2 11 1771 IL Isolated Analog Input Modules 211 1771 IR RTD Input Modules _2 11 1771 IS Multiplexer Input Modules _2 11 1771 OF Analog Output Modules _2 11 1771 OFE1 OFE2 and OFE3 Analog Output Modules _2 11 1771 SN 1 13 1771 ACN and ACNR ControlNet I O Adapters _2 13 1771 ASB 1 13 1771 CFM Configurable Flowmeter Modules 2 11 2 12 1771 DE A Absolute Encoder Modules 2 11 1771 lJ and IK Encoder Counter Modules 2 11 1771 IXE Thermocouple Millivolt Input Modules _2 11 1771 IXHR High resolution Thermocouple Millivolt Input Modules 2 11 1771 QA Stepper Positioning Modules 2 11 1771 QB Linear Positioning Modules _2 11 1771 QC Servo Positioning Modules 1771
51. 1771 analog modules you can also include explicit CIO instructions in your ladder logic program See pages 4 4 and C 1 for more information 1794 Modules ControlNet 1794 Flex I O mapping requires two map table entries per adapter The ControlNet scheduled transfer mechanism makes it possible to map the 1794 modules listed in Table 2 H Table 2 H 1794 Flex I O Data Transfer Mapping Default Valid Default Valid Input Input Output Output Module Type Description Size Size s Size Size 1794 0E4 A 1794 OE4 A Analog Output Module 1 4 1794 IE4X0E2 A 1794 IE4X0E2 A Analog I O Module 5 1 5 2 1794 IE8 A 1794 IE8 A Analog Input Module 9 1 9 ENPT Default 4 x NUT ENPT Range 2 15000 ms Other ControlNet Processors ControlNet scheduled peer to peer communications between ControlNet processors require one map table entry per message The PLC 5 processor at node 01 the controlling processor must be included in each message The ControlNet transfer mechanism makes it possible to map the scheduled peer to peer messages listed in Table 2 1 Table 2 1 Peer to Peer Communications Mapping Message Type Description Default Input Size Valid Input Sizes Peer In Scheduled Peer In 64 1 64 Peer Out to ____ Scheduled Peer Out ENPT Default 4 x NUT ENPT Range 2 15000 ms Chapter 2 Planning to Use Your ControlNet PLC 5 Processor To communicate between any ControlNet P
52. 68000 code 34 bad timer parameters entered 35 bad PID delta time entered 36 PID setpoint out of range 37 invalid I O specified in an immediate I O instruction 38 invalid use of return instruction 39 FOR loop missing NXT 40 control file too small 41 NXT instruction with no FOR 42 jump target does not exist 43 file is not an SFC 44 error using SFR 45 invalid channel number entered 46 IDI or IDO instruction length operand too long gt 64 words 47 69 reserved B 3 Appendix B Processor Status File This word of Stores 3 12 5 16 the status file 12 Fault codes continued Code Description 70 duplicate labels 71 SFC subchart is already executing 72 tried to stop an SFC that is not running 73 maximum number of SFC subcharts exceeded 74 SFC file error 75 SFC contains too many active steps 77 SFC references a step transition subchart or SC file that is missing empty or too small 78 SFC could not continue after power loss 79 error in downloading an SFC to a processor that cannot run SFCs or this specific PLC processor does not support this enhanced SFC 80 I O configuration error 81 illegal setting of I O chassis backplane switch 82 illegal cartridge type 83 user watchdog fault 84 error in user configured adapter mode block transfers 85 bad cartridge 86 cartridge incompatible with host 87 rack overlap includes any adapter channel 88 scanner channels are overloading the remote I O buffer too much
53. 7 years 3 7 days 25 C 1 7 years 3 34 years 15 days PLC 5 40C 60 C 105 days 207 days 40 hours 25 C 1 3 years 2 57 years 10 8 days The battery status indicator BATT warns you when the battery is low These durations are based on the battery supplying the only power to the processor power to the chassis is off once the status indicator first lights Disposing of the Battery Do not dispose of lithium batteries in a general trash collection when their combined weight is greater than or equal to 0 5 gram A single 1770 XYC battery contains 0 65 grams of lithium Check your state and local regulations that deal with the disposal of lithium batteries ATTENTION Follow these precautions Do not incinerate or expose the battery to high temperatures Do not solder the battery or leads the battery could explode Do not open puncture or crush the battery The battery could explode or toxic corrosive and flammable chemicals could be exposed Do not charge the battery An explosion may result or the cell may overheat and cause burns Do not short positive and negative terminals together The battery will heat up Chapter 1 Installing Your ControlNet PLC 5 Processor Selecting the DH Station Address of Channel 1A assembly SWI Side View of PLC 5 40C Processor Switch Assembly SW1 O LL ei
54. 8 changing a 1794 I O modules fault action 2 4 3 10 4 4 changing a 1794 I O modules fault action from idle 3 11 changing a 1794 I O module s idle action 2 4 3 11 4 4 changing a 1794 system s fault action 3 10 changing a 1794 system s fault action from idle 3 10 changing a 1794 system s idle action 3 10 changing a module or message s type 37 changing a node s series or revision 3 5 changing a node s status _3 5 changing a node s type _3 5 changing the Expected Network Packet Time ENPT for a module or message _3 7 clearing information about a module or message _3 8 clearing information about all modules and messages _3 8 Index copying node information to a new address 3 5 defining local rack characteristics _3 3 deleting a module or message _3 9 deleting a node from the node list 3 5 deleting all modules and messages 3 9 deleting all nodes from the node list 3 5 editing 1794 I O module action _3 10 editing ControlNet I O mapping _3 6 editing node information _3 4 editing the ControlNet node information configuration 3 4 entering the length of cable between repeaters _3 4 entering the number of coax repeaters 3 4 entering the number of fiber optic repeaters _3 4 inserting an entry at an unused slot or message address _3 9 inserting nodes into the node list 3 5 manually entering the amount of information received from a module or message 3 7
55. 85 6 5 14 September 1995 PN 955116 44 Copyright 1995 Allen Bradley Company Inc Printed in USA
56. 94 I O Module Action Follow the steps on the left to the ControlNet I O Action Edit screen Important Only one user on a network can enter a processor s ControlNet 1794 I O Module Action screen at one time 7 Node 4 1794 ACN Module Type Slot 1794 Digital 1794 IE8 A 1794 OE4 A 1794 IE4X0E2 A 1794 Digital 1794 Digital 1794 Digital 1794 Digital JAUSA WNH o gt Rem Prog Accept Map Edits Edit Fl F2 ControlNet I O Action EDIT Channel 2 Configuration NODE 1 Fault Action Idle Action Fault Action From Idle Reset Reset Idle Reset Reset Idle Safe Reset Idle Safe Reset Idle Reset Reset Idle Reset Reset Idle Reset Reset Idle Reset Reset Idle Forces None Press a function key or cursor key 5 40C File CN Toggle Toggle All Entry F8 F10 If you want to Do this change a system s fault action i e the action that it takes when it faults Move the cursor to the Fault Action column Press F8 Toggle A11 to toggle between e Reset to change all outputs to zero Hold Last to maintain all current output values e safe to change all outputs to user specified fail safe values change a system s idle action 1 Move the cursor to the Idle Action column i e the action that it takes when it becomes idle Press F8 Toggle A11 to toggle between e Reset to change all outputs to zero Hold Last to maintain all current output values e safe to
57. 999 2 3 Press Enter 1 specify and create the Default Configuration File the file used to store non discrete I O data transfer and 1794 Flex I O configuration information when the automatic mapping feature is used Move the cursor to the Df1t Config File field Type an integer file number between N3 and N999 2 N Press Enter 3 6 If you want to Chapter 3 Configuring Your ControlNet System Do this specify the NUT 1 Move the cursor to the Network Update Time ms field 2 Type a number between 2 and 100 3 Press Enter view the percent of scheduled bandwidth used in the worst case a percent that changes depending on the NUT and the completed map table entries See the scheduled Bandwidth Usage field view the number of scheduled I O map table entries indicating data transfers between the scanning processor and other nodes See the Map Ent ries field view the percentage of bandwidth used for the ControlNet PLC 5 processor that you are using See the PLC BW field view the percentage of the DIF being used See the DIF field view the percentage of the DOF being used See the por field change a module or message s type 1 Move the cursor to the entry s Type field 2 Press F10 Select Option to toggle to your selection or enter a unique substring of the name of the new module or message type change the ENPT for a module or message
58. A 1771 IXHR A High resolution 1 12 4 13 27 0 3 19 27 28 Thermocouple Millivolt Input Module 1771 0F 1771 OF Analog Output Module 2 1 0 1 4 4 60 1771 OFE A 1771 OFE A Analog Output Module 2 5 0 5 13 1 5 13 13 0 5 13 1771 OFE B 1771 OFE B Analog Output Module N Series A 1771 N Series Analog Module 2 28 0 20 28 59 0 2 9 59 59 0 2 9 59 1771 QA 1771 QA Stepper Positioning Module 1 4 1 10 1771 0B 1771 QB Linear Positioning Module 1 5 1 33 1771 9C 1771 QC Servo Positioning Module 1 6 1 14 1771 SN 1771 SN Sub I O Scanner Module 2 16 0 7 63 16 0 7 63 1771 VHSC A 1771 VHSC Very High speed 2 18 0 4 26 64 0 2 4 12 20 64 0 2 4 12 20 Counter Module 24 29 34 24 29 34 39 39 44 49 44 49 54 59 54 59 64 64 1771 Generic 1771 Generic Module 1 1 0 64 1 0 64 1 0 64 ENPT Default 4 x NUT ENPT Range 2 15000 ms For newly released modules or modules that can have multiple configurations but only one configuration is being used you can use the generic module type and specify the input and or output sizes 2 11 Chapter 2 Planning to Use Your ControlNet PLC 5 Processor 2 12 The types of modules that may be accommodated by the processor s scheduled non discrete I O data transfer mechanism are typically those modules that require a one time configuration and then continuously read or write To communicate with the modules listed in Table 2 G as well as with other
59. CTION Of 1794 IDLE ACTION Frof e 1to 15 for 1794 CONFIG DATA Of 1794 SAFE STATE DATA e 0 to 64 for 1771 READ Of 1771 WRITE 3 Press Enter o enter the destination 1 Press F8 Local Node Message network address 2 Type a number from 1 to 99 esf 3 Press Enter 7 enter the destination 1 Press F9 Slot Number slot number 2 Type the number of the slot that holds the I O device number from 0 to 15 3 Press Enter Ifyou enter a o the module determines the size of the transfer In this case you must make sure that your data table can accomodate up to 64 words Enter control block address using file type CT 4 4 Chapter 4 Programming Your ControlNet System 6200 Follow the steps on the left to go to the Data Monitor for ControlNet I O Main Menu Transfer Block screen Online Offline a Data Monitor for ControlNet I O Transfer Block CT21 50 N Program or Program Communication Command 1771 Write PLC 5 Data Table Address N7 3 ignore if timed out 0 TO frf Size in Elements 10 awaiting execution 0 EW Elements Transmitted 0 continuous 0 CO error 0 ER C t fil m transfer done 0 DN UTSOr to Lie Local ControlNet Node 1 transfer started 0 ST or enter file number or name Slot Number 0 transfer enabled 0 EN Port Number 2 Error Code 0000 HEX Monitor File A Fef Press a function key or enter a value 7 CT21 50 TO Rem Prog Forces None Data Decimal Addr Decimal 5 40C File CN
60. ControlNet system is operating you affect the performance of unscheduled I O operations Follow the steps on the left to go to the ControlNet WHO ACTIVE 6200 Channel Status screen t gt ControlNet WHO ACTIVE Channel Status a a a a a WHO Node Active Channel A Channel B Bad frame received from node number 4 Channel Status Status most recent to least recent oi aS A 01 A Good Inactive 02 A Good Inactive 03 A Good Inactive WHO a A Good Inactive Active 06 d 07 F i 7 09 10 12 Channel ESC exits WHO rate 4 sec Maximum Unscheduled Nodes 12 Diagnostics DZ Press a function key or page up or page down Fs Net Channel A Status Cable Good Net Channel B Status Cable Inactive Network Save Who Diags Config Rate F6 F9 F10 If you want to Press go to the ControlNet WHO ACTIVE Network Status screen F6 Network Diags save the current ControlNet WHO configuration as the permanent ControlNet WHO configuration F9 Save Config enter a new ControlNet WHO update rate F10 WHO Rate go to the ControlNet WHO ACTIVE Active Node Identification screen Esc This field Displays Node a device s network address Active Channel the channel that the node is using Channel A Status the status of the channel A for the specified node Good channel A is receiving no unusable frames WARN channel A is receiving a low level of unusable frames
61. Data Output File DOF 3 6 specifying the Default Configuration File 3 6 specifying the I O Status File 3 6 specifying the Network Update Time NUT 3 7 unscheduled I O data transfer instructions _4 4 immediate data I O instructions _4 6 Message instruction 2 4 4 2 C 1 non discrete I O data transfers 2 4 C 1 non discrete I O data transfer instructions _4 4 unscheduled data transfer 2 3 unscheduled non discrete I O data transfer 2 3 unscheduled operations messaging from programming devices 2 3 non discrete I O data transfer 2 3 peer to peer messaging _2 3 viewing the number of scheduled I O map table entries indicating data transfers to and from the processor 37 viewing the percentage of the Data Input File DIF being used 3 7 viewing the percentage of the Data Output File DOF being used 3 7 I O addressing _A 1 I O forcing _2 5 I O map table definition of _ii I O map entry status words D 1 I O modules specifications _A 1 I O Status File specifying _3 6 I O status indicator 5 3 IDI See ControlNet Immediate Data Input instruction IDO See ControlNet Immediate Data Output instruction IIN See Immediate Input instruction Immediate Data Input IDI instruction _C 2 Immediate Data Output IDO instruction C 2 immediate data transfer operations _2 5 immediate I O process _2 6 Immediate I O instructions _2 6 Immediate Input IIN instruction 2 6 Immediate Output IO
62. K bit s 1 524 m approximately 5 000 ft 230 4K bit s 762 m approximately 2 500 ft For proper operation terminate both ends of a remote I O link by using the external resistors shipped with the programmable controller Use either a 1508 or 82Q terminator Chapter 1 Installing Your ControlNet PLC 5 Processor The maximum number of Use this physical devices that logical rack numbers resistor you can connect on the that you can scan on If your remote I O link rating link is the link is Operates at 230 4K bit s Operates at 57 6K or 115 2K bit s and no devices listed below are linked Scanners 1771 SN 1772 SD SD2 1775 SR S4A S4B 82Q 32 16 6008 SQH1 SQH2 Adapters 1771 AS 1771 ASB Series A Only 1771 DCM Miscellaneous 1771 AF Connects to any device listed below Scanners 1771 SN 1772 SD SD2 1775 SR S4A S4B 6008 SQH1 SQH2 1502 16 16 Adapters 1771 AS 1771 ASB Series A Only 1771 DCM Miscellaneous 1771 AF Operates at 57 6K or 115 2K bit s and you do not require over 16 physical devices You can install a remote I O link two ways e trunk cable drop cable from the drop cable to the connector screw terminals on the remote I O connectors of the processor e daisy chain to the connector screw terminals on the remote I O connectors of the processor and then to the remote I O screw terminals of the next remote I O device To connect remote I O cable 1 Run the 1770 CD cable
63. LASH None Alternating Red Processor in FLASH memory is being Sei ed memory programming reprogrammed PROC mode Processor FLASH memor checke r Contact your local A B representative for a y field firmware update error Processor memory Clear memory and reload program checksum error Memory module Correct backplane switch settings and or error insert correct memory module Steady Red Major fault 1 Tum power off reseat processor then power up tia diagnostics 2 Clear memory and reload your program aile 3 Replace EEPROM with new program 4 If still an error replace the processor Processor in Program Normal operation if or Load or Test mode mode correct Nong Steady Amber SFC and or I O forces enabled Flashing SFC and or I O forces FORCE Amber present but not enabled Normal operation Off SFC and or I O forces not present None Not La Normal operation if Off ele channel not being Channel 0 COMM used Flashing Green Transmission on Channel 0 Normal operation if channel being used 1 0 Using the ControlNet Status Indicators ControlNet network Chapter 5 Monitoring and Troubleshooting Your ControlNet System The ControlNet status indicators inform you of the operational state of the Indicator State Description Probable Cause s Recommended Action s off ControlNet I O not present Normal operation if Channel None or not operating 2 not being used O All nodes c
64. LC 5 processors on the ControlNet network you can include explicit MSG instructions in your ladder logic program See pages 4 2 and C 1 for more information Using the ControlNet There can be only one PLC 5 20C or 5 40C processor updating I O PLC 5 Processor in a adapters on a ControlNet network ControlNet I O System the PLC 5 20C or 5 40C processor updating the I O adapters must be at network address 01 this is the controlling processor only the controlling processor is allowed to send CIO instructions additional PLC 5 20C or 5 40C processors can do scheduled transfers to the PLC 5 20C or 5 40C processor at node 01 by using peer to peer communications through the map table but they cannot directly communicate with or control the ControlNet remote I O In addition to your controlling processor you can attach the following ControlNet devices to your network Catalog Number s Device s Function 1785 L20C L40C PLC 5 20C and 5 40C Programmable Controllers Communicate with other PLC 5 20C or 5 40C processors using scheduled or unscheduled peer to peer communication 1784 KTC ControlNet KTC Communication Card Allows other computer platforms to communicate with the ControlNet network for programming only 1784 KTCx ControlNet KTCx Communication Card Allows other computer platforms to communicate with the ControlNet network supports redundant media for programming MMI 1770 KFC ControlNet Seri
65. LID The node or slot contains the wrong Insert the proper module in the correct slot of module type the target node An incorrect module type was Enter the correct module type in the map entered in the map table table entry 65532 OxFFFC WRITE DATA INVALID The node or slot contains the wrong Insert the proper module in the correct slot of module type the target node An incorrect module type was Enter the correct module type in the entered in the map table map table entry 65533 OxFFFD DATA TABLE TOO SMALL The processor data table is too Increase the size of the data table to small accommodate the transfer length D 4 Allen Bradley uy Publication Problem Report If you find a problem with our documentation please complete and return this form Pub Name Cat No Pub No Pub Date Part No Check Problem s Type Describe Problem s Internal Use Only _ Technical Accuracy C text _ illustration _ Completeness _ procedure step _ illustration _ definition _ info in manual What information is missing F example C guideline F feature accessibility F explanation L other F info not in manual _ Clarity What is unclear F Sequence What is not in the right order F Other Comments Use back for more comments Your Name Location Phone Return to Technical Communication Allen Bradley Co
66. Net nodes can be mapped to any unused location in the I O image tables Before mapping your ControlNet I O therefore you should configure any processor resident local I O and any remote I O racks on non ControlNet channels This allows the 6200 PLC 5 Programming Software to reserve input and output image space for all non ControlNet processor resident local I O and remote I O chassis Processor Resident Local I O If you first configure processor resident local I O on your processor the 6200 PLC 5 Programming Software reserves processor resident local chassis input and output image space starting at offset 0 in both files The following table shows the default number of input and output words automatically reserved by the 6200 PLC 5 Programming Software for the different sizes and addressing modes of processor resident local I O Number of Words Reserved Addressing Mode 4 Slots 8 Slots 12 Slots 16 Slots 2 Slot 8 8 8 8 1 Slot 8 8 16 16 1 2 Slot 8 16 24 32 Important ControlNet I O cannot map into any part of a rack number used by the processor resident rack 2 7 Chapter 2 Planning to Use Your ControlNet PLC 5 Processor 2 8 Remote 1 0 The following table shows the default number of input and output words reserved by the 6200 PLC 5 Programming Software for the different sizes and addressing modes of non ControlNet remote I O if you first configure non ControlNet remote I O on your processor
67. O Planning to Use Your ControlNet PLC 5 Processor If you want to read about Go to page Understanding ControlNet I O 2 1 Understanding ControlNet I O mapping 2 7 Using the ControlNet PLC 5 processor in a ControlNet I O system 2 13 Converting from a remote I O system to a ControlNet I O system 2 15 The ControlNet system is designed to provide high speed repeatable deterministic I O transmission allow control and message information to co exist on the same physical media make sure that I O data transfers are not affected by programming terminal message activity inter PLC processor message activity on the network Scheduled Data Transfer Operations on a ControlNet Network ControlNet scheduled data transfer on a PLC 5 20C or 5 40C processor is continuous transmits asynchronous to the ladder logic program scan occurs at the actual rate displayed on the 6200 Programming Software ControlNet I O Mapping Monitor screen in the Act Net Pckt Time ms Actual Network Packet Time field In scheduled discrete I O data transfer for example between logic scans i e during housekeeping the following updates occur the gathered input image is moved from a private memory buffer to the processor s input image file for use during the next logic scan the data from the output image file is put into a private memory buffer and is sent during the next scheduled co
68. O Status File 2 9 I O forcing 2 5 immediate data transfer 2 5 inserting an I O entry into the node list 3 9 manually entering the amount of information received from a module or message _3 7 manually entering the amount of information sent to a module or in a message _3 7 Index manually entering the amount of information to be stored in the I O configuration file for a module _3 8 manually entering the destination file for information received from a module or message 3 7 manually entering the file for storing the I O configuration needed for a module _3 8 manually entering the source file for information sent to a module or in a message 3 7 map table creating _2 7 entries 2 7 maximum number of entries _2 9 map table entry configuration file _2 10 module message type _2 9 mapping 2 7 mapping data transfers 2 9 map table entry fields Expected Network Packet Time ENPT _2 9 Input File and Size 2 10 Module Message Type _2 9 Node _2 9 Output File and Size 2 10 Slot Message _2 9 Status File Offset 2 10 non discrete I O data transfer mapping 2 10 modules that may be accommodated reserving rack space for remote l O linked racks before mapping _2 7 scheduled data transfer 2 1 scheduled discrete I O data transfer 2 1 scheduled operations discrete I O data transfer 2 2 non discrete I O data transfer 2 2 peer to peer communication _2 2 specifying the Data Input File DIF 3 6 specifying the
69. Output IOT _2 6 Message MSG 2 4 how to use _C 1 when to use 2 13 IOT See Immediate Output instruction K keyswitch location of on PLC 5 20C 1 4 on PLC 5 40C 1 5 Index l 7 L ladder rung messaging _2 3 link definition of _ii map table 2 7 map table entries 2 7 fields 2 9 number required for data transfer types 2 9 map table entry definition of _ii maximum scheduled node definition of ii maximum unscheduled node definition of ii memory module space 1 4 1 5 memory modules specifications _A 1 memory module space location of on PLC 5 20C 1 4 on PLC 5 40C _1 5 Message instructions 2 3 2 4 C 1 monitoring ControlNet configuration and status screens _5 5 MSGs See Message instructions NAP See Network Access Port Network Access Port 1 4 1 5 definition of _ii when to use 1 17 network address definition of ii Network Update Interval 2 3 3 4 definition of _ii Network Update Time _3 4 definition of _ii specifying _3 7 node definition of ii non discrete I O data transfer definition of ii description _2 2 non discrete I O data transfers number of map table entries required 2 9 non discrete I O data transfer mapping 2 10 1771 modules 2 10 features 2 11 Index number of map table entries required 2 10 nonredundant media _1 15 NUI See Network Update Interval NUT See Network Update Time 0 owner definition of _ii P
70. T instruction 2 6 indicators PLC 5 20C 1 4 PLC 5 40C 1 5 installing keying bands for the processor 1 7 installing the processor battery 1 8 installing your processor checking your processor package _1 2 connecting a programming terminal 1 16 ControlNet connection _1 17 DH connection _1 16 serial channel 1 16 connecting to a ControlNet network 1 15 disposing of the battery _1 9 handling the processor _1 3 identifying the components of the processor _1 4 installing a DH link _1 14 installing a remote I O link _1 12 installing keying bands for the processor 1 7 installing the battery 1 8 installing the processor in the chassis 1 12 locating additional information _1 1 preparing for 1 2 removing the processor from the chassis 1 12 selecting cables ControlNet cables 1 19 DH programming 1 19 remote I O 1 19 serial 1 18 selecting the ControlNet network address 1 11 selecting the DH station address of Channel 1A _1 10 setting the I O chassis backplane switches _1 6 setting the I O chassis configuration plug 1 7 specifying the serial interface of Channel 0 1 11 where to go 1 1 instructions ControlNet I O Transfer CIO 2 4 C 1 how to use 4 4 when to use 2 12 2 16 ControlNet Immediate Data Input IDI 2 6 C 2 how to use 4 6 ControlNet Immediate Data Output IDO 2 6 _C 2 how to use _4 6 ControlNet Message MSG how to use 4 2 Immediate Input IIN _2 6 Immediate
71. UPPLY The default setting is N not using a o MODULE IN power supply module in the chassis g THE CHASSIS E YN YN z TT 1 I mini D O JE Important You cannot power a single I O chassis na with both a power supply module and an external ower supply Set Y when you install a Set N when you et power supply module in use an external the chassis power supply 17075 Installing Keying Bands You receive plastic keying bands with each I O chassis Insert the keying for the Processor bands as follows IO Chassis 2 Install a keying band in the left most 6 slot between the following pins Backplane 6 lot b he following pi Connector be fo 12 Use these e 40 and 42 16 numbers e 54 and 56 20 asa guide 24 26 28 40 ATTENTION A module inserted into a wrong slot pe bi e could be damaged by improper voltages connected 1771 RK 46 through the wiring arm Use keying bands to prevent 50 damage to the module 54 P56 12062 Chapter 1 Installing Your ControlNet PLC 5 Processor Installing and Disposing of the Processor Battery You can insert or remove the battery without powering down the processor If you do not want to lose your program make sure that the processor is powered on when removing the battery The 1770 XYC battery ships with the processor and requires special handling For more detailed information on installing and disposing of the battery see the Allen Bradley Guidelines for Lithium Ba
72. VHSC Very High speed Counter Modules 2 11 1772 SD SD2 _1 13 1775 S4A S4B _1 13 1775 SR 1 13 1784 CP10 1 16 1784 CP8 1 16 1 19 2 13 11 Index 1784 KL B 1 1 1784 KTC Communication Card 2 13 1784 CP 1 16 1 19 1784 CP11 1 16 1784 CP13 1 16 1 1784 CP5 1 19 1784 CP6 1 16 1 1 1784 CP7 1 16 1 1 1784 KT KT2 1 16 1 1 1784 KTC Communication Card 1 17 1784 KTCx Communication Card 1 17 2 13 1784 KTK1 1 19 1784 KTx 1 16 1 19 1784 KTxD _1 16 1 19 1784 PCM5 1 16 1 19 1784 PCM6 1 16 1 1 1784 PCMK 1 16 1 19 1786 CP 1 17 1786 BNC BNC Connector _1 20 1786 BNCJ BNC Connector _1 20 1786 BNCJI BNC Connector _1 20 1786 BNCP BNC Connector 1 20 1786 CP ControlNet Network Access Cable 1 20 1786 CTK ControlNet Tool Kit 1786 RG 6 Quad Shield Cable 1786 RPT Repeater 1 20 1786 RPTD Repeater 1 20 1786 TPR Tap 1 15 1 20 1786 TPS Tap 1 15 1 20 1786 TPVR Tap _1 20 1786 TPVS Tap 1 2 1786 TPYR Tap 1 1 1786 TPYS Tap 1 1 1786 XT BNC Terminator _1 20 1794 flex I O data transfer mapping _2 12 features 2 12 number of map table entries required 2 12 1784 KL 1 19 1 sd 9 Ce fe Ce 1 20 1 20 io ion ion Index 1794 ACN ControlNet Flex I O Adapter 2 13 1794 IE4XOE2 A Analog I O Modules 2 12 1794 IE8 A Analog Input Modules 2 12 1794 0E4 A Analog Output Modules _2 1 6008 SQH1
73. a 9 T 7 posses aij iP oo P ae 1771 ACNR _ Data Highway Plus Link PLC 5 40C Adapter eink Processor Example of a ControlNet Network Remote l O Link 00 i in ControlNet with Redundant Media Non controlling Mode See page 3 4 for more information on ControlNet node configuration 2 14 Converting from a Non ControlNet Remote I O System to a ControlNet I O System Program files Chapter 2 Planning to Use Your ControlNet PLC 5 Processor When you download archived files to a PLC 5 20C or 5 40C processor the 6200 PLC 5 Programming Software ignores Channel 2 configuration information from anything other than a ControlNet processor program because Channel 2 is reserved for ControlNet communication on the PLC 5 20C and 5 40C processors The software sets Channel 2 to the ControlNet default configuration Can be run on a PLC 5 20C or for this process Archived from a On channel 5 40C channel If they fit and are e PLC 5 11 PLC 5 40E e PLC 5 20 e PLC 5 40L 9 0 e PLC 5 20C e PLC 5 60 e PLC 5 20E e PLC 5 60L e PLC 5 30 e PLC 5 80 e PLC 5 40 PLC 5 80E 1A 1A e PLC 5 40C e PLC 5 20 PLC 5 40E downloaded unchanged e PLC 5 20C PLC 5 40L e PLC 5 20E e PLC 5 60 1B 1B e PLC 5 30 PLC 5 60L e PLC 5 40 e PLC 5 80 e PLC 5 40C e PLC 5 80E e PLC 5 20C e PLC 5 40C 2 2 S e PLC 5 11 PLC 5 40E Messaging and lO PLC 5 20 e PLC 5 40L e PLC 5 20C e PLC 5 60 e PLC
74. al Parallel Communication Interface Connects a serial or parallel device to a ControlNet network supports redundant media 1771 ACN 1771 ControlNet I O Adapter Allows the PLC 5 20C or 5 40C processor remote access to Allen Bradley s family of 1771 designated I O modules via a ControlNet network nonredundant only 1771 ACNR 1771 ControlNet I O Adapter Allows the PLC 5 20C or 5 40C processor remote access to Allen Bradley s family of 1771 designated I O modules via a ControlNet network supports redundant media 1794 ACN 1794 ControlNet Flex I O Adapter Allows the PLC 5 20C or 5 40C processor remote access to Allen Bradley s family of 1794 designated I O modules via a ControlNet network nonredundant only 2 13 Chapter 2 Planning to Use Your ControlNet PLC 5 Processor Personal Computer or Personal Computer with Personal Computer with 1784 KTCx or Other Serial Device and ControlView or 1784 KTCx Card and ControlView or 1784 KTC Card and ControlView or 6200 Series Programming Software 6200 Series Programming Software 6200 Series Programming Software
75. at the pin is reserved This processor s serial port can support these configurations Digital Interface RS 232C RS 422A compatible 61 m approximately 200 ft RS 423 61 m approximately 200 ft Maximum Cable Length 15 m approximately 50 ft 1 18 Chapter 1 Installing Your ControlNet PLC 5 Processor Important Follow these guidelines When Channel 0 is configured for RS 422A compatibility do not use terminating resistors anywhere on the link When Channel 0 is configured for RS 422A compatible and RS 423 do not go beyond 61 m approximately 200 ft This distance restriction is independent of the transmission rate DH Programming Cables When using this communication card Use this cable 1784 KT KT2 e 1784 CP6 e 1784 CP with 1784 CP7 adapter 1784 KL KL B e 1784 CP8 adapter 1784 KTK1 1784 CP5 with 1784 CP7 adapter 1784 KTx KTxD 1784 CP13 1784 PCMK e 1784 PCM6 e 1784 PCM5 with 1784 CP7 adapter Remote I O Cables Use 1770 CD or cable for remote I O See page 1 12 for more information ControlNet Cables Several types of RG 6 quad shield cable may be appropriate for your ControlNet installation depending on the environmental factors associated with your application and installation site 1 19 Chapter 1 Installing Your ControlNet PLC 5 Processor 1 20 The following ControlNet cable system components are available from the Allen Bradley C
76. ata Transfer lt gt Unscheduled Data Transfer Table 2 C ControlNet Immediate Data Transfer Operations Instructions Description Immediate I 0 ControlNet and Remote I O In the case of an IIN the most recent copy of the specified input word secured in the last discrete I O data transfer from the corresponding I O chassis is used This value is moved from the private memory buffer to the working data table and is used in all subsequent ladder instructions This data could be as 001 old as the time taken since the last asynchronous I O update and it may not actually reflect the latest IN state of the input word In the case of an IOT the current state of the specified output word is copied to the private memory 001 buffer and is used on the next output update to the I O chassis The actual change is not AT communicated until the next asynchronous I O transfer Only 1 word of I O data can be updated per instruction ControlNet Immediate Data I O The ControlNet Immediate Data I O instructions work in much the same way as the immediate I O instructions During an input instruction the most recent data is copied from the private memory buffer to a data table address that you specify In the case of an output instruction the data is copied from an area that you specified to the private memory buffer and sent on the next I O update IDI IMMEDIATE DATA INPUT As many as 64 words can be transferred per instruction
77. atus ro A 5 12 Using the ControlNet Channel 2 Status Screen Follow the steps on the left to go to the ControlNet Channel 2 Status screen 7 Misc k ControlNet Channel 2 Status COUNTERS LOCKED Frames media usage A Only transmitted good transmitted aborted 0 channel A errors 0 received good received aborted 0 channel B errors n a total received received bad 0 channel warnings none Network Capacity update time overload blockage 0 Moderator Node mismatch events unheard occurrences 0 out of step events network silent 0 noise detected 0 commands received collisions 0 Press a function key Rem Prog Forces None 5 40C File CN Clear Unlock Chan 2 Counter Counter Config Fl F2 F9 Do this If you want to clear all the ControlNet diagnostic counters Press F1 Clear Counter toggle to lock all the counters on the screen while they continue to run in the background then toggle back to unlock the counters so that they are updated continuously 1 Press F2 Lock Counter 2 Press F2 Unlock Counter go to the ControlNet Node Information Monitor screen Press F9 Chan 2 Config go to the Channel Overview screen Press Esc Word Chapter 5 Monitoring and Troubleshooting Your ControlNet System This status field Bits Displays COUNTERS LOCKED when the display of the counters stops changing the counters continue to run
78. ble is counted as a node and must have a unique address ATTENTION Use the 1786 CP cable when connecting a A programming terminal to the network through a NAP Using a commercially available RJ style cable could result in network failure Chapter 1 Installing Your ControlNet PLC 5 Processor This section lists information about Selecting Appropriate Cables serial cables DH programming cables remote I O cables ControlNet cables For more information about cables see the Enhanced and Ethernet PLC 5 Programmable Controllers User Manual publication 1785 6 5 12 Serial Cables You can make your own serial cables or purchase them from Allen Bradley Company Inc The side label of the processor shows the following table which lists Channel 0 serial port pin assignments Pin RS 232C RS 422A RS 423 Pin RS 232C RS 422A RS 423 1 C GND C GND C GND 14 NOT USED TXD OUT SEND COM 2 TXD OUT TXD OUT TXD OUT 15 3 RXD IN RXD IN RXD IN 16 NOT USED RXD IN REC COM 4 RTS OUT RTS OUT RTS OUT 17 5 CTS IN CTS IN CTS IN 18 6 DSR IN DSR IN DSR IN 19 NOT USED RTS OUT NOT USED 7 SIG GND SIG GND SIG GND 20 DTR OUT DTR OUT DTR OUT 8 DCD IN DCD IN DCD IN 21 9 22 NOT USED DSR IN NOT USED 10 NOT USED DCD IN NOT USED 23 NOT USED DTR OUT NOT USED 11 24 12 25 13 NOT USED CTS IN NOT USED The shading indicates th
79. cheduled time on a ControlNet link network access port NAP port that provides a temporary ControlNet network connection through an RJ 45 connector network address node s address on the ControlNet network network update interval NUI single occurrence of the ControlNet Network Update Time NUT network update time NUT repetitive time interval in which data can be sent on the ControlNet network node port of a physical device connecting to the ControlNet network that requires a network address in order to function on the network a link may contain a maximum of 107 nodes non discrete I O data transfer type of data transfer in which blocks of data transferred to or from I O modules use integer input and output data table files that you specify cannot use the processor s input and output image tables I and O files scheduled transfers are configured in the ControlNet I O map table unscheduled transfers make use of ControlNet I O Transfer CIO instructions owner device that controls the outputs of an adapter redundant media dual cable system that allows you to receive the best signal over a ControlNet network repeater two port active physical layer device that reconstructs and retransmits all traffic that it hears on one ControlNet segment to another segment scheduled transfers deterministic and repeatable transfers that are continuous and asynchronous to the ladder logic
80. d 5 40 processors see the Enhanced and Ethernet PLC 5 Programmable Controllers User Manual publication 1785 6 5 12 The information in this manual is intended for engineers and technicians who are installing programming and maintaining a control system that includes a PLC 5 20C or PLC 5 40C programmable controller You should have a background in control system applications and a basic knowledge of programmable real time control systems the PLC 5 control system your operation s required systems and applications If you want to read about Go to Installing your ControlNet PLC 5 processor Chapter 1 Setting switches Installing communication links Planning to use your ControlNet PLC 5 processor Chapter 2 Understanding ControlNet I O Using a ControlNet PLC 5 processor Using the 6200 Programming Software to configure your ControlNet system Chapter 3 Editing your ControlNet configuration Editing ControlNet I O mapping Programming your ControlNet system Chapter 4 Monitoring and troubleshooting your ControlNet system Chapter 5 Using the status indicators Monitoring the 6200 Programming Software configuration and status screens Processor specifications Appendix A Processor status file Appendix B ControlNet instructions Appendix C ControlNet I O map table entry status words and error messages Appendix D Preface Using This Manual Terminology ii Term Description Co
81. d with most RS 422A e unused equipment as long as e termination resistors are not used e the distance and transmission rate are reduced to comply with RS 423 requirements 1 5 Chapter 1 Installing Your ControlNet PLC 5 Processor Setting the I O Chassis Backplane Switches 1 6 nano ZO L id v S 9 Set the I O chassis backplane switches using a ball point pen to set each switch Important Do not use a pencil because the tip can break off and short the switch Switch i Last State ON Outputs of this I O chassis remain in their last state when a hardware failure occurs OFF Outputs of this I O chassis are turned off when a hardware failure occurs Always OFF Switches pero ressin 4 5 9 ON OFF OFF 2 slot OFF OFF ON 1 slot ON OFF 1 2 slot ON ON Notallowed Switches EEPROM Transfer 6 7 OFF OFF EEPROM memory transfer to processor memory at powerup EEPROM memory transfers to processor memory if processor memory ON ON A not valid ON OFF EEPROM memory does not transfer to processor memory Switch s 5 Processor Memory Protection OFF Processor
82. e target node disconnected Power is no longer being received Supply power to the target node by the target node 65281 OxFFO1 CONNECTION REJECTED The ControlNet cable to the target Fix and or reconnect the ControlNet cable to node is broken and or disconnected the target node No power is being received by the Supply power to the target node target node The target node is offline Correctly configure the target node as an active node on the ControlNet network and save your ControlNet configuration 65294 OxFFOE ATTRIBUTE CANNOT BE SET Your program attempted to set an Change your program so that it does not attribute that cannot be set for attempt to set the attribute a specific module e g a CIO instruction tried to send safe state Insert a module that can have this attribute data to a flex module that does not set support safe state data 65299 OxFF13 NOT ENOUGH DATA The transfer length is zero Increase the length of the transfer The processor data table is too Increase the size of the data table to small accommodate the transfer length 65301 OxFF15 TOO MUCH DATA The transfer length is too large Decrease the length of the transfer 65522 OxFFF2 CONFIG FROM MAP ENTRY FAILED The ControlNet cable to the target Fix and or reconnect the ControlNet cable to node is broken and or disconnected the target node No power is being received by the Supply power to the target node target node The node or slot contains the wrong Insert t
83. ete I O data transfers discussed above While scheduled data transfer is asynchronous to program scanning all data is presented synchronously to the processor and output buffers during housekeeping 2 2 Chapter 2 Planning to Use Your ControlNet PLC 5 Processor Unscheduled Data Transfer Operations on a ControlNet Network The ControlNet network allows you to use unscheduled messaging when deterministic delivery is not required Unscheduled operations include unscheduled non discrete I O data transfers through ControlNet I O Transfer CIO instructions peer to peer messaging through Message MSG instructions messaging from programming devices The ControlNet system places your scheduled transfers in the first part of each Network Update Interval NUD time is automatically reserved for network maintenance and unscheduled transfers are performed during the time remaining in the interval One occurrence of the NUT is a NUI You reserve a The system specific amount reserves time of time for all for network scheduled maintenance operations AZZ WML Any time remaining is used for unscheduled operations e o o Unscheduled messaging on a ControlNet network is non deterministic Your application and your configuration number of nodes application program NUT etc help determine how much time there is for unscheduled messaging Important The ControlNet network reser
84. f step events 0 network silent 0 noise detected 0 commands received 0 collisions 0 Node ESC exits WHO rate 4 sec Diagnostics Press a function key A F2 Remote Program PLC 5 40C Series C Revision A CNET Node 1 7 Clear Lock Save Who Counter Counter Config Rate F2 F3 F9 F10 If you want to Do this clear all the ControlNet diagnostic counters Press F2 Clear Counter toggle to lock all the counters on the screen 1 Press F3 Lock Counter while they continue to run in the background then toggle back to unlock the counters so that they are updated continuously 2 Press F3 Unlock Counter save the current ControlNet WHO configuration Press r9 Save Config as the permanent ControlNet WHO configuration enter a new ControlNet WHO rate Press F10 WHO Rate go to the ControlNet WHO ACTIVE Press Esc Active Node Identification screen For descriptions of the status fields on the ControlNet WHO ACTIVE Active Node Status screen see page 5 13 5 16 Chapter 5 Monitoring and Troubleshooting Your ControlNet System Using the ControlNet WHO ACTIVE Channel Status Screen Important Keep the following in mind ControlNet WHO screens are available only when your programming device is communicating through a 1784 KTC card 1784 KTCx card or 1770 KFC interface on the ControlNet network When you view the WHO screens while your
85. from the processor to each remote I O adapter module or processor in the remote I O system 3 2 Connect the signal conductor with blue insulation to the 3 pin connector terminal labeled 1 on the processor and to each remote I O adapter module or PLC 5 adapter in the remote I O system 3 Connect the shield drain wire to the center terminal of the 3 pin connector 4 Connect the signal conductor with clear insulation to the 3 pin connector terminal labeled 2 5 Tie wrap the remote I O network cable to the chassis to relieve strain on the cable Pes cen 6 Terminate the remote I O link by connecting an PLC 5 40C external terminator resistor between the remote PLC 5 20C I O terminals labeled 1 and 2 Processor Processor I 1770 CD Blue Blue lt Shield Ce II TE Gi 1502 To another I O Ger g brr o SEI 5 resistor link device 1770 CD FO E Terminate both ends of a remote 1 O link Chapter 1 Installing Your ControlNet PLC 5 Processor Installing a DH Link Use 1770 CD cable to connect the processor to a DH link Follow these guidelines while installing DH communication links do not exceed these cable lengths trunk cable length 3 048 m approximately 10 000 cable
86. ft drop cable length 30 4 m approximately 100 cable ft do not connect more than 64 stations on a single DH link Use the 3 pin connector on the processor to connect a DH link The connector s port must be configured to support a DH communication link You can install a DH link two ways 00000000000 0000000000 0D e trunk cable drop cable from the drop cable to the connector screw terminals on the DH connectors of the processor e daisy chain to the connector screw terminals on the DH connectors of the processor 108 OOD E To make connections za CO 1 Connect the signal conductor with clear T insulation to the 3 pin connector terminal 1 7 at each end of each cable segment sl E PLC 5 40C ULI Ly PLC 5 20C 2 Connectthe shield drain wire to the center Processor MN Processor terminal of the 3 pin connector at both ends of each cable segment 3 Connect the signal conductor with blue insulation to the 3 pin connector terminal 2 at each end of each cable segment Z lt a Shield lt a Shield Blue Blue A A For more information see the Data Highway Data 82Q or 150Q resistor 820 or 150 resistor Highway Plus Data Highway II Data Highway 485 Cable Installation Ma
87. ft most slot i PLC 5 40C 3 Ibs 2 oz 1 42 kg Weight PLC 5 20C 3 lbs 3 oz 1 45 kg e Between 40 and 42 Keying e Between 54 and 56 Agency Certification e CSA Class I Division 2 Groups A B C D When product is marked e UL listed Appendix A Processor Specifications PLC 5 20C PLC 5 40C Maximum User Memory Words 16K 48K Any Mix 512 2048 Maximum Total I O Complimentary 512 in and 512 out 2048 in and 2048 out Program Scan Time 0 5 ms per K word bit logic 2 ms per K word typical ControlNet I 02 Maximum Non discrete I O Data Transfer Data Table Size 1000 words in and 1000 words out Transmission Rate 5M bit s Network Update Time NUT 2 100 ms user selectable Number of ControlNet Ports 1 Number of Redundant Media ControlNet Ports 1 Maximum Number of Nodes per Link without a Repeater 48 with 250 m approx 820 ft cable length Maximum Number of Nodes per Link with Repeaters 107 Maximum Link Cable Length without a Repeater 1 000 m approximately 3 280 ft with 2 nodes 500 m approximately 1 640 ft with 32 nodes 250 m approximately 820 ft with 48 nodes Maximum Link Cable Length with Repeaters 6 000 m approximately 19 680 ft with 2 nodes 3 000 m approximately 9 840 ft typical Maximum Number of Repeaters in Series per Link 5 Maximum Number of Segments in Se
88. h repeaters for any fiber optic repeater meters field pairs that you specify 2 Type a number between 100 and 25500 the software Important The field s for fiber cable rounds up to the nearest 100 length only appear if the number of fiber optic repeater pairs is not zero 3 Press Enter specify the NUT the repetitive time 1 Move the cursor to the Network Update Time interval during which data can be sent ms field over the ControlNet network 2 Type a number between 2 and 100 Important All nodes do not need to transmit each NUI however the NUT 3 Press Enter defines the minimum time during which a node can transfer scheduled data If you want to Chapter 3 Configuring Your ControlNet System Do this view the percent of scheduled bandwidth used in the worst case a percent that changes depending on the ControlNet configuration See the scheduled Bandwidth Usage field specify the redundancy characteristic for the 1 Move the cursor to the Media Redundancy Usage field ControlNet channel 2 Press F10 Select Option to toggle to A B A Only Of B Only specify the node with the highest network address 1 Move the cursor to the Maximum Scheduled Node field that can use scheduled time on the ControlNet link 2 Type a number between 1 and 99 3 Press Enter change a node s type 1 Move the cursor to the entry s Node Type field 2 Press F10 Select Option to toggle to
89. he proper module in the correct slot of module type the target node An incorrect module type was Enter the correct module type in the map entered in the map table table entry 65523 OxFFF3 CONTROLNET TRANSFER QUEUE FULL The immediate CIO transfer could Keep the number of active 1771 READ not be executed because the queue is full and or 1771 WRITE ClOs at or under the maximum of 32 D 3 Appendix D ControlNet I O Map Entry Status Words and Error Messages Decimal Hex Code Code Error Message Explanation Possible Cause s Possible Corrective Action s 65527 OxFFF7 MODULE TIMED OUT The node or slot contains the wrong Insert the proper module in the correct slot of module type the target node An incorrect module type was Enter the correct module type in the map entered in the map table table entry 65529 OxFFF9 COMM ERROR CAUSED LOSS OF DATA A communication error between the Make sure that the proper module is properly module and adapter caused data to seated in the correct slot of the target node be lost Make sure that the correct module type is entered in the map table entry 65530 OxFFFA MODULE DECLARED INVALID LENGTH The node or slot contains the wrong Insert the proper module in the correct slot of module type the target node An incorrect module type was Enter the correct module type in the map entered in the map table table entry 65531 OxFFFB READ DATA INVA
90. his field Chapter 5 Monitoring and Troubleshooting Your ControlNet System Displays Net Channel Status Line the status of channel A and channel B Cable Good channel is usable Cable WARN channel is experiencing problems but still usable e Cable FAULTED channel is not usable Cable Inactive channel unused in non redundant network 5 15 Chapter 5 Monitoring and Troubleshooting Your ControlNet System Using the ControlNet WHO ACTIVE Active Node Status Screen Important Keep the following in mind ControlNet WHO screens are available only when your programming device is communicating through a 1784 KTC card 1784 KTCx card or 1770 KFC interface on the ControlNet network When you view the WHO screens while your ControlNet system is operating you affect the performance of unscheduled I O operations 6200 Follow the steps on the left to go to the ControlNet WHO ACTIVE Main Menu Active Node Status screen y ControlNet WHO ACTIVE Active Node Status _____T WHO I A Frames media usage A Only Fs transmitted good 0 transmitted aborted 0 channel A errors 0 7 received good 0 received aborted 0 channel B errors 0 total received 0 received bad 0 channel warnings none I I Network Capacity WHO update time overload Q blockage 0 Active l Moderator Node 1 mismatch events 0 unheard occurrences 0 I Misc I 2 out o
91. iagnostics File N12 Network Update Time ms 5 A A Coax Repeaters in Series 1 Scheduled Bandwidth Usage 64 FI FS Fiber Repeater Pairs 0 Media Redundancy Usage A Only p 2 Maximum Scheduled Node 10 General Node Node Type Series Revision Status Utility 1 PLC 5 40C C H ACTIVE 7 F7 2 1771 ACN A A ACTIVE 3 PLC 5 20C C H ACTIVE 2 4 1794 ACN A A ACTIVE Channel Press a function key page up or page down or enter a value 7 gt Overview Rem Prog Forces None 5 40C File CN A Accept Map Move Copy Auto Delete Insert Delete Select A Move cursor to Channel 2 CONTROLNET Channel Configuration Monitor E v Node Edit 7 A 3 4 Entry Entry Network List Edits Edit F1 F2 F3 F4 to List Item Option F5 F6 E7 F8 F10 If you want to Do this specify and create a diagnostics file 1 Move the cursor to the Diagnostics File field 2 Type an integer file number between N3 and N999 3 Press Enter specify the number of coax repeaters in 1 Move the cursor to the coax Repeaters in Series series that you are using in your field ControlNet network 2 Type a number from 0 through 5 3 Press Enter specify the number of pairs of fiber 1 Move the cursor to the Fiber Repeater Pairs field optic repeaters that you are using in your ControlNet network 2 Type 0 1 or2 3 Press Enter enter the length of fiber cable between 1 Move the cursor to the appropriate Pair x lengt
92. iated by one ControlNet PLC 5 processor and sent to another ControlNet PLC 5 processor The MG data type for the ControlNet instruction has the following information e Command PLC 5 TYPED READ or PLC 5 TYPED WRITE e Data table address in source processor e Size of message in elements Network address of destination processor Data table address in destination processor Port number set to 2 for the ControlNet network e Flags TO forces a message to time out EW indicates that the message is waiting for an open connection CO message is sent continuously in Run mode ER indicates that the message was terminated due to an error DN indicates that the message was sent without error ST indicates that the message was started EN indicates that the message instruction is enabled e Error code indicates the error when the ER bit is set e As many as 32 ControlNet MSGs can be active at a time e A minor fault is set when 32 ControlNet MSGs are active at a time e All messages have the same priority e No message is initiated when the processor is in Program mode e Messages that have been running with the CO bit set automatically restart on the Program to Run transition when the Continue Last step bit is set and the data table has not changed e Each message has a maximum size of 1000 elements See pages 4 2 and C 1 for more information Chapter 2 Planning to Use Your ControlNet PLC 5 Processor Operation Description
93. ies the number of words in the transfer it can be an immediate value ranging from 1 to 64 or a logical address that specifies the Length 10 number of words to be transferred The Destination N11 232 is the o destination of the words to be transferred The Destination should be the Destination N11 232 matching data table address in the DIF except when you use the instruction to ensure data block integrity in the case of Selectable Timed Interrupts STIs See page 4 7 IDO Immediate Data If the input conditions are true an immediate data output is initiated that Output updates the private memory output buffers from the source file before the IMMEDIATE DATA OUTPUT IDO next normal output image update The Data file offset 175 is the offset Data file offset 175 into the buffer where the data is stored The Length 24 identifies the number of words in the transfer it can be an immediate value ranging from Length 24 1 to 64 or a logical address that specifies the number of words to be transferred The Source N12 175 is the source of the words to be Source N12 175 transferred The Source should be the matching data table address in the DOF except when you use the instruction to ensure data block integrity in the case of Selectable Timed Interrupts STIs See page 4 7 For detailed information on the instruction set for programming PLC 5 processors see the Enhanced and Ethernet PLC 5 Programmable Controllers Use
94. lNet I O Map Entry Status Words and Error Messages Error Messages The following is a list of ControlNet error codes messages possible causes and possible corrective actions Decimal Hex Code Code Error Message Explanation Possible Cause s Possible Corrective Action s Various Various CONFIGURATION DATA CORRUPTED More than one configured and or Re configure map entryoverlapping programmed data transfer is trying map table locations to use the same location in the data or table Re enter overlapping ladder instructions 2 0x0002 SCHED BANDWIDTH NOT AVAILABLE There are too many words Reduce the number of words scheduled scheduled for transmission for transmission The network update time NUT is Increase the network update time NUT too small The target node is not configured Correctly configure the target node as an active node on the ControlNet network and save your ControlNet configuration 18 0x0012 TARGET NODE NOT RESPONDING The ControlNet cable to the target Fix and or reconnect the ControlNet cable to node is broken and or disconnected the target node No power is being received by the Supply power to the target node target node The target node is offline Correctly configure the target node as an active node on the ControlNet network and save your ControlNet configuration 20 0x0014 DEST SLOT MSG NOT PRESENT The slot number that you entered Correct the map table e
95. lNet I O Mapping Monitor screen Press Esc Of F2 Map Monitor define the characteristics of the local chassis Important This option is not available if you are programming online Press F7 Define LclRack view a module s fault action e the action that it takes when it faults Look at the module s field in the Fault Action column e Reset changes all outputs to zero Hold Last maintains all current output values e Safe changes all outputs to user specified fail safe values view a module s idle action e the action that it takes when it becomes idle Look at the module s field in the Idle Action column e Reset changes all outputs to zero Hold Last maintains all current output values Safe changes all outputs to user specified fail safe values view a module s fault action from idle i e the action that it takes when it faults from idle Look at the module s field in the Fault Action From Idle column e Idle uses the idle action e Fault uses the fault action go to the ControlNet I O Action Edit screen Press F9 Edit Actions 5 11 Chapter 5 Monitoring and Troubleshooting Your ControlNet System 6200 Main Menu Online Offline Program or Program General Utility A Channel Overview A A Move cursor to Channel 2 CONTROLNET Channel Configuration Monitor r Channel 2 St
96. lNet Node 1 message transmitting 0 ST Destination Data Table Address N11 0 message enabled 0 EN Monitor Port Number 2 File Error Code 0000 HEX e Press a function key or enter a value MG20 50 TO Vv Rem Prog Forces None Data Decimal Addr Decimal 5 40C File CN Toggle Size in Specify Next Prev Next Prev Cursor to MSG instruction Bit Elemnts Address File File Element Element 7 a F2 F3 FS F7 F8 F9 dl Data Monitor oD The fields of the MG data type that you can directly address are 7 TO Abort Time out control bit word 0 bit 08 NR No response flag bit not used word 0 bit 09 EW Enabled waiting flag bit word 0 bit 02 CO Continuous control bit word 0 bit 03 ER Errored flag bit word 0 bit 04 DN Done flag bit word 0 bit 05 ST Started flag bit word 0 bit 06 EN Enabled flag bit word 0 bit 07 ERR Error code word word 1 RLEN Requested length word word 2 For more detailed information on writing ladder programs and using message instructions see the PLC 5 Programming Software Instruction Set Reference publication 6200 6 4 11 and PLC 5 Programming Software Programming publication 6200 6 4 7 4 3 Chapter 4 Programming Your ControlNet System Using the ControlNet I O Transfer Instruction You can use the ControlNet I O Transfer CIO instruction and the ControlNet Transfer CT data type to make ControlNet I O transfers within the local ControlNet link Follow the steps on the left to go to the 6200 Instr
97. lNet network _1 15 connection definition of _ii ControlNet cabling _1 19 ControlNet 1 0 error messages D 2 features 2 1 files configured with map Data Input File DIF 2 9 2 10 Data Output File DOF 2 9 2 10 Default Configuration File _2 9 I O Status File 2 9 I O forcing 2 5 immediate data transfer operations _2 5 map table creating 2 7 entries 2 7 map table entry configuration file _2 10 module message type _2 9 mapping scheduled data transfers _2 7 map table entry fields Expected Network Packet Time ENPT 2 9 Input File and Size 2 10 Module Message Type _2 9 Node _2 9 Output File and Size 2 10 Slot Message _2 9 Status File Offset 2 10 scheduled data transfer operations 2 1 descriptions of _2 2 scheduled discrete I O data transfer 2 1 scheduled operations discrete I O data transfer 2 2 non discrete I O data transfer 2 2 peer to peer communication _2 2 understanding 2 1 unscheduled data transfer operations 2 3 unscheduled non discrete I O data transfer 2 3 unscheduled operations ControlNet I O Transfer CIO instruction description _C 1 ControlNet I O Transfer CIO instructions description 2 4 features 2 4 I O transfer instructions programming 4 4 immediate data I O instructions programming 4 6 ladder rung messages _2 3 messaging from programming devices 2 3 non discrete I O data transfer description 2 4 non discrete I O data transfers description _C
98. lication 1785 6 5 12 2 Check your processor package and make sure that you have the following Processor ControlNet PLC 5 Programmable Controller 1785 L20C or L40C Lithium Battery 1770 XYC DIN connector cover Terminating resistors 150Q po Contents of Tray 20r4 Terminating resistors 82Q 20r4 3 pin connectors 2 Keys 1 Battery cover with screw 1 1784 CP7 cable adapter for 1784 CP CP5 cables ControlNet PLC 5 Programmable Controllers User Manual publication 1785 6 5 14 Documentation ControlNet PLC 5 Programmable Controllers Release Notes publication 1785 6 5 14 RN1 CSA Hazardous Location Approval Supplemental Information publication AG 4 1 Enhanced and Ethernet PLC 5 Programmable Controllers User Manual publication 1785 6 5 12 Guidelines for Handling Lithium Batteries publication AG 5 4 Industrial Automation Wiring and Grounding Guidelines publication 1770 4 1 Identified by four colored bands brown green brown and gold Two with a PLC 5 20C processor four with a PLC 5 40C processor Identified by four colored bands gray red black and gold If any items are missing or incorrect contact your local Allen Bradley Company Inc sales office or distributor 1 2 Handling the Processor Wrist strap 19897 Chapter 1 Installing Your ControlNet PLC 5 Processor Your pr
99. mmunication 2 1 Chapter 2 Planning to Use Your ControlNet PLC 5 Processor A similar method is used for all scheduled data transfer operations ae 5 i gS Private qa _ T Memory Data Update Table A p o Buffers Files 2 e a 8 D 8 B E 2 x D Scheduled Data Transfer Program Scan The following scheduled data transfer operations are supported by the PLC 5 20C and 5 40C processors on a ControlNet network Table 2 A ControlNet Scheduled Data Transfer Operations Operation Description Discrete I O Data Transfer Performed in a deterministic and repeatable manner asynchronous to and independent of the ladder logic program scan You configure all ControlNet discrete I O data transfers on a per node basis in the I O map table Non discrete I O Data Transfer Handled with the same priority as discrete I O data transfer You can update analog data without using block transfer instructions in ladder programs You do this by including non discrete I O data transfer configurations in the I O map table This data is updated in the buffers and data table files between logic scans in the same manner as that used in discrete I O data transfer Peer to peer Communication Allows the controlling processor at network address 01 to communicate with other ControlNet processors on the ControlNet network with the same priority as that of the discrete and non discr
100. munications mapping 2 12 features 2 12 scheduled transfers definition of _ii screens Channel 2 Status 5 12 Channel Overview 3 2 Data Monitor for ControlNet I O Transfer Block 4 5 Data Monitor for Message Control Block 4 3 I O Action Edit 3 10 I O Action Monitor 5 11 I O Mapping Edit _3 6 I O Mapping Monitor _5 7 Instruction Entry for ControlNet I O Transfer Block 4 4 Instruction Entry for Message Block 4 2 Local Rack Characteristics _3 3 Map Entries Status 5 9 Node Information _3 4 View Times Monitor 5 8 WHO ACTIVE Network Status _5 19 WHO ACTIVE Active Node Identification _5 14 WHO ACTIVE Active Node Status 5 16 WHO ACTIVE Channel Status 5 17 segment definition of ii Index 1 9 terminating 1 15 Selectable Timed Interrupts STIs using with ControlNet system _4 7 selecting a ControlNet network address 1 11 selecting the DH station address of Channel 1A 1 10 setting the I O chassis backplane switches addressing switches _1 6 EEPROM transfer switches _1 6 last state switch _1 6 processor memory protection switch 1 6 setting the I O chassis configuration plug 1 7 shock and vibration specifications _A 1 specifying the serial interface of Channel 0 1 11 status layout for the processor B 1 Status File D 1 I O description _2 9 status file processor B 1 status indicators location of on PLC 5 20C 1 4 on PLC 5
101. n regarding ControlNet status is stored in a separate data file that you specify through the 6200 PLC 5 Programming Software If you do not update the program the data table locations corresponding to the missing I O devices will not be updated 16 Using This Chapter Chapter Configuring Your ControlNet System If you want to read about Go to page Matching the processor configuration with the ControlNet configuration 3 2 Defining local rack characteristics 3 3 Editing the ControlNet node information 3 4 Editing ControlNet I O mapping 3 6 Editing ControlNet 1794 I O module action 3 10 ControlNet Configuration Edit Screens in the 6200 Programming Software Fx Function Key ControlNet Node Information Edit See Page 3 4 it ControlNet I O Mapping Edit See Page 3 6 Mi ControlNet I O Action Edit See Page 3 10 Channel Overview F5 3 1 Chapter 3 Configuring Your ControlNet System Matching the Processor Configuration with the ControlNet Configuration Main Menu a N SI So Online Offline ry or fal Channel Overview UG Move cursor to Channel 2 CONTROLNET Channel Configuration Monitor E 3 2 Follow the steps on the left to go to the ControlNet Node Information Monitor screen If the ControlNet information in the processor does not match that on the current ControlNet link
102. n set eliminates frequent checksum errors to certain BT modules 5 When set 1 delay adapter channel response by 1 s for compatibility with PLC 3 scanners When reset 0 operate in normal response time 27 Rack control bits e low 8 bits I O rack inhibit bits for racks 0 7 e high 8 bits O rack reset bits for racks 0 7 B 5 Appendix B Processor Status File S 28 S 61 B 6 This word of Stores the status file 28 Program watchdog setpoint 29 Fault routine file 30 STI setpoint 31 STI file number 32 Global status bits e low 8 bits rack fault bits for racks 10 17 octal e high 8 bits rack queue full bits for racks 10 17 33 Rack control bits e low 8 bits 1 O rack inhibit bits for racks 10 17 e high 8 bits I O rack reset bits for racks 10 17 34 Global status bits e low 8 bits rack fault bits for racks 20 27 octal e high 8 bits rack queue full bits for racks 20 27 35 Rack control bits e low 8 bits 1 O rack inhibit bits for racks 20 27 e high 8 bits I O rack reset bits for racks 20 27 9 46 PII program file number S 47 PII module group 48 PII bit mask 49 PII compare value 50 PII down count 51 PII changed bit 52 PII events since last interrupt 53 STI scan time in ms 54 STI maximum scan time in ms 55 PII last scan time in ms 56 PII maximum scan time in ms 57 User program checksum
103. ne and ee i e from trunk cable B to channel B jeee Sas on the processor lo ee Allen Bradley Company Inc recommends using channel A for nonredundant media For detailed information on planning and installing your ControlNet system see the following publications Publication Publication Number ControlNet Cable System Component List AG 2 2 ControlNet Cable System Planning and Installation Manual 1786 6 2 1 ControlNet Coax Tap Installation Instructions 1786 2 3 ControlNet Network Access Cable Installation Instructions 1786 2 6 ControlNet Repeater Installation Instructions 1786 2 7 Industrial Automation Wiring and Grounding Guidelines 1770 4 1 Chapter 1 Installing Your ControlNet PLC 5 Processor Connecting a You can connect a programming terminal to a ControlNet PLC 5 Programming Terminal processor via a DH connection serial channel ControlNet connection DH Connection To attach a programming terminal to a ControlNet PLC 5 processor using a DH connection If you use this card to access a DH link Use cable 1784 PCMK 1784 PCM6 1784 PCM5 with a 1784 CP7 adapter 1784 KT KT2 1784 CP6 1784 CP6 with a 1784 CP7 adapter 1784 CP8 adapter 1784 KTx KTxD 1784 CP13
104. nitor Status Chapter 5 Monitoring and Troubleshooting Your ControlNet System Using the ControlNet Map Entries Status Screen Follow the steps on the left to go to the ControlNet Map Entries Status screen ControlNet Map Entries Status MONITOR Channel 2 Configuration Status File N32 Network Update Time ms 5 Sch BW 64 Data Input File N34 9 Processor s ControlNet Resource Usage Data Output File N36 Map Entries PLC BW DIF DOF Dflt Config File N38 8 8 10 8 Node Mod Msg Type Status Status Data Inhibit S M Offset Valid Reset 1 PLC 5 40C n a n a n a n a 1 W Peer Out to 3 SUCCESS 0 YES 0 0 2 1771 ACN SUCCESS 3 YES 0 0 6 R 1771 IFE A SUCCESS 6 YES 0 0 7 R 1771 0FE A SUCCESS 9 YES 0 0 7 W 1771 OFE A SUCCESS 12 YES 0 0 3 PLC 5 20C n a n a n a n a Page up or page down or enter a value gt Rem Prog Forces None Display Slot Message 5 40C File CN Select Display P3 If you want to Do this select the display of slots messages or 1 Press F3 Select Display slots and messages in the list 2 Press F2 Slot Display Or F3 Message Display or F4 Slot Message see whether an entry is a Read R or Look at the field to the right of the S M field for that entry Write W operation view the current status of an entry Look at the status field for that entry See Appendix D for a list of errors that may be displayed see where the three status words Look at
105. ntinuous Bit ER Error Bit DN Done Bit ST Start Bit EN Enable Bit If the input conditions go from false to true the data is transferred according to the instruction parameters you set when you enter the ControlNet I O transfer instruction The Control Block CT21 50 contains status and instruction parameters You cannot use N integer control blocks on the ControlNet network For continuous ClOs condition the rung to be true for only one scan Message Instructions on a ControlNet Network Instruction Description MSG Message If the input conditions go from false to true the data is SEND RECEIVE MESSAGE MSG transferred according to the instruction parameters you set can eek M61010 pat bel eres Status Bits You cannot use N integer control blocks on the ControlNet TO Time Out Bit EW Enabled Waiting Bit CO Continuous Bit ER Error Bit DN Done Bit ST Start Bit EN Enable Bit network For continuous MSGs condition the rung to be true for only one scan Appendix C ControlNet Instruction Set Immediate Data 1 0 Instructions Instruction Description IDI Immediate Data If the input conditions are true an immediate data input is initiated that Input updates the destination file from the private buffers before the next normal IMMEDIATE DATA INPUT IDI input image update The Data file offset 232 is where the data is stored Data file offset 232 The Length 10 identif
106. ntrolNet I O Mapping Edit screen Press F2 Map Edit select the display of slots messages or slots and messages in the list 1 Press F3 Select Display 2 Press F2 Slot Display or F3 Message Display OF F4 Slot Message go to the ControlNet Node Information Monitor screen Press F4 Node Monitor view the Actual Network Packet Time ANPT and Expected Network Packet Time ENPT instead of the input output status and configuration information Press F5 View Times go to the ControlNet Map Entries Status screen Press F6 Monitor Status define the characteristics of the local chassis Important This option is not available if you are programming online Press F7 Define LclRack go to the I O Configuration Monitor Utility 1 Move your cursor to an analog entry 2 Press F8 I O Monitor go to the ControlNet I O Action Monitor screen Important This option is not available if the display mode is set to Message Display on this screen or the ControlNet View Times screen by using F3 Select Display 1 Move the cursor to the 1794 I O module entry who s actions you want to monitor 2 Press F9 Monitor Actions return to the ControlNet Node Information Monitor screen Press Esc 5 7 Chapter 5 Monitoring and Troubleshooting Your ControlNet System Using the ControlNet View Times Screen Follow the steps on the left to go to
107. ntrolNet network communication architecture that allows the exchange of data between Allen Bradley Company Inc products and certified third party products connection opened communication path between two nodes on a ControlNet network discrete I O data transfer type of data transfer in which single units of I O have discrete relationships with values in the processor s data table uses the processor s input and output image tables I and O files configured on a per node basis in the ControlNet I O map table frame single data transfer on a ControlNet link drop cable cable that connects a ControlNet node to the trunk cable integral part of 1786 taps I O map table table that you configure using the programming software to map data from an I O chassis and other devices on the ControlNet network to particular data table file addresses link collection of ControlNet nodes with unique network addresses in the range of 01 107 segments connected by repeaters make up a link links connected by bridges make up a network map table entry one entry in the I O map table that you configure using the programming software to map data from one I O chassis or other device on ControlNet to particular data table file addresses maximum scheduled node node with the highest network address that can use scheduled time on a ControlNet link maximum unscheduled node node with the highest network address that can use uns
108. ntry for an adapter is not in the valid range The number that you entered for an peer to peer message is not in the valid range The peer to peer message map Clear the inhibit bit in the map table entry of table entry in the target node is the target node inhibited 256 0x0100 CONNECTION IN USE The connection that the originating No action required connection can be node is trying to use is already in re established after the target node times use out the old connection 260 0x0104 NODE TYPE MISMATCH You entered a node type in the map Correct the map table entry table that does not match the target or node Replace the target node with the node type entered in the map table 262 0x0106 CONNECTION USED BY OTHER NODE The originating node attempted to Delete or inhibit any other node s connection open a connection that is already so that the preferred node can open the being used by another node connection 263 0x0107 CONNECTION ALREADY CLOSED The connection that the originating No action required node is trying to close is already closed 265 0x0109 INVALID CONNECTION SIZE The originating node attempted Reduce the size that is entered in the map to open a connection with a larger table size than the target node can or support Use a rack with a greater number of slots or Use a rack with higher density 272 0x0110 NODE NOT CONFIGURED The target node is offline Correctly configure the target node as an The target node i
109. nual publication 1770 6 2 2 19339 LG Clear Clear RIM Chapter 1 Installing Your ControlNet PLC 5 Processor Connecting to a Connect a ControlNet PLC 5 processor to a ControlNet network via a tap ControlNet Network with a 1 m 39 4 in drop cable Four taps are available from Allen Bradley Company Inc Straight T tap Straight Y tap We recommend that you use a tap with a straight connector 1786 TPS or 1786 TPYS when you attach a ControlNet PLC 5 processor to a ControlNet network Important ControlNet taps contain passive electronics and must be purchased from Allen Bradley Company Inc for the network to function properly After terminating your segments you connect your node to the network Remove the tap s dust cap located on the straight or right angle connector and set it aside If your Connect the tap s straight or right network supports angle connector Nonredundant media Redundant media 00 OO nonredundant media to the channel A connector on the AO Aade processor channel B is not used L redundant media e from trunk cable A to channel A on the processor I o
110. ocessor is shipped in a static shielded container to guard against electrostatic damage Electrostatic discharge can damage integrated circuits or semiconductors in the processor if you touch backplane connector pins It can also damage the module when you set configuration plugs or switches inside the module Avoid electrostatic damage by observing the following precautions Remain in contact with an approved ground point while handling the module wear a properly grounded wrist strap Do not touch the backplane connector or connector pins When not in use keep the module in its static shielded container Chapter 1 Installing Your ControlNet PLC 5 Processor Identifying ControlNet PLC 5 Figure 1 1 and Figure 1 2 show the front panels of the ControlNet Processor Components PLC 5 processors Figure 1 1 PLC 5 20C Processor Front Panel z S Battery Status Indicator K itch select d Red J A eyswitch selects processor mode Processor RUN FAULT Status Indicator ControlNet I O Status Indicator Green Red Green Red O Force Status Indicator Channel 2 ControlNet Status Indicators Amber Green Red gt 00 Channel 0 Communication ACTIVE FAULT Status Indicator Green Red ControlNet Network Access Port NAP RJ45 connector y y om Channel 2 ControlNet Redundant Media Ports BNC dedicated Channel 0 gt Mem
111. ompany Inc Item Cat No ControlNet Coax Tool Kit 1786 CTK Right angle T tap 1786 TPR Seen Ea an Straight Y tap 1786 TPYS Repeaters High voltage ac amp dc 1786 RPT Low voltage dc 1786 RPTD RG 6 Quad Shield Cable Standard PVC CM CL2 1786 RG6 ControlNet Network Access Cable 3 05 m 10 ft 1786 CP Barrel plug to plug 1786 BNCP BNC RG 6 plug 1786 BNC BNC Connectors Bullet jack to jack 1786 BNCJ Isolated bulkhead jack to jack 1786 BNCJI Terminators BNC 75Q 1786 XT For a complete list of ControlNet cable system components that are available from Allen Bradley Company Inc and other sources see the ControlNet Cable System Component List publication AG 2 2 Important Install all wiring for your ControlNet system in accordance with the regulations contained in the National Electric Code or applicable country codes state codes and applicable municipal codes For detailed information on ControlNet cabling see the following Publication Publication Number ControlNet Cable System Component List AG 2 2 ControlNet Cable System Planning and Installation Manual 1786 6 2 1 ControlNet Coax Tap Installation Instructions 1786 2 3 ControlNet Network Access Cable Installation Instructions 1786 2 6 ControlNet Repeater Installation Instructions 1786 2 7 Industrial Automation Wiring and Grounding Guidelines 1770 4 1 Using This Chapter Understanding ControlNet I
112. on monitoring 5 1 viewing a 1794 system s fault action 5 11 viewing a 1794 system s fault action from idle 5 11 viewing a 1794 system s idle action 5 11 network maintenance _2 3 network update cycle what happens in 2 3 scheduled operations _2 3 selecting devices to connect 2 13 setting the switches 1 11 troubleshooting 5 1 unscheduled operations _2 3 using ControlNet PLC 5 processors in 2 13 ControlNet WHO ACTIVE Network Status screen fields Bad Frames Received _5 19 Errors 100 000 Frames Chan A 5 19 Errors 100 000 Frames Chan B _5 19 Good Frames Received _5 19 Node _5 19 Total Errors Chan A 5 19 Total Errors Chan B 5 19 D Data Input File description 2 9 2 10 specifying _3 6 Data Output File description 2 9 2 10 specifying _3 6 Default Configuration File description 2 9 specifying _3 6 defining local rack characteristics _3 3 DH trunk cable drop cable connection 1 14 DH programming terminal connection PTC 1 4 1 5 Diagnostics File 5 13 DIF See Data Input File discrete I O data transfer definition of _ii description _2 2 discrete I O data transfers number of map table entries required 2 9 discrete I O data transfer mapping _2 10 disposing of the processor battery _1 9 DOF See Data Output File drop cable definition of E ENPT See Expected Network Packet Time environment specifications _A 1 error codes D 2
113. on rate _A 2 number of coprocessor ports _A 2 number of serial ports A 2 program scan time _A 2 shock and vibration _A 1 weight _A 1 processor RUN FAULT status indicator 1 4 1 5 processor status file B 1 layout _B 1 processor resident local I O reserving space for 2 7 programming a processor through Channel 0 1 16 programming terminal connecting _1 16 programming your ControlNet system where to go 4 1 R redundant media _1 15 definition of ii remote I O cable lengths 1 1 non ControlNet reserving space for _2 8 remote I O link 2 15 remote I O immediate I O transfers _2 5 4 7 repeater definition of _ii replacing a non ControlNet remote I O network with a ControlNet network 2 15 changing block transfer instructions 2 16 changing I O status files _2 16 downloading archived files 2 15 I O performed on Channel 2 of PLC 5 40L processor _2 16 messaging and I O performed on Channels 1A and 1B 2 15 messaging and I O performed on Channels 2A and 2B of PLC 5 40B processor 2 15 using automatic mapping _2 7 replacing the processor battery _1 9 S scheduled data transfer operations 2 1 descriptions of 2 2 scheduled discrete I O data transfer process 2 1 scheduled peer to peer communication description _2 2 number of map table entries required 2 9 scheduled peer to peer communications number of map table entries required 2 12 scheduled peer to peer com
114. onfigured in Steady the ControlNet map table OO Green present and operating Normal operation None properly LI n Cable s or connector s Repair or replace cable s or 1 0 At least one node broken or not connected connector s and reconnect A B Flashing configured for the ControlNet network not Destination module s bad F Green Off present or not operating or missing Repair or replace module s roperl DIES Node s not on network Connect node to network Cable s or connector s Repair or replace cable s or All nodes configured for or ControlNet not present or broken or not connected connector s and reconnect not operating properly Nodes not on network Connect nodes to network 5 3 Chapter 5 Monitoring and Troubleshooting Your ControlNet System 5 4 Indicator State Probable Cause Recommended Action s None Off No power Power up Cycle power or reset unit LI a Plead Red Fauto If fault persists contact your Allen Bradley Company Inc and representative or distributor i P Alternati ernating Red Green Self test None Alternating Incorrect node configuration Check network address and other ControlNet Red Off configuration parameters None Off Channel disabled Configure for ControlNet communication Steady Normal operation None Green None Temporary errors 3 Flashing Make sure that ControlNet is properly terminated LI or im baka Nida
115. ontrolNet I O Mapping Edit screen Press F1 Accept Edits go back to the ControlNet I O Mapping Edit screen Press F2 Map Edit Or Esc 3 11 ETC Programming Your ControlNet System Using This Chapter If you want to read about using Go to page ControlNet message instructions 4 2 ControlNet I O transfer instructions 4 4 ControlNet immediate data input and output instructions 4 6 Using Selectable Timed Interrupts STIs in a program on a ControlNet network 4 7 ot Chapter 4 Programming Your ControlNet System Using ControlNet Message Instructions Monitor File ta Edit Insert Instruction A M Others rd h 1 0 Message Message N a lt a a S Enter message control block address using file type MG Type 2 and press Enter ff 4 2 You can use the existing MG data type to send two message commands over the ControlNet system within the local ControlNet link PLC 5 TYPED WRITE and PLC 5 TYPED READ Follow the steps on the left to go to the Instruction Entry for Message Block screen Instruction Entry for Message Block MG20 50 Communication Command PLC 5 TYPED WRITE PLC 5 Data Table Address N8 0 Size in Elements 1 Local ControlNet Node a Destination Data Table Address N11 0 Port Number 2 BLOCK SIZE 56 WORDS Press a key to change a parameter or lt ENTER gt to accept parameters gt
116. ory Module Space Serial Port 25 pin D shell supports standard EIA RS 232C and RS 423 is RS 422A compatible _ e e Use this port with ASCII or DF1 full duplex half s duplex master and half duplex slave protocols S The port s default configuration supports processor e 5 PLATA e DF1 point to point one stop bit es 2400 bit s e BCC error check ay e no parity e no handshaking Channel 1 Status Indicators Green Red gt 0 Battery Compartment DH Programming Terminal Connection gt to Channel 1A Gee 8 pin mini DIN Channel 1A c Je Channel 1B 3 pin dedicated DH gt o 3 pin default is remote I O scanner configurable for i e remote I O scanner e remote I O adapter e DH communication Channel 0 is optically coupled provides high electrical e unused noise immunity and can be used with most RS 422A equipment as long as e termination resistors are not used e the distance and transmission rate are reduced to comply with RS 423 requirements Chapter 1 Installing Your ControlNet PLC 5 Processor Figure 1 2 PLC 5 40C Processor Front Panel Battery Status Indicator Red Keyswitch selects processor mode _ _____ Cs Processor RUN FAULT Status Indicator ControlNet I O Status Indicator Green Red Green Red gt i
117. pter Using the General Status Indicators Using the ControlNet Status Indicators Using the 6200 Programming Software to Monitor ControlNet Configuration and Status cece eee eae STES le io li alee fhe a e a Gates S 12S 1G ese tile ant SIO2 tini S 28 9 0l lie ee ce ie he Ses wae ee ee alee eal hee S62 S 1127 LL ee ControlNet Instruction Set ControlNet I O Transfer Instruction Message Instructions on a ControlNet Network Immediate Data I O Instructions ControlNet I O Map Entry Status Words and Error Messages I O Map Entry Status Words 2 00 cece eee eens Error Messages 0 cece cece ence tenet eaes oe er 9 MN BEER amp Ido A 1 e lele A N D op ur N DI g on le a ro E e E Li Sai oe w h es SERERE i a Ide Ir us N oO L ee MS oO i O O N Introduction Audience Contents Preface Using This Manual This manual describes how to install your processor as well as how to plan for configure and use the features of a PLC 5 20C or PLC 5 40C programmable controller that are unique to the ControlNet network For detailed information on features that the PLC 5 20C or PLC 5 40C programmable controllers share with the PLC 5 20 an
118. r Manual publication 1785 6 5 12 and the PLC 5 Programming Software Instruction Set Reference publication 6200 6 4 11 IO Map Entry Status Words Appendix i ControlNet I O Map Entry Status Words and Error Messages The ControlNet status file is an integer data table file that you specify and configure with the I O map for scheduled I O usage It containing status information about all of the ControlNet network s scheduled I O connections Each I O map table entry has a status file offset field pointing to three status words associated with the connection L Reset First Word LS 14 Lea 12 11 10 09 08 07 06 05 04 03 02 01 00 Data Invalid i_ Reserved I Connection Error L Reserved L Inhibit Second and Third Words 15 14 TS 12 Je 10 09 08 07 06 05 04 03 02 01 00 Error Messages 5 14 LS 12 ET 10 09 08 07 06 05 04 03 02 01 00 If these status words are for a 1794 Flex I O module and there is no connection error any 1 s set in bits 00 through 07 of the third word indicate errors in the corresponding slots numbered 0 through 7 If these status words are for a Peer In or a Peer Out and there is no connection error a 1 set in bit 00 of the third word indicates that the other peer processor is in Run mode Appendix D Contro
119. r Repeater Pairs 0 Media Redundancy Usage A Only Maximum Scheduled Node 10 Node Node Type Series Revision Status 1 PLC 5 40C C H ACTIVE 2 1771 ACN A A ACTIVE 3 PLC 5 20C C H ACTIVE 4 1794 ACN A A ACTIVE Press a function key page up or page down or enter a node number ControlNet Node Information MONITOR Channel 2 Configuration NODE 1 5 40C File CN Define Chan 2 LelRack Status F7 F9 The ControlNet Node Information Monitor screen lists the nodes that you have entered for the ControlNet network and it shows the node type product series revision and status active or inactive that you have configured for each node If you want to Press quickly position the cursor on a specific node in the list 1 Type the node number and a period e g 2 2 Press Enter go to the ControlNet I O Mapping Monitor screen Press F2 Map Monitor go to the ControlNet Node Information Edit screen Press F4 Node Edit define the characteristics of the local chassis for reserving I O image space Important This option is not available if you are programming online Press F7 Define LclRack go to the ControlNet Channel 2 Status screen Press F9 Chan 2 Status go to the Channel Overview screen Press Esc Chapter 5 Monitoring and Troubleshooting Your ControlNet System Using the ControlNet I O Mapping Monitor Screen 6200 Main Menu
120. rations see the Data Highway Data Highway Plus Data Highway II Data Highway 485 Cable Installation Manual publication 1770 6 2 2 To insert remove the processor into from the chassis do the following ATTENTION Make certain that power to the chassis is off before inserting or removing the processor Locking To insert a processor into the chassis Bar 1 Lift the locking bar and the ejector tab ss Ejector 2 Slide the processor into the left most slot of the eae fi Tab I O chassis 3 Press down on the ejector tab and then close the locking bar over the processor To remove a processor from the chassis 1 Save processor memory 2 Remove powerto the processor resident chassis 3 Disconnect all cables from the processor s ports 4 Lift the locking bar and the ejector tab and then slide the processor from the chassis 19898 Install a remote I O link using 1770 CD cable and either a daisy chain or trunk cable drop cable configuration Verify that your system s design plans specify cable lengths within allowable measurements Important The maximum cable length for remote I O depends on the transmission rate Configure all devices on a remote I O link to communicate at the same rate Table 1 A Correct Cable Length Based on Communication Rate A remote I O link using this communication rate Cannot exceed this cable length 57 6K bit s 3 048 m approximately 10 000 ft 115 2
121. rd or 1770 KFC interface on the ControlNet network When you view the WHO screens while your ControlNet system is operating you affect the performance of unscheduled I O operations The ControlNet WHO ACTIVE Active Node Identification screen displays the active nodes up to the number of maximum unscheduled nodes Follow the steps on the left to go to the ControlNet WHO ACTIVE Active Node Identification screen i ide sirene Ss ControlNet WHO ACTIVE Active Node Identification 01 5 40C CN 02 1771 ACN I 03 5 20C 04 1794 ACN 15 ESC exits WHO rate 4 sec Maximum Unscheduled Nodes 15 Press a function key or page up or page down Net Channel A Status Cable Good Net Channel B Status Cable Inactive Online Node Channel Network Save Who Program Diags Diags Diags Config Rate Fl F2 FO F6 F9 F10 Press attach to the PLC 5 processor node of the highlighted entry F1 Online Program go to the ControlNet WHO ACTIVE Active Node Status screen F2 Node Diags go to the ControlNet WHO ACTIVE Channel Status screen F5 Channel Diags go to the ControlNet WHO ACTIVE Network Status screen F6 Network Diags save the current ControlNet WHO configuration as the permanent ControlNet WHO configuration F9 Save Config enter a new ControlNet WHO rate F10 WHO Rate go to the ControlNet WHO screen Esc T
122. remote I O 1 queue full channel 1A 2 queue full channel 1B 3 queue full channel 2A 4 queue full channel 2B 5 no modem on serial port 6 remote I O rack in local rack table or remote I O rack is greater than the image size 7 plug firmware revision does not match processor firmware revision 8 ASCII instruction error 9 duplicate network address 10 DF1 master poll list error 11 protected processor data table element violation 12 protected processor file violation 13 using all 32 ControlNet MSGs 14 using all 32 ControlNet 1771 READ and or 1771 WRITE ClOs 15 using all 8 ControlNet Flex I O CIOS 18 Processor clock year 19 Processor clock month 20 Processor clock day 21 Processor clock hour 22 Processor clock minute 23 Processor clock second 24 Indexed addressing offset 26 User control bits Bit Description 0 Restart continuous SFC when reset processor restarts at first step in SFC When set processor continues with active step after power loss or change to Run 1 Start up protection after power loss when reset no protection When set processor executes fault routine at power up sets word 11 bit 5 2 Define the address of the local rack when reset local rack address is 0 When set local rack address is 1 3 Set complementary I O when reset complementary I O is not enabled When set complementary I O is enabled 4 Local block transfer compatibility bit wnen reset normal operation Whe
123. ries per Link 6 57 6K bit s Transmission Rate 115 2K bit s 230 4K bit s 10 ms per rack 57 6K bit s I O Scan Time Typical 7 ms per rack 115 2K bit s Non ControlNet 3 ms per rack 230K bit s Remote I O Maximum Number of Remote I O Racks 4 16 Maximum Number of Remote I O Devices 12 60 Number of Ports Configurable for DH or Remote I O 1 2 Adapter or Scanner Number of Dedicated DH Ports 1 0 Number of Serial Ports 1 Number of Coprocessor Ports 1 Maximum Number of MCPs 16 Backplane Current Maximum 3 0A Load Typical 2 7 A The PLC 5 40C processor has a limit of 32K words per data table file See the ControlNet Cable System Planning and Installation Manual publication 1786 6 2 1 for more information A 2 S 0 S 2 Appendix Processor Status File Processor status data is stored in data file 2 This word of Stores the status file S 0 Arithmetic flags e bit 0 carry e bit 1 overflow e bit2 zero e bit3 sign S 1 Processor status and flags Bit Description 0 RAM checksum is invalid at power up 1 processor in Run mode 2 processor in Test mode 3 processor in Program mode 4 processor burning EEPROM 5 enabled download operation 6 enabled test edit mode 7 mode select switch in Remote position 8 forces enabled 9 forces present 10 processor successfully burned EEPROM 11 performing online programming 12 processor in Debug mode 13 user program checksum done 14 last scan of ladder or SFC step 15
124. rminology ii where to go i I Rockwell Automation Allen Bradley a Rockwell Automation Business has been helping its customers improve ce IA productivity and quality for more than 90 years We design manufacture and support a broad Allen Bradley range of control and automation products worldwide They include logic processors power and motion control devices man machine interfaces sensors and a variety of software Rockwell is one of the world s leading technology companies Worldwide representation sm H T Et 3 ee SSI Algeria e Argentina e Australia e Austria e Bahrain e Belgium e Brazil e Bulgaria e Canada e Chile e China PRC e Colombia e Costa Rica e Croatia e Cyprus e Czech Republic Denmark e Ecuador Egypt e El Salvador e Finland e France e Germany e Greece e Guatemala e Honduras e Hong Kong Hungary Iceland e India Indonesia e Ireland Israel e Italyl e Jamaica e Japan e Jordan e Korea e Kuwait e Lebanon e Malaysia e Mexico e Netherlands e New Zealand e Norway e Pakistan e Peru e Philippines e Poland Portugal e Puerto Rico e Qatar e Romania e Russia CIS e Saudi Arabia e Singapore e Slovakia e Slovenia e South Africa Republic e Spain e Sweden e Switzerland e Taiwan Thailand Turkey e United Arab Emirates e United Kingdom e United States e Uruguay e Venezuela e Yugoslavia Allen Bradley Headquarters 1201 South Second Street Milwaukee WI 53204 USA Tel 1 414 382 2000 Fax 1 414 382 4444 Publication 17
125. rolNet PLC 5 Processor If you want to read about Go to page Completing the preliminary setup 1 2 Checking the contents of the processor package 1 2 Handling the processor 1 3 Identifying the processor channels connectors 1 4 Setting the I O chassis backplane switches 1 6 Setting the I O chassis configuration plug 1 7 Installing keying bands for the processor 1 7 Installing and disposing of the processor battery 1 8 Selecting the Data Highway Plus DH station address of Channel 1A 1 10 Specifying the serial interface for Channel 0 1 11 Selecting the ControlNet network address of Channel 2 1 11 Inserting removing the processor into from the I O chassis 1 12 Installing a remote I O link 1 12 Installing a DH link 1 14 Connecting to a ControlNet network 1 15 Connecting a programming terminal 1 16 Selecting appropriate cables 1 18 For detailed information on installing chassis and adapters see the Enhanced and Ethernet PLC 5 Programmable Controllers User Manual publication 1785 6 5 12 1 1 Chapter 1 Installing Your ControlNet PLC 5 Processor Before You Begin Before installing your ControlNet PLC 5 processor 1 Complete the following determine the proper environment configure the proper grounding route the conductors properly For detailed information on completing these tasks see the Enhanced and Ethernet PLC 5 Programmable Controllers User Manual pub
126. roughout this manual we use notes to make you aware of safety considerations ATTENTION Identifies information about practices or circumstances that can lead to personal injury or death property damage or economic loss Attention statements help you to identify a hazard avoid the hazard recognize the consequences Important Identifies information that is critical for successful application and understanding of the product Table of Contents Using This Manual 00 e eee eee eee eee i Introduction LL i AUQIONCE ER it ra i Contents siii le densi a pi i Terminology Li di CONVONIONS sierra be OLE aa dii Related Publications LL dii Installing Your ControlNet PLC 5 Processor 1 1 Using This Chapter crea dole ives aaa 1 1 Before You Begin 1 0 0 cc ccc cece 1 2 Handling the Processor 1 3 Identifying ControlNet PLC 5 Processor Components 1 4 Setting the I O Chassis Backplane Switches 1 6 Setting the I O Chassis Configuration Plug 1 7 Installing Keying Bands forthe Processor 1 7 Installing and Disposing of the Processor Battery 1 8 Selecting the DH Station Address of Channel 1A 1 10 Specifying the Serial Interface of Channel 0 1 11 Selecting the ControlNet Network Address of Channel 2 1 11 Inserting Removing the Processor into from the I O Chassis 1 12
127. s e g 5 10 3 Press Enter delete an entry from the node list 1 Move the cursor to one of the node s cursorable fields 2 Press F8 Delete Item apply pending edits and return to the ControlNet Node Information Monitor screen Press F1 Accept Edits return to the ControlNet Node Information Monitor screen without saving any pending edits Press Esc 3 5 Chapter 3 Configuring Your ControlNet System Editing ControlNet Follow the steps on the left to go to the ControlNet I O Mapping Edit I O Mapping screen Important 6200 Only one user on a network can enter a processor s ControlNet I O 4 Mapping Edit screen at one time Online Offline While you are editing the map table entries on this screen or accepting fal or fol 2 pending edits the screen may display the following message Maximum transmit size exceeded adjustments necessary This indicates that you are attempting to configure a node to transmit more data per NUT than the node can support A ControlNet I O Mapping EDIT Channel 2 Configuration NODE 1 Channel Status File N32 Network Update Time ms 5 Sch BW 64 Overview Data Input File N34 2 00 Processor s ControlNet Resource Usage Data Output File N36 Map Entries PLC BW DIF DOF A Fa Dflt Config File N38 8 8 10 8 2 Node Mod Msg Type Exp Net Pckt Input Output Status Config S M Time ms File Size File Size Offset
128. s 1 Scheduled Bandwidth Usage 0 Fiber Repeater Pai A Only Local Rack Characteristics 0 for reserving I O image space Node Node Type Select number Select addressing of slots mode F3 4 Slots F8__2 slot F4 8 Slots F9 1 slot F5 12 Slots F10 1 2 slot F6 16 Slots Press a function key or ESC to exit gt Rem Prog Forces None 5 40C File CN Accept 4 8 12 16 2 a 1 2 Edits Slots Slots Slots Slots Slot Slot Slot Fl F3 F4 FS F6 F8 F9 F10 If you have Press If you want to Do this 4 slots F3 apply pending edits and 1 Press F1 Accept Edits 4 Slots go to the ControlNet The soft h 3 slots F4 Node Information Edit e software a you to enter the ui screen node number of your processor 12 slots F5 2 Type the node number of your 12 Slots processor 16 slots F6 3 Press Enter 16 Slots 2 slot F8 return to the Channel Press Esc addressing 2 Slot Overview screen 1 slot F9 addressing 1 Slot 1 2 slot F10 addressing 1 2 Slot 3 3 Chapter 3 Configuring Your ControlNet System Editing ControlNet Node Information 6200 Main Menu Follow the steps on the left to go to the ControlNet Node Information Edit screen Important Only one user on a network can enter a processor s ControlNet Node Information Edit screen at one time ai ControlNet Node Information EDIT Channel 2 Configuration NODE 1 Online Offline Program or Program D
129. s Enter manually enter the amount of information sent to a module or in a message e g a 1771 ACN 1794 ACN or Peer Out 1 Move the cursor to the entry s output Size field 2 Type a value 3 Press Enter 3 7 Chapter 3 Configuring Your ControlNet System 3 8 If you want to Do this view the offset into the status file that con tains the status information for a module or message determined by the software See the status Offset field for the item manually enter the file for storing the I O 1 Move the cursor to the module s config File field configuration needed for a module e g i a SAFE or 1794 ACN 9 2 Type an integer file number between N3 and N999 Important If a 1771 module uses the DOF 3 Press Enter this must match manually enter the amount of information 1 Move the cursor to the module s config Size field to be stored in the I O configuration file for a module e g a 1771 IFE 2 Type a valid value 3 Press Enter select the display of slots messages or 1 Press F3 Select Display slots and messages in the list i f 2 Press F2 Slot Display Or F3 Message Display Of F4 Slot Message Slot Display displays all the non digital I O cards configured in physical slots of a chassis and their physical slot numbers Message Display displays all the peer to peer messages configured between PLC processors and their message numbers Slot Message displa
130. s not configured active node on the ControlNet network and save your ControlNet configuration D 2 Appendix D ControlNet I O Map Entry Status Words and Error Messages Decimal Hex Code Code Error Message Explanation Possible Cause s Possible Corrective Action s 273 0x0111 EXP NET PCKT TIME INVALID The target node cannot produce the Increase the expected net packet time data at or faster than the expected entered in the map table net packet time entered in the map table 511 0x01FF INVALID WHEN NODE IS IDLE The ControlNet cable to the target Fix and or reconnect the ControlNet cable to node is broken and or disconnected the target node The originating node attempted to open a No power is being received by the Supply power to the target node data transfer connection before anode target node connection was opened The target node is offline Correctly configure the target node as an active node on the ControlNet network and save your ControlNet configuration The target adapter is in Processor Press the reset button on the target adapter Restart Lockout 513 0x0201 CONNECTION ALREADY CLOSED The connection that the originating No action required node is trying to close has not been opened by the target node 515 0x0203 CONNECTION TIMED OUT The ControlNet cable to the target Fix and or reconnect the ControlNet cable to node has become broken and or th
131. sferred The Source N12 175 is the source of the words to be transferred The Source should be the matching data table address in the DOF except when you use the instruction to ensure data block integrity in the case of Selectable Timed Interrupts STIs See page 4 7 Using Selectable Timed Interrupts with a Program on a ControlNet Network Chapter 4 Programming Your ControlNet System For more detailed information on writing ladder programs see the PLC 5 Programming Software Instruction Set Reference publication 6200 6 4 11 and PLC 5 Programming Software Programming publication 6200 6 4 7 For information on programming ControlNet I O transfers using Immediate Input INN and Immediate Output IOT instructions see the PLC 5 Programming Software Instruction Set Reference publication 6200 6 4 11 You must be careful when using Selectable Timed Interrupts STIs with a program on a ControlNet network A Selectable Timed Interrupt STD periodically interrupts primary program execution in order to run a subprogram to completion If an STI occurs while a normal ControlNet non discrete I O data transfer or a ControlNet Immediate Data I O instruction IDO or IDI is in progress and they both operate on the same set of data the integrity of that block of data is jeopardized To ensure data block integrity write your STI routine so that it operates on its own copy of the data block that it needs Use ControlNet Immediate Da
132. ta I O instructions IDO and IDI within your STI to copy the needed block of data out to and back from a temporary location that is different from that used by the normal data table For detailed information on STIs see PLC 5 Programming Software Configuration and Maintenance publication 6200 6 4 6 4 7 Chapter Monitoring and Troubleshooting Your ControlNet System Using This Chapter If you want to read about See page Using the general status indicators 5 2 Using the ControlNet status indicators 5 3 Monitoring the ControlNet configuration and status screens 5 5 Co 5 1 Chapter 5 Monitoring and Troubleshooting Your ControlNet System Using the General Status Indicators The general status indicators inform you of the general operational state of the processor Indicator State Description Probable Cause s Recommended Action s vo Steady Red Battery low Battery low Replace battery within 10 days typical Off Battery good Normal operation None BATT Steady Green Processor in Run mode y and fully operational p bei Normal operation None f rocessor memory being FORCE Fleshing Great transferred to EEPROM 1 Check major fault bit in status file S 11 CONN for error definition Flashing Red Major fault Run time error 2 Clear fault bit 3 Correct problem 4 Return to Run mode Normal operation if processor s F
133. tor and Status Screens in the 6200 Programming Software Channel ControlNet Overview Node Information Monitor F5 gt See Page 5 6 ae Function Key i mf ControlNet E ControlNet I O Mapping Monitor FS a View Times lt See Page 5 7 See Page 5 8 F9 C m E e J ZA ControlNet i ControlNet Map Entries Status 1 0 Action Monitor See Page 5 9 See Page 5 11 Le Hi he D y ControlNet Channel 2 Status WHO See Page 5 12 i a N d X ControlNet WHO ACTIVE ControlNet WHO ACTIVE Active Node Identification Active Node Status See Page 5 14 See Page 5 16 C EA J tai ControlNet WHO ACTIVE ControlNet WHO ACTIVE Channel Status Network Status See Page 5 17 Fs See Page 5 19 I ke zJ 5 5 Chapter 5 Monitoring and Troubleshooting Your ControlNet System 6200 Main Menu Online Offline Program or Program General Utility A A Channel Overview E Move cursor to Channel 2 CONTROLNET Channel Configuration Monitor ie 5 6 Using the ControlNet Node Information Monitor Screen Follow the steps on the left to go to the ControlNet Node Information Monitor screen a gt Rem Prog Forces None Map Node Monitor Edit F2 F4 Diagnostics File N12 Network Update Time ms 5 Coax Repeaters in Series 1 Scheduled Bandwidth Usage 64 Fibe
134. trolNet processor Table 2 D Number of ControlNet I O Map Table Entries Required Data Transfer Type Number of Entries Required 1771 Discrete I O Data Transfer 1 per adapter 1771 Non discrete I O Data Transfer 1 or 2 per module 1794 Discrete and Non discrete I O Data Transfer 2 per adapter ControlNet PLC 5 Peer to peer Communication 1 per message Table 2 E Files That You Configure with the I O Map for Scheduled I O Usage File Description Status File User specified integer data table file containing status information about all of the ControlNet network s scheduled I O map table entries Each entry has a status file offset field pointing to three status words associated with the entry Data Input File DIF User specified integer data table file with a maximum of 1000 words This space is used for both non discrete input data and peer to peer input over the ControlNet network Scheduled peer to peer inputs can also use the input image file Data Output File DOF User specified integer data table file with a maximum of 1000 words This space is used for both non discrete output data and peer to peer output over the ControlNet network Scheduled peer to peer outputs can also use the output image file Default Configuration File User specified integer data table file used to store non discrete I O data transfer configuration data when the automatic mapping feature is used Table 2 F ControlNet I O Map Table Entr
135. ttery Handling and Disposal publication AG 5 4 ATTENTION To maintain CSA certification for hazardous areas do not substitute any other battery for the 1770 XYC A Installing or Removing the Processor Battery To install or remove the battery follow these steps 1 Remove the thumb screw on the processor s battery cover remove the cover and locate the battery 2 Install or remove the battery To install the battery slide the battery side connector into the processor side connector until you hear them snap d To remove the battery press the lever cS on the battery side connector and slide the connectors apart go V2 Battery side connector Processor side connector 3 Replace the battery cover and secure the battery cover with the thumb screw 4 On the battery cover write the date that you installed the last new battery Chapter 1 Installing Your ControlNet PLC 5 Processor Replacing the Battery gt You can insert or remove the Replace the lithium battery every year or when the BATT status indicator battery without powering dows is red For estimated battery lifetimes see the table below the processor If you do not want to lose your program make sure that the processor is powered when replacing Worst Case Battery Life Estimates the battery Processor Temperature Power Off 100 Power Off 50 Battery Duration PLC 5 20C 60 C 218 days 1 1
136. uction Entry for ControlNet I O Transfer Block screen Main Menu ai Instruction Entry for ControlNet I O Transfer Block CT21 50 N Online Offline Communication Command 1771 WRITE Program or Program PLC 5 Data Table Address N7 3 A Size in Elements 10 F1 Elements Transmitted 0 a g Cursor to file Local ControlNet Node 1 or enter file number or name SCM x Port Number 2 BLOCK SIZE 22 WORDS Monitor File Press a key to change a parameter or lt ENTER gt to accept parameters P gt Rem Prog Forces None Edits None 5 40C File CN 4 Command PLC 5 Size in Local Slot Type Address Elemnts Node Number Fl F2 F3 F8 F9 Edit Fr If you want to Do this change the command type Press F1 Command Type to toggle between e 1771 READ reads input data from 1771 non discrete I O module e 1771 WRITE writes output data to 1771 non discrete I O module a 1794 FAULT ACTION Changes the action that a module takes when it faults Faf 1794 IDLE ACTION changes the action that a module takes when it is idle a 1794 CONFIG DATA Changes a module s configuration data 1794 SAFE STATE DATA changes a module s safe state data Insert enter a PLC 5 data Press F2 PLC 5 Address Instruction table address Type the data table address 1 2 raf 3 Press Enter 1 2 enter the size in elements Press F3 Size in Elemnts Type the number of elements Others e 1 for1794 FAULT A
137. ves time for at least one unscheduled transfer per NUI Chapter 2 Planning to Use Your ControlNet PLC 5 Processor Operation Table 2 B ControlNet Unscheduled Data Transfer Operations Description Features Non discrete I O Data Transfer CIO Instructions Perform ladder initiated unscheduled non discrete I O data transfers on a ControlNet network by using ControlNet I O Transfer CIO instructions The data type for these transfers CT has the following information e Command 1771 READ reads data from a 1771 non discrete I O module 1771 WRITE writes data to a 1771 non discrete I O module 1794 FAULT ACTION changes the action a module takes when it faults 1794 IDLE ACTION changes the action a module takes when it is idle 1794 CONFIG DATA changes a module s configuration data 1794 SAFE STATE DATA changes a module s safe state data Data table address in source processor e Size of message in words Network address of destination node Slot of destination module Port number set to 2 for the ControlNet network e Flags TO forces a transfer to time out EW indicates that the transfer is waiting for an open connection C0 transfer is made continuously in Run mode ER indicates that the transfer was terminated due to an error DN indicates that the transfer was made without error ST indicates that the transfer was started EN indicates that the transfer instruction is enabled e Error code indicates the error
138. y Fields Map Table Entry Field Description Node and Slot Message Numbers This is the entry s network location currently defined as node slot message The node value is the ControlNet network address of the destination device The slot message value takes on different meanings with the different communication options e 1771 and 1794 discrete I O data transfer the slot value does not apply because the mapping granularity is based on the physical chassis e 1771 non discrete I O data transfer 0 15 the slot number is always the physical slot location inside the 1771 chassis regardless of addressing mode within the chassis e 1794 non discrete I O data transfer 0 7 the slot number is always the physical location in the 1794 system e peer to peer communication 1 16 the message number represents one of sixteen scheduled peer messages available per processor and it must be the same for both processors involved Module Message Type This allows you to specify the module type or peer to peer message type Peer Out or Peer In in offline and online programming It also determines how the map table entries are configured for the different modules and peer to peer messages Expected Network Packet Time You set this to the maximum time allowed for the network to update the requested data ENPT Actual Network Packet Time ANPT This read only field displays the actual time it takes for the network to update the requested data
139. ys all the above go to the ControlNet Node Information Edit screen Press F4 Node Edit have the software automatically map into 1 Press F5 Auto Mapping available data table space I O or DIF DOF Select i b db uate modules and messages that are listed but elect items to be mapped by pressing not mapped e F2 Select A11 to select all the items that are not mapped e F3 Toggle to select or unselect an item that is highlighted by the cursor e F4 Clear A11 to unselect any items that are selected F8 Auto Module to have the software automatically scan configured nodes for slot information if you are programming online For 1771 I O Auto Module determines the size of the chassis For 1794 Flex I O Auto Module determines the size of the chassis and lists all the non discrete I O data transfer modules in the chassis 3 Press F10 Auto I O Map clear the following information on a module 1 Move the cursor to the slot message where you want to clear information or message 2 Press F6 Clear e input file and offset e output file and offset 3 Press F8 Clear Item e status offset e config file and offset clear the following information about all 1 Press F6 Clear modules and messages 2 Press F10 Clear List e input file and offset e output file and offset e status offset e config file and offset If you want to Chapter 3 Configuring Your ControlNet System Do this

Download Pdf Manuals

image

Related Search

Related Contents

  pdf19. Mobile Technology Use Policy (May 5, 2014)146.13 KB    EVALUACION DE INCIDENTES OPERACIONALES EN EL  Lenovo Yoga 2 13  smart メンテパック契約約款    DIWINE - Oenofrance  User`s Manual  Dokument_1.  

Copyright © All rights reserved.
Failed to retrieve file