Ol_Johnny

MrPLC Member
  • Content count

    10
  • Joined

  • Last visited

Everything posted by Ol_Johnny

  1. linearisation on Q series?

    Oh geez, you're right, I think I had divided my sines backwards. I'm not much of a math guy... but I enjoy the challenge. So I think this is right, with a tank that has a slope of 60 degrees and liquid level is 10 meters.... I get a radius of 8.66 meters and a volume of approx 785.   Is that close to what you came up with?     Tank Cone Calculation Revised.gxw
  2. linearisation on Q series?

    LOL I ended up doing it too because I was curious. Didn't need the whole Pythagorean theorem calculation, because I got the radius straight from the law of sines thingy. Here's my example if anyone else needs it... only 14 lines of logic. Tank Cone Calculation.gxw
  3. linearisation on Q series?

    Woops, Looks like my formulas got scrambled,  
  4. linearisation on Q series?

    Unfortunately I think you're going to have to use math, but it's nothing terrible. I'm no math whizz, myself, but since no one else was providing a solution I thought I would try. I may be wrong here. You know the height of the liquid in the cone so you can figure out the volume using three math formulas. Law of sines to figure out the distance on the angled length of the cone, so you'll need to go out to the tank and measure its angle or use math... but I think measuring it would be easier. Once you have that angle(alpha) you will also know the second angle will always be 90 degrees(beta), because liquid level is flat.  You also know (side) because that's your height measurement.(See the formula below. Law of Sines.) Pythagorean Theorem to calculate the radius of the cone as it changes when the height drops. You previously calculated your hypotenuse and you know your height so just solve for the last distance. Then volume of a cone. Just make your height and radius D registers and use the simple math functions in GX Works to dynamically calculate the correct info. I've never actually used the SIN and SQR functions in GX Works 2 but it should work for you in this case. I used google to find all of these calculators. Should be fun.   Law of Sines Solve for  side         a = b   sin α   sin β     α Alpha deg   b Side β Beta deg   abβαabβαabαβ   Pythagorean Theorem Solve for  hypotenuse         c = a 2 + b 2         a Leg b Leg cbacbaabcPA   Right circular cone Solve for  volume         V = π   r 2   h   3     r Radius h Height rhlrhlrlhAb
  5. SLC-500 Power Supply Short?

    Anyone have experience with the old SLC-500s? I have one machine that is about 13 years old and I think they used a new old stock SLC-05/04 when they built it. Anyway I had a battery error, which makes sense since the battery was very old, and I lost my program when I tried to replace it, which makes sense because the capacitor which is supposed to hold the charge is very old. When I tried to re-download the program to the PLC, I could not connect, I realized my issue now was no null modem... and my driver not working on my RS-232 to USB converter. My question is:  What is the port above the DB-9 port used for? It was labeled PROG, so when my DB-9 serial cable didn't work I tried a serial cable for a mitsubishi FX series on the top port... and.... my power supply died. Is this a common thing on SLC-500 power supplies? Can you short them by using the wrong cable? The weird thing is the fuse on the front was not blown. Is there a fuse inside I can get to and replace? We are planning on just keeping this machine a few more years so we don't want to upgrade it. The CPU was fine afterwards.
  6. SLC-500 Power Supply Short?

    Hey thanks for clearing this up for me! I'm still fairly inexperienced in serial communications and there are so many protocols out there. Thank goodness Ethernet and USB are becoming so ubiquitous. Yeah it was weird that the power supply stopped working... maybe it was dying anyway.. and that's why the battery error tripped and the capacitor didn't hold its charge.
  7. How good are Mitsubishi plc's

    I've pulled batteries from 2002 in 2016... so 14 years I suppose to hit the battery light.  (Continuously powered.) I've also had a machine that's 5-6 years old and was unpowered for a year and the program was gone after sitting.
  8. Hey everyone! New member here, and this site has always been a big help!  I try to help other folks too, but a lot of guys are super quick on here.   I've got a problem using some obscure components. I inherited a sensor network at work that uses Panasonic S-Link and I need to read them from a Q-Series. Panasonic makes a module that slots into the Q Series called an SL-VMEL-Q that I have.   My question is:  Did I do everything correctly on my Mitsubishi side? I put it into the parameters as an intelligent module with 64 points and I put the correct address in for the start I/O. Is that all I have to do?  This is the first time I used a module that wasn't on the drop down list when you add one in GX Works 2.   I can read and write to the buffer memory, but I can't get the unit to send to or receive from the sensors. I think the problem is that there is no end unit on the S-Link line (I don't know if it's just a terminating resistor or what), but it previously worked without one, so I can't be certain.
  9. 3rd Party Q Series Intelligent Device Modules

    Just to update - I found out I was doing everything correctly, except for the I/O was set to 64,  thanks for clearing that up! It turns out, if anyone has to mess with this style of fieldbus... that there are 2 versions of S-Link from Panasonic. The newer one is called S-Link V and it does not work with sensors manufactured for the older system.  (I think different baud rates.) So I suppose we'll be replacing them because they're obsolete anyway.
  10. 3rd Party Q Series Intelligent Device Modules

    I was confused when I read the manual, because on page 19 it's says the product incorporates 32 points input and 32 points output, so I thought it was 64. I left out the code on 18 because I set the parameters on the unit itself... and I was able to see those settings change in buffer memory when I powered on. Also, yes the inputs appear to be functioning correctly, because I put the other programming example (customized of course) from page 33 into my program (where it reads and writes the buffer memory), and X60-X6F appeared to work, I could pause the device or remove +24 volts and the inputs would change as they should. I did force an error and that bit was not going high.... it should have been X71.   Thanks so much for trying to help with this!