Home
1753-PM001 - Literature Library
Contents
1. Publication 1753 PM001A EN P November 2005 Internet Protocol TCP IP Install Uninstall Properties Description Transmission Control Protocol lnternet Protocol The default wide area network protocol that provides communication across diverse interconnected networks v Show icon in taskbar when connected OK Cant Use the following IP address IP address 192 168 0 98 Subnet mask 255 255 255 0 Default gateway C Obtain DNS server address automatically Use the following DNS server addresses Preferred DNS server Alternate DNS server l Cancel 4 Confirm your settings by clicking OK in both dialog boxes Connect to the GuardPLC Controller 1 5 Go Online with the GuardPLC Controller Notes 1 Assume correct SRS was entered in Step 3 2 The controller reverts back to its prior settings if it is not re configured before the next power cycle The following flowchart illustrates the steps required to successfully go online with the GuardPLC controller step 1 Open RSLogix Guard PLUS Step 2 Create a New Project Step 3 Configure the controller type and SRS 3 If the controller was previously running and the SRS was changed in Step 5 or if the controller is new out of box the only way to clear the FAULT is to download a program with a matching SRS Step 8 Change Controller
2. Publication 1753 PM001A EN P November 2005 Configure the GuardPLC OPC Server B 9 2 Choose File gt Open 3 Point to your opc xml file and click Open 4 The controller and the OPC Server should appear in the Root window Root System Connection state IP Addresses ID SRS G160PC01 60000 1 Not connected 192 168 0 99 127 0 0 1 OPC Server 1 192 168 0 216 127 0 0 1 5 Click the Connect to HIPRO button Ti 6 Answer Yes to the query 7 A connection opens between the G16OPC01 and the OPC Server System Connection state IP Addresses ID SRS G160PC01 60000 1 Connected on channel one 192 168 0 99 127 0 0 1 OPC Server 1 Mo Connected on channel one 192 168 0 216 127 0 0 1 8 In the structure view expand Root 9 Expand G16OPC01 10 Use the Export and Import icons to view input DI1 and output DO1 data respectively Publication 1753 PM001A EN P November 2005 B 10 Configure the GuardPLC OPC Server Publication 1753 PM001A EN P November 2005 Appendix C Create a Time based Variable To create a timer variable you need to create a value field enter the time value and connect that field to your function block 1 In the Function Block Diagram Editor right click in any open space on the page and choose Create Value Field Type Routine unchanged BIT Bistable Timer Counter Select Compare Numeric Convert d Nor ano OF xor i ROR iH
3. This button Defines a variable type Direct derived directly from another variable type variable Declaration Direct Derivation sample1 ari xj Name var Type m Typedefinition Drag amp Drop BOOL BYTE DATE DATE_AND_TIME DINT MND z Drop user defined datatype into String size NEN rectangle Initial value m Cancel Undo Help Array array of one or more dimensions Variable Declaration Array sample1 ari x Name var Type DINT r Typedefinition Drag amp Drop BOOL z BYTE DATE DATE AND TIME DWORD z Drop user defined datatype into String size NEED rectangle r Array limits Array dimensions Start index Add End index Apply 100 Remove nitial value e _ Cancel Undo Help For example ARRAY array 1 10 of INT e one dimensional array of INT values e ARRAY 7 accesses the 7th element ARRAY array 1 10 1 10 of REAL e two dimensional array of REAL values e ARRAY 3 5 accesses the 3rd element of the 5th row Publication 1753 PM001A EN P November 2005 8 6 Create User Defined Function Blocks This button oubrange Enumeration In this field Techn unit min value max value internally represented as Publication 1753 PM001A EN P November 2005 Defines a variable type has values that should be within a certain range Variable Declarati
4. f cru E Dofslvaue BOOL Beni 20 pboprvawe pooL 2 panos s popsvawe Boot H Bl Programming Terminal E HH Network 1 POHIHI 13 F Signal Connections Il Help 5 x Ki Signal Editor Filter New Signal Delete Signal Close the DO Signal Connections window and the Signal Editor Set the System Properties Controller 1 Ze 3 4 5 Publication 1753 PM001A EN P November 2005 Right click COM under the GuardPLC 1600 controller tree and choose Properties Set the IP Address to 192 168 0 99 and click OK Right click Programming Terminal and choose Properties Set the System ID SRS to 5 Click OK ce Programming Terminal gt Type Programming Terminal System ID 5 Timeout ms mn Resend Time ms foo ss OF Cancel Apply Help There are 3 devices in our system e the PC running the Signal Editor e the OPC Server and e the GuardPLC controller All must have unique SRS numbers Right click OPC Server and choose Properties Configure the GuardPLC OPC Server B 7 6 Set the System ID SRS to 1 and click OK RSLogix Guard PLUS Hardware Management Project Edit Signals Online Windows Help n T OPCtest Ex Configuration OPC Server_1 E 4 Configuration BRI OPC Server 1 Iw OPC Server j Bi 60000 G160PCO1 Mame oec Server 1 s E Distri System ID SRS 1 d ypelnsta
5. jz RSLogix Guard PLUS Hardware Management E E E ni x Project Edit Signals Online Windows Help f OnlineLab Control Panel Resource zi x ni 4 EEN PADT Resource Communication Test Mode Extra Help EMEN 60000 Resource 7 bm 1 gt on il Programming Terminal Z E Resource State Safety Parameters Statistics P2P State Distributed 1 0 HH State E ose HUN cow ste RUN Progam State RN Fauto Moaes 0 Remarino Face Timed 0 F uo online administrator A 03 08 2004 19 59 59 584 Info Resource Settings were written to the project u 03 08 2004 20 02 07 188 Info Resource Offline 03 08 2004 20 03 10 829 Info Resource Resource grants administrator access for user Administrator sl b ad TIP If you are successfully online with the GuardPLC controller and in RUN mode Green Online indicator as shown above you do not need to continue with the steps 8 through 12 However if you are not online and in RUN mode consult the flowchart on page 1 5 and perform the appropriate steps Publication 1753 PM001A EN P November 2005 1 14 Connect to the GuardPLC Controller Publication 1753 PM001A EN P November 2005 Step 8 Change the Controller to STOP Mode To change the controller to STOP mode choose Resource Stop from the Control Panel or use the Stop icon When in STOP Mode the Control Panel appears as follows jz_RSLogix Guard PLUS Hardware
6. A 1 About RSLogix Guard Software Version 3 3 A 2 About RSLogix Guard PLUS 0 A 2 RSLogix Guard PLUS Software and GuardPLC Firmware CORTO ID s cua oo one oad dee Cee ee dod adn A 3 RSLogix Guard PLUS Software and Associated GuardPLC PigmMware VieISION Ste rie i wad Pace oe ee OS BEY A 3 Firmware and Software Version Compatibility A 4 CONVE PIOC S i 5a aui eed da peared se eeeeade eat A 5 Upgrade GuardPLG Firmware c ess ser an Gdn ie eae A 5 Upemde GCPRU Fit Waren a unde dep dos adera ea See A 6 Upgrade COM Firmware eese A 6 RESC CIOU SRO ke ehh es ce kee ER ES ee dice Ed A 7 Publication 1753 PM001A EN P November 2005 vili Table of Contents Configure the GuardPLC OPC Server Create a Time based Variable Publication 1753 PM001A EN P November 2005 Appendix B In ThiS ADDODCDU ud uu an o RAPPER eu One sc Choose an IP Address oon Add the GuardPLC Controller and the OPC Server to the EO so E ERE UTERE TT TIT eee Configure the GuardPLC System for OPC Communication Configure the Communication Network CONNECE SONA e us ace des me 6G ark Ron dem dE Doe det o Gh eres Ser the System Properties sacou eniti Gide oe ES USER Generate Code Tor the OPC SOPVOE o eR dei oon he oS ar Go Online with the Controller 0 0 00045 sete OPC Servers 44 sda ie AAA ew uod e BA Ae Appendix C Index Preface Who Should Use This Use this manual i
7. Command Prompt Microsoft Windows 26066 Version 5 00 2195 lt C Copyright 1985 2666 Microsoft Corp C gt ping 192 168 6 99 Pinging 192 168 6 99 with 32 bytes of data Reply from 192 168 606 999 bytes 32 time lt iOms TTL 64 Reply from 192 168 6 99 bytes 32 time lt iOms TTL 64 Reply from 192 168 00 99 bytes 32 time lt i ms TTL 64 Reply from 192 168 6 99 bytes 32 time lt i ms TTL 64 Ping statistics for 192 168 80 99 Packets Sent 4 Received 4 Lost z loss gt Approximate round trip times in milli seconds Minimum ms Maximum ms Average Gms CiN 4 Type EXIT at the command prompt to close the Command Prompt window Step 11 Configure the GuardPLC Controller s IP Address 1 Expand the project tree in the Hardware Management window until the controller COM icon is visible jz_ RSLogix Guard PLUS Hardware Management E RE ES Project Edit Signals Online Windows Help Fg OnlineLab A Configuration BE 60000 Resource i 73 Distributed 1 0 i E Protocols fue F Typelnstance RO GuardPLC 1800 B cru bos pe z HSC 2 i Je 3 MI 24 8 FS1000 Ii Programming Terminal 4 n 03 25 2004 16 10 10 414 Info Communication settings successfully changed 03 25 2004 16 10 20 490 Info Resource Resource grants administrator access for user Administrator 03 25 2004 16 24 40 652 Warning Resou
8. The project is restored to the target directory and opened Publication 1753 PM001A EN P November 2005 7 4 Archive and Restore Projects Publication 1753 PM001A EN P November 2005 In This Chapter Create User Defined Function Blocks 4 User Defined Function Blocks E Chapter 8 Create User Defined Function Blocks For information about See page creating user defined function blocks 8 1 declaring variables 8 4 moving declared variables to the user defined function block page 8 9 generating function block code 8 10 With RSLogix Guard PLUS software you can create user defined function blocks that consist of standard function block logic as shown in the illustrations below Existing Function Block HE 7 Le na i L Satety_Felay Output On LT 1 Output Off ET Inputs ofr LTS Input Fault LT4 Reset Fault Publication 1753 PM001A EN P November 2005 8 2 Create User Defined Function Blocks To create a function block 1 In the Program Management Window right click Configuration and choose New gt Library ii RSLogix Guard PLUS Project Management C Program Files RSLo Project Object Edit Window Tools Help Object Ctrl M Resource US Rescan FS Global Variable IE Match Data Access Path Ng IE Table af Contents Struct Folder Link Wariahle Tmnnrt 2 Right click the new Library and choose New gt F
9. r Address PES using IP Address 0 0 0 of o Get System Rack Communication Settings IP ddress 192 168 0 99 Factory Settings Subnet Mask 255 255 252 0 gt Project Default Gateway 0 0 0 0 System Rack 60000 o Set via MAC Set via IP Cancel Help 03 08 2004 19 31 28 584 Info oemsettings dll Version 4 0 26 RSLogix Guard PLUS 03 08 2004 19 31 30 156 Info Set Logging to directory C Program Files RSLogix Guard PLUSSPROJECT OnlineLab L2P c3loq for project C Program Files RSLogix Guard PLUS PROJECT OnlineLab L2P 1 9 Enter the last three elements of the MAC address into the MAC Address field and click Get The MAC address is on the sticker on the side of a GuardPLC 1200 controller on the label positioned over both lower RJ 45 connections on GuardPLC 1600 1800 controllers and I O or on the front bezel of the AB CPU module of a GuardPLC 2000 controller The IP address and SRS of the GuardPLC controller should appear in the Address PES using fields jz 1RSLogix Guard PLUS Hardware Management E iri x Project Edit Signals Online Windows Help Fig OnlineLab ol x i A Configuration Communication Settings Resource b B 60000 Resource p ddess PES using 3 on flit Programming Terminal MAC
10. Inputs Outputs 5 24V Mode True 1 24V Tye JAN B 1 amass poo fps False 0 5V 2 Cowen Auo Advance Sense B00L Fase a ouneioniDiecion foor rise a GmriedUiGr ode pont ries 5 Rmne Res eoor rue 7 s Coreta pou X 7 7 Comets boo 8 Comenia poo N Gea Node oo fs V E Ecrit eut Advance Serve pont frue e True 1 Down ooo o ee False 0 Up Auto Advance Sense True 1 Count Up or Down Based on Direction False 0 Count Up Regardless of Direction Direction If Auto Advance Sense is False 0 then count in the indicated Direction Counter 02 Gray Code pootl Fake f True 1 Use Gray Code Mode False 0 Use Pulse Mode True 1 No Counter Reset DOL Gray Code Cowtef Spse poo OOL False 0 Reset Counter cook nx p P p pe Mole jojn o Counter 02 Spare3 Boot f Reset Count Up based on Direction 4 Select the Input tab on the Connect Signals dialog 5 Connect the Count signal you created to the Counter Value input E Signal Connections Configuration 50000 Resourc P m E l Heb LETIETCERNS FEE Inputs Outputs Hew Signal Delete Signal Help Counter 01 Time Stamp MOTOR eoor T EEE RUNS UNT UNES H3 Conev Bon R feee foo ff oo ha Gauretiienertode ve je ee L LLL 1 a5 om
11. Error Force Monitoring failed You can force any of the signals that have been configured in the Force Editor Forcing describes the intervention of the user in the logic of the application program loaded into the controller When data is forced the controller uses the forced values rather than its process values This changes the value of one or more signals and affects the safety of the controller Only signals used in the controller can be forced The application program and the inputs and outputs are only affected when the controller is in RUN mode ATTENTION When using forcing on a controller with safety tasks always obey the restrictions listed in the GuardPLC Controller Systems Safety Reference Manual publication number 1753 RM002 Publication 1753 PM001A EN P November 2005 5 4 Monitor and Force Signals Enable Forces Start the Force Editor Publication 1753 PM001A EN P November 2005 To enable forcing both the Forcing allowed and Main Enable switches must be set The Forcing allowed switch can be set via the programming software but only if the controller is in RUN or STOP mode A forced value remains saved in the controller until e the user program is stopped e the force value is replaced by another value or e the controller is switched off TIP If a new configuration is loaded all of the force switches and associated force values are reset Any user can start the Force E
12. choose Project gt New from the main menu or click the New icon 2 Enter the name of the project in the Object Name field New Project E B x C Program Files ASLogm Guard PLUSSPROJECT sOUnlineLab EHI NetMeetir EZ Netscape HA Outlook E EZ uickTirm aS Real 1 MO Rockwell EM ASLogis C EHE RSLogis C i mde c FirstProject Object name OnlineLab Cancel Help 3 Click OK Publication 1753 PM001A EN P November 2005 Connect to the GuardPLC Controller 1 7 The RSLogix Guard PLUS Hardware Management window opens Both the Project Management and Hardware Management windows are normally open when running RSLogix Guard PLUS software jz RSLogix Guard PLUS Hardware Management Im xl Project Edit Signals Online Windows Help Fa Online ab E a4 Configuration E Programming Terminal 03 25 2004 15 11 15 391 Info help dll Version 4 0 26 RSLogix Guard PLUS English 03 25 2004 15 11 15 401 Info rtvisuals dll Version 4 0 26 RSLogix Guard PLUS 03 25 2004 15 11 15 401 Info diagtext dll Version 4 0 26 RSLogix Guard PLUS English 03 25 2004 15 11 15 401 Info oemsettings dll Version 4 0 26 RSLogix Guard PLUS 03 25 2004 15 11 16 854 Info Set Logging to directory C Program Files RSLogix Guard PLUS PROJECT sOnlineLab L2P sc3log Step 3 Configure the Controller Type and SRS To go online you must specify the controller type and change the default SRS The softwa
13. the destination dot TIP Use the Zoom In tool on the toolbar to zoom in to see the dots on the edge of the boxes 8 Create a duplicate MOTOR signal by right clicking MOTOR and choosing Duplicate Drag and drop the signal on the page 9 Invert the STOP signal by right clicking on the dot and choosing Invert Type Typelnstance 32 d In addition to standard function blocks you can create user defined function blocks that consist of standard function block logic as described in Chapter 8 You can also purchase application specific safety function blocks that have been certified by TUV Go to www ab com guardplc or contact your local Rockwell Automation representative for more information Save Compile Test and Save the Program Download the Program 1 Left click the Save button to save your program edits A window appears which you can use to document your changes Publication 1753 PM001A EN P November 2005 Create a GuardPLC Project 3 17 2 Click OK TIP The FB editor menu bar displays the number of edits since the last save Following a save it displays Cunchanged Compile the Code 1 Close the Type Instance Program 2 Right click Resource and choose Code Generation 3 The results of the code generation are shown on the Error State Viewer If the Error State Viewer is not visible click the red triangle A to make it visible RSLogix Guard PLUS Project Management
14. 1753 PM001A EN P November 2005 1 4 Connect to the GuardPLC Controller Change the IP address of your programming terminal running RSLogix Guard PLUS software so that the GuardPLC controller and programming terminal can communicate on a local network TIP If you suspect the GuardPLC controller has the factory set default IP address of 192 168 0 99 and the default subnet mask of 255 255 252 0 set your programming terminal s IP address to 192 168 0 98 with a subnet of 255 255 252 0 to establish communications To change the IP address 1 In Windows 2000 choose Start gt Setting gt Control Panel gt Network and Dial up Connections 2 Open Local Area Connections and click Properties Select TCPIP and click Properties 3 Set the General TCP IP Properties as shown below 21x i Internet Protocol TCP IP Properties 4 2 xl You can get IP settings assigned automatically if your network supports this capability Otherwise vou need to ask your network administrator for the appropriate IP settings C Obtain an IP address automatically General m Connection Status General Duration n Enea onnect using BY 3Com 3C920 Integrated Fast Ethernet Controller 3C905C General Activity Sent am _ Configure L Components checked are used by this connection Packets 16710 v I Client for Microsoft Networks v A File and Printer Sharing for Microsoft Networks v
15. 255 499 252 D gt Project Default Gateway 0 0 0 0 System Rack 60000 0 Set via MAC Set via IP Cancel Help 3 Click Get The controller responds back with the IP address and the SRS it is currently using Publication 1753 PM001A EN P November 2005 1 22 Connect to the GuardPLC Controller Change the SRS of the Controller Publication 1753 PM001A EN P November 2005 If communication fails e check to make sure you entered the address correctly check that your PC is configured properly anti virus or firewall programs have blocked communications the cable is not connected or is not the correct cable A GuardPLC 1600 or 1800 controller can use direct or cross over cable A GuardPLC 1200 or 2000 controller can use a cross over cable connected directly from a PC to the controller or direct cables connected to a switch or hub e your hardware either the controller or the PC is not working There are two ways to change the SRS of the controller From the Control Panel 1 Choose Change System ID SRS from the Extra menu 2 Enter the SRS 3 Click OK PADT Resource Communication Test Mode Extra Help i 7Change System ID GPLC16 x P Z hom LE 1 gt Set Date Time 5 Resource State Safety Parameters Stat Change System ID System Rack mu 0 Device Settings b Reboot Resource Load Resource Configuration from
16. Address 00 el al 00 k le 02 Get r Address PES using IP Address 192 168 0 99 System Rack 60000 0 Get Communication Settings IP ddress i92 168 0 94 Factory Settings Subnet Mask 255 255 252 0 gt Project Default Gateway 0 0 0 80 System Rack 50000 v Set via MAC Set via IP Cancel Help 03 08 2004 19 31 28 584 Info oemsettings dll Version 4 0 26 RSLogix Guard PLUS 03 08 2004 19 31 30 156 Info Set Logging to directory C Program Files RSLogix Guard PLUS PROJECT OnlineLab L2P c3loq for project C Program Files RSLogix Guard PLUSNPROJECTOnlineLab L2P If communication fails you may need to disable your fire wall or security settings Publication 1753 PM001A EN P November 2005 1 10 Connect to the GuardPLC Controller Publication 1753 PM001A EN P November 2005 Step 5 Change Settings via MAC Address 1 Enter desired settings for the IP and SRS in the Communication Settings fields indicated by the arrows below jz RSLogix Guard PLUS Hardware Management Project Edit Signals Online Windows Help Tz OnlineLab E A Configuration Ce 60000 Resource i E Distributed 1 0 Communication Settings Resource M x Address PES using MAC Address 00 el al 00 le 02 Get z Protocols i fiTypelnstance Address PES using EO GuardPLC 1800 IP Address 192 168 0 9
17. Address PES using GBC GuardPLC 1800 IP Address 192 168 0 100 E Programming T erminal System Rack 100 0 Get Communication Settings IP Address 192 168 0 100 Factory Settings Subnet Mask 255 255 252 0 gt Project Default Gateway 0 0 0 0 100 D Set via MAC Set via IP Cancel Help System Rack 03 25 2004 15 11 16 854 Info Set Logging to directory C Program Files RSLoaix Guard PLUS PROJECT OnlineLab L2P c3log for project C Program Files RSLogix Guard PLUS PROJECT OnlineLab L2P 03 25 2004 15 47 17 527 Info Processing command Please wait 03 25 2004 15 47 18 629 Info Communication settings successfully changed Step 6 Move the Settings Into Your Offline Project If you wish to connect using the current GuardPLC controller settings move the settings into your offline project 1 Left click gt Project jz RSLogix Guard PLUS Hardware Management Project Edit Signals Online Windows Help T OnlineLab E 44 Configuration o Bk 60000 Resource il Programming Terminal Communication Settings Resource Communication Settings IP Address 12 168 0 99 Factory Settings Subnet Mask 255 255 262 O gt Project Default Gateway 0 0 0 0 System Rack 60000 0 Set via MAC Set via IP Cancel Help 03 08 2004 19 31 28 584 Info oemsettings dll Version 4 0 26 RSLogix Guard PLUS 03 08 2004 19 31 30 156 Info Set Log
18. D125 Hysteresis HIGH IN D123 Hysteresis LOW Disuse 8 Die Hysteresis HIGH NT D124 Hysteresis LOW INT Disuse poor 2 03 09 2004 10 55 46 421 Info Resource Resource successfully started 03 09 2004 10 56 31 956 Info Resource User Administrator logged out 03 09 2004 10 56 31 956 Info Resource Offline zi fus 5 Close the DI Signal Connections window Connect Output Signals 1 Right click the controller s outputs DOS8 or a Distributed I O module and choose Connect Signals 2 The Signal Connections window defaults to the Inputs tab Choose the Outputs tab to view the output fields 3 Connect the MOTOR signal to the first output as shown below 2 5 x ji RSLogix Guard PLUS Hardware Management Project Edit Signals Online Windows Help Fg FirstProject E Signal Editor ee 44 Configuration Delete Signal Help Bi E0000 Resource Toe Retain Constant 888 JBlxl K Signal Connections Configurali n Help New Signal p start po L 3 sre eoo B CPU p n100 8 le 2 HSC 2 Be 3 MI 24 8 FS100C il Programming Terminal Publication 1753 PM001A EN P November 2005 3 10 Publication 1753 PM001A EN P November 2005 Create a GuardPLC Project Connect Distributed 1 0 Signals For distributed I O modules you connect signals to the distributed I O module s inputs and outp
19. MCGO18 Errors 0 Warnings 0 3 8 2004 10 25 30 PM Information MCGOOS Error free code generated for lt C Program reson 4 4 b Page name Page no A O Pos 15 742 4 Start the simulation by left clicking the blue flag button PROJ POU TYPE OLS 5 Double left click the yellow field to toggle TRUE FALSE Blue lines represent OFF Red lines represent ON 6 When finished testing stop the simulation by choosing the Stop icon PROJ POU TYPE OLS TIP If you do not save your changes you will have to re select the points to simulate 8 Click the PROJ tab to return to the project tree Publication 1753 PM001A EN P November 2005 3 20 Create a GuardPLC Project Download the Program 1 Connect the GuardPLC controller to your PC s Ethernet port using a Cat 5 Ethernet cable 2 In the Hardware Management window close the Signal Editor 3 Right click 60000 Resource 4 Choose Online gt Control Panel 5 Enter the default Username Administrator with no password and click OK The Control Panel opens TIP You can use the Ctrl A shortcut to enter the default Username and Password If you are unable to go online see Chapter 2 for information on determining the IP address and SRS of the GuardPLC controller and for information on the appropriate setting for your PC s IP address 5 x PADT Resource Communication Test Mode Extra Help S 7 mgE o Resource State Safety Paramete
20. RSLogix Guard PLUS Hardware Management Project Edit Signals Online Windows Help i FE CAT4Estop B 44 Configuration Ej Force Editor Resource B 60000 Resource Ele View Options Help i E Distributed 1 0 H welt GuardPLC 16pt 1 art ir E e Export Import Append be E Protocols Resource Resource fn FFT ypelnstance B in yet xt I Forcing activated Force Time 1 sec Le J CPU IV Forcing allowed Remaining Force Time sec be Borbos a Ber HSC2 IV Stop on Timeout a TE MI 24 8 FS1000 lt Programming Terminal 1 0 Channels E HH Network 1 f amp ianal eeesesosessesosess esse sese eeote esse sess esoseeeesoso esso sonn IFoce F Type R Value iE Token Group 4GNMN EStop chi FALSE BOOL TRUE FALSE ame 2 esma rst oot maue raise s rearen rase pou ras ras 4 wexrak mu vBon mu TRUE v 5 imet vont rue TRE v lonline lAdministrator A Control Panerp s oO 2 Once forcing starts the Forcing activated box is checked and R Force values take precedence over R Values Stop Forces To stop forcing click the Stop tab or choose File gt Stop jz RSLogix Guard PLUS Hardware Management Project Edit Signals Online Windows Help Eg CAT4E stop E ad Configuration E Force Editor Resource i bx 50000 Resource BS Vw Opes i El 3 Distributed 1 0 Ell Guard
21. TANOD os ype a d se muro Bk dr and qa dr 5 4 Specify Force Values and Force Marks 5 5 Access Management Archive and Restore Projects Create User Defined Function Blocks Programming Software Versions Compatibility and Firmware Updates Table of Contents vil Ol ede Oe neh airs eke dad nini avid auod DA eee a end 5 6 SIR INI 4 44 59 04 0b Sook oOo as aed Sa hed oa 5 6 SIO BOIS sk db dro ee ee Rabe yo rib dpt reta 5 7 Chapter 6 Te aD OE se e E A oie aces cies pae d 6 1 How the Controller Uses Access Levels 6 1 Create D Ser ACCESS a ura ft atin Or dex ot n de OA e dn 6 2 Chapter 7 In DBhis CIAple Pos oar Tob dae ERE SAEPE aS 7 1 Archive d Proje s e ue dimi moe mcm le lg e UR s 7 2 Restore a PrO CE debitis 6 dcbet dr fac doen Bg hte S da 75 Chapter 8 In Tue CAD fe n de ata utc E EHI APO Shae ee otis 8 1 Create User Defined Function Blocks i e 8 1 Declare y anabless 2286426 ebadeckGSoaken ayer d e brit 8 4 Define Technical Units and Scaling iss 8 6 Denne Y O Positions rens hene ia Eas Te pog ce edd 8 7 How the Variables Display 00 8 8 Move Declared Variables to the User Defined Function Eee duc REMIT ee eno wes EE ee 8 9 Generate Function Block Code 0 0 0000504 8 10 Check for Errors and Warnings sess 8 11 Appendix A I Dhis Appendixes us test od ub rS oe PARC a HE Dn YER doe en A 1 RSLogix and RSLogix Guard PLUS Versions
22. Ta OP Ctest E 4 Configuration E 0 Gis0PCo lil Programming Termir Delete 5 Change the SRS to 60000 and the Type to the controller you are using This example uses a GuardPLC 1600 controller 6 Press Apply and check the remaining check boxes 9 Configuration G160PCO1 jo xl Type GuardPLe 1600 Mame G160PCO1 System ID SAS 0000 Safety Time ms Watchdog Time ms Main Enable Autostart Start Restart allowed Loading allowed Test Mode allowed Online Test allowed Forcing allowed Stop an Force Timeout max Cam Time Slice ms 10 100 p r4 r rj r4 r4 r4 r4 r4 Ee zi Code Generation Version 3 OF Cancel Apply Help 7 Click OK Configure the GuardPLC OPC Server _B 3 Configure the GuardPLC System for OPC Communication 8 In the project tree right click Configuration and choose New gt OPC Server The OPC server appears in the project tree hi RSLogix Guard PLUS Hardware Management Project Edit Signals Online Windows Help Er Ta OPCtest I RSLogix Guard PLUS Hardware EF ETT eee Project Edit Signals Online indor fll Programming E Ta OPCtest m Er 4 Configuration EXE ha 0 OPC Server_1 E Bi E0000 G160PCO1 lil Programming Terminal Delete Properties Configure the Communication Network 1 In the Hardware Management window right click the OPCtest Project and choose New gt HH Network fi RSLogix Guard PLUS Hardware Manageme Proj
23. click COM and choose Properties I RSLogix Guard PLUS Hardware Management n TM Project Edit Signals Online Windows Help Fa IB20x0B8 E al Configuration Er b 60000 Resource lope COM J 73 Distributed 1 0 IP Address 132 168 100 Do Egal GuardPLC 20 8 DE In But 1 Subnet Mask 255 235 252 D n COM a CPU Default Gateway Bett D1 20 IF Device M Bro 8 og Protocols Uk Lancel Apply Help 3 Change the IP address to match the module 4 Click OK Publication 1753 PM001A EN P November 2005 Connect to GuardPLC Distributed 1 0 Modules 2 5 Go Online With the Module The offline configuration of the module is complete The next section explains how to go online with the module and change the IP address and SRS to match the offline settings Make a point to point connection between your programming terminal and the distributed I O module Over this connection change the IP address and SRS of the module following these steps 1 Right click the module in the project tree and choose Online gt Communication Settings 2 Enter the MAC address which is located on the label positioned over the RJ 45 connectors Address PES using MAC Address 3 Click Get The IP address and SRS of the module appear If the module is new it has the default IP address of 192 168 0 99 the same as any GuardPLC controller However the default SRS is 60000 1 jz RSLogix G
24. convert projects This tool only works for conversions from RSLogix Guard v 3 3 to RSLogix Guard PLUS v 3 5 For the tool to operate both RSLogix Guard and RSLogix Guard PLUS must be installed on the same PC as the converter tool and both must have the proper activations From RSLogix Guard v 3 3 1 Convert from RSLogix Guard version 3 3 to To RSLogix Guard PLUS v 4 0 RSLogix Guard PLUS version 3 5 Oe 2 Convert from RSLogix Guard PLUS version 3 5 to RSLogix Guard PLUS version 4 0 or version 4 1 If you do not have RSLogix Guard PLUS version 3 5 contact Rockwell Automation Commercial Marketing for assistance E From RSLogix Guard PLUS v 3 5 1 Archive the project in version 3 5 To Guard PLUS v 4 0 2 Restore the project in version 4 0 or version 4 1 NOTE You cannot convert version 4 0 or version 4 1 projects back to version 3 5 By archiving the version 3 5 project and then restoring in version 4 0 or version 4 1 you preserve the original project Upgrade GuardPLC GuardPLC firmware is upgraded in two parts the CPU and COM To Fi determine what CPU and COM Operating System OS versions you Irmware currently have installed in your GuardPLC controller 1 Go online with the GuardPLC controller and open the Control Panel in the Hardware Management window 2 Select the OS tab of the Control Panel The table lists the CPU OS version and COM OS versions Publication 1753 PM001A EN P
25. dll Yersion 4 0 26 ASLogis Guard PLUS English OF 09 2004 10 13 21 214 Info aemsettings dll Version 4 0 26 ASLoge Guard PLUS OF 09 2004 10 13 22 837 Info Set Logging to director C Program Files RS Logis Guard The Specify HH Network dialog appears Because the controller and the distributed I O modules communicate via GuardPLC Ethernet you must specify a GuardPLC Ethernet network hi Specify HH Network Configuration of parent Resource Select HH Metwark Publication 1753 PM001A EN P November 2005 Connect to GuardPLC Distributed 1 0 Modules 2 3 Configure the Module 3 Click New The Create HH Network dialog appears Create HH Network Mame of new HH Metwork HH N etwork_1 Cancel 4 Click OK The Specify HH Network window reappears showing the selected network hi Specify HH Network Configuration of parent Resource Select HH Netwark Mew Select Taken Group Token Group Hew OF Skip Help 5 Click OK to confirm your selection The distributed I O module now appears in the project tree hi RSLogix Guard PLUS Hardware Management Project Edit Signals Online Windows Help Fa IB20x0B8 E 4 Configuration j I a 60000 Resource S fig Distributed 10 H a C1 GuardPLe 20_8 DC In Dut 1 e E Protocols TIE Ty pelnstance A0 GuardPLC 1600 IB Programming Terminal H fs HH Matwork 1 PLUSSPROJECT IB 20K068 L2P c3log for project C Pr
26. n Create Value Field h CtrhF Create Comment Field Ctr Create Cornector Cile Est Str Print Check Lage PU prr sherk le checked Help Properties 2 Move the cursor to position the value field 3 Click on the place where you want the value field to reside 4 Enter the timer value preceeded by T Type Routine 4 changes BIT Bistable Time Counter G elect Compare Numeric Convert nni ano os xoR fo an su sue Time values can be entered in days d hours h minutes m seconds s and milliseconds ms Timer Value Examples Description 1 14 7h 14 7 hours 1 10ms 10 milliseconds 1 23h17m 23 hours and 17 minutes T 5d13h45m6s7 8ms 5 days 13 hours 45 minutes 6 seconds and 7 8 milliseconds Publication 1753 PM001A EN P November 2005 C 2 Create a Time based Variable Publication 1753 PM001A EN P November 2005 A access level 6 1 archiving a project 7 2 C check consistency 4 1 code 8 10 communications changing IP address 1 23 changing SRS 1 22 determining IP address 1 21 determining SRS 1 21 logging in 1 20 compatibility software and firmware A 4 configuring programming terminals 1 19 connecting controllers and programming terminals 1 1 GuardPLC 1200 1 1 GuardPLC 2000 1 2 constant 3 5 controllers adding additional 3 2 changing IP address 1 23 changing SRS 1 22 configure resource 3 2 connecting programming terminals 1 1 determining IP a
27. routine from STOP Start the routine from RUN single cycle the routine Restart the routine Stop the routine Freeze the routine these states Routine State Description RUN RUN The controller is in the RUN mode e he routine is executed cyclically by the controller e Input data are processed in the routine e Qutput data of the routine are operated RUN FREEZE The controller is in the RUN mode e he routine is not executed e No input data are processed by the routine e No output data of the routine are operated IMPORTANT This mode is not permissible for safety related operation STOP The controller is in the STOP mode e The routine is not no longer executed e All outputs have been reset FAILURE STOP The controller is in the STOP mode e he routine was stopped due to an error e All outputs have been reset Controlling a Routine You can control a routine using the actions described below Description otarting the routine is the same as transferring the controller from the STOP mode into the RUN mode The routine is then transferred into the RUN RUN mode If Freezing is activated while starting the routine will be in the RUN FREEZE mode However freeze operation is only possible if the Freeze Enable software switch has been enabled In addition to starting in freeze mode cold start is also possible otarting a routine is only possible when both the controller restart switch and the routine restart s
28. 0 Since GuardPLC analog circuits require the user to specify which channels are being used this is also required for the 24 digital inputs on the GuardPLC 1800 controller a Add a new signal called USED to the Signal Editor b Give this signal an initial value of 1 You will never change this value in your program so USED will always be 1 c Choose the Outputs tab of MI 24 8 FS1000 Publication 1753 PM001A EN P November 2005 Create a GuardPLC Project 3 9 d Connect USED to the DI channels being used DI 17 Used and DI 18 Used J RSLogix Guard PLUS Hardware Management Project Edit Signals Online Windows Help B TR FirstProject Signal Connections Configuration XJ a Configuration E Signal Editor E BK 60000 Resource 1 Outputs i nputs i C Distributed 1 0 E Protocols Type Retain Constant Description Init Value DI 16 Hysteresis HIGH B FT ypelnstance o os LE ou i D 01008 DIC 7 Hysteresis HIGH INT 5 1DIN7 Hysteresis LOW IN Mr DIN7Used EU etsi MI 24 8 FS100C Si DI 18 Hysteresis HIGH I nll Programming Terminal 3 oms Hysteresis HIGH NT res ISI Hysteresis Low NT s omau ox res Dio Hysteresis HIGH NT J er oiearteressvow nt i e ousa qox s DIRT Hyseese HIGH NT 7m DU Hyeteess LOW NT n omus ox 72 Iza Hyseess HIGH NT 73 01221 Hyteresis Low NT aol
29. 05 Create a GuardPLC Project 3 7 Connect Digital Input Signals 1 Right click on the controller s inputs DI 20 for 1600 or MI 24 8 FS1000 for 1800 or on a Distributed I O module and choose i Connect Signals J RSLogix Guard PLUS Hardware Management Project Edit Signals Online Windows Help B Tz FirstProject ee A Configuration FK Signal Editor New Signal Signal Connections Configuration Pa m x Help Delete Signal E Bi 60000 Resource i Distributed 120 Type Retain Constant Description Init Value moron eoor p sme po s soe Bo Re Protocols IT ypelnstance Inputs Outputs Porrero a DI 01 Value ROI GuardPLC 1800 D COM HB CPU 0100 8 pesce 2 Be 3 MI 24 8 FS100C im Programming T erminal Type ae DI 01 Value Analo DI02 Enor Code BYTE DI 02 Error Code ig 20 g 22 DI O2 Value 23 DI 02 Value Analog 24 DI 03 Eror Code 25 DIO3 Value 26 DI 03 Value Analog INT TE 2 24 LEN LEN 30 DNOS Enor Code EvTE n Ou am rire tf LU ter E mE Hn L ENS mE mE p p DI 04 Value Analog INT p 4 Set up your screen so that you can easily drag signals from the Signal Editor window to the Signa
30. 12 RSLogix Guard PLUS Project Manager version 3 5 Build 6817 Hardware Manager version 4 0 26 RSLogix Guard PLUS Project Manager version 4 0 Build 6104 Hardware Manager version 6 56 0 RSLogix Guard PLUS Project Manager version 4 1 Build 6111 Hardware Manager version 7 56 10 Programming Software Versions Compatibility and Firmware Updates RSLogix Guard PLUS Software and Associated GuardPLC Firmware Versions The table below describes the firmware version associated with each major release of RSLogix Guard PLUS Software Backward compatibility is maintained so that user programs developed using an earlier version of RSLogix Guard PLUS software will work with later versions of GuardPLC firmware GuardPLC Platform and Firmware New Functionality Version GuardPLC 1200 and GuardPLC 2000 Series A CPU Firmware version 1 04 Series A COM Firmware version 1 00 GuardPLC 1200 and GuardPLC 2000 Series B CPU Firmware version 2 04 series B COM Firmware version 2 80 GuardPLC 1200 and GuardPLC 2000 Series C CPU Firmware version 4 32 series C COM Firmware version 4 24 GuardPLC 1600 and GuardPLC 1800 Series A CPU Firmware version 4 32 series A COM Firmware version 5 14 GuardPLC DIO Firmware 4 28 GuardPLC 1200 and GuardPLC 2000 series C CPU Firmware version 6 12 series C COM Firmware version 8 32 GuardPLC 1600 and GuardPLC 1800 series B CPU Firmware version 6 12 series B COM Firmware version 8 32 GuardPLC DIO
31. 4 Configuration BRE Resource L iF Typelnstance StandardLibs Y DataType Q IECB1131 3 Y IECB1131 3 Ext VAR INPUT VAR OUTPUT VAR GLOBAL vAR lt L gt 4 Page name f Page no 4 0 Pos 727 0 3 Drag signals from the Signal Editor Gn Hardware Management to any location on the FB Editor program page RSLogix Guard PLUS Project Management CA Progr al n Fil les RS lol x fe RSLogix Guard PLUS Hardware Management 2 5 x Project Object Edit Window Tools Help zls ej aime Aj ej mi mj ele ala PROJ Pou TYPE FirstProject 44 Configuration Project Edit Signals Online Windows Help Sehen F ad Configuration New Signal Delete Signal Help be 60000 Resource Type Retain Constant Dsici i 59 Distributed 1 0 Type TypeInstance 4 changes d Resource IF Typelnstance StandardLibs Si B CTS N DataType S i i hl 1EC61131 3 x d B un e SW IECB1131 3 Ext oe ae e nun Behse 2 i i DeB MI 24 8 FS100C ow it Programming Terminal To make the Signal Editor and the FB Editor fit comfortably on your screen restore both the Project Management and Hardware Management windows Then choose Tile Windows Vertically from the Windows task bar located on the bottom of your screen Whenever a page is edited for the first time a window appears asking for a page name You do not need to name the page Click OK to close this
32. 5 PCS 3 3 GuardPLC 1200 series B e 650 tags GuardPLC 2000 series B e 40 user defined function blocks per routine RSLogix Guard e 100 pages Software activation 1754 PCS GuardPLC 1200 series B e 200 tags required e 15 user defined function blocks per routine e 100 pages 1753 PCS 1753 PCS USBI 35 3 5 GuardPLC 1200 series C S 2000 series C No tag user defined function Hardlock activation D engi Olan gas La 35 GuardPLC 1600 block or page limitations required GuardPLC 1800 1753 PCS 1753 PCS USBI 4 LN 1 GuardPLC 1200 series C m ieee 2000 series C No tag user defined function Hardlock activation a SS aaa pes La 4 0 4 1 GuardPLC 1600 block or page limitations required GuardPLC 1800 1 USB hardlock 2 Parallel port hardlock 3 See About RSLogix Guard Software Version 3 3 for information about using RSLogix Guard software with Series C controllers Publication 1753 PM001A EN P November 2005 A 2 Programming Software Versions Compatibility and Firmware Updates Publication 1753 PM001A EN P November 2005 About RSLogix Guard Software Version 3 3 RSLogix Guard software can go online to any GuardPLC controller to start stop or reboot the controller However you cannot open any projects that include unsupported controllers in the project tree for example GuardPLC 1600 RSLogix Guard software cannot download programs to a GuardPLC 1600 or 1800 RSLogix Guard software can go o
33. 535 However the number must be unique from the programming terminal and from any other GuardPLC controllers on the same Peer to Peer Ethernet The default factory set SRS is 60000 Your username The Administrator assigns a username The username is sensitive to upper and lower case characters A username can only contain letters numbers and underscore characters You can define as many as 10 usernames per GuardPLC controller Your password An Administrator assigns a password he password is case sensitive A password can only contain letters numbers and underscore characters Your access level Login as one of these options Administrator highest privileges manage usernames and passwords read data from controller write routines and data into controller force tags stop start freeze and force a routine download an operating system change IP address and system ID reboot the controller can also login under read write and read levels Read Write read data from controller write routines and data into controller force tags start stop freeze and force a routine can also login under read level Read lowest privileges only read data from controller As many as five users can login to the same controller at the same time however only one of those users can login as Administrator or Read Write The others must login with Read access If you login while someone else is logged in with Administrator or Read Write access yo
34. 9 i Programming Terminal System Rack 60000 0 Get Communication Settings IP Address 192 168 0 100 Factory Settings Subnet Mask 255 255 252 O gt Project Default Gateway 0 0 0 D 100 0 Set via MAC Set via IP Cancel Help System Rack 03 25 2004 15 11 15 391 Info help dll Version 4 0 26 RSLogix Guard PLUS English 03 25 2004 15 11 15 401 Info rtvisuals dll Version 4 0 26 RSLogix Guard PLUS 03 25 2004 15 11 15 401 Info diagtext dll Version 4 0 26 RSLogix Guard PLUS English E 03 25 2004 15 11 15 401 Info oemsettings dll Version 4 0 26 RSLogix Guard PLUS 03 25 2004 15 11 16 854 Info Set Logging to directory C Program Files RSLogix Guard PLUS PROJECT OnlineLab L2P c3loq for project 2 Click the Set via MAC button 3 Enter the default username Administrator in the Authentication window as shown below ji Authentication User name Administrator Password 4 Click OK Connect to the GuardPLC Controller 1 11 The IP address and SRS should have changed A prompt appears at the bottom of the window and the settings in the middle fields change J RSLogix Guard PLUS Hardware Management Project Edit Signals Online Windows Help Eg OnlineLab l M Configuration i B bi 60000 Resource Address PES using E Distributed 1 0 MAC Address i 59 Protocols Communication Settings Resource itr ypelnstance
35. Allen Bradley Using RSLogix Guard PLUS Software with GuardPLC M Controllers Bulletin 1753 1754 1755 Programming Manual Se L LEELI TEL m Rockwell Automation Important User Information Solid state equipment has operational characteristics differing from those of electromechanical equipment Safety Guidelines for the Application Installation and Maintenance of Solid State Controls Publication SGI 1 1 available from your local Rockwell Automation sales office or online at http www ab com manuals gi describes some important differences between solid state equipment and hard wired electromechanical devices Because of this difference and also because of the wide variety of uses for solid state equipment all persons responsible for applying this equipment must satisfy themselves that each intended application of this equipment is acceptable In no event will Rockwell Automation Inc be responsible or liable for indirect or consequential damages resulting from the use or application of this equipment The examples and diagrams in this manual are included solely for illustrative purposes Because of the many variables and requirements associated with any particular installation Rockwell Automation Inc cannot assume responsibility or liability for actual use based on the examples and diagrams No patent liability is assumed by Rockwell Automation Inc with respect to use of information circuits equi
36. C Program Files RSLogix Guard PLUS PROJECT FirstProject Configuration Project Object Edit Window Tools Help 10 x 15 x o PROJ Pou TYPE FirstProject 4 Configuration iF Typelnstance StandardLibs DataType IEC61131 3 1 4 m W Bistable W Bitstr F AND F NOT F oR F ROL F ROR F SHL F SHR F xor Y Compare Y Convert Y Counter N Edge N Numeric qQ Select Y String x 4 Page name Page no A O Pos 9773 VAR VAR INPUT VAR OUTPUT VAR GLOBAL vz l Mame Declaration Initial value Lonaname 4 Error state viewer 3 8 2004 10 25 30 PM Information POST Compiler finished 3 8 2004 10 25 30 PM Information MCGOO4 Binary code generation finishedlli lt Resource gt 3 8 2004 10 25 30 PM Information MCGO18 Errors 0 arnings 0 AS w Pa E 3 8 2004 10 25 30 PM Information MCGOO9 Error free code generated for C Program Files E ER E E If the compile was successful Error Free code generated appears in the Error State Viewer TIP If you are using a GuardPLC 1800 controller you will Hardware Management window to view the see a warning in the Error State Viewer Go to the warning which reads USED has an initial value but no source Disregard this warning becau
37. E STOP the SRS of the controller might be the same as the SRS in the routine but the routine still will not download If this happens change the SRS to the same number and click OK as shown on the following page This Publication 1753 UMO001B EN P November 2005 4 4 Check Download Start and Test a Routine Start a Routine Publication 1753 UM001B EN P November 2005 updates the SRS in the controller and corrects the issue You should now be able to download the routine For more information on recovering from FAILURE STOP refer to the GuardPLC Controller Systems User Manual publication number 1753 UMO0I TIP 1 Choose Extra Change System ID SRS Control Panel GPLC1600_1 PADT Resource Communication Test Mode Extra Help Z pu a T Set Date Time Resource State Safety Parameters Stat Device Settings Update OS b Reboot Resource Load Resource Configuration from Flash Clear Resource Configuration Set Backplane Type 2 Enter the SRS and click OK i Change System ID GPLC160 System Rack EU 0 3 Try the download again After you successfully download a routine you can start the routine From the Control Panel choose Resource gt Coldstart or use the Coldstart button on the menu bar i 7 Control Panel GPLC1600_1 PADT Resource Communication Te E F Resm bk B Stop mE Download i Control Panel GPLC1600_1 or PADT
38. Firmware 6 12 GuardPLC 1200 and GuardPLC 2000 Series C CPU Firmware version 6 28 series C COM Firmware version 8 32 GuardPLC 1600 and GuardPLC 1800 Series C CPU Firmware version 6 28 series C COM Firmware version 10 36 GuardPLC DIO Firmware 6 28 Initial release Added peer to peer communications Added support for GuardPLC Ethernet Distributed I O modules Added support for GuardPLC 1600 and GuardPLC 1800 GuardPLC 1200 and GuardPLC 2000 do not support the 1753 DNSI DeviceNet Safety Scanner Added support for 1753 DNSI DeviceNet oafety Scanner GuardPLC 1600 and GuardPLC 1800 only Added support for 4 new distributed 0 modules and the 1753 HHT hand held terminal Added EtherNet IP communications for GuardPLC 1600 and GuardPLC 1800 controllers Publication 1753 PM001A EN P November 2005 A 4 Publication 1753 PM001A EN P November 2005 CPU COM Version CPU 1 04 COM 1 00 CPU 2 04 COM 2 80 CPU 4 32 COM 4 24 CPU 4 32 COM 5 14 CPU 4 32 COM 4 24 CPU 4 32 COM 5 14 CPU 6 12 COM 8 32 CPU 6 12 COM 8 32 CPU 6 12 COM 8 32 CPU 6 28 COM 8 32 CPU 6 28 COM 8 32 CPU 6 28 COM 8 32 CPU 6 28 COM 10 36 CPU 6 28 COM 10 36 Programming Software Versions Compatibility and Firmware Updates GuardPLC Controller Platform Distributed 1 0 Firmware Version Firmware and Software Version Compatibility RSLogix Guard PLUS Software Version 3 3 u
39. FirstProject H 4 Configuration lil Programming Terminal 3 08 2004 20 28 22 012 Info aemsettings dll Version 4 0 26 ASLogis Guard PLUS 3 08 2004 20 28 22 813 Info Set Logging to director C Program Files RS Logis Guard PLUS PR OJELTS FirstPraject L2P c3lag for project C Program Files RSLog Guard PLLISSPROJELCT FirstPraject LAF a Publication 1753 PM001A EN P November 2005 3 2 Create a GuardPLC Project 4 Return to the Project Management window and expand the project tree until it matches the example below o0 RSLogix Guard PLUS Project Management C Program FilessRSLogix Guard PLUSSPROJECTSFirsEProjecE E nj xi Project Object Edit window Tools Help fret et ent d BS S El Bi Resource AIF Typelnstance E StandardLibs E d DataType E IECE1131 3 H IECB1131 3 Est Error state viewer Text i Fage name Fage no Pos When the project is expanded you can see that it contains a Configuration and under the Configuration there is a Resource which is the actual GuardPLC controller Under the Resource is the program Typelnstance that will run on the GuardPLC controller TIP You can add an additional controller to the project by right clicking Configuration and choosing New gt Resource Configure the Project and Configure the Controller Resource Hardware 1 In the Hardware Management window expand the project tree so that the Configurati
40. Flash Clear Resource Configuration Set Backplane Type Or follow Step 4 Get Communication Settings on page 1 9 and Step 5 Change Settings via MAC Address on page 1 10 Connect to the GuardPLC Controller 1 23 Change the IP Address of the Controller Typically you change the SRS of the GuardPLC controller to match that of the controller routine that you wish to download to it Recall that the SRS is compiled into the executable and ensures that this EXE can only be downloaded to a GuardPLC controller with a matching SRS After you establish communications with the controller you can change the IP address of the controller to match your Ethernet network There are two ways to change the IP address of the controller From the Control Panel 1 Choose Device Settings from the Extra menu 2 Enter the new IP address 3 Click OK Control Panel GPLC1600 1 PADT Resource Communication Test Mode Extra Help 1 Device Settings GPLC1600_1 x Interface z IP ddress 192 168 0 99 Subnet Mask 255 255 252 0 Default Gateway 0 0 0 0 of mg o Set Date Time Resource State Safety Parameters Stat Change System ID Update OS gt Reboot Resource 03 03 2004 16 11 17 Load Resource Configuration From Flash Clear Resource Configuration Set Backplane Type Or follow Step 4 Get Communication Settings on page 1 9 and Step 5 Change Se
41. Group Contro rane RESOURH P s KE Force Editor Resource File View Options Help Start Stop Takeover Configure Send Export Import Append Forcing activated Force Time D sec IV Forcing allowed Remaining Force Time sec IV Stop on Timeout Signals 0 Channels Fore F Type R Value RForce RF Esi FAR poop TRUE FAGE 2 Eson Fast jon Tmu Ast 5 Faut Reset Fast jon rase Fast _ s ume vBox Fas Tmuv online administrator AA 03 21 2004 11 10 02 406 Info Resource Resource successfully started 03 21 2004 11 11 13 418 Error Resource Timeout monitoring force value 03 21 2004 11 11 13 468 Error Force Monitoring failed 03 21 2004 11 18 19 791 Error Resource Timeout monitoring force value 03 21 2004 11 18 19 831 Error Force Monitoring failed Publication 1753 PM001A EN P November 2005 5 6 Monitor and Force Signals Field Signal Force F force mark Type R Value resource value R Force resource force value RF resource force mark Force Time Start Forces Description The name of the signal you want to force The value you want to force the signal to have The value you enter must match the type displayed in the Type field A check in this field identifies that the force value you entered is sent to and saved in the controller and
42. ION Pilot Light 1 BODL Pilot Light 2 BOOL Pilot Light 3 BOOL 2 Drag down the required function blocks and make all the necessary connections RSLogix Guard PLUS Project Management C Program FilessRSLogix Guard PLUS PROJECT CAT4Estop Configuration CFBlocks i NewFB Hae Jaaa E 18 x Project Object Edit Window Tools Help als ej mimi al E PROJ Pou TYPE T NewFB 77 changes Fp CAT4Estop 44 Configuration QJ CFBlocks DIN 1 00 isl DIN AR 1 00 isl ENPEN 1 00 isl ENPEN AR 1 00 isl ENPEN PT 1 00 JEF ESTP 1 00 JBF ESTP AR 1 00 BF ESTP PTAR 1 00 F 48 ESTP_PT_1_00 pug ce qus cre el eae tne Mer LAM cn MENU EEME RT der FPMS 1 00 See Mr MP M EN MUS pvc DL RM Mp D ERE 1 Button 2 Pilot Lig Ac B8 112 Ero ut 1 Button 3 Pilot Ligt BF LC_AR_1_00 dBF RIN_1_00 BF RIN_AR_1_00 BF RIN_PTAR_1_00 BF RIN_PT_1_00 dB ROUT_1_00 RPTO 1 00 SPTO 1 00 BF THRS 0 02 BF THRS AP 0 02 FBF NewFB B Resource dt Typelnstance gN StandardLibs DataType 3 W 1EC61131 3 SQ Bistable N Bitstr F AND VAR VAR INPUT VAR_OUTPUT vaR EXTERNAL ACTION E on ilot Li BOOL BOOL FE ROR M T SHL Pilot Light 3 BOOL Page name Page no 4 0 Pos 17 34 To use the completed user defined function blocks you must dr
43. If the controller is changed access privileges must be re entered Every controller has the same default user account which applies when e the controller is new out of the box e disconnecting the operating voltage with the backup battery removed GuardPLC 1200 2000 controllers only e using the Reset button GuardPLC 1600 1800 controllers only Refer to the GuardPLC Controller Systems User Manual publication number 1753 UMO001 for details on how to use the Reset button The default account is Username Administrator Password blank Access Type Administrator Publication 1753 PM001A EN P November 2005 6 2 Access Management The following access levels are available This access level Allows Administrator highest privileges manage usernames and passwords read data from controller write routines and data Into controller force tags stop start freeze and force a routine download an operating system reboot the controller change IP address and system ID can also login under read write and read levels Read Write e read data from controller e write routines and data into controller e force tags e start stop freeze and force a routine e can also login under read level Read e lowest privileges e only read data from controller Create User Access To create a user access level 1 Choose Online gt Access Management If the Control Panel is open you do not have to login Otherwise the s
44. JECT OnlineLab L2P 4 Click OK The Hardware Management window appears as shown below N Configuration Resource Type Name System ID SRS Safety Time ms Watchdog Time ms Main Enable Autostart Start Restart allowed Loading allowed Test Mode allowed Online Test allowed Forcing allowed Stop on Force Timeout M max Com Time Slice ms IO n ynya CodeGeneration Versio 3 2 af ok Ces Aw Heb Notice that the SRS has changed to 60000 J RSLogix Guard PLUS Hardware Management Project Edit Signals Online Windows Help T2 OnlineLab ad Configuration B 60000 Resource E Programming T erminal 03 26 2004 08 29 28 295 Info oemsettings dll Version 4 0 26 RSLogix Guard PLUS 03 26 2004 08 29 29 807 Info Set Lagging to directory C Program Files RSLogix Guard PLUS PROJECT OnlineLab L2P c3log for project C Program Files RSLogix Guard PLUS PROJECT OnlineLab L2P Al m Connect to the GuardPLC Controller Step 4 Get Communication Settings 1 Choose Online gt Communication Settings from the pull down menu jz 1RSLogix Guard PLUS Hardware Management Project Edit Signals Online Windows Help T OnlineLab Communication Settings Resource A Configuration l Bk 60000 Resource Address PES using on lit Programming Terminal MAC Address 00 el al x Get
45. Management EE _ ini xl Project Edit Signals Online Windows Help f OnlineLab Control Panel Resource i x ni S PADT Resource Communication Test Mode Extra Help i E B 60000 Resource i y y m 1 i Eg Distributed 1 0 SA Bj Protocole Resource State Safety Parameters Statistics P2P State Distibuted O HH dii Typelnstance amp iO GuardPLC 1800 il Programming Terminal Fau 1 0 Modes 3 Facing diae RemaingFoce me 0 F uo online administrator A 03 25 2004 15 47 18 629 Info Communication settings successfully changed 03 25 2004 16 10 09 192 Info Processing command Please wait 03 25 2004 16 10 10 414 Info Communication settings successfully changed 03 25 2004 16 10 20 490 Info Resource Resource grants administrator access for user Administrator Close the Control Panel Step 9 Reset the Controller to the Default Settings In some cases you may have to reset the GuardPLC controller to its default IP address and SRS GuardPLC 1600 and 1800 controllers have a Reset button that is accessible via a small hole directly to the right of the Ethernet ports on top of the controller The Reset button returns the IP address SRS and Password settings to Parameter Setting IP Address 192 168 0 99 SRS 60000 Username Administrator Password none Connect to the GuardPLC Controller 1 15 To res
46. Mode to STOP Step 6 Move Settings into Offline Project Step 7 Connect to Controller Using Control Panel NO Are you online with the correct settings want to change these YE Do you already know settings NO Step 4 Communication Settings NO communication settings read IP SRS successfully YES Do you settings in the controller Is the controller in RUN mode NO step 5 Change settings via MAC Address YES GuardPLC 1200 and GuardPLC 2000 controllers Step 12 Fault Recovery NO after Reset YES Is the FAULT LED illuminated Step 9 Reset Controller Default Settings 2 NO think you know the controller settings Step 10 Ping the Controller Ping successful YES otep 11 Configure Controller IP Address The steps are described in detail in the following sections Publication 1753 PM001A EN P November 2005 1 6 Connect to the GuardPLC Controller Step 1 Open RSLogix Guard PLUS Software Choose Start gt Programs gt RSLogix Guard PLUS gt RSLogixGuardPLUS slog coord PLus Project Management eee M80 Project Object Edit Window Tools Help oel e Elmie Al Bl Error state viewer Step 2 Create a New Project Open an existing project or create a new project that contains a GuardPLC controller 1 To create a new project
47. N Ee Connect High speed Counter Signals GuardPLC 1800 Controllers To connect signals to the high speed counters on the GuardPLC 1800 controller you must first create signals to configure the high speed counters You will also need to create signals for the counter values Then connect these signals to the counter inputs and outputs Create Configuration and Counter Value Signals 1 In the Signal Editor create true and false signals with constant values True signals have a value of 1 false signals have a value of 0 FE Signal Editor New Signal 5 x Delete Signal motor feo 2 smr fou _ a ao pon _ a uo fou f s wap _ B eme B9 _ pee pw m pu v imm o 1 2 Publication 1753 PM001A EN P November 2005 3 12 Create a GuardPLC Project 2 Create a Count signal for counter value Jax Il Mew Signal Delete Signal morom eoor T 2 stant oo sro Boc 4 usb Bo pm s ave fr O L B Serpe h e Ces ies Connect Configuration Signals and Counter Value Signals 1 Right click the GuardPLC 1800 controller s high speed counters HSC2 and choose Connect Signals to open the Signal Connections dialog 2 Choose the Outputs tab 3 Connect the True and False signals to the
48. November 2005 A 6 Programming Software Versions Compatibility and Firmware Updates Upgrade CPU Firmware 1 From the Control Panel menu choose Extra gt Update OS gt Update CPU 2 Browse to the folder that contains the new firmware and find the appropriate file The CPU firmware file includes cpv in the filename and has a ldb file extension 3 Select the firmware file and click Open to start the upgrade process 4 After the firmware downloads the GuardPLC controller reboots Wait for the reboot to complete before proceeding to the next step and upgrading the COM firmware TIP If the firmware upgrade was successful the version table on the OS tab of the Control Panel indicates the new CPU OS version number The log file at the bottom of the Hardware Management window also shows that the upgrade was successful Upgrade COM Firmware 1 To upgrade the COM firmware choose Extra gt Update OS gt Update COM from the Control Panel menu IMPORTANT If you are upgrading from a COM firmware version prior to 7 0 to a version above 7 0 then you must first upgrade to version 7 2 and then to the newer version such as 8 32 If you do not perform this intermediate step the GuardPLC Operating System may be corrupted The file to select for this interim step is t macom ha L2 bs v7 2 up Idb This interim step is also required when going backward from a version above 7 0 to a version below 7 0 The
49. PLC 16pt je Protocols b L diiETypelnstance Br B10 GuardPLC 1908 B c lt CPU f n1008 fe pezHsc2 Forcing activated Force Time sec IV Forcing allowed JV Stop on Timeout era MI 24 8 FS1000 Re B Programming Terminal Signals El EB HH Network_1 igna ssi Force F Type R Value RForce RF LT MEL ER um pon mE FAS 3 ras pnic mie ras 3 Faut Reset FALSE JBOOL FALSE FALSE HEN JD M M 5 ume fp Fas Tm v online administrator A as a eO xm gt Once forcing is stopped the Forcing activated check box is cleared However the Resource Force Mark RF field is still checked indicating that force values remain in the resource but are inactive Publication 1753 PM001A EN P November 2005 5 8 Monitor and Force Signals Publication 1753 PM001A EN P November 2005 Chapter 6 Access Management In This Chapter For information about See page how the controller uses access levels 6 1 creating user access 6 2 How the Controller Uses An Administrator can set up access privileges for a maximum of ten users per controller The controller stores the access privileges in its Access Levels non volatile memory The access privileges are not saved with the program and are not downloaded to the controller with the program
50. Resource Communication LP E Wiarmstart Check Consistency Safety Options Description Warmstart Allows the user routine to be started by the programming terminal and to continue with the previously saved Retain signals You must have Administrator or Read Write access to Initiate a warmstart Coldstart If a routine is in STOP or FREEZE mode it can be started using this cold start option The cold start option re initializes the routine and available process values are lost Stop Use this option to stop a routine that is in RUN or FREEZE mode Check Download Start and Test a Routine 4 5 Test a Routine Test a routine to check for and eliminate errors You must have Administrator or Read Write access to test a routine Test options are discussed in the table below From the Test Mode menu on the Control Panel choose the test option you want i 7 Control Panel GPLC1600_1 PADT Resource Communication Test Mode Extra Help S gt m3 o Enter Test Mode Hat Start Resource State Safety Parame Enter Test Mode Warm Start Enter Test Mode Cold Start ip Single Cycle Continue with Run Test Option Description Enter Test Mode Hot Start To enter test mode hot a routine must be loaded and started in the controller After a security query the routine is paused FREEZE while retaining the current process data after terminating the cycle No input signals are processed The output signals r
51. Server Ej Signal Editor Filter Il Mew Signal Delete Signal Type Fietain Constant Description Init Value on pu 2 m po 1 l _ 3 Left click 1 in the OPC Server Resources Editor Choose Connect OPC Signals 4 Drag DOI from the Signal Editor to the Inputs section of the OPC Signal Connections window Configure the GuardPLC OPC Server B 5 5 Choose the Outputs tab Drag DI1 from the Signal Editor to the Outputs section of the OPC Signal Connections window Resources Editor OPC Server 1 K OPC Signal Connections Configurz O x Delete Resource Connect OPC Signals HH Network Configuration Help New Connected Signal Delete Connected Signal Help Resource SRS Inputs Outputs J G160PC01 60000 Ej Signal Editor Filter Delete Signal Help Type Retain Constant Description Init Value jon poo o So j oo joo j TIP Input and Output are identified from the controller s perspective Therefore output means signals sent out from the GuardPLC 1600 controller and input means signals sent in to the GuardPLC 1600 controller 6 Close the OPC Signal Connections window and the OPC Server Resources Editor 7 Completely expand the G16OPC01 tree Right click 1 DI 20 and choose Connect Signals 8 Drag DII from the Signal Editor to DI 01 Value Signal field hz RSLogix Guard PLUS Hardware Managemen
52. T TONY STOP Fasty 0 Moes CS Remari Face Time 0 F jo online administrator Z 02 29 2004 14 37 13 157 Info NewResource Loading the Resource Configuration started 02 29 2004 14 37 14 028 Info NewResource All files successfully flashed to resource 02 29 2004 14 37 14 569 Info NewResource Resource Configuration successfully loaded 11 Put the GuardPLC controller into RUN mode by clicking the Coldstart button and answering Yes to the warning prompt Publication 1753 PM001A EN P November 2005 3 22 Create a GuardPLC Project How to Monitor the Routine To monitor the routine online you must be online with the controller Online and the controller must be in RUN mode 1 In the Project Management window right click Resource and choose ON Line Test The Project Manager appears as shown below RSLogix Guard PLUS Project Management C Program FilessRSLogix Guard PLUS PROJECT FirstProject Project Object Edit Window Tools Help ojala e Sims Aj ej seje elei 5 PROJ Pou TYPE OLT AARET EEE e s Resource Resource Configuration i Typelnstance Configuration Resource T ypelnstance T ype Error state viewer Text 3 9 2004 10 55 23 4M Information MCGOOS Error free code generated for lt C b Page name Page no Pos 2 Double left click I TypelInstance RSLogix Guard PLUS Project Management C Program File
53. ag them to the function block page and connect signals to them Publication 1753 PM001A EN P November 2005 8 10 Create User Defined Function Blocks Generate Function Block Code Publication 1753 PM001A EN P November 2005 When you complete your function block logic you must compile that logic into code the controller can execute In the Program Management Window expand the project Right click the Resource and choose Code Generation 0 RSLogiz Guard PLUS Project Management Es Pr Project Object Edit Window Tools Help almal Al m example J A Configuration dorada z QOFF LIME Simulati E Bx GPLC_12 mulation H A M ewLib Code Generation Eg Standardlibs ON LINE Test H A DataType h S iceeiia Mew Tanita You should save before every Code Generate A save is required for any change to the function block page Any time a change is made the number of changes displayed on the function block menu bar increments When the save is complete the menu bar displays unchanged The software compiles your function block logic and generates the files that you download to the controller TTTATUO When the code generator compiles logic it also takes into consideration the settings you specified in the Hardware Management Window If you change these settings and want the changes to take effect you must compile and download the project again Create User Defined Fu
54. are automatically converts the project to the new version If you want to keep an existing version of your project created under the old version of RSLogix Guard PLUS software you must archive the project using the older version of the software It is not possible to revert a project back from a newer to an older version of the software Publication 1753 PM001A EN P November 2005 A 8 Programming Software Versions Compatibility and Firmware Updates Publication 1753 PM001A EN P November 2005 In This Appendix Appendix B Configure the GuardPLC OPC Server For information about See page choosing an IP address B 2 adding the controller and OPC server to a project B 2 configuring the GuardPLC system for OPC communications B 3 generating code for the OPC server B 8 going online with the GuardPLC controller B 8 using the OPC server B 8 OLE for Process Control OPC is a standard interface for exchanging data between different applications The GuardPLC OPC server provides an Ethernet interface between the GuardPLC system and other systems with OPC interfaces This chapter describes the steps required to configure the GuardPLC OPC server to read and write data to an OPC client in this case a GuardPLC 1600 controller RSLogix Guard PLUS software is used to create a token group and make an HH network connection between the OPC server and the controller Signals are connected to the input and output sections of this conne
55. ault setting of Administrator and no password blank IMPORTANT Changes to access privileges can only be executed when the controller is in the state STOP TIP If battery and external power to the GuardPLC 1200 or GuardPLC 2000 controller are simultaneously off the controller loses all account information and reverts to the default account Publication 1753 PM001A EN P November 2005 6 4 Access Management Publication 1753 PM001A EN P November 2005 Chapter Archive and Restore Projects In This Chapter For information about See page Archive a Project 1 2 Restore a Project 7 3 Archiving a project moves the project to a back up location It also freezes a project so that no changes can be made to it The archived project can be moved from one PC to another or emailed You should archive all of your project prior to installing a new version of RSLogix Guard PLUS software to ensure that projects are not lost if problems occur in the installation process A project even one with multiple resources can be archived The archive process creates a folder entitled archivename L3P where archivename is the name of the archive The folder contains three archive files When an archived project is restored a projectname L2P folder is created Publication 1753 PM001A EN P November 2005 1 2 Archive and Restore Projects Archive a Project To archive a project 1 Open the RSLogix Guard PLUS Program Management
56. blication 1753 PM001A EN P November 2005 1 2 Connect to the GuardPLC Controller Publication 1753 PM001A EN P November 2005 Connect to a GuardPLC 1600 or 1800 Controller Ethernet Ports 3 and 4 24V RS DC 485 GuardPLC Ethernet 10 100 BaseT 10 32 Fthernet Ports 1 and 2 Connect to a GuardPLC 2000 Controller OO Tx COL Ethernet port 10 100 Base T GuardPLC Controller Factory Default Settings Parameter Setting IP Address 192 168 0 99 Subnet Mask 255 255 252 0 ens 60000 1 The SRS code is compiled with the program It guarantees that the program can only be downloaded to a GuardPLC controller with a matching SRS stored in non volatile memory Understand Ethernet Addressing As with any connection between devices on Ethernet the IP address and subnet mask determine if the connection can take place Every device on Ethernet has an IP address and subnet mask The IP address and subnet mask are made up of four 4 octets 001 002 003 004 The IP address is made up of the Network ID Connect to the GuardPLC Controller 1 3 octets 001 and 002 and the Host ID octets 003 and 004 The Network ID portion of the IP address is derived from the subnet mask When any two devices attempt to talk on Ethernet a check is made to see if the Network ID of both the originator and the destination address match If they match then the message is sent on the local network If they do not match then the
57. connected the screens should appear as follows ji RSLogix Guard PLUS Hardware Management Project Edit Signals Online Windows Help B Tz FirstProject x a Configuration K Signal Connections Configuration Dl xf EM 0000 Resource New Signal Delete Signal Help Help o EeCuDistibuted 1 0 Type Retain Constant Description Init Value Inputs Outputs dccem co 4 m E ug M Typelnstance 2 stana QME e poeeme Samoce MIS S9 Bot T T L 1 JS e pteivse eoo A cow DING Value Analog NT B CPU DiT7rEme cede BYTE onipos 67 DINZ Vale BOL 1 oBeHsc2 eiui 24 8 FS100C Ui Programming Terminal D amp ES HH Network_1 1 Dif18 Value Analog INT E L DI 19 Value B DI 19 Value Analog INT DI 20 Eror Code BYTE DI 20 Value BOOL 4 7 DI 20 Value Analog INT 03 09 2004 10 37 55 400 Info rtvisuals dll Version 4 0 26 RSLoaix Guard PLUS 03 09 2004 10 37 55 400 Info diagtext dll Version 4 0 26 RSLogix Guard PLUS English 03 03 2004 10 37 55 400 Info oemsettings dll Version 4 0 26 RSLogix Guard PLUS a T DI 19 Eror Code BYT 4 If your controller is a GuardPLC 1800 an additional step is required The digital inputs on a GuardPLC 1800 controller are actually analog circuits with a resolution of one 1 bit Any voltage greater than 13V dc will be a 1 Any voltage less than 7V dc will be a
58. counter outputs to configure the desired counter behavior I RSLogix Guard PLUS Hardware Management Project Edit Signals Online Windows Help Er Ta Guardi 800 E 4 Configuration E Bis 60000 Resource Distributed 1 0 pes kNewTypelnstar Protocols B IO GuardPLC 1 COM B CPU n Bt paa BelziHsc 2 Ber MI 24 8 m E A Terminal B Fa HH Network_1 n Ej Signal Connections Configuration 60000 Resourc P amp E Help Inputs Outputs Type Signal motor eoor J T 2 stant poo a sao pon _ mmu kx s awe _ Counter 01 Auto Advance Sense BOOL Counter 1 Direction BOOL Counter 1 Gray Code BOOL e come B9 _ s BmweB Spse jon ir com jw v z camem poo igi po v B e Coneis pon tue pon v T e teneas eN Wo pon ja a fio Coumen0 Auo Advance Sense BODL Toe ar m Cometre fo hz Come tee BO n3 tenete B Cometas B ns Cometas foo 16 Courtetoaispares Je Publication 1753 PM001A EN P November 2005 Create a GuardPLC Project 3 13 Count Up regardless of Direction Ej Signal Connections Configuration 60000 Resourc P xd Counter xx Outp ut Va riable Description ll Help
59. ction Signals connected to the output section are sent out of the controller to the OPC server Signals connected to the input sections are sent from the OPC server to the controller To create an XML file for use by the OPC Server follow the steps below which are described in detail in the following sections e Choose the IP Address for the OPC Server e Add the controller and the OPC Server to an RSLogix Guard PLUS project e Configure the GuardPLC System for OPC Communication e Generate XML Code for the OPC Server Publication 1753 PM001A EN P November 2005 B 2 Configure the GuardPLC OPC Server Choose an IP Address Add the GuardPLC Controller and the OPC Server to the Project Publication 1753 PM001A EN P November 2005 Choose an IP address for the OPC Server and the GuardPLC controller In this example we used the default IP address of the GuardPLC controller 192 168 0 99 The IP address of the OPC Server is 192 168 0 216 1 In RSLogix Guard PLUS software choose Project gt New 2 Enter the name of the project and confirm OK In this example our project is called OPCtest 3 In the Hardware Management window expand Configuration so that the Resource is visible In this example we renamed the resource to G16OPCOI It is not necessary to rename the resource 4 Right click G16OPCO01 and choose Properties I RSLogix Guard PLUS Hardware Managem Project Edit Signals Online Windows Help Fl
60. dPLC 1800 IV Forcing allowed v Stop on Timeout IB Programming Terminal Signals amp HE HH Network_1 i Fore F Type R Value RForce RF nt Token Group online administrator Z 7Controi Panel O p 03 21 2004 11 09 49 588 Info Resource Resource successfully stopped 03 21 2004 11 09 53 503 Info Resource Loading the Resource Configuration started 03 21 2004 11 09 55 446 Info Resource All files successfully flashed to resource 03 21 2004 11 09 56 247 Info Resource Resource Configuration successfully loaded 03 21 2004 11 10 02 406 Info Resource Resource successfully started 3 In the Force Editor choose Configure The software displays a list of force signals you can choose whether to view or not Fj Select signals to iew X O Circuit Reset BOOL Cycle Inputs BOOL EStop chi BOOL EStop ch BOOL Fault Reset BOOL Input Fault BOOL Lamp Test BOOL O Lamp3 BOOL O Output BOOL Pulse Test Fault BODL OF Select all Clear all ce Publication 1753 PMO001A EN P November 2005 Monitor and Force Signals 5 3 Ej Force Editor GuardF File View Options Help Stark irgconmect Send Etre S Etre T Takeover The R Value Resource Value column displays the current values of the signals Forcing 4 If you are not already connected in the Force Editor choose File gt Connect The software displays the val
61. ddress 1 21 determining SRS 1 21 logging in 1 20 renaming 3 3 convert projects A 5 creating signals 3 6 user access 6 2 D default password 6 1 default user name 6 1 distributed 1 0 adding to the project 2 2 changing IP address 2 6 changing SRS 2 6 default settings 2 1 going online with 2 5 module addressing 2 1 setting properties 2 3 understanding the SRS 2 2 downloading routines 4 2 Index E editing forces 5 5 entering force values and force marks 5 5 Ethernet connecting controller and programming terminal 1 1 F firmware and software compatibility A 4 firmware upgrade procedure A 5 forcing force values and force marks 5 5 function blocks generating code 8 10 scaling 8 6 technical units 8 6 G generating code 8 10 GuardPLC 1200 connecting 1 1 GuardPLC 2000 connecting 1 2 init Value 3 5 IP address 1 23 L logging in 1 20 M managing user access 6 1 manuals related P 2 monitoring signals 5 1 P password default 6 1 programming terminals configuring 1 19 connecting controller 1 1 SRS 1 19 Publication 1753 PM001A EN P November 2005 2 Index project archiving 7 2 restore 7 3 projects converting A 5 publications related P 2 related publications P 2 restore a project 7 3 retain 3 5 routines controlling 4 6 downloading 4 2 execution states 4 6 starting 4 4 testing 4 5 S scaling 8 6 signal editor 3 5 signal editor filter creating signals 3 6 signals analog in
62. de Generator The process should take only 1 or 2 seconds Make sure there are no warnings or errors 2 The resulting XML file is located in the project path of the RSLogix Guard PLUS project Make note of this path so that you can point to it from the GuardPLC OPC Server 2 24 2004 10 22 50 174 Info OPC Server Code generation started 2 24 2004 10 22 50 264 Info OPC Server 1 OPC Server configuration file Assis Eea Me PR ET t b pl MMPI UA RU C Od fe DE RR s RC PL 2 24 2004 10 22 50 264 Info OPC Server 1 Code generation finished Warnings 0 Errors 3 Return to the Project Management window and save the project 4 Right click Configuration and choose Code Generation Check the Error State Viewer to make sure there are no errors or warnings Correct any errors indicated Go Online with the 1 Return to the Hardware Management window and download the Controller project to your controller 2 Put the controller into RUN 3 Minimize RSLogix Guard PLUS software Use the OPC Server 1 Start the GuardPLC OPC Server by choosing Start gt Programs gt RSLogix Guard PLUS gt GuardPLC OPC Server F GuardPLC OPC Server E zin x File Mode Window Help System Id 5RS Connection state IF Addresses 02 24 2004 11 22 01 122 Info New OPC status No Config 0224 2004 11 22 01 152 Info GuardPLC OPC Server started 0224 2004 11 22 01 182 Info version 3 38 0 Server state Suspended E
63. de that is compiled with the function block routine The routine can be downloaded only to a GuardPLC controller with a matching SRS code stored in its non volatile memory For more information on configuring the controller refer to the controller configuration chapter of the GuardPLC Controller Systems User Manual publication number 1753 UMO001 TIP 4 Click Apply to move these values into the project The default SRS of a new controller is 60000 You must use this SRS to initially establish communications with the controller Once you have established communications you can change the SRS 5 Check the four 4 unchecked boxes and click OK You can rename the controller using the Program Management window Expand the project tree and the Configuration Right click on Resource and choose Rename Publication 1753 PM001A EN P November 2005 3 4 Create a GuardPLC Project 6 Expand the Resource so that the Hardware Management project tree appears as shown below RSLogix Guard PLUS Hardware Management zm xl Project Edit Signals Online Windows Help E Ta FirstProject E 4l Configuration JF Typelnstance EO GuardPLC 1800 Bnpa a BerHsc2 Berl MI 24 8 F51000 oe fll Programming Terminal 7 Right click COM under the GuardPLC 1800 controller and choose Properties hi RSLogix Guard PLUS Hardware Management M X Project Edit Signals Online Windows Help EP TE FirstProject Configuration Re
64. dialog box Create a GuardPLC Project 3 15 4 Minimize the Hardware Management window You can delete the white areas under the signals which are used for descriptions by clicking the white area and hitting the Delete key 5 In the Project Management project tree expand StandardLibs IEC61131 3 and Bistr as shown below PROJ Pou TYPE FirstProject El Configuration El BR Resource Ea Typelnstance E A StandardLibs H DataType Compare W Convert Counter Edge Numeric W Select W String 6 Drag an AND and an OR block onto the routine Left click hold drag and release Project Object Edit Window Tools Help amel al m sae QUQIQIR amp PROJ Pou TYPE ES E FirstProject E 44 Configuration BK Resource GIF Typelnstance El StandardLibs BQ DataType ass M B W 1EC61131 3 START i lt HOTOR px Y Bistable ES E anD B d RE H NOT n ea T oR JF ROL E ROR Tr SHL JE SHR FF XOR Y Compare Y Convert Y Counter Y Edge Y Numeric Y Select Y String Page name Page no A Pos 34 70 j EE Publication 1753 PM001A EN P November 2005 3 16 Create a GuardPLC Project 7 Connect the blocks with lines by left clicking and holding the very small dots on the edges of the boxes Drag and release over
65. ditor regardless of access privilege However you can only force signals if Forcing allowed is enabled for the controller Forcing is always disabled for users with Read access jz RSLogix Guard PLUS Hardware Management A iok Project Edit Signals Online Windows Help i Eg CATE stop nap ier CS OOO I I I T Bk 60000 Resource Distributed 1 0 m eb 1 GuardPLC 16pt Start Stop Takeover Configure Send Export Import Append E Protocols Resource Resource FT ypelnstance Forcing activated Force Time sec RO GuardPLC 1800 IV Forcing allowed Remaining Force Time 0 sec Je 2 HSC 2 Iv Stop on Timeout er MI 24 8 F51000 l ul Programming Terminal Signals 1 0 Channels amp ES HH Network 1 g Force F Type Rae R Foce RF Token Grup Sep Ast poor TRU rase 2 Eson Fast jon Tmu Fast 5 Faapea Fast jon rase Fase Li roaraa Fast aor rase Fase ume Fast jon ast Fast File View Options Help online administrator A Controt Panel PReSOUE B S Before you start the Force Editor make sure the program running in the controller is the same program that you are editing in RSLogix Guard PLUS software To verify whether these programs are the same 1 Start the Control Panel and cho
66. e 4 4 testing a routine 4 5 how a routine executes 4 6 To download and run a routine you must e Complete your system configuration and your routine logic e Save your logic by choosing Object gt Save on the Project Management menu bar e Generate code Make sure all your system configuration is complete before you generate code e Connect the programming terminal running RSLogix Guard PLUS software to the controller e Download the routine to the controller See page 4 2 e Start the routine See page 4 4 Check Consistency To determine whether or not you need to download your routine you can use the Check Consistency feature to verify whether the routine running in the controller is the same routine you are editing in RSLogix Guard PLUS software Choose Resource Check Consistency to compare the two programs If all the codes match your offline routine has been previously downloaded to the controller Publication 1753 UMO001B EN P November 2005 4 2 Check Download Start and Test a Routine Download a Routine 1 Choose Online gt Control Panel The software automatically asks you to log in LM x Project Edit Signals Online Windows Help COM IF le m E T example E a4 Configuraic Force Editor IPAddess 192 168 OF 99 Bx 2 Res Diagnostics System Rack 2 0 H Dis Pre Access Management Username Administratod i Communication Settings A ET E Password c Multi Control Pa
67. ect Edit Signals Online Windows Help i 11 d rnm 2 Expand the HH Network 3 Right click Token Group and choose Node Editor 4 Drag the OPC Server and G16OPCO01 onto the Node Editor I RSLogix Guard PLUS Hardware Management Project Edit Signals Online Windows Help ee Ta OPCtest Mode Editor HH Network_1 Token Group Bl xl El ad Configuration Delete Node ETC OPC Senec Resource _ G Ratsoooncrsarcor sa teopcn con feo H Bl Programming Terminal OPC Server 1 IP Address ll o E HH Network 1 te Token Group 5 Close the Node Editor 6 Right click OPC Server and choose Edit Publication 1753 PM001A EN P November 2005 B 4 Configure the GuardPLC OPC Server Publication 1753 PM001A EN P November 2005 7 Drag G16OPCO01 onto the OPC Server Resources Editor I RSLogix Guard PLUS Hardware Management Project Edit Signals Online Windows Help B Ta OPCtest Kj Resources Editor OPC Server 17 pm EF al Configuration Delete Resource Connect OPE Signale HA Network Configuration Help H OPC Server 1 SRS B 60000 G160PCOT ee coro 60000 lll Programming Terminal Fa HH Network 1 te Token Group The Specify HH Network Configuration for OPC dialog opens 8 Click OK Connect Signals 1 Choose the Signals pulldown menu from the menu bar and choose Editor 2 Add two new signals e DII input sent to the OPC Server e DOI output sent from the OPC
68. ee ke Bos 1 19 Loo Ia ue gente ded ur m d its Aran X dics dr SR te arg 1 20 Determine the IP Address and SRS of the Controller 1 21 Change the SRS of the Controller ie RUE RE rca 1 22 Change the IP Address of the Controller 1 23 Chapter 2 Iti Pris C HaIpIe Ba acd 0 4a 0 E E 3 5 9 Ea ems 2 1 Understand Module Addressing 0 0005 2 1 Module Default Settings s edu oa ted hehe ede eee 2 1 SRS Oy stem RACK SIO 24a ba nena bate qeu 44 2 1 PA e hee eee hee Aether Oe ened 2 2 Add the Module to the Hardware Configuration 2 2 Conrieute te Modu soe comuna dose n e dE PRECOR S ACE os 2 3 Publication 1753 PM001A EN P November 2005 vi Table of Contents Create a GuardPLC Project Check Download Start and Test a Routine Monitor and Force Signals Publication 1753 PM001A EN P November 2005 Ser l PIOpenics wiaew eset awk fen oe are ee 2 4 Configure the Offline IP Address 2 4 Go Online With he Mod le usati aor oed 2 5 Chapter 3 In INS SMA DUCES se cases ee ie tox exe Sos Bae aei eG Bee wee D 3 1 Start a NEw Project x 3 466460 RREPLSeSXTIEPGAebE es 5 1 Configure the Project and Hardware 3 2 Configure the Controller Resource suus 3 2 COreate s IOTIdI Sis aso 2 et ieee urhe dara go irr wc e E die 3 4 Understand the Signal Editor 54 4 dedo ecd dom dece esed 3 5 Create Signals in the Signal Editor s xx xd eR EE 3 6 Connect Signals t
69. et the controller 1 Hold down the Reset button then power cycle the GuardPLC controller 2 Continue to hold down the Reset button until the PROG led stops flashing At the next power cycle the settings will revert back to the last configured settings These could be the settings in place prior to the Reset operation if you did not reconfigure them after resetting the controller Step 10 Ping the Controller Use the Start menu to open the RSLogix Guard PLUS Command Prompt 1 Choose Start gt Programs gt RSLogix Guard PLUS gt RSLogix Guard PLUS Command Prompt 2 Run IPCONFIG at the DOS Command prompt to verify your computer s IP address It must be on the same local network as the GuardPLC controller Select Command Prompt Microsoft Windows 2666 Version 5 00 2195 lt C Copyright 1985 2666 Microsoft Corp C gt ipconf ig Windows 2666 IP Configuration Ethernet adapter Local Area Connection Connection specific DNS Suffix IP gt 192 168 6 98 255 255 255 0 Publication 1753 PM001A EN P November 2005 1 16 Connect to the GuardPLC Controller 3 Ping the GuardPLC controller using the command shown at the C gt below If the ping is successful the IP address of the GuardPLC controller has been verified and the Ethernet link is operating If the ping was not successful either the IP address subnet mask or Ethernet link is not correct The picture below is the result of a successful ping
70. etain their current state Enter Test Mode Warm Start Halts the execution of the routine with the signals declared as Retain retaining their values and with all other signals being reset Enter Test Mode Cold Start A routine must be loaded in the controller to allow you to enter test mode cold After a security query the routine is initialized started and immediately enters FREEZE mode No input signals are processed and all the output signals stay in their basic state If the routine was in RUN mode when enter test mode cold was selected the cycle in progress is terminated and the process data is re initialized single cycle Single cycle can only be executed when the controller is in the test mode Use single cycle to manually trigger the execution of a single cycle of the routine The routine is executed exactly once The input signals are read in processed and the resulting output signals are transferred Use the force editor to perform a step by step check of the data See Chapter 5 for information on forcing Continue with Run This option terminates the test mode The routine mode changes from FREEZE to RUN without re initialization The current process data are retained This corresponds to a routine hot start Publication 1753 UMO001B EN P November 2005 4 6 Check Download Start and Test a Routine How a Routine Executes A controller has only one routine A routine can be in any one of Control Action Start the
71. f the archived project in the Object Name field The name you choose for the archive does not have to match the current name of the project 5 Click OK 6 Verify that the target directory and name are correct and click Archive When the archive process is complete the Project Management page reappears Publication 1753 PM001A EN P November 2005 Archive and Restore Projects 7 3 Restore a Project Restoring an archived project extracts the project files from the archive file and creates the L2P files and folders that can then be edited To restore an archived project 1 Open the Project Management window but do not open a project 2 From the Project pull down menu choose Restore Project o0 RSLogix Guard PLUS Project Management Project Object Edit Window Tools Help Mew Open Glose Project Wizard Sort Project Tree Restore Project Open Template Project The Restore dialog opens 3 Browse for the target directory where you want to place the restored project 4 Browse for the archived project that you want to restore 5 Click Restore Restore mE x Target directory C Program Files ASLogm Guard PLIL Browse Archive name C Program Files R SLogix Guard PLI i Restore Version Archive Description Archive Diate and Time 07723704 11 14 29 Archive Preview a g Tppelnstance e Parent i IL i PER Type i SAGE zl Restore Cancel Help
72. f you are responsible for programming or Manual troubleshooting control systems that use GuardPLC controllers Personnel responsible for installation programming operation and troubleshooting of safety related controllers must be familiar with relevant safety standards for Programmable Electronic Systems PES Purpose of this Manual The manual provides procedural information on programming your controller system including information on establishing communication between your programming terminal and the GuardPLC controller creating a GuardPLC project adding GuardPLC distributed I O to your project and creating user defined function blocks For information on installing configuring operating and monitoring the status of your GuardPLC controller system refer to the GuardPLC Controller Systems User Manual publication number 1753 UMO001 This manual does not provide information on SIL 3 or Cat 4 safety application requirements For detailed information on the safety policy regarding GuardPLC controllers including information on the controller s central functions input and output channels operating system application program safety and regulations for use refer to the GuardPLC Controller Systems Safety Reference Manual publication number 1753 RM002 Related Documentation The table on the following page lists documents that contain additional information concerning Rockwell Automation GuardPLC products If you would li
73. g and drop signals from the Signal Editor onto the Input or Output tabs to map the signals to the appropriate terminals on the distributed I O module Connect Analog Input Signals GuardPLC 1800 Controllers 1 Right click the GuardPLC 1800 controller s inputs MI 24 8 FS1000 and choose Connect Signals 2 In the Signal Editor create signals for the analog values Fy Signal Editor ae nl x New Signal Delete Signal Type Retain Constant Description Init Value wagon o g ser feo a sw poa L 4 pu pou f WJ Create a GuardPLC Project 3 11 3 Connect these signals to the analog inputs on the Inputs tab of the Signal Connections dialog 5 x Delete Signal Help Type Retain Description f Inputs Outputs m EE Gee ee 2 meme vr s amva w 4 MEn E s MEn E amwae jw 1 L LL d 1 a so pon O EE 4 Choose the Outputs tab of the Signal Connections dialog 5 Connect the USED signal from the Signal Editor to the analog input channels you are using for your application jox Inputs Outputs fs amus pon fose 7 jamnues pom T ce 4 T mn 4 r s anusa foo fosen s ommes a Dlion Ayseress Low WT DI O1 Used Bool 2 onamsan __ H5 DlHpswesiDw r __ 14 DINA I Ese d RANI p NE
74. ging to directory C Program Files RSLogix Guard PLUS PROJECT SOnlineLab L2P c3loq for project C Program Files RSLogix Guard PLUS PROJECT OnlineLab L2P Publication 1753 PM001A EN P November 2005 1 12 Connect to the GuardPLC Controller 2 Make sure Resource is selected in the Resource Selection window and click OK Ta Resource Selection E x OnlineLab Resource Cancel Help 3 Click Yes Warning E a X Write network settings to project This will overwrite the current settings This moves the IP address and SRS of the GuardPLC controller to your offline project and overwrites the existing values These new values are used in the login screen to connect with the GuardPLC controller Step 7 Use the Control Panel to Connect to the GuardPLC Controller 1 Right click 60000 Resource 2 Choose Online gt Control Panel 3 Type Ctrl A to fill in the default Username Password and Access Type in the Login Window x COM IF le IP Address 152 168 0 ead System Aack pp wv User name Administrator Password Access type Administrator r Cancel Help 4 Click OK Publication 1753 PM001A EN P November 2005 Connect to the GuardPLC Controller 1 13 The Control Panel Online indicator will be GREEN if the controller is in RUN Mode The Online indicator may also be yellow white or red based on its current state
75. ke a manual you can e download a free electronic version from the internet at Www rockwellautomation com literature e purchase a printed manual by contacting your local Allen Bradley distributor or Rockwell Automation sales office Publication 1753 PM001A EN P November 2005 2 Preface For Read this Document Document Number In depth information on the safety concept of GuardPLC GuardPLC Controller Systems Safety Reference 1753 RM002 controller systems including the DeviceNet Safety Scanner for Manual GuardPLC Controllers Information on installing configuring operating and GuardPLC Controller Systems User Manual 1753 UM001 monitoring the status of your GuardPLC controller system Information on installing configuring and operating a DeviceNet Safety Scanner for GuardPLC Controllers 1753 UM002 DeviceNet Safety Scanner in a GuardPLC application User Manual Information on operating 1791DS DeviceNet Safety 1 0 DeviceNet Safety I O User Manual 1791DS UMO001 Modules Information on using Certified Function Blocks in your GuardPLC GuardPLC Certified Function Blocks Safety Reference 1753 RM001 safety application Manual In depth information on grounding and wiring Allen Bradley Industrial Automation Wiring and Grounding 1770 4 1 programmable controllers Guidelines A description of important differences between solid state Application Considerations for Solid State Controls SGI 1 1 programmable controller products a
76. l Connections window Both the Name fields in the Signal Editor and the Signal fields in the Signal Connections window must be visible as shown above 2 Verify that the Inputs tab is selected on the Signal Connections dialog FE Signal Connections Configurati Help Inputs Outputs Type Signa ignal Dime WORD z mnemcoe pvrt s mmnvke pon DiE Evrt s pavas on s DiE coe Evrt z pava on Two signals exist for each input Value and Error Code The GuardPLC 1800 controller adds another signal called Value Analog Error Code is a status signal that can be used for point level diagnostics The Value contains the actual field state of the input ON CD or OFF 0 Publication 1753 PM001A EN P November 2005 3 8 Create a GuardPLC Project 3 Connect the START and STOP signals to inputs by dragging START and STOP from the Name field in the Signal Editor to the Signal field in the Signal Connections window a Make sure the cursor is not active in any field in either the Signal Editor or the Signal Connections dialog b Left click and hold on the Name field Drag the signal to the Signal field in the Signal Connections dialog c Release when over the proper field Signals can only be dragged and dropped onto Signal fields of the same data type Dropping a BOOL signal onto a BYTE field is not permitted When both signals have been
77. lineLab Control Panel Resource io xi zu SEEN PADT Resource Communication Test Mode Extra Help i D B 60000 Resource i v bo 1b _ E Distributed 1 0 ZA I ig Protocols Resource State Safety Parameters Statistics P2P State Distributed 1 0 HH i SBE Typelnstance EBD GuardPLC 1800 il Programming Terminal FFauty OMedies Remarina Face mel oi F uo online administrator A 03 25 2004 16 10 09 192 Info Processing command Please wait 03 25 2004 16 10 10 414 Info Communication settings successfully changed 03 25 2004 16 10 20 490 Info Resource Resource grants administrator access for user Administrator The Online indicator is white because the GuardPLC controller is in STOP VALID mode Connect to the GuardPLC Controller 1 19 Configure the Programming Specify the Host SRS Terminal From the Hardware Management window you can specify the host SRS of the programming terminal 1 Right click Programming Terminal and choose Properties 2 Enter the host SRS 1 to 65535 for the programming terminal Project Edit Signals Online Windows Help E Ts example ee A Configuration BE 2 Resource E Distributed 1 0 ie Protocols i i Typelnstance Mao GuardPLC 1600 G Programming Terminal B Gi Programming Te E Es HH Network 1 Type Programming Temin ttst CS System ID Po Timeo
78. message is sent to the Gateway to route the message to the destination The subnet masks of all the devices on a local network should be the same The example below illustrates how to derive the Network ID based on the GuardPLC controller s IP address and subnet mask defaults Determine the Network ID Default Settings IP Address 192 168 0 99 11000000 10101000 00000000 01100011 Subnet Mask 255 255 252 0 11111111 11111111 11111100 00000000 Network ID 11000000 10101000 000000xx XXXXXXXX Set up the programming terminal s IP address so that it has the same Network ID as the GuardPLC controller Octets one and two have to be the same because the subnet mask octets are 255 The third subnet mask octet is 252 which means that only the last two bits can be different If the factory default settings above are used the allowable IP addresses for the programming terminal running RSLogix Guard PLUS software are e 192 168 0 xxx xxx represents any value between 000 255 e 192 168 1 xxx e 192 168 2 xxx e 192 168 3 xxx Configure the IP Address of Your Programming Terminal IMPORTANT The first time you connect to a controller you must use the factory set IP address of 192 168 0 99 and the default SRS of 60000 After you establish communications with the controller Cusing the steps on the following pages you can change the IP address and SRS to better accommodate your Ethernet network Publication
79. mple the default SRS of a GuardPLC controller is 60000 0 If you change the SRS to 25 the actual SRS of the controller is 25 0 Publication 1753 PM001A EN P November 2005 2 2 Connect to GuardPLC Distributed 1 0 Modules Distributed I O modules inherit the first portion of the SRS from the parent controller You configure the second part of the SRS For example the default SRS of distributed I O modules is 60000 1 If the module is owned by a controller with an address of 25 then the SRS of the distributed I O should be 25 1 If a second module is added to the controller its SRS is then 25 2 A third module would be SRS 25 3 IP Address Like any Ethernet device the distributed I O module requires a unique IP address Add the Module to the To add a distributed I O module to your GuardPLC project s hardware fi Hardware Configuration 1 In the Hardware Management window of RSLogix Guard PLUS right click the Distributed I O folder under your controller Resource 2 Choose New and the desired I O module hz RSLogix Guard PLUS Hardware Management Project Edit Signals Online Windows Help Pg IB20x0B8 E al Configuration GuardPLC 16pt DC In E Copy ig GuardPLC 16pt DC Out MIO Paste EA iuardPLC 20 8 DC InfOut il Programmiri Delete Print Properties OF 09 2004 10 13 21 204 Info rhvisuals dll Version 4 0 26 ASLogis Guard PLUS 07 03 2004 10 13 21 204 Info diagtest
80. nce OK Cancel o Ae Hep 6 RAIO GuardPLC 1600 7 Expand the OPC Server and double click IP Address 8 Set the IP Address to 192 168 0 216 and click OK hz RSLogix Guard PLUS Hardware Management Project Edit Signals Online Windows Help Fl Fg OP Ctest ip Configuration OPC Server 1 IP Address joy Er all Configuration 1 OFC Server 1 lee P addes 0000000 LOO IP Address IP Address 1822 168 O0 2B E Bi 60000 G160PC01 Subnet Mask 25 5 29 D E og Distributed 1 0 Protocols Default Gateway iE Typelnstance IP Device o ERO GuardPLC 1600 D CoM OF Cancel Apply Help A ma i Token Group 1 Right click Token Group and choose Properties 2 Change the profile to Medium 3 Verify that the Token Group ID is 4 4 Click Apply and then OK HH Network_1 Token Group Type TokenGroup Mame Token Group Profile Medum z Token Group ID 4 Protocol Made Nomad Link Made TcsTOKYC a Response Time ms ESS Bus Cycle Time ms 152 Token Alive Timeout ms n Primary Timeout ms 400 Secondary Interval ms 200 Link Made E ster TCS TORCYC Response Time external me f 5 OF Cancel Apply Help Publication 1753 PM001A EN P November 2005 B 8 Configure the GuardPLC OPC Server Generate Code for the OPC 1 To generate the XML file for the OPC server right click the OPC Server Server and choose Co
81. nction Blocks 8 11 Check for Errors and Warnings After performing a code generate check the status bar at the bottom of the Project Management window The status bar indicates whether or not a L2P file was successfully generated If a L2P file was not created check the Hardware Management Window to view the errors and or warnings compiled during the process of code generation The window below shows an example of code generation warnings 03 22 2002 10 24 57 785 Info Controller 200 Code generation started 03 22 2002 10 25 38 815 Warning Controller1 200 Controller 2007R ack 1 amp B DIO AB DIO Used Tag OUT has no source 03 22 2002 10 25 38 825 Warning Controller1 200 Controller 2007R ack 1 amp B DIO A amp B DIO Used Tag OUTS has no source 03 22 2002 10 25 39 065 Info Controller 200 Code generation finished Warnings 2 Errors 0 Publication 1753 PM001A EN P November 2005 8 12 Create User Defined Function Blocks Publication 1753 PM001A EN P November 2005 Appendix A Programming Software Versions Compatibility and Firmware Updates In This Appendix For information about See page RSLogix and RSLogix Guard PLUS Versions A 1 RSLogix Guard PLUS Software and GuardPLC Firmware Compatibility A 3 Convert Projects A 5 Upgrade GuardPLC Firmware A 5 RSLogix and RSLogix Guard PLUS Versions Programming Catalog Supported Controllers Activation Software Number 175
82. nd hard wired electromechanical devices An article on wire sizes and types for grounding electrical National Electrical Code Published by the National Fire Protection equipment Association of Boston MA A glossary of industrial automation terms and abbreviations Allen Bradley Industrial Automation Glossary AG 7 1 Publication 1753 PM001A EN P November 2005 In This Chapter Connect to the Controller via RSLogix Guard PLUS Software Connect to the GuardPLC Controller For information about connecting to the controller via RSLogix Guard PLUS going online with the GuardPLC controller configuring the programming terminal login dialog determining the IP address and SRS of the controller changing the SRS of the controller changing the IP address of the controller Chapter 1 See page 1 1 1 5 1 19 1 20 1 21 1 22 1 23 You connect the controller to the programming terminal via an Ethernet port on the controller The programming terminal must have an Ethernet port or Ethernet communication card To directly connect the programming terminal to the controller use a cross over Ethernet cable The GuardPLC 1600 and 1800 controllers feature auto sensing ports so that a cross over or straight thru cable may be used Connect to a GuardPLC 1200 Controller SUSHI SII ie SSUSHSSASUSUSSSUSIUSS A GSISUASSSSUS Guard PLC 1200 RSS SSH SN JSBBBBBBBBBBRC Ethernet port on the bottom of the controller Pu
83. ne g nou Access type Administrator e Cancel Help i Control Panel GPLC1600_1 Em Bl x PADT Resource Communication Test Mode Extra Help Coldstart p m je 9 Download Resource Stateflali Safety Parameters Statistics P2P State Distributed 1 0 HH State Environment Data OS IP Se 4 Stop Faulty 1 0 Modules D Forna cabled Remaining Force Time 2 ais F no online administrator A 3 The routine must be stopped before downloading is permitted Choose Resource gt Stop 4 Choose Resource gt Download to load the routine into the controller i Control Panel GPLC1600_1 PADT Resource Communication Te EF Warmstart Reso b Coldstart W Stop aif Check Consistency Safety gt IMPORTANT If your controller is in FAILURE_STOP it must be rebooted before you can download a routine While online with the controller choose Reboot Resource from the Control Panel For more information on recovering from a FAILURE_STOP refer to the GuardPLC Controller Systems User Manual publication number 1753 UMO01 Publication 1753 UM001B EN P November 2005 Check Download Start and Test a Routine 4 3 Troubleshoot the Download Process The SRS of the controller must match the SRS saved in the routine in order to download the routine When you specify an SRS for a controller in a project that SRS gets saved in the routine
84. nline download and monitor programs in series C GuardPLC 1200 and GuardPLC 2000 controllers However not all functionality is supported RSLogix Guard does not allow you to configure GuardPLC Distributed I O on GuardPLC Ethernet If you are online with a series C controller some items such as the subnet mask appear incorrectly due to memory map changes between series B and series C controllers About RSLogix Guard PLUS RSLogix Guard PLUS version 3 5 added support for GuardPLC 1600 and GuardPLC 1800 controllers and GuardPLC Distributed I O as well as offline simulation and online test features RSLogix Guard PLUS can be used to monitor start and stop an operational series B GuardPLC 1200 or GuardPLC 2000 controller TIP If you need to download to a series B controller using RSLogix Guard PLUS update the controller to series C This prevents the problem of downloading with functionality that the series B GuardPLC controllers do not support RSLogix Guard PLUS version 4 0 adds support for DeviceNet Safety to GuardPLC 1600 and GuardPLC 1800 controllers Version 4 0 supports the DeviceNet Safety Scanner for GuardPLC Controllers 1753 DNSD and 1791DS DeviceNet Safety I O GuardPLC 1200 and GuardPLC 2000 do not support DeviceNet Safety RSLogix Guard PLUS Software and GuardPLC Firmware Compatibility Programming Software Version RSLogix Guard Project Manager version 3 3 Build 4903 Hardware Manager version 2 2
85. o I O Terminals n on aaa aaa 3 6 Connect Digital Input Signals naaa aaa 3 7 Connect Output SI9Dals 5 ue cuted itis n s tpi tn 3 9 Connect Distributed I O Signals 0 3 10 Connect Analog Input Signals GuardPLC 1800 COMUMONCES x o acu eat nt week Re race he be bees 3 10 Connect High speed Counter Signals GuardPLC 1800 CONTONE ec 2 tionc te coh yes edd Bee eee dr Red 3 11 Create a Function Block Program 0 3 13 Save Compile Test and Download the Program 3 16 Save the Proc dM apu d dates ad ee 3 acia enr 3 16 Comoleine Code 22 454 3644 45 05 00 vg Sa eds 3 17 Run an Off Line Simulation 23x xac EX xa 3 18 Download the Program 2 4444 2284 etd uw ERES 3 20 How to Monitor the Routine Online 3 22 Chapter 4 SiO iG CD E eos ee Sls te eee ea d debuit de ea 4 Check Consistency o ses vo eee eed AES E ee 4 1 Download a ROOUNCs 222 atrae WE ach ba es 4 2 Troubleshoot the Download Process 4 3 DIATE UR OU GING us ng uy RR uo deter dos rope ulus i a d Sosa d a dia 4 4 Rese MI CO VIDI ERR RR RE ETE TUL T LIRALI DIT 4 5 How a Routine Executes 0 000 000 ce ee 4 6 Controlling A ROULING s a dou a merde pate deh acd Su dog sns 4 6 Chapter 5 I This SC DO DEO Pu eee de tace OG Ad oa UR a oe oe sts 5 1 MOMO SINI TIS uer arie sets uod y e ard Hae uto Se eh ea ao ton 5 1 FOR P PEDE Pah Pain Oe eae es 5 3 PODE POCO eese ui niv EOD tiers E eee we es 5 4 Siart the PORCe
86. oftware asks you to log in I RSLogix Guard PLUS Hardware Management Project Edit Signals Online Windows Help Er Ta Project Control Panel E Force Editor Diagnostics Access Management Communication Settings Multi Control Panel Publication 1753 PM001A EN P November 2005 Access Management 6 3 2 After you successfully log in with Administrator access the software displays the Access Management window Access Management GPLC1600_1 l access Management aPLC1600 hel _ olx Communication Access Help l amp al 2E o a a p pe emm ao pe pe emm 1 s pe pe emm amp pe pe emm Ro pe e emm s p pe emm s pe pe emm m e e emm 1 online administrator Field Description Username Name of the user Password Password of the user The password is case sensitive Password Verification Verify the password specified above Access Type The access level of the user specify Administrator Read Write Read or No Access The username and password are case sensitive and can contain as many as 31 characters You can use letters numbers and underscore _ characters At least one of the users must have Administrator privileges If you make changes to the user list use the Set Accounts button to save the changes in the controller The Administrator can delete access privileges of all users with the default account access and reset the Administrator account to the def
87. ogram Files4A SLogix Guard PLUSSPROJECTSIBZDROBS LZP OF 09 2004 10 29 28 625 Info Lanfiguratien B0000 Resource Distributed 17070 GuardPLe 20_8 DC In Qut 1 deleted a To configure the module you need to e set I O properties e configure the offline IP address Publication 1753 PM001A EN P November 2005 2 4 Connect to GuardPLC Distributed 1 0 Modules Set 1 0 Properties 1 In the RSLogix Guard PLUS Hardware Management window right click the module in the project tree and select Properties 2 You must change the Rack ID SRS to configure the second portion of the SRS Change the Rack ID SRS value to 1 hi RSLogix Guard PLUS Hardware Management Project Edit Signals Online Windows Help E IB 202088 Er 4 Configuration E0000 Resource Type GuardPLC 20 8 DE In Out E Distributed 10 Mame GuardPLE 20 800 In Qut 1 MEE 2 H fgg 1 GuardFLE 20 8 DC In Dut 1 zian me line o0 H Protocols SBF T ypelnstance Watchdog Time rns E l amp IO GuardPLC 1600 mas Com Time Slice ms 5 cR Programming Terminal Rack ID SRS E Ge Pf HH Network 1 ng Timeout mz 6000 Resend Time ms 600 Alive Interval m 300 OF Cancel Apply Help 3 Click OK The offline SRS is now 60000 1 The 60000 comes from the parent controller as shown by the arrow in the illustration above Configure the Offline IP Address 1 Expand the module in the project tree 2 Right
88. on arde qu op dno P Ro he Gear P 1 Chapter 1 le Vhs ODE IS 4 tas that ts ovr dos draco de 1 1 Connect to the Controller via RSLogix Guard PLUS Software 1 1 Connect to a GuardPLC 1200 Controller 1 1 Connect to a GuardPLC 1600 or 1800 Controller 1 2 Connect to a GuardPLC 2000 Controller 1 2 GuardPLC Controller Factory Default Settings 1 2 Understand Ethernet Addressing iiis 1 2 Configure the IP Address of Your Programming Terminal 1 23 Go Online with the GuardPLC Controller 1 5 Step 1 Open RSLogix Guard PLUS Software 1 6 Step 2e Create q New Project s veio nro riedant S SI 1 6 Step 3 Configure the Controller Type and SRS 1 7 Step 4 Get Communication Settings 1 9 Step 5 Change Settings via MAC Address 1 10 Step 6 Move the Settings Into Your Offline Project 1 11 Step 7 Use the Control Panel to Connect to the Gaai PLC COMMOUGE sos ur tue dec tane et qe hie 1 12 Step 8 Change the Controller to STOP Mode 1 14 Step 9 Reset the Controller to the Default Settings 1 14 Step 10 Ping the Controller 0 1 15 Step 11 Configure the GuardPLC Controller s IP PRTG e see DR EE OTT T ET EOD es 1 16 Step 12 Recover from a Controller Fault After Using Pe Reset BONON sasi nupi ke Tue ene ewe oe ae ee ded 1 17 Configure the Programming Terminal 1 19 Speci Ne EIOSE ORS vc uctus etch tob e
89. on Subrange sample1 Var1 Tope Subrange INT Minimum value DINT a INT SINT i UDINT gamut value UINT USINT Initial value 5 Cancel Undo Help For example DINT 0 200 is an DINT value where e the minimum allowable value is 0 and e the maximum allowable value is 200 not yet implemented Define Technical Units and Scaling You can define technical units and scaling for each variable Define an available unit from the pulldown menu reference points to convert a technical unit into an internal value For example e technical unit from 0 to 24V e internal representation from 0 to 1000 Enter floating point numbers for the scaling The available technical units are Abbreviation Unit Definition A Ampere electrical current Bq Bequerel activity of a radioactive source disintegration rate C Colomb electrical charge cd Candela light intensity F Farad Capacitance Gy Gray absorbed dose H Henry inductance Hz Hertz frequency J Joule energy K Kelvin temperature in Kelvin In this field Connection Position Inverted Alternate O identifier Define Abbreviation Unit kg Kilogram Im Lumen Ix Lux m Meter mol Mol N Newton Ohm Ohm Pa Pascal Rad Radiant S Siemens S Second Sr sRadiant T Tesla V Volt W Watt Wb Weber Define l O Positions Create User Defined Function Blocks 8 7 Definition mass illumination illumination density length amount of sub
90. on Resource and TypelInstance are visible as shown below I RSLogix Guard PLUS Hardware Management Project Edit Signals Online Windows Help crm FirstPraject 3 E a Coniguralion BR bg 0 Resource ET upelnstance ll Programming Terminal 3 08 2004 20 28 22 012 Info oemsettings dll version 4 0 26 ASLogis Guard PLUS O08 2004 20 28 22 813 Info Set Logging to directory C Program Files HSL agis Guard PLUS PR JELT FistPraject L2P c3lag for project C Program Files ASLogm Guard PLUSSPAOJECT sFirstPrapect LAP a 2 Right click 0 Resource and choose Properties Publication 1753 PM001A EN P November 2005 Create a GuardPLC Project 3 3 3 Edit the properties as shown below jz RSLogix Guard PLUS Hardware Management Project Edit Signals Online Windows Help a Tg FirstProject 44 Configuration MID Resource m Programming Terminal N Configuration Resource Type GuaraPLc 1800 m Name Reoue System ID SRS pod it Safety Time ms ho Watchdog Time ms Main Enable Autostart Start Restart allowed Loading allowed Test Mode allowed Online Test allowed Forcing allowed Stop on Force Timeout M max Com Time Slice ms fio Code Generation Version 3 B OK Cancel Apply Help O xl The Resource Type needs to match the type of GuardPLC controller to which you want to connect The SRS is a co
91. on p 2 HSC 2 e 3 MI 24 8 FS1000 Li Programming Terminal 03 25 2004 18 10 10 D 41 4 Info Communication settings successfully changed 03 25 2004 16 10 20 490 Info Resource Resource grants administrator access for user Administrator 03 25 2004 16 24 40 652 Warning Resource Connection lost 03 25 2004 16 30 53 912 Info Resource Offline bes i iad Distributed 1 0 Faulty 1 0 Modules 0 Forcing disabled Remaining Force Time s 0 i FUN eso 7 1 17 Edit the IP address to match the GuardPLC controller and click OK After using the Reset button the Control Panel appears as follows if the SRS was not originally 60000 prior to the Reset The Fault LED on the front of the GuardPLC controller is illuminated and the CPU State of the Resource is STOP INVALID CONFIGURATION Publication 1753 PM001A EN P November 2005 1 18 Connect to the GuardPLC Controller Publication 1753 PM001A EN P November 2005 To recover from this fault 1 Choose Extra Change System ID from the Control Panel 2 Verify that 60000 appears in the first window with 0 in the second as shown below 3 Click OK The Fault LED should turn off and the Control Panel should show that the CPU State has changed to STOP VALID CONFIGURATION as shown below jz RSLogix Guard PLUS Hardware Management Project Edit Signals Online Windows Help Ti On
92. ose Resource gt Check Consistency 2 If the offline online programs are not identical then the Force Editor will come up offline Monitor and Force Signals 5 5 Specify Force Values and To set a signal with a force value you Force Marks 1 Enter the force value for the signal in the Force column TIP For Boolean signals True or False and 1 or O are acceptable values 2 Double click in the F column to mark that you want the controller to use the force value rather than the process value 3 Send the force value s to the controller The Force Editor displays the force value s in the R Force column A mark in the RF resource force column indicates that the controller will use the corresponding force value instead of the process value when forcing is enabled Multiple force values can be written into the controller at the same time The force values remain saved in the controller until the routine is reloaded If the routine is stopped the resource force marks are also reset jz RSLogix Guard PLUS Hardware Management Project Edit Signals Online Windows Help TR CAT 4E stop A Configuration b 60000 Resource 3 Distributed 1 0 i Egl GuardPLC 16pt Protocols F Typelnstance RO GuardPLC 1800 p000 8 Dez HSC 2 Je 3 MI 24 8 F51000 m Programming Terminal HE HH Network_1 ot Token
93. ped ft Typelnstan Stopped VAR Z EH T ypelnstance ConfigurationsResou E me Declaration Initial value Error state viewer Text 3 8 2004 10 25 30 PM Information POST Compiler finished 3 8 2004 10 25 30 PM Information MCGO04 Binary code generation finished for Resource 3 8 2004 10 25 30 PM Information MCGO18 Errors 0 arnings 0 3 8 2004 10 25 30 PM Information MCGOOS Error free code generated for lt C Program ener b Page name Page no A O Pos 49 66 Publication 1753 PM001A EN P November 2005 Create a GuardPLC Project 3 19 3 Choose points to toggle view during the simulation To activate a point left click on a point drag release and left click again RSLogix Guard PLUS Project Management C Program FilesVRSLogix Guard PLUSXPROJECT FirstProject Configuration Resource en E D x Project Object Edit window Tools Help alme e aade E PROJ Pou TyPE OLS Re kJ OLS TypeInstance Configuration Resource Typelnsta START uui m pHOTOR m by Resource Running if Typelnstan Running VAR Mame Declaration Initial value Lonaname a 4 b FF Typelnstance Configuration Resource Error state viewer Text 3 8 2004 10 25 30 PM Information POST Compiler finished 3 8 2004 10 25 30 PM Information MCGO04 Binary code generation finished for Resource 3 8 2004 10 25 30 PM Information
94. pment or software described in this manual Reproduction of the contents of this manual in whole or in part without written permission of Rockwell Automation Inc is prohibited Throughout this manual we use notes to make you aware of safety considerations Identifies information about practices or circumstances that can cause an explosion in a hazardous environment which may lead to personal injury or death property damage or economic loss IMPORTANT Identifies information that is critical for successful application and understanding of the product Identifies information about practices or circumstances that can lead to personal injury or death property damage or economic loss Attentions help you ATTENTION e identify a hazard e avoid a hazard e recognize the consequence GuardPLC is a trademark of Rockwell Automation Modbus is a registered trademark of Schneider Automation Inc DeviceNet is a trademark of Open DeviceNet Vendor Association All other trademarks are the property of their respective holders and are hereby acknowledged Summary of Changes The information below summarizes the changes to this manual since the last publication To help you find new and updated information in this release of the manual we have included change bars as shown to the right of this paragraph Programming and configuration procedures and examples have been removed from the GuardPLC Controller Sy
95. put 3 10 connecting 3 7 3 13 creating 3 6 Publication 1753 PM001A EN P November 2005 digital input 3 7 digital output 3 9 force values and force marks 5 5 high speed counter 3 11 monitoring 5 1 software and firmware compatibility A 4 Rack ID 2 4 SRS changing 1 22 starting routines 4 4 T technical units 8 6 testing routines 4 5 U user access 6 1 user name default 6 1 V variables user defined function blocks 8 4 versions software and firmware A 3 Rockwell Automation Rockwell Automation provides technical information on the web to assist you in using our products At http support rockwellautomation com you can Support find technical manuals a knowledge base of FAQs technical and application notes sample code and links to software service packs and a MySupport feature that you can customize to make the best use of these tools For an additional level of technical phone support for installation configuration and troubleshooting we offer TechConnect Support programs For more information contact your local distributor or Rockwell Automation representative or visit http support rockwellautomation com Installation Assistance If you experience a problem with a hardware module within the first 24 hours of installation please review the information that s contained in this manual You can also contact a special Customer Support number for initial help in getting your module up and running Uni
96. rce Connection lost 03 25 2004 16 30 53 912 Info Resource Offline 2 Right click COM and choose Properties Publication 1753 PM001A EN P November 2005 3 Step 12 Recover from a Controller Fault After Using the Reset Button jz RSLogix Guard PLUS Hardware Management Project Edit Signals Online Windows Help Fa OnlineLab Control Panel Resource Ol x E ad Configuration PADT Resource Communication Test Mode Extra Help B Ni EERE esac p Z NE a E 03 25 2004 16 45 12 232 Info Resource Resource grants administrator access for user Administrator 03 25 2004 16 45 14 015 Error Resource CPC DIAG Command gt gt statistic data of time sclices of communication lt lt FAILED error 3008502 gt gt gt TPG Wrong SRS L a Protocols Resource State Safety Parameters Statistics P2P State Distibuted 0 HH State Environ gt few L fiETypelnstance B BO GuardPLC 1800 D COM HB CPU oss STOP INVALID CONFIGURATION Bei M 24 8 F51000 SLED ean Programming Terminal m Connect to the GuardPLC Controller jz RSLogix Guard PLUS Hardware Management Project Edit Signals Online Windows Help i Fg OnlineLab ee 44 Configuration EF bi 60000 Resource MENT i Distributed 1 0 Configuration Resource GuardPLC 1800 C0M PA m Ps Type IP Address je HN g p Typelnstance vet B B10 GuardPLC 1800 Default Gateway d IP Device fan So pos f
97. re defaults to an SRS of zero 0 which is the only illegal SRS value To accept the controller type the SRS must be changed to a value between 2 and 65535 1 Expand the project tree in the Hardware Management window until 0 Resource is visible hz RSLogix Guard PLUS Hardware Management Project Edit Signals Online Windows Help EMPRUninebab s E al Configuration cl Bi 0 Resource ll Programming Terminal 03 08 2004 19 31 30 156 Info Set Logging to director C Program Files ASLogm Guard PLUS PROJELT sOnlineL ab L2P c3lagq for project C Program Files ASLogm Guard PLUSSPROJECT OnlineLab L2P 2 Right click 0 Resource and choose Properties 1 The programming terminal defaults to 1 Publication 1753 PM001A EN P November 2005 1 8 Connect to the GuardPLC Controller Publication 1753 PM001A EN P November 2005 3 Specify the controller type and enter an SRS of 60000 You must use the default SRS of 60000 the first time you connect to a GuardPLC controller jz RSLogix Guard PLUS Hardware Management Project Edit Signals Online Windows Help Fig OnlineLab ee 44 Configuration H i 0 Resource Li Programming Terminal 03 08 2004 19 31 28 584 Info oemsettings dll Version 4 0 26 RSLogix Guard PLUS 03 08 2004 19 31 30 156 Info Set Logging to directory C Program Files RSLogix Guard PLUS PROJECT OnlineLab L2P c3loq for project C Program Files RSLogix Guard PLUS PRO
98. required file is macom ha L2 bs v7 2 down ldb Publication 1753 PM001A EN P November 2005 Programming Software Versions Compatibility and Firmware Updates A 7 2 Browse to the folder that contains the new firmware and find the appropriate file The COM firmware file includes com in the filename and has a db file extension 3 Select the firmware file and click Open to start the upgrade process 4 After a COM update the Control Panel goes offline Click the Connect button in the upper left corner of the Control Panel to go online again If the firmware upgrade was successful the version table on the OS tab of the Control Panel indicates the new COM OS version number The log file at the bottom of the Hardware Management window also shows that the upgrade was successful 5 If you upgraded to version 7 2 as an interim step you can now follow steps 2 through 4 to upgrade to the desired version Reset Your SRS The firmware upgrade resets the SRS to its default so you must change your SRS back to its original value after completing the firmware upgrade 1 From the Control Panel menu choose Extra Change System ID 2 Enter the SRS and click OK to reset the SRS IMPORTANT After you upgrade your controller firmware you must upgrade to a corresponding version of RSLogix Guard PLUS software When you open existing projects created in previous versions of RSLogix Guard PLUS software the softw
99. ress Address PES using IP Address System ack Communication Settings IP Address 192 168 100 Factory Settings Subnet Mask 255 dg gs c Project Default Gateway System ack Set via MAC Set via IP Cancel Help 7 Close the Communication Settings dialog by clicking the Cancel button Publication 1753 PM001A EN P November 2005 Chapter 3 Create a GuardPLC Project In This Chapter This chapter guides you through the following basic steps required to create a project e Start a new project e Configure the project and hardware e Create signals e Connect signals to the I O points e Create a Function Block program using the signals e Save compile test and download the program to the GuardPLC controller e Monitor the project online Start a New Project To start a new GuardPLC project 1 Start RSLogix Guard PLUS software 2 Create a new project using the New icon or by choosing Project gt New 3 Enter FirstProject in the Object Name field as shown below and click OK anum EL C Program Files amp HiSLogis Guard PLUSSPROJECT sFirstPraject EH RS Logik Gua gc Access m API example 1 k Object name FirstProject Cancel Help The Hardware Management window opens This window is used to configure the project controller I O and signals IrUITUITIMUMUITTT NE ziBi xd Project Edit Signals Online Windows Help E Tz
100. rs Statistics P2P State Remote 1 0 HH State Environment data os ije Faulty 1 0 Modules 0 Fang dvabled Remaining Force Time s O 0 6 s Publication 1753 PM001A EN P November 2005 F iro Administrator E nline If the GuardPLC controller is in RUN mode change to STOP mode Left click the Stop icon on the Control Panel gt Control Panel GPLC1600_1 PADT Resource Communication SI Answer Yes to the warning prompt Create a GuardPLC Project 3 21 8 Left click on the Download icon gt Control Panel GPLC1600_1 FPADT Resource Communication PA y ew 9 Answer Yes to the warning prompt 10 Make sure the download was successful by checking the Status Field for a Resource Configuration successfully loaded message je RSLogix Guard PLUS Hardware Management Project Edit Signals Online Windows Help F FirstProject W Control Panel NewResource ni PADT Resource Communication Test Mode Extra Help i E 60000 Resource i a 1 i gDistibuted 1 0 gr wan i Sq Protocols Resource State Safety Parameters Statistics P2P State Remote 1 0 HH State Environment data 05 1 GE Typelnstance ROI GuardPLC 1900 A com MB CPU EF i CPU State STOP VALID CONFIGURATION He MI 24 8 FS COM State STOP VALID CONFIGURATION LI Programming Terminal FES
101. s Americas Rockwell Automation 6040 Ponders Court Greenville SC 29615 4617 USA Tel 1 864 297 4800 Fax 1 864 281 2433 Europe Rockwell Automation Br hlstraSe 22 D 74834 Elztal Dallau Germany Tel 49 6261 9410 Fax 49 6261 17741 Asia Pacific Rockwell Automation 55 Newton Road 11 01 02 Revenue House Singapore 307987 Tel 65 351 6723 Fax 65 355 1733 Publication 1753 PM001A EN P November 2005 Copyright 2005 Rockwell Automation Inc All rights reserved Printed in the U S A
102. s RSLogix Guard PLUS PROJECT FirstProject Configuration Resource Tys I Di xf Project Object Edit Window Tools Help me ajel PROJ Pou TYPE OLT Tyr He Be TEED ee ee Se I OLT TypeInstance Configuration Resource TypeInstance Ty VAR VAR INPUT VAR OUTPUT VAR GLOBAL Longname 4 Error state viewer Test gt 4 Page name Page no A O Pos 8 75 If the lines appear RED TRUE and BLUE FALSE then the monitor is active Test the routine and monitor the function code Publication 1753 PM001A EN P November 2005 Create a GuardPLC Project 3 23 3 Close the On Line Test when finished testing PROJ POU TYPE OLT 4 Click the PROJ tab to return to the project tree OLT BS ui Pou TYPE Eod zug us If the lines are RED BLACK striped then the Control Panel is NOT online with the GuardPLC controller or the controller is not in RUN mode See Chapter 2 for information on going online with the GuardPLC controller TIP For more information on downloading see Chapter 4 Publication 1753 PM001A EN P November 2005 3 24 Create a GuardPLC Project Publication 1753 PM001A EN P November 2005 Chapter 4 Check Download Start and Test a Routine Using This Chapter For information about See page checking consistency whether you need to download your routine 4 1 downloading a routine 4 2 starting a routin
103. s value following a restart caused by a power cycle or a STOP to RUN mode transition TNAM Even if a signal is marked as Retain specific program code is required to prevent it from being overwritten In addition the Retain feature requires a warmstart either by choosing Warmstart from the Resource menu of the Control Panel or by right clicking on the Type Instance of the Resource in the project tree and choosing Properties Then choose Warmstart from the Autostart Enable pull down menu RSLogix Guard PLUS Hardware Management Project Edit Signals Online Windows Help Fg Retain_Test ES PEE f Configuration Resource TypelInstance ERR 60000 Resource Uem a 59 Distributed 1 0 i i Sq Protocols Name Typelnstance Data Size fi 044 Typelnstance 0 GuardPLC 1600 Code Size 51 20 D COM o LB cpu Execution Time ms 10 Bet DI 20 Autostart Enable W armstart x OW OK Cancel Apply Help ow ME Programming Terminal The Constant column specifies that the value of the signal cannot be changed in program code It will always equal the value entered in the Init Value column The Init Value column specifies the initial value of the signal This value can be changed by program code if Constant is not checked Publication 1753 PM001A EN P November 2005 3 6 Create a GuardPLC Project Create Signals in the Signal Editor 1 To open the Signal Editor choo
104. sas 1200 and 2000 1200 and 2000 3 5 and above 3 5 and above 3 5 and above 3 3 1600 and 1800 om 3 5 and above 3 5 and above 1600 and 1800 6 12 and above Ve 1200 2000 1600 and 1800 1200 2000 1600 and 1800 1200 2000 1600 and 1800 1200 2000 1600 and 1800 4 4 1200 and 2000 6 12 and above 3 5 and above 4 4 3 5 and above Yes 3 5 and above Yes 2 3 5 and above 3 5 and above 3 5 and above 1200 2000 1600 and 1800 1200 2000 1600 and 1800 6 12 6 28 3 5 and above 1600 and 1800 EN 3 5 and above 1600 and 1800 omo 3 5 and above Yas N A N A 28 28 28 6 12 6 28 28 6 12 6 28 1 We recommend upgrading your CPU firmware to version 6 28 2 We recommend upgrading your distributed I O firmware to version 6 28 The following table shows the best choice combinations of GuardPLC controller and distributed I O firmware and RSLogix Guard PLUS software versions When other combinations are used you will not have access to certain functional upgrades Compatible No Yes Yes Yes lt es Yes Programming Software Versions Compatibility and Firmware Updates A 5 Convert Projects Consult the following table for information on converting existing projects from one software version or package to another Conversion Procedure From RSLogix Guard v 3 3 Use the project converter tool that ships with RSLogix Guard PLUS v 3 5 RSLogix Guard PLUS to
105. se Signals Editor from the Hardware Management menu bar 2 Create 3 new signals START STOP and MOTOR a Left click on New Signal in the Signal Editor Type START in the Name field and press the Enter key b Left click on New Signal again Type STOP in the Name field and press the Enter key c Left Click on New Signal again Type MOTOR in the Name field and press the Enter key jz RSLogix Guard PLUS Hardware Management Project Edit Signals Online Windows Help Pin FirstProject A Signal Editor al x z 4 Configuration New Signal Delete Signal Help i lB 60000 Resource i 29 Distributed 1 0 Type Retain Constant Description Init Value START poo soe qot J 3 worn X joo J Jj Jj S 10 GuardPLC 1800 BerziHsc2 Je 3 MI 24 8 FS1000 on flit Programming Terminal 03 08 2004 20 28 22 012 Info oemsettings dll Version 4 0 26 RSLogis Guard PLUS 03 08 2004 20 28 22 813 Info Set Logging to directory C Program Files ASLogix Guard PLUSSPROJECT FirstProject L2P c3log for project C Program Files ASLogix Guard PLUS SPROJECT FirstProject L2P Connect Signals to 0 Connect signals to I O by dragging the signals from the Signal Editor Terminals to the Input or Output tabs of the Connect Signals dialog Publication 1753 PM001A EN P November 20
106. se the USED signal has an initial value of 1 but no source drives its value Publication 1753 PM001A EN P November 2005 3 18 Create a GuardPLC Project Run an Off Line Simulation To test the code before downloading it to the GuardPLC controller run an off line simulation 1 Right click Resource and choose OFF Line Simulation The OLS tab appears RSLogix Guard PLUS Project Management C Program Files RSLogix Guard PLUS PROJECT FirstProject Project Object Edit Window Tools Help e Blois A E selel aace PROJ POU l TYPE OLS by Resource Stopped JF Twpelnstan Stopped dar Typelnstance Configuration Resource T ypelnstance T yp Error state viewer Text 3 8 2004 10 25 30 PM Information POST Compiler finished 3 8 2004 10 25 30 PM Information MCGOO4 Binary code generation finist 3 8 2004 10 25 30 PM Information MCGO18 Errors20 w amings 3 8 2004 10 25 30 PM Information MCGOOS Error free code generated fo w 4 gt gt Page name Page no Pos 2 Double left click I TypelInstance The following appears RSLogix Guard PLUS Project Management C Program Files RSLogix Guard PLUS PROJECT FirstProject Configuration Reson ys XI Project Object Edit Window Tools Help maala mim sie s alae PROJ POU OLS OLS Type Configuration Resource Typelnstance Type une he by Resource Stop
107. sink but the variable is set in the function block diagram Not used i The variable is declared but not set in the function block diagram Publication 1753 PM001A EN P November 2005 Create User Defined Function Blocks 8 9 Move Declared Variables tg In order to use these declared variables you must the User Defined Function 1 Drag them from the Variable Definition Editor to the Block P age user defined function block page RsLogix Guard PLUS Project Management C Program Files RSLogix Guard PLUS PROJECT CAT4Estop Configuration CFBlocks NewrB Project Object Edit Window Tools Help amel al e sae GIANG amp PROJ POU TYPE T NewFB 23 changes CAT4Estop A Configuration Wire eroe rS eeGE S e heels oe ER ESSERE ITE W CFBlocks 000 0 1 1 Beo ot MI III MM IIIS RA a E os mo moe E E e a TES ENPEN_1_00 7 D det ENPEN AR 1 0 toouuusS a eA EF ENPEN PT 1 00 Beco gati duN ra incliti ae es OES det ESTP 1 00 der ESTPAR 100 QU ELLE Sc det ESTPPTAR 100 15d 0 em e doe RR c HM FunctionBlock Push Button 3 Pilo dt FPMS 1 00 i Push Button Z det THRS 0 02 4B THRS AP 0 02 dep NewFB Bi Resource dar Typelnstance StandardLibs Y DataType Q 1EC61131 3 Y IECE1131 3 Ext 3i p Sg VAR VARINPUT VAR DUTPUT vaR EXTERNAL ACT
108. source GuardPLc 1300 C0OM El x 4l Configuration b 60000 Resource Copel EJ Distributed 1 0 IP Address i Ea Protocols Subnet Mask i FF Typelnstance 0 GuardPLe 1800 Default Gateway B COM IP Device B CPL ripae DK Cancel Apply Help nA HSC 2 8 Enter the IP address of your GuardPLC controller Neither the Subnet Mask nor the Default Gateway should require changes The GuardPLC controller s default IP address is l 192 168 0 99 9 Click OK Create Signals Because the example in this chapter uses the GuardPLC 1800 controller there are predefined I O listed under the controller in the project tree The 1200 1600 1800 are fixed controllers with pre configured I O If you use a GuardPLC 2000 controller the I O must be configured since it is a modular controller Publication 1753 PM001A EN P November 2005 Create a GuardPLC Project 3 5 Understand the Signal Editor The Signal Editor lets you define the signals for your application E sional eito TST Mew Signal Delete Signal Help ie Reta est esto ete The Name column contains a unique name for the signal The Name is required and must be less than 32 characters in length The Type column indicates the desired data type for the signal The default is Boolean Signals are typically stored in RAM memory However a checkmark in the Retain column specifies that the signal be stored in Flash memory thus retaining it
109. stance force electrical resistance pressure plane angle electrical conductance time solid angle magnetic flux density electrical potential power magnetic flux For input and output variables you need to define the variables positions on the function block The position portion of the variable declaration display is only available for input and output variables You can define the side of the block left top right or bottom to which the input or output should be connected the position of the input or output within the block whether to invert I O of data type BOOL You can only invert BOOL data Inversions are indicated by a circle around the I O an O name This name appears in the block rather than the generated name Publication 1753 PM001A EN P November 2005 8 8 Create User Defined Function Blocks How the Variables Display Once you declare your variable the editor displays the variables VAR VAR INPUT VAR OUTPUT VAR EXTERNAL ACTION Initial value At bute 4 Var BOOL TRUE Long text Far Variable 4 Long text Far Variable 5 The editor uses these symbols to identify the variables Symbol Definition Used as source Lm The variable is read from Used as sink TL The variable is written to Used as source and sink TL The variable is read from and written to Variables used in different types of connections are also identified by this symbol Not used as source or
110. stems User Manual publication 1753 UMO001 and assembled in this programming manual In addition new and updated information has been provided as described in the table below For Information About See The hardware installation wiring and communications the GuardPLC Controller information for GuardPLC controllers and distributed 1 0 oystems User Manual modules publication 1753 UM001 The purpose of this manual page P 1 Related publications pages P 1 and P 2 What to do if communication to a new controller fails page 1 22 Connecting to GuardPLC distributed I O modules Chapter 2 Understanding the Signal Editor page 3 5 Connecting distributed O module signals page 3 10 Connecting analog signals page 3 10 Connecting high speed counter signals page 3 11 Recovering from a FAILURE STOP page 4 2 Archiving and restoring projects Chapter 7 Valid data types for variables page 8 4 Programming software versions compatibility and firmware Appendix A upgrades Converting projects developed in different software versions page A 5 Creating time based variables Appendix C Publication 1753 PM001A EN P November 2005 IV summary of Changes Publication 1753 PM001A EN P November 2005 Connect to the GuardPLC Controller Connect to GuardPLC Distributed 1 0 Modules Table of Contents Preface Who Should Use This Manual selle P 1 P rpose or this Manual a exeo etim x eri Em SEXES HER S P 1 Related Documentati
111. t Project Edit Signals Online Windows Help Ta OPCtest Fj Signal Connections Configuration zl Er 4 Configuration Help tm UJ OFC Server 1 Inputs Outputs c A 60000 G160PC01 i 71 Distributed 1 0 EE S Se E op Protocols Ena cod ORD a oo Boo LOEKDPC OPC Server 1 Dilji EmorCode BYTE iE Typelnstance DOT Value BOOL EO GuardPLC 1600 4 bil02 EnorCode BYTE com 5 biDzivaue BOOL f cru DlDSIEmorCode BYTE Beno 20 olde poOL E MEE 8 DlD4 EmorCode BYTE H Bl Programming Terminal 3 DlVvaue BOOL 5 FE nieto 1 0 DuELEnerCode vr i EAs 9 Close the DI1 Signal Connections window 10 Right click 2 DO 8 and choose Connect Signals 11 Choose the Outputs tab Publication 1753 PM001A EN P November 2005 B 6 Configure the GuardPLC OPC Server 12 Drag DOI from the Signal Editor to the DO 01 Value signal field I RSLogix Guard PLUS Hardware Management Project Edit Signals Online Windows Help Ta OPCtest E 4 Configuration p D OPC Server 1 E e es Type Retain Consta Descipton int ave E BR 60000 G160PC01 2 gi 5 Distributed 1 0 a pi joo J E Protocols a oo foo iE PE OPC Server_1 2 Dofzjvaue BODL GE Typelnstance a DOfo3lValue BOOL ESO GuardPLC 1600 js pof4jvaue Boo fj com 5 00 05 Value BOOL
112. ted States 1 440 646 3223 Monday Friday 8am 5pm EST Outside United Please contact your local Rockwell Automation representative for any States technical support issues New Product Satisfaction Return Rockwell tests all of our products to ensure that they are fully operational when shipped from the manufacturing facility However if your product is not functioning and needs to be returned United States Contact your distributor You must provide a Customer Support case number see phone number above to obtain one to your distributor in order to complete the return process Outside United Please contact your local Rockwell Automation representative for States return procedure www rockwellautomation com Corporate Headquarters Rockwell Automation 777 East Wisconsin Avenue Suite 1400 Milwaukee WI 53202 5302 USA Tel 1 414 212 5200 Fax 1 414 212 5201 Headquarters for Allen Bradley Products Rockwell Software Products and Global Manufacturing Solutions Americas Rockwell Automation 1201 South Second Street Milwaukee WI 53204 2496 USA Tel 1 414 382 2000 Fax 1 414 382 4444 Europe Rockwell Automation SA NV Vorstlaan Boulevard du Souverain 36 BP 3A B 1170 Brussels Belgium Tel 32 2 663 0600 Fax 32 2 663 0640 Asia Pacific Rockwell Automation 27 F Citicorp Centre 18 Whitfield Road Causeway Bay Hong Kong Tel 852 2887 4788 Fax 852 2508 1846 Headquarters for Dodge and Reliance Electric Product
113. ttings via MAC Address on page 1 10 TIP To re establish communications with the new IP address and subnet of your GuardPLC controller you may need to change the IP and subnet address of your programming terminal Use the Network section of the Windows Control Panel to change the programming terminal s IP address and subnet mask Publication 1753 PM001A EN P November 2005 1 24 Connect to the GuardPLC Controller Publication 1753 PM001A EN P November 2005 Chapter 2 Connect to GuardPLC Distributed 1 0 Modules In This Chapter For this information See page Understand Module Addressing 2 1 Add the Module to the Hardware Configuration 2 2 Configure the Module 2 3 Go Online With the Module 2 5 This chapter guides you through the process of addressing configuring and connecting to the distributed I O modules GuardPLC distributed I O modules are owned by a GuardPLC controller This allows the parent controller to connect signals to the inputs and outputs of the distributed I O modules the same way that signals are connected to the controller s local I O Understand Module Module Default Settings Addressing The out of box settings for a GuardPLC distributed I O module are shown in the table below Parameter Setting IP Address 192 168 0 99 subnet Mask 255 255 252 0 ens 60000 1 1 The SRS code is compiled with the program SRS System Rack Slot The SRS of the parent controller is always xxxxx 0 For exa
114. u automatically get Read access regardless of the access type you select For new controllers and if the backup battery was removed from a GuardPLC 1200 or 2000 controller access is available using the following system defaults Username Administrator Password lt blank gt Access Type Administrator Publication 1753 PM001A EN P November 2005 Connect to the GuardPLC Controller 1 21 Determine the IP Address The default IP address of a new controller is 192 168 0 99 The default and SRS of the Controller SRS of a new controller is 60000 To check the current IP address and SRS of a controller 1 Choose Online gt Communication Settings Project Edit Signals Online Windows Help TB examplet Control Panel El ad Configuratic Force Editor e 2 Res Diagnostics Access Management Communication Settings Multi Control Panel 2 In the MAC address field enter the MAC address of the controller The MAC address is on the sticker on the side of a GuardPLC 1200 controller on the label positioned over both lower RJ 45 connections on GuardPLC 1600 1800 controllers and I O or on the front bezel of the AB CPU module of a GuardPLC 2000 controller zigix Address PES using MAC Address 00 el al Get r Address PES using IP Address 0 0 D n System Rack D D Get Communication Settings IP Address 192 168 0 88 Factory Settings Subnet Mask
115. uard PLUS Hardware Management Project Edit Signals Online Windows Help c Fg 1B 20x088 ee A Configuration E BE 60000 Resource r Address PES using 3 Distributed 1 0 MAC Address 00 e0 al 00 26 51 Get o l GuardPLC 20 8DC In Dut 1 i A com mAddress PES using B cu IP Address 192 168 d 39 Den DI 20 a f 2 D0 8 System Rack e0000 1 Get P Protocols aF Typelnstance i amp Mil GuardPLC 1600 m Communication Settings Bi icis laica IP Address 192 168 0 39 Factory Settings E s HH Network 1 Subnet Mask 255 255 252 Q0 gt Project Default Gateway Dus gs System Rack 60000 Hl Set via MAC Set via IP Cancel Help Publication 1753 PM001A EN P November 2005 2 6 Connect to GuardPLC Distributed 1 0 Modules 4 To change the IP address and SRS settings enter the new data into the Communication Settings fields Communication Settings IP Address 192 168 Factory Settings Subnet Mask 255 255 252 U gt Project Default Gateway 60000 1 System Aack Set via MAC Set via IP Cancel Help 5 Click the Set via MAC button 6 Enter Administrator in the User Name field and click OK ji Authentication E X User name Administrator Password The new IP address and SRS settings are shown in the Address PES using fields Address PES using MAC Add
116. ues of the signals you selected jz RSLogix Guard PLUS Hardware Management Project Edit Signals Online Windows Help Fg CATE stop l a4 Configuration Ej Force Editor Resource RI x Bix 60000 Resource Ele View Options Help 3 Distributed 1 0 m 1 GuardPLC 16pt Start Stop Takeover Configure l Send Export Import Append Protocols Resource Roue 0000 gF Typelnstance 2 Milo GuardPLC 1800 Forcing activated Force Time 0 sec A cou B CPU IV Forcing allowed Remaining Force Time 0 sec Bros BerHsc2 IV Stop on Timeout er MI 24 8 F51000 Programming Terminal Signals I 0 Channels ES HH Network_1 Force F Type Rae RFore RF SR Token Group EStop ch FALSE Boot TRUE FaLsej 2 tw cha Fast Boo Rue FASE _ 3 FmtRes Fase joo Fase Fase 1 mfan Fast Boo Ast Fase s temp Tet Fast joo raise Fase Control Panel pResousg 1 j Pis 03 21 2004 11 09 55 446 Info Resource All files successfully flashed to resource 03 21 2004 11 09 56 247 Info Resource Resource Configuration successfully loaded 03 21 2004 11 10 02 406 Info Resource Resource successfully started 03 21 2004 11 11 13 418 Error Resource Timeout monitoring force value 03 21 2004 11 11 13 468
117. unction Block Type to create the new function block 3 You can rename the new function block by right clicking it and choosing Rename P R5Logix Guard PLUS Project Management Cz Program FilessRSLagix Guar Project Object Edit Window Tools Help example El a4 Configuration El BE GPLC2000_1 kie Ea Typelnstance fl Bk GPLC 1200 1 lB GPLE 1200 2 Flos StandardLi Pen H DataT aren 3 object Ctr H Q IECET M Gl W IECET v Show as Folder Data Tvpe Rescan F5 Program Type Match Data Function Block Type Function Print Table of Contents Library Struct Folder Variable I E ariable Impor irs Publication 1753 PM001A EN P November 2005 RSLogix Guard PLUS Project Management C Program Files RSLogix Guard PLUS PROJECT example1 Configuration NewLib samplet Project Object Edit Window Tools Help example J 44 Configuration BE GPLC2000 1 dii Typelnstance a GPLC 1200 1 JA GPLC 1200 2 Q NewLib 0 StandardLibs q DataType Y IECB1131 3 N 1EC61131 3_ Ext E m m a VAR Create User Defined Function Blocks 8 3 4 Double click the new function block to start the editor LBL x Interface Declaration Editor Functiorib VAR INPUT VAR OUTPUT V R EXTERNAL ACTION Use this component Overview Window Drawing field Variable declaration editor only in FB type editor Interface declaration editor onl
118. ut ms o Resend Time ms Bo 0 4 OK Cancel Apply Help Properties ab Make sure the host SRS of the programming terminal is not identical to the system ID SRS of any other controllers or programming terminals In a network as many as five programming terminals can connect to the same controller at the same time However only one programming terminal can have read write access If another controller logs in with read access that additional user can query controller states and parameters RUN STOP controller switches etc with the Control Panel The additional user can also display data values if the programming terminal has the same configuration as the controller If there are multiple programming terminals in one network each programming terminal must have a unique host SRS Publication 1753 PM001A EN P November 2005 1 20 Connect to the GuardPLC Controller Login Dialog Field IP address SRS Username default Administrator Password default lt blank gt Access Type The Login dialog defines the communication parameters between the controller and the programming terminal Description The IP address of the controller on the Ethernet network The factory set IP address is 192 168 0 99 SRS stands for System Rack Slot The rack and slot IDs are already preset by the controller so you only need to enter the system ID You can enter any number from 1 to 65
119. ut See page monitoring signals 5 forcing 5 3 enabling forces 5 4 Starting the force editor 5 4 force time 5 6 specifying force values and force marks 5 5 starting forces 5 6 stopping forces 5 Monitor Sign als The Force Editor provides a window that lets you choose signals to monitor whether they are forced or not 1 Right click the Resource and choose Online gt Force Editor If the Control Panel is already open you do not have to login Otherwise the software asks you to log in I RSLogix Guard PLUS Hardware Management Project Edit Signals Online Windows Help TS CATAE stop E 4 Configuration c BE 2 F Peer to Peer Editor H Bi 3 R Control Panel m Programn Mew Force Editor Ei Fg HH Netw Copy Diagnostics tt Toke Paste Access Management Delete Communication Settings Print Multi Control Panel About configuration Properties Publication 1753 PM001A EN P November 2005 5 2 Monitor and Force Signals 2 After you successfully log in the software displays the Force Editor jz RSLogix Guard PLUS Hardware Management Project Edit Signals Online Windows Help Eg CATE stop 44 Configuration Ej Force Editor Resource C i 60000 Resource TEUER i 9 Distributed 1 0 rs 1 GuardPLC 16pt Start Stop Takeover Configure Send Export Import Append Resource Resource Forcing activated Force Time F Typelnstance B10 Guar
120. uts just as if they were I O points on a controller 1 Expand the distributed I O module in the Hardware Management project tree and right click on DI for inputs or DO for outputs 2 Choose the proper tab Inputs or Outputs on the Signal Connections dialog jzRSLogix Guard PLUS Hardware Management E loj xi Project Edit Signals Online Windows Help E Tg 820 088 Signal Connections Configuration 600 Oj x K Signal Connections El Configuration Help Help i Be E0000 Resource inna 0 i x nputs utputs Inputs Outputs E E3 Distributed 1 0 mmm r ams Type Signa i Eleqgig 1 GuardPLC 20_8 DC In IN p rum ae Lo ae opa pon H ES HH Network_1 B cou 1 LB cru 2 oofoaveue pool erro 20 bmnvae po 5 pop3vaw BoL nos 4 DiozEmeCode evre Tg popavae Bon 3 Protocols 5 buzvae poo s popsvae Bon Bl Typelnstance je DUOR EnorCode BYTE If s ponsa loon ea NNNM z ponvaepon i i Programming Terminal 8 DIO4Enor Code BYTE s popsjvaw Bo a B B SS 10 DilEmwCo vr bmeivae pon Hz Diele vr Hs pmevae ox a DilEmwCee favre hs oova ox ris DitejenorCode favre x revue ox fie DielEmCoe vr 1s omava pon ss moira ms m pu DI 04 Value 3 Dra
121. variable which is also displayed on the block a global variable that can also be used and edited within function blocks or functions Value changes are also visible to the outside an action block Action blocks describe what action should be performed and which behavior should trigger it Valid data types for variables are BOOL BYTE DINT DWORD INT LREAL REAL SINT TIME UDINT UINT USINT WORD The default type is BOOL The controller handles REAL values as float values and LREAL values as double values To declare a variable choose the tab for the type of variable from the user defined FBD editor Right click in any blank area and choose New Variable Yariable Declaration samplel 3 E 1 xj VAR M ame Declaration Initial value Long name Physical address Declaration direct input Pasitian Declaration dialog driven Marl Derivation types Direct Subrange Array Enumeration Techn unit scaling Techn unit F a F Inverted min value mas value internally represented az Attributes Comment BYRER CONST RETAIN Update Delete Undo Close Help Create User Defined Function Blocks 8 5 You can either define the variable here or use the Derivation Type buttons recommended The Derivation Type buttons activate dialogs to help declare a variable of the chosen type Use these buttons to ensure accurate syntax
122. w eo Bex er ff Ff 16 EeefAusAMeeSewe Ban o Mem NL _ v soo _ 7 Cometteiiecton pon C Come NE LY LL 1a ountedO2iGray Code Bon 7 I tS v fp hs tamemanee O te poe lior a toners Jn m temers n 2 tomers nn 23 Couret00 Time Overiow oo 24 Couret02 Time Sane DT 2 Cometae vatn pon 1 A These signals can now be used in your application program logic The following example creates code to start and stop a motor using the two input signals we created earlier Create a Function Block Program For more information on Function Block programming consult the online Help and Chapter 8 Create User Defined Function Blocks TIP Publication 1753 PM001A EN P November 2005 3 14 X Create a GuardPLC Project Publication 1753 PM001A EN P November 2005 E m B4 HH 1 Close the Signal Connections window Leave the Signal Editor active and restore the Project Management window 2 If necessary expand the project tree in Project Management until I TypeInstance is visible and double left click I TypeInstance to open the Function Block Editor program page RsLogix Guard PLUS Project Management C Program Files RSLogix Guard PLUS PROJECT FirstProject Configuration Resource Pi 4 Project Object Edit Window Tools Help FirstProject El 4
123. when you generate code Check the SRS of the Controller 1 Choose Online gt Communication Settings jz RSLogix Guard PLUS Hardware Management zax Project Edit Signals Online Windows Help Address PES using MAC Add 0 e0 al Get H Ta example Control Panel ee Fl al Configuratic Force Editor Address PES using ZEE IP Address 0 0 0 0 LH b 2 Res Diagnostics i J Diz System Rack 0 0 Get a 4ccess Management Pee iu Pre E i Communication Settings ag pU Communication Settings Tul C ication Setti a o Multi Control Panel IP Address 182 168 0 99 Factory Settings Subnet Mask 255 255 252 0 gt Project Default Gateway 0 0 D D System Rack 2 D Set via MAC Set via IP Cancel Help In the MAC address field controller enter the MAC address of the The MAC address is on the sticker on the side of a GuardPLC 1200 controller on the label positioned over both lower RJ 45 connections on GuardPLC 1600 1800 controllers and I O or on the front bezel of the AB CPU module of a GuardPLC 2000 controller Click Get The controller responds back with the IP address and the SRS it is currently using Now you know the correct SRS to use Change the SRS and generate code again Then the download should work Update the SRS in the Controller In some cases most likely after a reboot due to a FAILUR
124. will become active when forcing is active Double click in this column to mark that you want the controller to use this force value rather than the controllers process value Displays the type of the signal as defined in the signal Editor Displays the controller value resulting from the current process and program logic Displays the value of the signal while forcing is active A check in this field identifies that the controller is using the force value rather than the process value as soon as forcing is active The force time is monitored by the controller To enter the force time in seconds the controller must be in RUN or STOP mode with Forcing allowed set For unlimited forcing activity enter 1 The force time begins when the force process starts The time is reset to 0 if a new configuration is loaded or if the operating voltage is disconnected After the specified time forcing activity ends If the controller switch Stop on Force Timeout is enabled the routine returns to STOP mode when forcing ends If Stop on Force Timeout is disabled the routine continues with the current process values once forcing ends To start forces 1 Choose the Start tab or choose File gt Start 2 Enter the Force Time in the Start forcing dialog box and click Start Fj Start forcing Force Time Start Publication 1753 PM001A EN P November 2005 Monitor and Force Signals 5 7 3 The Force Editor opens jz
125. window 2 Right click the project name in the project tree and choose Archive Project Object Edit Window Tools Help mE Bins AJ al PROJ Pou TYPE quickstart E A Configuration Resource F Typelnstance BE NewResource ACebdn 1 Miet ee oe N DataTupe BM Ae Oe Mars E ee RE N Pe ERAS ASTRID P EAS is 2 W IEC61 31 3 Mal No Rete ek CE AVE quur EUW cte UR I RETE Bistabe BE Acc c E E AND 1E NOT F OR T ROL ROR bn Targetfie Browse MM ORE rn CE ay es OO ea Jef SHR a ac E OU eee F xOR Descriptor arr Eo Pee Ree A D E E NN eee eo 2 OP E eee NN Nd Cempare Y Cenvert h ani Cancel Help z SW Numeric 15 52 PM ntormation Yo vendor function blocks used q Select 2 15 52 PM Irifunialiuri POST Cunmpiler finished N Sting 2 15 52 PM Information MCGO04 Binary code generation finished for Resource NI Tine 2 15 52 PM Information MCG T8 Errors 0 W arnings 0 N Tiner 2 15 52 PM Information MCGOOS Error free code 3enerated for C Program Files RSLogix Guard PLUSSPROJECT Squick 4 IECB1 31 3 Ext Ei RobotEnable Phos ok 1 Save Version Archive i E A Fl E R9 E 3 Click the Browse button and choose the folder into which you want to place the archived project 4 Enter the name o
126. witch are enabled The routine is transferred into the RUN RUN mode if it has not already been operating in this mode otarting is also possible in cold start hot start and no freeze modes IMPORTANT This function is not allowed for safety operations of the controller The routine must be in the RUN FREEZE mode Exactly one RUN cycle of the routine is executed and the routine is then put back into the RUN FREEZE mode The command for the single cycle is the start command with the attributes hot start and freeze This does not have any effect on the mode of the controller Single cycle is only performed by the controller for the routine if freeze mode is enabled IMPORTANT This function is not allowed for safety operations of the controller If the routine is in the FAILURE STOP mode it can be restarted via the programming software using a start command After the restart the entire routine is checked again otopping the routine is the same as transferring the controller from RUN mode into STOP mode The routine is then transferred from RUN into the STOP mode The routine is transferred from the RUN RUN mode into the RUN FREEZE mode This does not affect the mode of the controller Freeze mode must be enabled for the routine IMPORTANT This function is not allowed for safety operations of the controller Publication 1753 UMO001B EN P November 2005 Chapter 5 Monitor and Force Signals In This Chapter For information abo
127. y in FB type editor Variable Declaration Editor The FBD editor for user defined function blocks differs slightly from the FBD editor for routines The components of the editor are To displays the function block diagram in reduced scale create the logic of the FB type create and define internal variables of a block and initialize them for further use define the graphical appearance of a block The appearance of the block will match the appearance of the user defined function block in the FBD Editor You cannot place an instance of a user defined function block within itself IMPORTANT Publication 1753 PM001A EN P November 2005 8 4 Create User Defined Function Blocks Declare variables ee Sore ninini Find Replece monins Find EEEIEI Be SEES Unde Fiter SEE SESS Export SEES Sci Import fe o naanonanascas Export to Text File eir qe ri cile View k 2277 m Hd lad Collapse All VAR Match Variables OUTPUT V Help Publication 1753 PM001A EN P November 2005 Variable declaration defines the connecting points of the function block There are tabs for these types of variables Use this tab VAR VAR INPUT VAR OUTPUT VAR EXTERNAL ACTION To define an internal variable without type limitations You can also define the attribute CONST aconstant value that cannot be changed by logic an input variable which is also displayed on the block an output
Download Pdf Manuals
Related Search
Related Contents
Philips sensiflex HX2225 User's Manual Manual del usuario Instrukcje obsługi G13VA Herunterladen Smeg A2C-6 cooker PDF, 3,6 MB User Manual Milo Milo Plus BTE Kit miglioria, viva voce Bluetooth Copyright © All rights reserved.
Failed to retrieve file