captainpatje

MrPLC Member
  • Content count

    7
  • Joined

  • Last visited

Everything posted by captainpatje

  1. Dear all, In a previous post I asked if someone had the software for an old Taian TP02. We used to sell our bandsaw machines with these PLCs a long time ago, around when I was 5 years of age. They are NOT required anymore but its purely as a hobby / and it would be cool if I got it to work. Now I contacted Taian directly and surprisingly they did send me the PC12 software. What I did then was create a Windows 95 VMware and add a serial port (see picture). I connected the PLC to my laptop using a USB to COM cable(RS232 I believe) and the host recognized it as a connection (Prolific USB-to-Serial Comm Port (com2)), and I selected com2 as the serial port that had to be added to the VMware. No problems there, but when I try to connect to the Taian TP02 PLC, it will give a communication time-out. This also happens when the cable is NOT connected, so I think I'm somehow missing an extra step. The cable I am using I also use to program HMI's with so I THINK that's not the issue. But if someone knows if I need a special cable or something, or missing a special driver to communicate between Windows 10 host and Windows 95 vmware, please let me know. But I'm guessing on a missing link between the host and VMware. the host will show Com2, and Windows 95 is only showing COM1. Please let me know, any help is welcome! Thanks
  2. How to connect + Program wire encoder

    Hi all, I am not a PLC expert but can find my way within the program and would like to develop much more. For work (We sell industrial bandsaws) we have purchased a Posital Fraba wire encoder, and we would like to hook it up to our Mitsubishi FX3G PLCs to measure at what height the saw bow of the bandsaw is at that moment. Unfortunately I have little experience with connecting these things, as other encoders used in our machines are pre-installed by our factory. Below is described what functions the wires have. What I thought was the following: Pin 1 goes to an input of the PLC Pin 2 goes to + (or 24V) Pin 3 doesn't go to "Ground" as they describe, but instead to - (or 0V), which is technically ground Pin 4 and 5 we don't use, correct me if I am wrong. The saw bow goes up and down only, and I thought we don't need to use these wires.   I connected it like this, connected wire 1 to X0 on PLC and just to test I made the program read:   M8000 ------------------------------ C235 k99999   But the value stays 0, whether I pull the wire or not. So something is wrong, but what, I really can't figure out. Hope someone can help!  
  3. Hi,   We have a company that is specialized in bandsaw machines, this is one of those machines: What we have done is hook up a wire encoder to the saw bow and the other end of the wire on the base of the machine. You can see a picture of it in the attachment. I have followed the manual of the FX2N-2AD module, the wire encoder requires the current input from 4-20mA, and I am getting a digital output, but this needs to be converted to show in millimeters on the HMI. Unfortunately I am only learning how to do this, and am not an expert in Mitsubishi PLCs (yet). Currently the only code we are using in PLC for reading the 2AD module is found in attachment. TLDR: Wire encoder giving a digital output, but now need code that can convert this value into mm.    
  4. Converting digital output from FX2N-2AD module to mm

    Okay! Highest point of the sawbow = 54mm 54mm = digital value 589
  5. Converting digital output from FX2N-2AD module to mm

    Hoi Gambit, Even though we are both Dutchies I will continue in English. When the sawbow is down, which would amount to 0 mm, the plc has a digital value of 502. Can you tell me how to adjust it to be correct? I have already played with some offset/gain but I don't really understand how that works. Thanks! PS. Not using Mitsubishi GOT, using some HMI called Pingtung (Chinese brand). Software also gives me possibility of offset/gain, but rather do it via screws on the module.
  6. Dear all, Just to let you know: I am not an PLC expert, but for my job I was send to our headquarters in Taiwan to learn basic PLC programming. For context: We sell bandsawing machines (metalcutting saws) for industrial use, and we sell certain options with this (blade deviation detection, mist spray, laser light) which all use inputs/outputs on our Mitsubishi FX3G plcs. Now I must say that I have learned more than originally thought, but one important thing I am not familiar with, which is the calculation behind bits. What I mean by this is, when you use the MOV command, f.e K4X020 K4M020, I know this means K4 actually means 4x4=16bits it moves. But then I don't know where the gap is, because I am tempted to count like this: x20 = m20 x21 = M21 x22 = M22 X23=M23 x24= M24 x25=M25 x26=M26 x27=M27 x28=M28 x29=M29 x30=M30 etc But i know this ain't right, because I should count until x25 and then forget x26, x27 and then go further with x28. Or something like this! This is the easiest way how I could explain the problem I am facing, again I have not really mastered the knowledge of bits, but could someone explain to me how I should know which inputs/outputs I should skip? I was told once but I completely forgot. Thanks in advance!!  
  7. Silly question: bits calculation MOV command

    Ha! Ja dat klopt. Oh dus het steekt zo in elkaar. Bedankt! Duidelijk! PS. Zit ik verdomme in mijn Device list te kijken zie ik inderdaad dat 8 en 9 niet bestaan. Zoveel kennis heb ik er dus van Weer wat geleerd!!   In English: @inntele, dang, I looked in my device list in GX works and can indeed see that 8 and 9 are non existent. Shows you how much knowledge I have of this haha! Well hey, I am glad that you guys could understand my nonsense explanation and made some sense of it! Thanks!