Home

MVI46-MCM Training - ProSoft Technology

image

Contents

1. e S drivej on ntserver4 1 nr d MVI46 MNET DriveK on termsrv1 K E S DriveL on termsrv1 L 5 marketing on termsrv1 M Page 6 of 33 Version A 05 10 You should now see the file titled MVI46MCM RSS which is our sample ladder logic file we will use for this lab We need to save this file to the hard drive for quick access Click once on the file to select it and we are now ready to copy it With the file MVI46MCM RSS highlighted right click on it and select the Copy function The file has now been temporarily copied to our clipboard area location B D inRAx LadderLo gicsL CM VIAGuMVI46 File Edit View Favorites Tools Help Back amp J d Search Brats Folders Folders Files Currently on the CD PLC E 29 SLC i 3150 E i 3250 MVH6MCM RS5S i 3350 E MVI46 3 MVI46 3964r MVI46 101M c MvIM6 1015 MVI46 103M 2 MVE6 1045 MVI46 AFC MVI46 BDV MVI46 DFCM 3 MVI46 DFNT MVI46 MVI46 DNPSNET MVI46 MVH6 GSC MVI46 HART MVE6 LNG 3 MVI46 3 MVI46 MVI46_MNET MvHM6 N2 Ej Manuals c Utilities In the left side Tree pane scroll up until you see the local disk C folder then navigate to the folder path C Program Files Rockwell Software RSLogix 500 English Project Click once on the yellow folder Project in the Tree pane on the left side Page of 33 Version
2. with Rockwell Software RSLinx and RSLogix500 installed PC must have a CD ROM drive and an available DB9M RS 232 port or an USB to RS232 adapter NOTE Some USB to RS232 adapters do not function reliably with RSLinx depending on PC hardware and adapter type Different PCs or adapters may have to be tried to find a working combination The optimum situation is to use a PC with a working native DB9M RS 232 port e Two DB9F DB9F null modem cables one is provided with the ProSoft Module An Allen Bradley CP3 programming cable may be substituted for one of the null modem cables If a female to female cable is not available any null modem cable with gender changing adapters may be used If your PC has an older style 25 pin DB25 serial port you may use any null modem cable with any necessary gender changing adapters or 25 to 9 pin adapters as required Just be sure the basic cable is a null modem cable sometimes called a crossover cable e Two of the DB9M RJ45 pigtail connectors provided with the ProSoft module e ProSoft Solutions CD provided with the ProSoft module Page 2 of 33 Version A 05 EXERCISE OVERVIEW detailed step by step instructions to follow nmmogogmre Boot PC and install ProSoft Software Install ProSoft InRAx Modbus MVI module in A B rack Configure RSLinx to talk to SLC Using RSLogix500 software to Modify the Sample Project Downloading and Testing the Modified Sample Project Using ModScan to simulate
3. 3 E Rack Mat Installed Current Cards Available Filter l IL Pati Description J Any Discrete Input Module Any T5pt Discrete Input Module Any 32pt Discrete Input Module Any opt Discrete Output Module Any T5pt Discrete Output Module Any Discrete Output Module Seres 1500 Resolver Module OTHER Module ID Code 12835 AMCI Seres 1567 Resolver Module BASIC Module 500 5 01 BASIC Module MOM capable BASIC Module 500 5 01 BASIC Module MO M1 capable Backup Scanner Module Barrel Temperature Module 17 47 DLM 1 41 Made Adapter Module 1 4 Rack 1r47 DLM 1 2 Adapter Module 1 2 Rack 1747 DCM 3 4 Made Adapter Module 3 4 Rack DCM FULLN ode Adapter Module Full Rack 1747 D5N Distributed 1 0 Scanner 120 Block 1r4 DS5M 30 Distributed O Scanners 10 Black 1746 FI0 4l Fast Analog 2 Ch Ch Current Adv Config Help Hide All Cards Click on OTHER in Slot 1 as shown then click the Adv Config button Advanced 1 0 Configuration X Slot 1 OTHER 10 Module ID Code 12835 Cancel aximum Input wards 2 Maximum Output words 2 Help Scanned Input wards Scanned Output wards Interrupt Service Routine SA H MO Length M1 Length Configure Edit G Data 3 File Length Make sure the values are as shown If they are not set them to these values Oth
4. ID ce ce oO A A A A A oO co on A A A A A A A A A A A A A oO A cd D aAa A A A A A A A A A A A A A A A A D aAa A A A A A A A A A A A A A A A d co a A A A A A A A A A A A A A A A DT Aa A A A A A A A A A A A A A oO A A D aAa A A A A A A A A A A A A A oO A A co a A A A A A A A A A A A A A c A c D aAa A A A A A A A A A A A A A A A A D aAa A A A A A A A A A A A A A A A A 0 0 0 0 0 0 0 0 H H3211 P adis Decimal Columns 10 This will give us some beginning data values for the Modbus command we just created Click on the Exit icon LXI it the upper right corner to close this window and return 10 In the left pane Project Tree area under the Data Files folder double click on the N31 READ DATA icon Set the values in this file zero This way we will know that since we have zeroed out the READ DATA file any values that appear there are the result of our ladder logic execution Click on the Exit icon I in the upper right corner to close this window and return Page 21 of 33 Version A 05 11 We are now ready to save our new project before downloading In the main window click on File then Save As to get the Save As dialog box In the File Name box type 46Test1 as shown and click the Save button Save Program As E x Path Save In E MPZ tj MyI46MC M RSS File name Save save as type FsLagis Files R55 Cancel Help Exp
5. 0 2 Open RSLinx Click on the Communications drop down menu Click on the Configure Drivers option If you re running a newer version of RSLinx you ll see a dialog box like this one Configure Drivers E Available Driver Types Close Add Hew Help Configured Drivers and Description Configure Startup Start Stop Delete If you already have a 5 232 DF 1 driver configured skip to the Auto Configure instructions in Step 5 Page 11 of 33 Version A 05 3 Click the down arrow in the Available Driver Types option box and click on RS 232 DF 1 devices as shown and click the Add New button Configure Drivers Available Driver Types Close Add Hew 5 232 DF devices Help Ethernet devices A EthemnetvlP Driver 1784 ET ETR D PET DAPCME for OH 0H 485 devices 1784 K TCE for CantrolM et devices Status DF1 Polling Master Driver 1784 FLLE far LontralMet devices 1784 PLCIC 5 for Control et devices 1747 PIC AIC Driver DF1 Slave Driver 5 5 SD 5D2 for DH devices Virtual Backplane SoftLagis Bax DeviceNet Drivers 1784 PLD PEIDS 1 770 KFD SDMNPT drivers PLC 5 Emulator driver SLC 500 DH 485 Emulatar driver SoftLogis5 driver Remote Devices via Link Gatewa Configure Startup Start Stop Delete B 4 You will now be prompted to name your driver For most cases the default name will be ac
6. Command Error Pointer Response Timeout Retry Count symbol MELE START Coumnz 1 v Error Delay Count Reserved Desc Guard Band n Guard Band Timeout Usage Help This configuration data will set module Port1 to be Modbus Master and Port2 to be a Modbus Slave Both ports will be set for Modbus RTU mode 57 600 baud no parity 8 data bits 1 stop bit Hardware handshaking will be disabled RTS CTS not used We will be able to use up to 5 Modbus Commands and any Modbus Command Errors will be sent to module memory beginning at register address 300 which will then appear in SLC data table N31 beginning at N31 100 With this configuration we can use the second null modem cable and two DB9M to RJ45 pigtails to connect the two ports together send and get data from the module with our sample ladder Click on the Exit icon LXI in the upper right corner of the Data File N10 dec dialog to close it and return to the main window Version A 05 Page 19 of 33 7 We will now configure our Modbus commands for In the left pane Project Tree area under the Data Files folder double click on the N11 P1 CMDS icon Set the values in this file to match the ones shown below MCM Ports 1 amp 2 Cmds Port 1 Port 2 N11 0 N12 0 Enable N11 1 N12 1 Internal Address N11 2 N12 2 Poll Interval Time N11 3 N12 3 Count N11 4 N12 4 Swap Code N11 5 N12 5 Node Add
7. inRAx QDR D inRAx Folders e Files Currently on the CD Desktop amp LJ My Documents LJ E My Computer E Sa Local Disk C lt Mar 08 2005 D image omm LadderLogic E Manuals amp 5 Utilities utilities c utilities Removable Disk E Ss IOMEGA HDD F 5 rgolson on termsrv1 H E S drivej on ntserver4 3 x S DriveK on termsrv1 K E 3X Drivel on termsrv1 L E marketing on termsrv1 M E 3X merant on appsrvi P E S public on termsrv1 Q E 3 working on termsrvi R E 5 visapps on appsrv1 V E Control Panel Mobile Device Fy a My Network Places Recycle Bin LadderLogic Manuals Page 4 of 33 Version A 05 8 Double click on the yellow Ladder Logic folder in the right pane to view the PLC platform selection choices Now double click on the yellow SLC folder to open the SLC 500 platform folder Continue by double clicking on the yellow MVI46 folder Br D inRAx Ladd erLopic Slc File Edit View Favorites Tools Help Back d Search Es Folders Folders Folders Files Currently on the CD Desktop ae My Documents Computer Se Local Disk C 3 lt Mar 08 2005 D image inRAx LadderLogic E CompactLagix ControlLagix 9 2 Flex IO 2 PLC sont E 3150 3250 E 3350 ES MVIA6 Manuals ES Utilities ES utilities Re
8. mn A A A A A A A D OF A A A A A A 4 0 0 0 0 60 0 0 0 0 0 oO om A A A A A A A E N32 adis Decimal Columns 10 Desc First word of write data to MVI46 MCM module N32 Properties Usage Help Yep Our test data is still there just the way we left it Now for the moment of truth does our N31 READ DATA table look the same Page 28 of 33 Version A 05 6 Double click on N31 READ DATA and let s see If your tables overlap each other you can click and hold on the blue Title Bar of either one drag it to a different position in the window and release Ready GO Naz z 0 j 0 0 j 0 0 0 j Naz 30 0 i 0 0 0 Naz 0 0 0 0 0 0 0 0 0 0 Naz 50 0 0 0 0 i 1 Naz 0 0 0 0 0 0 0 0 0 0 N32 7U0 j 0 0 j 0 0 0 j MN32 8 0 0 i 0 0 90 0 0 0 0 0 0 0 0 0 0 N32 100 0 i i 1 0 _ EN AB Radix Decima 0 10 Desc N32 E Properties Usage Help Data File N31 dec READ DATA M I46 MCM read data transferred from module a E N31 0 E 2 3 4 z 5 7 5 3 10 E N31 10 100 200 X 300 400 500 700 800 900 1000 0 0 0 0 0 0 D 0 0 N31 30 0 0 0 0 0 D 0 D 0 0 131 0 0 0 0 0 0 0 0 o 0 131 50 0 0 0 0 0 0 0 0 Y 0 N31 60 0 0 0 0 0 Y 0 0 o 0 31 70 0 Y 0 0 0 0 0 D o 0 N31 80 0 0 0 0 n 0 0 D 0 N31 90 0 0 0 0 0 0 0 0 o 0 N31 100 0 44 44 44 44 0 0 D 0 oa EM m adis Decima Sym
9. the Modbus Master EXERCISES Exercise A Boot PC and install ProSoft Soflware 1 2 3 otart your PC and allow it to boot to the Windows Desktop Place the ProSoft InRAx Solutions CD in your CDROM drive If AutoPlay is enabled you will see the following window appear in the center of your desktop area inRAx in rack solutions for Allen Bradley platforms Documentation Tools X Exit Prosoft If AutoPlay is not enabled and this window does not appear automatically double click the My Computer icon My Computer and then double click on the ProSoft drive icon drive D below JLocal Disk ProSoft D drivej on nEserver JD All product documentation on the Solutions CD is stored in Adobe Acrobat pdf format files If you already have Adobe Acrobat or Acrobat version 4 0 or higher installed on you computer skip to Step 7 Page 3 of 33 Version A 05 6 If you do not have Adobe Acrobat or Acrobat Reader installed you will need to install it Click on the icon titled Get Adobe Reader in the lower left corner of the above window Follow the Install Wizard prompts to install Acrobat Reader 7 In the InRAx Solutions program click on the phrase Documentation and Tools to open the InRAx Solutions Main window in Explorer view D inRAx File Edit View Favorites Tools Help 3 Bac gt a yp Search iE Folders Folders Address D
10. 00 gt lt 00900 gt lt 01 000 gt The register addresses are on the left and listed 40001 through 40020 and each registers value is directly to the right of it Congratulations you have just used a Windows software program called Modscan acting as a Modbus Master device to go out and read data from our MVI46 MCM module s Port 2 which is a Modbus Slave device Page 33 of 33 Version A 05
11. A 05 You now should see a window like the one below With the yellow project folder hightighted right click on this folder and select the Paste function Our ladder logic file titled MVI46MCM RSS should now be copied to our project folder where we can access it for use in this lab To verify this scroll down the right side Explorer until you see the file listed fn C Program Files Rockwell amp ofbvarexXRSLogix 500 English Project File Edit View Favorites Tools Help sack pi _ Search E racers f Network Associates Text Document Network Stumbler 1 iC Officeu pdatell 3250 L532M R55 Online Services RSLogix 500 SLC Project File Outlook Express s KB Overland 3250 L532M_BAKOO1 R55 E ProLinx RSLogix 500 SLC Project File G ProSoft 48 KB RadioLinx 3250 L532M_BAKO02 R55 0 Real RSLogix 500 SLC Project File Resco 64 KB E Rockwell Software Janicedemotst RSS BOOTP DHCP Server 1 RSLogix 500 SLC Project File OPCTools 36 KB amp RDM JANICES DEMO2 RSS amp RSCOMMON RSLogix 500 SLC Project File E RSLINX 82 Folders Readme txt RSLogix 5 English RSLogix 500 English ont Samples E RSLogix 5000 E RSNetWorxII 2 RSutil 2 RSView Samples SRMConfigTool Version A 05 JANICES DEMO2 BAK200 RSS RSLogix 500 SLC Project File 82 KB JANICES DEMO BAK201 R55 RSLogix 500 SLC Project
12. File 112 KB JANICES DEMO3 R55 RSLogix 500 SLC Project File 48 KB JANICES DEMO3 BAK203 R55 You should now have all the software you need to configure and test the module Proceed to the next exercise Page 8 of 33 Exercise B Install ProSoft Module in A B Rack 1 This exercise assumes you have an A B SLC 5 03 5 04 or 5 05 processor installed in a SLC rack and have installed an configured a power supply of adequate capacity for the rack and Input Output I O modules you intend to use with enough spare capacity to power the ProSoft Technology Inc MVI46 MCM For the purposes of this lab and to match the supplied sample ladder we will assume a configuration as follows e 1747 L551 5 05Processor 16K Memory OS500 e 1746 A7 7 Slot Chassis rack e A B 1746 P1 P7 Power Supply If different hardware is used modifications to the sample ladder file MVI46MCM RSS will need to be made to obtain a properly functioning program 2 Before installing the ProSoft Technology Inc MVI46 MOM into the SLC chassis check the position of the Interface Configuration Jumpers on the bottom of the module eee 11 CMOS RUN CLR SETUP The Setup Jumper is only used when it is necessary to flash a firmware upgrade into the module For all normal configuration and operation this jumper must be positioned as shown in the diagram above For this lab we will be using the RS 232 interface so che
13. MVI46 MCM Training MVIA46MCM Lab1 doc MVAMG MOM MERERETUR 1 Lab One Installation and a 2 EXERCISE OVERVIEW detailed step by step instructions to follow 3 Exercise A Boot and install ProSoft Software 3 Exercise B Install ProSoft InRAx Modbus MVI Module Rack 9 Exercise C Configure RSLinx to Talk to 5 11 Exercise D Use RSLogix500 software to Modify the Sample Project 15 Exercise E Downloading and Testing the Modified Sample Project 23 Exercise Using ModScan to simulate the Modbus Master 30 Version A 05 Page 1 of 33 MVI46 MCM Training Lab Installation and Setup OBJECTIVE The purpose of this lab is to provide step by step instructions for installation and setup of the ProSoft MVI46 MCM communications module This lab assumes you have a basic working knowledge of Allen Bradley SLC hardware and Rockwell Software HSLinx and RSLogix500 software and that you have the latest versions of this software installed on you personal computer PC WHAT YOU WILL NEED e Allen Bradley SLC 5 03 5 04 or 5 05 assembled with rack and power supply e ProSoft MVI46 MCM communications module and User s Manual and InRAx oolutions CD e Laptop or desktop PC
14. Modscan then extract the compressed files into this new folder 3 After extracting the Modscan files locate and double click on the file titled Modscan exe You should see the following program appear Page 30 of 33 Version A 05 ne MODBUS DATA SCANNER Elx Device Id Number of Polls 0 Address 0001 MODBUS Point Type Slave Responses tl Length 03 HOLDING REGISTER Idle Connection 4 his is the Windows program called Modscan This is a shareware program and can o be used for 30 days after which you are asked to purchase it To use the program click either Cancel or OK to close out the Registration Information dialog window You may have to click once inside the window and then click OK Repeat if necessary Now we are ready to use the program Remove the short RJ45 pigtail cable from Port 1 on the MVI46 MCM and then disconnect it from the RS232 Null Modem cable Now connect the RS232 Null Modem cable directly to the COM 1 port on your computer If you currently have another cable connected to your computer s COM 1 port for interfacing to the SLC 500 first go offline with RSLogix 500 software then disconnect that cable and connect the RS232 Null Modem cable that was previously connected to Port 1 of the MVI46 MCM module We should now have COM1 on our PC connected with a RS232 Null Modem cable directly to Port 2 on our MVI46 MCM module which is configured as a Modbus Slave devi
15. None Error Checking CRC Stop Bits 1 Protocol Ful D uplex Auto Configure P Configuration Successfull Use Modem Dialer Configure Dialer Delete Help In some instances RSLinx will fail to Auto Configure If this happens to you first check that your cable is ok properly connected and that you are selecting the correct Comm port Once this is verified if Auto Configure fails you will need to completely wipe the processor memory and reset it to factory defaults Consult the A B product documentation the A B website or A B Tech Support for instruction on how to do this Once done the RSLinx should be able to Auto Configure Clicking on will return you to this dialog Page 13 of 33 Version A 05 Configure Drivers E x Avallable Driver Types ose 5 232 DF1 devices Add New Help Configured Drivers and Description AB DF1 1 DH485 Sta 0 LOMT RUNNING Running Lontigure NN M E NEN EL Startup Start Stop Delete If the driver status indicates as Running you have now successfully configured RSLinx to talk to the processor Click the Close button to close this dialog and then exit but do not shutdown RSLinx by clicking the File menu option and then Exit and Shutdown Be sure to click the Exit option You are now ready for the next Exercise Page 14 of 33 Version A 05 Exerc
16. bol Bo o CY 10 Desc First word of read data from M I46 MCM module E I Properties Usage Help with the above by changing the values in Data File 32 N32 0 through N32 19 With the PLC in Run Mode the values in Date File 31 N31 0 through N31 19 should after a very short delay match those in Data File 32 Page 29 of 33 Version A 05 Exercise F Using ModScan to simulate the Modbus Master 1 Using Windows File Explorer expand the yellow folder in the left side tree pane titled Utilities under the InRAx folder until you see a folder titled Modscan D inRAxWtilities Modscan File Edit View Favorites Tools Help Back J d Search lg Folders sss Address D inRAx Utilities Modscan Folders Files Currently on the CD 2 Desktop ES E My Documents E 4 My Cor guter Ej Local Disk C MSCAN zip 4 Mar 08 2005 D image E LadderLogic Ej Manuals m ic Utilities 1560 PDP GSD 3105 E 3305 cfg ADM Tool MVI AFCMGR 2 AFCMGR FOR MVI56 AFCA LATIN AMERICA DAPLUS EtherReal Client omen MVI U pdate DOS Update Win 3 PKzip PSTerm E SyCon 9 c utilities Removable Disk E 2 Double click on the compressed folder in the right side Explorer pane to extract its contents Choose or create a new folder to contain these files A suggestion would be to create a new folder titled
17. ce Page 31 of 33 Version A 05 7 n the Modscan program click on the menu choice called Setup and then click Serial Configure the settings as shown below Click OK when done Serial Connection Protocol Sicoonon p 8 Now click Setup then Display and make sure that Data and Decimal have check marks beside them Click on Setup then Protocol and make sure RTU is checked also 9 Now configure the main window as below MODBUS DATA SCANNER Action Setup Extended Device Id Number of Polls 0 Address MODBUS Point Type Valid Slave Responses 0 Length 03 HOLDING REGISTER Page 32 of 33 Version A 05 10 Now click on the menu item Action then Start Poll You may have to clear a popup window first but you should see results like below which shows our original data that was in our Data File 32 vx MODBUS DATA SCANNER Fie Action Setup Extended Help Device Id Address 0001 Number of Polls 33 poon MODBUS Point Valid Slave Responses 93 Length 03 HOLDING REGISTER lt 00001 gt lt 00002 gt lt 00003 gt lt 00004 gt lt 00005 gt lt 00006 gt lt 0000 gt lt 00008 gt lt 00009 gt lt 00010 gt lt 001 00 gt lt 00200 gt lt 00300 gt lt 00400 gt lt 00500 gt lt 00600 gt lt 00700 gt lt 008
18. ceptable To match the sample project used in this lab accept the default name by clicking the OK button Configure Drivers Available Driver Types 5 232 DF1 devices Add Mew Configured Drivers Close Help and Descriptior HET RT E X Choose a name for the new driver ok 15 characters maximum OK Cancel AB D F1 1 Configure Startup Start Stop Delete TE Page 12 of 33 Version A 05 5 Next you will see the driver setup dialog box First click the down arrow in the Comm Port option box and click the Comm port that matches the number on your PC usually Comm1 Comm2 Comm3 or Comm4 Then click the down arrow in the Devices option box and click the SLC CHO Micro PanelView option Finally click the Auto Configure button RSLinx will then query the processor establish a communications link and adjust the drivers parameters to match the processor s current port configuration Don t worry if the parameters in your driver don t match the ones shown in the following example As long as the window reports Auto Configuration Successful whatever parameters appear for baud rate parity error checking etc will be correct A successful result will look something like this Configure R5 232 DF1 Devices Device Name AB DFT 1 Comm Fort com Device SLC CHO Micro Panelview peni 13200 Station Humber 00 Decimal Parity
19. ck that the PRT2 and PRT3 jumpers are positioned as shown above so the module will communicate in RS 232 mode Page 9 of 33 Version A 05 3 NOTE For this step and at any time when you are installing or removing hardware to or from the chassis you MUST do so with the POWER OFF SLC modules are NOT HOT SWAPABLE Attempting to insert or remove modules while the chassis is powered up can result in damage to the module the processor the Power Supply and or the Chassis itself Chassis slots are numbered sequentially left to right starting at zero for the leftmost slot The processor always goes in Slot O Install the module into the chassis in the slot next to the processor This will place the module in Slot 1 The rest of the chassis slots should be left empty for now If done correctly your installation should look similar to the following illustration 4 Set the processor key switch to the REM position and power up the chassis After it s boot cycle the processor will be ready to accept programming At this point you may ignore any RED LEDs indicating processor or module faults Until a valid project program is loaded into the processor it may show a fault You are now ready to proceed to the next Exercise Page 10 of 33 Version A 05 Exercise C Configure RSLinx to Talk to SLC 1 Attach a null modem cable or the A B CP3 programming cable from your PC serial port to the serial port on your SLC processor called Channel
20. d Tabbed Instruction Bar options RSLogix 500 M I46MCM RSS m EE S B x File Edit View Search Comms Tools Window Help D S X OR aad ee aes D Edits Forces Disabled D Driver DF1 1 41 User Ait 4 Input Output Compare M I46MCM RSS E E Project E 3 Help ES Controller i Controller Properties m US Processor Status a Ali IO Configuration re Hi Channel Configuration id E Muttipoint Monitor ER Jump To Subroutine SBE File Humber LAD 2 MAIN M LAD MCM DATA NN LAD 4 CMDS Ei Data Files HI Cross Reference E on oureur n INPLIT s2 STATUS B3 BINARY m T4 TIMER lump To Subroutine SBE File Humber E C5 COUNTER RE CONTROL cof NF INTEGER cof 8 FLOAT 0 MCM CFG 0003 4E 1 CMDS 2 P2 CMDS cof N30 STAT E N31 READ DATA N32 WRITE DATA os E 2 EVENT CMDS E Force Files mi nm mem man wie Page 17 of 33 Version A 05 4 5 In the left pane Project Tree area under the Controller folder double click on the IO Configuration icon This will display the I O Configuration dialog box 0 Configuration Racks 1 174647 T Slot Hack 2 fizo Hack Mat Installed
21. erwise the module will not function properly Details on module setup are contained in the User s Manual in Section 3 3 Setting Up the Module beginning on Page 18 of 33 Version A 05 Ports 1 amp 2 Cmds page 20 After you verify the values click OK or Cancel to close this dialog box Click on the Exit icon in the upper right corner of the I O Configuration dialog to close it and return to the main window In the left pane Project Tree area under the Data Files folder double click on the N10 CFG icon Set the values in this file to match the ones shown below Port 1 Port 2 N10 10 N10 40 N10 11 N10 41 N10 12 N10 42 N10 13 N10 43 N10 14 N10 44 N10 15 N10 45 N10 16 N10 46 N10 17 N10 47 N10 18 N10 48 N10 19 N10 49 N10 20 N10 50 N10 21 N10 51 N10 22 N10 52 N10 23 N10 53 N10 24 N10 54 N10 25 N10 55 N10 26 N10 56 N10 27 N10 57 N10 28 N10 58 N10 29 N10 59 N10 30 N10 60 N10 31 N10 61 N10 32 N10 62 N10 33 10 63 N10 34 N10 64 N10 35 N10 65 N10 36 N10 66 N10 37 N10 67 Data File N10 dec MCM CFG Module Configuration file IFEset Port Enable Disable Port Type Float Flag Float Start Float Offset Protocol Baud Rate Parity Data Bits Stop Bits RTS On Delay RTS Off Delay Min Response Delay Use CTS Line Slave ID Bit Input Offset Word Input Offset Output Offset Holding Register Offset Command Count Min Command Delay
22. ise D Use RSLogix500 to Modify the Sample Project 1 Next we will load and configure the sample ladder logic program and download it to the processor Start RSLogix500 It should come up to a blank window like this H RSLogix 500 ET B xl File View Comms Tools Window Help OFFLINE No Forces a H E lt gt 4 a P NoEdte amp Forces Disabled Driver AB DF1 1 1911410 User A Bit TimeriCounter A Input Output Compare For Help press Fl 0 0000 20e READ E Page 15 of 33 Version A 05 2 Click on the File drop down menu click Open and browse to the folder where you saved the sample ladder and double click the file MVI46MCM RSS Open Import 5LC 500 Program in Look in MU NOE acs MVTROMCPM ACH M RSS File name MvI46M LM R55 Files of type RSLogix ASS ACH SLE L ancel Help Local Disk Path yz Schema RSLogis 126 File 128 File PLC Information Processor Mame MYVI4EMCM Station 1d Processor Type 1 47 L551 5 05 TEK 05500 V ersinn 000 Revision Mate ee This will open the sample project We can now configure the sample ladder to get it ready for the next exercise Page 16 of 33 Version A 05 3 You ll get a window that looks like this If not be sure that if you click on the View Menu you see check marks beside Standard Online an
23. movable Disk E a IOMEGA_HDD F E S rgolson on termsrv1 H 3 drivej on ntserver4 1 S DriveK on termsrv1 K E S Drivel on termsrv1 L S marketing on termsrvi M This CD contains documentation and sample ladder logic for all current ProSoft Technology Inc InRAx products In the left Explorer tree pane there is a yellow folder titled Manuals You can expand this folder by clicking on the small plus sign to the left of this folder to navigate to and view a particular product s documentation Remember you must first have Adobe Reader installed on your PC to be able to view these files Page 5 of 33 Version A 05 9 Scroll down the right side Explorer pane until you see the yellow folder named MVI46 MOM highlighted below and double click on it D inRAx LadderLogic SLCWMVI46 File Edit View Favorites Tools Help d Search lig Folders Address D inRAx LadderLogic SLC MVH6 Folders E Desktop My Documents WY My Computer Local Disk C b Mar 08 2005 D image d E 2 inRAx LadderLogic MVI46 DNPSNET MVI46 2 CompactLogix ControlLogix Flex IO 22 PLC n Eie 51 c 3150 MVI46_ GSC MVI46 HART za 3250 3350 C3 MVH6 LJ Manuals ic Utilities MVI46 LNG MVI46 MBP C3 utilities Removable Disk E Ej Ss IOMEGA HDD F e E S rgolson on termsrv1 H
24. n Downloading Program For 1747 L551 5 05 CPU 16K Mem OS50 0 Ta MVId46DFC 1747 L541 5 04 16K Mem O5401 Driver DF1 1 at Made 1 vou sure you wank to proceed with Download The sample ladder is currently configured for a 1747 L551 SLC 5 05 If you are using a different processor when you try to download you will see the following The processor types don t match Would vau like to change the processor type then download ce Page 23 of 33 Version A 05 If you get this warning screen click the OK button RSLogix will automatically determine the actual processor type you are using and adjust the IO Configuration to match your installed processor You should then see the following window Confirm Change Processor Type E X From 17247551 5 05 CPU 16 Mem 05900 To 1747 1541 5 04 CPU 155 Mem 05401 Changing the processor type may result in a lass of Data andor 120 configuration Are you sure you want to continue Conversion Options W Resize Data Tables Clear 1 0 When it comes up make sure the Clear I O box is NOT checked as shown and click OK A Download Progress dialog will flash through several progress bars as various parts of the program are loaded Eventually you should see AN Do vou want to go Online Yes No Click the Yes button The RSLogix status box will change to show you are on line live with the proces
25. on causes include hardware failure ladder logic errors and installing the ProSoft module in a different chassis slot than the one selected in the I O Configuration I O modules the configuration that are not actually installed in the chassis and more Assuming you are still on line with the processor to see what might be causing the problem you can check the Processor Status dialog for the Major Error Code causing the fault In the Project Tree under the Controller folder click on Processor Status then click on the Errors tab to see the fault An example of having the module in the wrong slot is shown Your error may be different Page 25 of 33 Version A 05 M ain ed Frac Scan Times Math I Chano ChONodes Chan1 Debug Errors Fault Override At Fowerup 5 178 0 ASCII String Manipulation 5 5 15 a Startup Protection Fault 5 19 0 Fault Routine 5 29 Major Error Halt 5 113 Major Eror 5 6 152 Math Overflow Trap 5 5 0 Error Description Control Register Error 5 572 Major Error Executing User Fault Atn 5 573 M M1 Referenced Un Disabled Slot 5 5 4 Batter Low 5 5 11 Fault Powerdown Rung 5 20 D File S 21 2 J Module 1 which is required for the user aj 0 program is detected as missing removed Properties U Usage Do whatever is required to fix the root cause of the fault and then tu
26. ort file types f ogg Export database Export options Save data base as external files File PLE Information Processor Mame MVI46MCM Station dd Processor Type 1 47L551 5 05 CPU 15K OS 500 Revision Mote Wersion 1 ee Congratulations You now have a functioning program that will move data to and from the module and that we can monitor and experiment within the next exercise Page 22 of 33 Version A 05 Exercise E Downloading and Testing the Modified Sample Project 1 Make sure your null modem cable or CP3 programming cable is still attached between your PC Comm port and the processor RS 232 port Take the two DB9M to RJ45 pigtails and the other null modem cable and connect the lower two ports on the ProSoft module P2 APPLICATION and P3 APPLICATION with these cables 2 Set the processor key switch to the PROG position In RSLogix500 click the down arrow next to the OFFLINE status and click Download from the menu RSLogix 500 7 46TESTI R 55 File Edit View Search Comms Tools Window Help Go Online Forces Disabled m Download Mode 14 41 User A Timer iB x LT JE lt gt 4 2 MAIN Main cont H E Help E Controller eM i Controller Properties Vs Processor Status a Configuration When you see the confirmation dialog click the Yes butto
27. ress Device ID N11 6 N12 6 Function Code N11 7 N12 7 Device Address Register ma Dema De Properties Usage Help This creates one Modbus command for Port1 our Master port This command will send a request out Port1 to the Modbus Slave at Slave ID 2 our Port2 as configured in N10 The command will get twenty 16 bit words registers of data from Destination Address 0 our module address 0 the first word of our WRITE DATA area and move it out Port2 in Port1 and store it in Internal Address 200 our module address 200 the first word of our READ DATA area This command will execute once each second This way any values we poke into data table addresses N32 0 through N32 19 will after a short delay appear in the corresponding addresses in data table N31 Click on the Exit icon LXI in the upper right corner of the Data File N11 dec dialog to close it and return to the main window 8 In the left pane Project Tree area under the Data Files folder double click on the N12 P2 CMDS icon Set all the values in this file to zero and click on the Exit icon Ll in the upper right corner to close this window and return Page 20 of 33 Version A 05 9 In the left pane Project Tree area under the Data Files folder double click on the N32 WRITE DATA icon Set the values in this file as shown d iDataFile N32 dec WRITE D in em ce oO un
28. rn red then go back to green and then the P2 and P3 LEDs should resume their blinking once a second Page 26 of 33 Version A 05 To toggle the bit right click on its picture then click on Toggle Bit at the bottom of the context menu as shown Be sure to watch the face of the ProSoft module as you click 0002 ut Copy Cri c Paste bry Delete Insert Iris Insert New Branch Append New Branch Find All Change Instruction Type Edit Symbol E3 0 0 Goto DataBase B3 0J0 Edit Description B3 0 0 Cross Reference B3 0J0 Goto DataTable 3 0 0 Toggle Bit 0003 Version A 05 Mov Move Source 9999 9999 Dest amp M 1 1 7800 Mov Move Source 9995 79985 Dest amp M 1 1 7800 Iz Page 27 of 33 5 Now we can check to be sure our program is moving the data as it should Hemember in Exercise D where we configured the module and built our commands we zeroed out our READ DATA table and put test values in our WRITE DATA table If our program is working correctly we should now have the same values in the same relative addresses in our READ DATA as in the WRITE DATA First let s check the WRITE DATA table to be sure our test values are still there In the Project Tree under the Data Files folder double click N32 WRITE DATA D om A A A A A A A D om OF A A A A A amp D om A A A A A A A D oOo A A A A A A A D om OF A A A A A A oO A A A A A A A D
29. rn the key switch from to PROG to RUN and back to to get the processor running normally 4 NOW We re ready for some real fun Take a few minutes to look at the three LAD files in our test program For a detailed explanation of what these files do look at Chapter 4 Ladder Logic in the User s Manual beginning on page 25 Now look in LAD 4 MCM CMDS at rungs 0002 and 0003 Bit B3 0 0 in rung 0002 is called the Cold Boot bit Bit B3 0 1 in rung 0003 is called the Warm Boot bit Either may be toggled to force the ProSoft module to restart reload it s configuration and any Modbus commands This is a handy feature that makes it easy to change and test different configurations and commands It s quicker and safer to toggle these bits than to recycle the processor or power down and power up the chassis to accomplish the same thing Toggling either of these bits allows configuration and command changes to be performed without halting the processor This can be very useful when added one of our modules to an existing application already in use at a customer site As we progress through the rest of this exercise we will be returning to this ladder and these rungs often as we modify and test our program Toggle one of these bits now and watch the LEDs on the front of the ProSoft module as you do so You should see the P2 and P3 LEDs stop the regular blinking they had been doing the OK LED will briefly tu
30. sor You can also tell you are on line when you see the colored blocks and ladder rotating in the status box The faster they rotate the higher your connection speed It should look like this with animated ladder RSLogix 500 46TESTI R 855 File Edit View Search Comms Tools Window Help j Du amp Belo cus Driver AB DF1 1 Made 1d lt 46TESTLRSS lolx ES ie de CE If you had to change your processor type now would be a good time to re save the program Page 24 of 33 Version A 05 3 Next we will change the SLC 500 processor key switch from PROG to RUN and back to the REM position If you have a good program the processor green RUN LED will light up solid and on the ProSoft module the OK LED will change from red to green the APP STATUS and BP ACT LEDs will be amber and the LEDs for P2 and P3 will being flashing green about once a second The RSLogix status box should look like this RSLogik 500 7 436TESTI R 55 File Edit View Search Comms Tools Window Help a J NoEdts E Forces a Mode 14 41 Driver AB DFI 1 46TESTLRS ini If however the processor FAULT LED flashes red and you see this RSLogik 500 436TESTI R 55 Fie Edit View Search Comms Tools Window Help 5 8 b B NS o o Forces t Mode 1d 41 Driver AB_DF1 1 iol x E it indicates some kind of hardware or software problem Comm

Download Pdf Manuals

image

Related Search

Related Contents

  AdjumedCollect  Manual  DENTEL 17.12.13.indd      AMPLIFICATEURS A-1706 A-1712 A-1724  

Copyright © All rights reserved.
Failed to retrieve file