Gazzr

MrPLC Member
  • Content count

    32
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Gazzr

  • Rank
    Sparky

Profile Information

  • Country United Kingdom
  1. How do I do it?

    Something else for you to think about - what exactly happens when stop is pressed? Does the cycle continue until it's complete and then stop? Does it stop instantly regardless of where it is up to?
  2. In S7-200 software there are two Set/Reset instructions. The only difference between them, being the conditions you have described. If both inputs are true, one of them would be in the Set state, while if you used the other instruction it would be in the Reset state. Do they not have something similar in Step 7?
  3. WinCC help required.

    Could anybody shed some light on this for me: I want a button to appear on screen when a bit becomes set. This I can do no problem, but I want it to appear on whichever screen is active. I have created the button in the template screen and selected the option "template before screen". But when I download the program and try it the button appears behind any screen buttons rather than infront. Thanks in advance...
  4. Data sorting in S7-200

    Thanks for the info, had a look at the link. Very simple idea, more straight forward than my method of finding the slot - making the hole - inserting the data. Cheers.
  5. Data sorting in S7-200

    After a moments thought...... I could just work in whole minutes. On a "normal" day the top of the list may be 15mins, working down to 5mins. If the whole list consisted of times less than a minute then the list is worthless anyway, it has been a great day. On a worst case scenario of 8 hours rejecting, it would read 480mins which ain't hard to work out. So the resolution could be whole minutes.
  6. Data sorting in S7-200

    This would be monitoring how long a rejection device is active on a line. Minimum time active could be less than 30 seconds. Max realistically could be a couple of hours if a trial is being done and run straight into scrap. I am monitoring over an 8 hour shift, then resetting all and starting again. I suppose I should cater for minimum of 1 second, max of 8 hours. Bit wide open i know, but I suppose I should cover for "worst case". When this is comnplete I will also be recording a timestamp. So the list of the ten would be: 1) 09.20am - 25m 30s 2) 08.36am - 22m 14s 3) 12.04pm - 15m 04s etc........ (Or thats the aim anyway) Also worth mentioning that I was trying to get the table addresses into the subroutine as variables. But couldn't manage it. Due to the confusion of IN IN/OUT OUT etc.... I will get the hang of that one day.
  7. Data sorting in S7-200

    I have been scratching my head trying to sort data into a descending list. What I want to do is measure the length of time that an input is active (in minutes). Then when it becomes inactive (Switched off) - take the time it has been on. Say 2.5 minutes, and insert the value into a list of ten values in descending order. IE create a "top 10" list of activations. The system should insert the value at the correct location in the list. If the value is so short that it doesn't make the list, it is just disregarded. Rather than come and ask the question earlier, I have persevered and managed to make a program that does what I want... (I think) But would like some input on how it could have been done (Probably) much simpler. Also, I have metric minutes - 1 min 30s becomes 1.50 minutes, could this be worked around to keep things looking better? Please see attached attempt, comments welcomed. Data_sort.rar
  8. Inter S7-200 Communication

    I didn't have any profibus cable. So used some belkin 6 core - used 2 cores for the comms and tied all the others to earth. Only about 2' length though, but hey - it worked. I may have an application that would require a 60m - 75m cable run - if I were to do this I would get the proper cable. But would i really need a repeater? Or could I just keep the baud rate low and hope for the best?
  9. Inter S7-200 Communication

    I didn't use the NETR. Just used NETW on the 224XP. What cable have you got running between the two?
  10. Inter S7-200 Communication

    I had intended to try and get 2 S7-200's communicating a while back. (Just for the sake of it), but never got round to it. This thread sparked my curiosity again, so I dug out a couple of profibus connectors and knocked a cable up. Wrote a small program for a s7-224xp that basically was an up down counter and a network to transfer the counter value to VW0, this value was then sent to PLC no2. The other plc was a S7-222, which I wrote a program that flashed outputs if value in VW0 (In S7-222) was above or below 5. Found it amazingly easy to do. Go to Tools> Instruction Wizard and select NETR/NETW. Tell it addresses and No of Bytes to be transferred from and to, and it does the rest. Very impressed. Just wish somebody at my company hadn't decided that we now should only use AB as I seem to get along with these quite well.
  11. Inter S7-200 Communication

    I would guess the solution is MPI. But please come back and let us know. I have an idea for my plant where it would be good to send some data from one S7-200 to another, but I have never done this, so any experience of problems encountered and solutions would be great.
  12. ...connected OGO! s incompatable.

    Going from memory here so I may be wrong: Open a new (blank) program go to Tools > Select Hardware and see if ALL versions are listed. If they are (Which I think they will be) your problem will be that you have used an instruction in your program that the older Logo's don't support. When you select hardware version before writing a program it removes instructions from the available list. (ie the instructions that OBA2 can't use)
  13. RSLogix 500 Demo?

    Simple ! (Thanks)
  14. RSLogix 500 Demo?

    I followed that link without any success. Takes you to a page that requires you to register, which I did. Then still couldn't find it.
  15. Hi, does anybody know where to find the free download of RSLogix 500 on the AB website? The uk site has a link to "take you to the download site" - can I find it? NO I requested it on CD about 2 weeks ago, but as yet still no sign, so if anybody could supply a link to the actual file download, it would be much appreciated. Cheers.