navillusi

MrPLC Member
  • Content count

    206
  • Joined

  • Last visited

Posts posted by navillusi


  1. ControlLogix: For each task, there will be an assigned main routine (this appears to have a no. 1 on its icon), this task is scanned continuously. For each further subroutine under the main routine, these must be called by the use of the JSR function. You have one JSR for each subroutine in the program, it is usual to call them all from the main routine, though you can call a subroutine from a subroutine. If you want the entire subroutine to be scanned, there is no real need to put a return instruction in, when the program gets to the end instruction of a subroutine, it will jump back to the place it was called from

  2. dgwill, The problem that you are experiencing is a common one, it comes about usually when you save the program whilst you are still connected to the PLC. Thus the software assumes you have a connection even when not, thus when you try and convert, it will try to start comms to the "now disconnected" plc. To resolve this, go to "tools" and "options" select the "after conversion writing behavior" select "dont write to PLC" convert as normal

  3. There was a post in Nov 2003, which explained: MEDOC DOS works in almost any DOS environment, real or emulated. However, to communicate with the A-series via the CPU-port under NT/2K/XP, you may need to add command line option Fn (e.g. "MEDOC F10"). The value "n" introduces a delay and may be tweaked up or down for best results depending on computer speed and acceptable delays. This is a workaround for the NTVDM (which MEDOC DOS runs under) being unable to carry out precise UART control from DOS-applications. This in turn is required for the A-series CPU-protocol to work properly. I can confirm that this does work as I use medoc with XP!

  4. The SC-09 cable comes complete with a 25 pin D connector to round FX plug in order for connection to the FX processors, I believe that this "adapter" was sold seperately in the days of the SC-03

  5. A lot depends upon network distance and the criticality of the network. I have used ordinary three core screened cable for a small distance network with no problems. If you contact Mitsubishi, they will give you the spec for the proper cable, though I believe that they don't sell it direct.

  6. Trust me, my pages are still live.... For those who do not use Comlite as they haven't got a win 98 pc anymore, try sermon from HHD software, http://www.hhdsoftware.com/ it works on W2k & XP and is a much better product.
    1 person likes this

  7. The ERR led on the cclink master can appear for numerous reasons, it could well be configured incorrectly or one of the slave devices it is looking for may be missing. Can you give us more information i.e. what the network configuration is, what slave devices you are using, can you post your code?

  8. In short, yes, GX Developer is compatable with A1N, the software will cover Fx, A, QnA and Qn, what it will not program are very old plc's such as F1, F2, K

  9. For the F1&F2 PLC's you need an interface module. This is called an F2-20 GF1 which connects to the front of the PLC. You will then need the older comms cable (SC-02 or SC-03 I can't remember) to connect this to your PC. I wish you luck in finding a F2-20 GF1 as they have been obsolete for some years now. Perhaps Mitsubishi will loan you one FOC if you are using their new PLC's for the replacement. Otherwise you have to pay!

  10. In the alarm list in RSView, you have one entry for the in alarm state and one for out of alarm, which are cleared when accepted. If you have a fleeting alarm, the alarm page can quickly fill up as it is displaying the alarm in both states. I am sure that I have seen it (and did it on an RSView course once) where the alarm will be displayed as "in alarm" and if the alarm clears before it has been accepted, it changes colour to "unaccepted cleared". If the alarm then re-appears, the text and colour change back to "in alarm" & repeat until bored, this saves having a full page showing only one alarm. Trouble is, I can't remember how to do it, not even the course notes tell me. Has anyone any experience of this or was I dreaming it??

  11. The password retrieval method was designed as a work around when you are left with a PLC, which your company has paid for (and the IPR that goes with it) and the original software supplier has gone out of business. This has happened on a couple of systems that I have been involved with, the software supplier does not get paid by the main contractor which forces them out of business. The other scenario is where the software supplier tries to hold the customer over a barrel by ensuring that they are the only contractor able to work on the system, often at largely inflated rates. Years later the end user (us) is left in a corner where we either pay over the odds for a complete re-write of the PLC code or do a little work to find out how the passwords are stored. At the end of the day, it is a work around, aimed at helping the user (i.e. most people in this forum) save money and time on a PLC which their company has paid for. Regards

  12. A method of discovering the password in SLC's is in the downloads section on this forum Downloads I know it is for SLC but it works the same on Micrologix, if you cant get Comlite to work, I would suggest the HDD Serial monitor ( www.hhdsoftware.com )

  13. This only applies to QnA & Qn processors, you cannot have multiple program files in A or FX: Expand "Program" in the project manager tree Right click on "main" select "new" Enter the name of the new program file in "data name" Select whether Ladder or SFC in "program type" Open the PLC parameter dialog and select the "program" tab Insert each program in the order you want and select the execution type, i.e. scan, low speed, wait etc. To create a subroutine in a single program file, you will need the "Call" command to call a subrotine which lives between the FEND and END instructions. Call commands use a reference pointer, such as P1000 for example.

  14. Many years ago, in the infancy of SCADA, there were no "off the shelf" packages like Citect & RSView etc, SCADA systems tended to be bespoke systems. Serck controls was one such company which developed bespoke SCADA systems for petrochem, water industries etc. Several years ago, they were about the best you could get, now however, packages such as RSView etc have taken over due to their cost effectiveness and simplicity in setting up/programming. I have had about 6/7 years experience of operating a Serck SCX system (SCX 4 I think) and there are certainly many good points about the system, however there are bad ones too (as with any system you compare). One problem was that this system ran on a DEC Alpha with VMS operating system (not many people about who know about VMS these days). One of the benefits of SCX6 was that it was desinged to run on PC hardware on NT (which brought the associated costs down). However, last year I priced up for a new system at one of our sites and compared a Serck SCX6 system with an RSView system (connected to SATT plc's). The RSView system won both on the hardware & software costs, and also on the configuration. It would be wrong of me to not reccomend a Serck system on the basis of my experiece alone, they are a good system, and certainly very reliable, but I have found that spares are expensive and the service level sometimes lets you down and personally find that packages such as RSView & Wonderware are certainly easier to configure.

  15. The "Differential" radio button is selected in the "input type" field of the setup dialog. My reason for assuming that they would be single ended is that the majority of the inputs are flows, which are usually a single point source (i.e. transducer to PLC), the only differential input's I've ever seen were on pressure systems, never flow or level.

  16. Has anyone used the USB / PPI Multi-Master Cable? Part # 6ES7 901-3DB30-0XA0 The unit came with no manual / paperwork, my PC recognises the unit, but I expected it to be available as a com port, but no. The Set PG/PC interface only lists my existing serial port, but nothing to do with the USB. Am I missing something important? I can not find any info on the Siemens website either. Any info would be helpful Frustrated regards

  17. If I remember correctly... There are 4 terminals you are interested in, two of which are marked "input" and "100/240VAC) - this is where you connect yor supply, the other two terminals may or may not have a shorting link across them, labelled "short 100v" and "open 100v" Thus if you are using 240v supply, the terminals will be empty, and for 100v they will have the shorting link If the above does not match the terminal configuration of your unit, can you please post what it is. Regards

  18. When you move F0h into your string element, you are moving the ASCII character code into that register, F0 is in the extended ASCII character set and am not sure whether the processor supports this, that's why you get the \F0 displayed. To make the string display "F0" you would need to move the code for both F and 0 into the string register thus MOV 4630h > ST10:0.1 where 46h=F and 30h=0 Regards