All Activity

This stream auto-updates   

  1. Today
  2. rs logix 5000 cross referencing

    Version 30 is the first one that is supposed to be 100% Windows 10 compliant. V32 is the highest version currently available. However, V21 will work in Windows 10; just make sure you're using an older version of Adobe, as there are known conflicts with Adobe 11, such as online books not working, etc. It sounds like you've got your work cut out for you. The cross reference tool is a method of determining every location and type of use a given tag is being utilized for in a project.  I don't know of any way to cross reference multiple tags simultaneously and even if you could, 4,000 tags would contain so much data that I don't know how you'd sort through it all. You mentioned that most of your tags are aliases; this can be to your advantage, as the aliases are probably the ones that are most important, because it's rare in a large project to use a module defined tag without an alias. If I were tackling this, I would probably go through the project routine by routine, cross referencing the tags on the rung instructions as I go. As you likely already know, right-clicking on any given tag, then clicking cross reference, will pull up the report. The report defaults to the "By Logic" tab, which shows everything about that tag. If you change that to the "By Hierarchy" tab, you just get the scope of that tag, which may help more readily identify which tags you're going to keep and continue to use, and which are obsolete. That, of course, will depend on how well the project is organized to begin with. If they scoped tags locally for each of the individual burners, you're likely in luck. If almost everything is controller scoped, not so much. Either way, there's no silver bullet I'm aware of that's going to automatically sort out 4,000 tags.  
  3. Desperation

    I am re-posting. The last ANDNOT 11 was supposed to be AND NOT 111.  OMRON SEQUENCE MR PLC.pdf Here's the entire program if anybody feels ambitious. I give up! I can't translate enough of this to make a difference. OMRON PRESS PROGRAM.txt
  4. MBE Driver can't save config file

    Hello!I am using MBE Driver v7.46b on Windows Server 2012 R2. Problem is that I can't save config file. I can edit Channels, devices and data blocks, I can see incomming values, I save a file without any message. But config file is not saved. In Event viewer I get error as you can see on picture. It says: Error writing to system registry: Driver App 00000001 \Driver defaults. Other error says: Error writing to system registry: ServerMsg 00C54BB8 \Driver defaults.Is it server or driver problem? Please help. At the moment I can't edit anything in driver so I can't configure it to use it with my SCADA iFIX 5.8
  5. MBE Driver can't save config file

    Hello!I am using MBE Driver v7.46b on Windows Server 2012 R2. Problem is that I can't save config file. I can edit Channels, devices and data blocks, I can see incomming values, I save a file without any message. But config file is not saved. In Event viewer I get error as you can see on picture. It says: Error writing to system registry: Driver App 00000001 \Driver defaults. Other error says: Error writing to system registry: ServerMsg 00C54BB8 \Driver defaults.Is it server or driver problem? Please help. At the moment I can't edit anything in driver so I can't configure it to use it with my SCADA iFIX 5.8
  6. Traffic Intersection with 3 second inductive sensor

    Kinda on the verge of hijacking the thread, but I guess it is pertinent poop for someone learning programming.  Took a quick look through your program and do have a couple immediate things that pop out:  I never use conditional JSR rungs or at least I cant remember a time that I found one helpful.  They are generally a way to get into trouble as all outputs stay in their last condition when you stop scanning the subroutine.  The mantra in PLC programming is "keep it simple."   This is a program just for you, but generally we are programming for the multitude of people that will follow us into the program after we are done.  That is very unique in PLC programming.  Generally in a plant environment the level of proficiency is fairly basic.  Also at 3am in the morning when a line is down, brain functionality is fairly basic.  Imagine the fun of seeing an output on in the program with all of the logic before that output false just because the program file is not being scanned at that time.  Minds have been blown with less.  In my experience, nothing good ever comes from a conditional subroutine.  If you want an output off then put a contact in the rung to make sure it is off.  Then the logic is clear and understandable to just about anyone.  I suspect that is why you have to reset your outputs with the masked move statement.  Another gotcha waiting to happen. I never use (or extremely rarely) the JMP instruction.  That is a fairly common statement for all high level languages.  Basic has its goto and just about every language has a statement to jump to a location in the program.  Most instructors I have learned from will explain the statement and its purpose and then tell you not to use it.  Those types of statements get you into trouble and are difficult to follow in most programming circumstances.  There is generally another way to do the same thing.  Same goes for MCP.  That has some value possibly in temporarily taking sections of code out of service for testing or maintenance.  As permanent fixtures they just cause confusion when people are troubleshooting. Rather than latches use seal in circuits.  Latches generally cause problems.  They are necessary if you need to maintain output status through a power failure.  OTE's are reset when the system comes up.  Same with the resets on your timers.  TON's reset automatically when the logic before them goes off.  Resets can be eliminated and everything that controls that timer's function then is on the rung with the timer.  Thats much easier to understand when looking at the rung functionality.  Side note: RTO's do have to be reset and are useful if the timer value has to be maintained such as for a total run time of a system that is starting and stopping. Even with the subroutines you have, I would move everything from file 2 except for JSR's to a subroutine.  Leave file 2 just for JSR or insignificant overhead logic such as blink timers or such.  That will make the logic much easier to go through. Looks like a fun project! 
  7. DWORD to Floating Point Problem

    Thank you so much, Michael!
  8. DWORD to Floating Point Problem

    The DWORD_TO_REAL treats the DWORD as if it is unsigned integer format.  Your value is already in real format, but it is in a variable that is treating it as a DWORD.  The DWORD_TO_REAL instruction then converts the UDINT value of your DWORD to a real number.  I am guessing that the Force Variable is a union and that this is coming in via EtherNet/IP or something.... You need to use the CopyDwordToReal instruction shown below:
  9. VPN Advice

    I've been using IPVanish but it's not quite right for me I'd say. So I decided to Cancel IPVanish and look for some other options. Luckily, a lot of them are available on the market.
  10. I am having problem converting a DWORD variable to a floating point decimal.  I've tried using the DWORD_TO_REAL function. Having the hex value "41E9B814" as an input I was expecting to get "29.2148819" as an output. However, I'm getting "1.110194.." as the output. Any ideas?    
  11. faulted processor

    Insert it where?   
  12. CQM1H-51

      I agree that the ladder won't let you put anything over D6143, but you should be able to set the value in D6611 using the memory editor shown above, or the watch window.
  13. Mitsubishi 2401 File set error Q2ASH

    collinsd70 Thank`s, i`m trying and all is good!!
  14. Annoying problem in Logix5000

    What version of Studio 5000 are you using? I think up to version 20 or 21 you had to install the (free) Compare Tool separately. However, even when it comes (somewhat) embedded in the version you purchased, you must still click on a prompt button that pops up during installation and asks if you want to install it on your laptop, as well as ControlFlash, Task Monitor, etc. Something to be aware of when talking about saving are the Enable Automatic Recovery and Project Backup functions, which are set to ten minutes, and three backups by default. (You can find them under Tools, Options, Application). That is not your problem here, but it should be kept in mind when making edits. To answer your question directly, it's persnickety (as it should be) and if you make changes, it doesn't care that you put things back where you started. What it sees is that you made changes. When you're closing the project it's going to ask you whether you want to save those changes. So, when prompted to save the changes as your exiting Studio, just click no. I actually use this to my advantage when teaching someone about programming. It allows me to make whatever changes I want without keeping track of them, then clicking no on exiting with the confidence that my original project will be intact the next time I actually need it. Hope this helps!  
  15. By dummy coil I meant any M coil that isn't used anywhere in the program to complete the line and nothing will happen if it goes true.
  16. "Display Print " button from Studio ME

    Like PLCMentor said, if you're developing a project in Studio and want a screen shot of a display, open the display and use your laptop's print screen function to take the screen shot. If, on the other hand, you're wanting an operator to be able to screen shot a display on the HMI at runtime, you must install a "Display Print" on that display. You'll find that button in Advanced Objects. However, this button literally causes a hard copy of the display to be printed. You will have to refer to user manual for the particular HMI you're using to get instructions on how to install a printer.
  17. Desperation

    Watch the addressing, did this is CX-Programmer and some of the addresses don't work. LD 0.03 OR 0.04 OR 0.05 LDNOT 0.10 ORNOT 0.08 ANDLD AND 0.09 LD 0.03 AND 0.00 AND 0.01 ANDNOT 0.09 ANDNOT 0.06 LDNOT 0.03 AND 0.04 ORLD LD 0.12 AND 0.13 ORLD ANDLD LD 0.08 ANDNOT 0.07 ANDNOT 0.11 ANDNOT CNT001 OR 0.03 ANDLD ANDNOT 0.11 ANDNOT 0.09 OUT 0.12 OUT 0.13 gtsuport
  18. Hi mikax, I can not help you! I'm sorry. The best regards, kraykov
  19. Need Manual for CS1W-CTS21 SSI Interface

    Hi, thanks to all. No this module CS1W-CTS21 not CJ1W... Also I have instruction sheet for CS1W module, and there is section about DIP switches...
  20. Fxu3 _Ad4

    Thanks Mr wsan,and everybody  help me,that what I looked for. Regards 
  21. Traffic Intersection with 3 second inductive sensor

      Using subroutines is how I am doing my model train layout. The plan is the main program will do not much and look for input from the HMI or buttons and then call the needed routine to do what it is told. (such as interchange the main line train with the one on the side track) There are also routines that will be needed in several routines, one example would be to throw the switches to either the throughway or turnout depending on the data bits. Attached is a few of the subroutines (I did not include the forward-reverse one because it is large) These programs are sequence based, What I did was use a binary word (say B3:10) and as each step is completed I latch on the bit (B3:10/0) to indicate it is complete and to do the next step. For these subroutines, since I cannot have a loop, when it calls the subroutine, it will repeatedly call it until the subroutine sets its complete bit, then the program that called it will continue on to the next step) I can provide an example of a complete program if you would like to look it over. I would like feedback on my programming skills or is the way I am doing this not a good way to program. I uploaded it as "Main and Side interchange" I took a video of the program running here:       Mike   BLANK PLC PROJECT.pdf MAIN AND SIDE INTERCHANGE SIMPL.pdf
  22. Hi kraykov, no the PLC has no memory extension.
  23. Hello Mikax, I checked the available versions of Medoc and it turned out that I also have only 2.40. There may be missing parts of the program because the ranges for M, L, T, D are not correctly defined. For example, the range of M e 0-999 and in the program we have M1201.     There are cases where the PLC is A2S and the software recognizes it as another. Do you have an extra memory extension?    
  24. Fxu3 _Ad4

    @Must@@@@ If you connect 0 - 10 V output from CH1 or CH2 then voltage output drop you should use signal amplifier from 1 input to 2 to 4 output like these. https://www.phoenixcontact.com/online/portal/us?uri=pxc-oc-itemdetail:pid=2864794&library=usen&tab=1
  25. Can you show me what a "dummy" coil looks like? To test this.   Thank you for helping me guys.
  26. I've had the same problem before and the only way round it was to put 'dummy' coils at the end of the broken ladder. At least then it would download to the PLC. The one I did it to was a dying plc. It kept powering itself down, then half an hour later power itself up again. When I swapped out the 'A' plc for a working one I put the altered code in it and it worked fine. I was expecting something to not work and was ready to work on the program - but all was well.
  27. Load more activity