Madmax

MrPLC Member
  • Content count

    12
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Madmax

  • Rank
    Sparky
  • Birthday 04/06/84

Contact Methods

  • Website URL http://
  • ICQ 0
  1. FX1N has internal fuse?

    I've opened it, but there isn't a fuse, I only see smd components and a few capacitors etc,... but no fuse. That means bad news for me... Can I buy another supply circuitboard or do I have to buy a whole new PLC..?
  2. FX1N has internal fuse?

    Can somebody tell me if a FX1N-24MR PLC has an interal fuse somewhere?? Because I have no idea what I've done wrong, but the power led is out when I supply my PLC with 24V! It worked for months but now after I disconnected the supply wires for a sec, it won't start anymore.
  3. High speed functions

    I've connected 2 inductive sensors to my PLC and it works to read one pulse / rev, but do youknow how I should assign an interrupt to an input? I don't understand that part in the manual, they don't really go in detail. Thanks!
  4. High speed functions

    Sergei, The PLC I use is FX1N-24MR: 14 inputs, 10 outputs. Only 2 of the inputs are high-speed and that's the problem. I use the 2 high-speed inputs to read my encoders with the SPD function. I also want to measure the angle of the motors but I don't have any high-speed inputs left. If I use a cam and a sensor on each motor, I will have an input-frequency of 50Hz. Will a regular input read 50Hz?
  5. High speed functions

    Sergei, I don't have an index-pulse on my encoders and I only have 2 high-speed inputs in total. The high-speed inputs are already taken by the 2 SPD commands (they are used to determine the rotational speed). If I use a cam and a sensor, then the input frequency will be max. 50Hz. Can a normal input read this or do I need a high-speed input for that? Thx!
  6. High speed functions

    You're absolutely right, Sergei. The maximum outputfrequency is 23kHz. The SPD comand works fine at this frequency, two SPD commands work also fine. From what I read, I think I can use up to 6 high-speed functions in one program but I'm not 100% sure of that. The things I want to do are the following: 1) Count the number of pulses on X0 in a certain time-limit, write that number to D0 AND increment D10 each time X0 reads a pulse. 2) Count the number of pulses on X1 in a certain time-limit, write that number to D1 AND increment D11 each time X1 reads a pulse. 3) Compare D10 and D11 and write the result to D12 If the value of D10 = 24513 If the value of D11 = 11326 Then the value of D12 = 13187 Now if I do 13187 MOD 500, it results in that one motor is 187 pulses (= 134°) ahead of the other This is how I would like to measure the axis angles Thanks!
  7. High speed functions

    Panic Mode, I have two DC-motors in opposite of eachother that I would like to "connect" to eachother. And, yes, they turn more than one revolution, they turn at 2700rpm in only one direction. Each motor has a "coupling-disc" that fits in only one way. If you don't understand what I mean, I've attached a drawing of the coupling discs to this reply. When the rpm of motor 1 equals the rpm of motor 2, then the PLC has to check the angle between the two discs. I would do this by resetting two dataregisters before I start the motors. When the motors start, on each pulse they increment a dataregister. Once the rpm of the motors is equal and one dataregister has for example: value 26200, and the other has value 26380, that means that one motor is 180 pulses or +/-126° ahead of the other, since the encoders generate 500pulses/rev. Now that I think of it, I don't even have to reset the dataregister after 500 pulses, I also can let the registers "overflow", it's only the value difference that I need, even if the values are negative. Do you know how I could possibly do this? I'm affraid that I only have incremental encoders available... Anyway, thanks for your help! *** Update: It didn't work to upload a bmp file? It's only 38kb but it doesn't work.
  8. High speed functions

    I'm working on a program with an FX1N PLC that requires some of the high-speed instructions. I would like to determine the rotational velocity of two DC motors, using incremental encoders. The encoders are being read by high-speed inputs X0 and X1. I used the SPD instruction to determine the amount of input-pulses in a certain time limit. Since I'm using two motors on two inputs, I used the SPD command twice. So far, so good; everything worked just fine! Now here is where the problem starts: When the rotational speed of both motors is equal, I would like to know the angle between both motor axis. I planned to do this with incrementing two dataregisters and resetting them when they have reached the value of 500 (because my encoder generates 500 pulses / rotation). After that I want to compare the value of the registers to see how many pulses they are from eachother. Maybe the resetting isn't even necessary, maybe I can let the registers "overflow"? Anyway, I tried to do this with the high speed counter function HSCS using C235 (wich reads X0 according to the manual), but then my SPD instructions failed to work properly. After trying that, I used the normal counter function with C235. That also didn't work out. So I looked for some Interrupt functions in the Mitsubishi manual until I found the FEND and IRET functions, wich seemed to be very usefull. So I put my SPD functions, along with the counter function between the FEND and the IRET line. When I uploaded the program to my P.L.C., it went in alarm. I'm not so familiar with Mitsubishi and its high-speed instructions, but I hoped someone could help me out with this. Thanks in advance! Wouter Verscheure
  9. FX1N Positioning

    ... man, I feel like crying... I want to synchronise the rpm of two DC motors, so I guess I won't be needing transistor-outputs for my FX1N... Here is what I want(ed) to do for my school project: I want to synchronise the rpm of two motors wich are in front of eachother. Each motor has a "disc" attached to it, so that both motors can connect with eachother when they are brought together (pneumatically). When the speed of both motors is synchronised, one motor then turns a little bit faster than the other, so that both discs are in the right position to "connect" with eachother. When this is the case, a pneumatic cilinder will bring both motors to eachother, and will bring the discs together so that they are connected. Can I also do this with an analog module that I can connect to my FX1N? What other hardware/electronic components will I be needing then? Will it cost me alot of money? Because I'm just a poor student Thx for your help, Panic Mode!
  10. FX1N Positioning

    Thanks alot for your reply, Panic Mode! Well at this moment I only have a FX1N-24MR (yes that's relay output) but I'm planning to buy myself a transistor output PLC. Any suggestions about choosing NPN or PNP outputs? The motor that I would like to control is 12VDC / 15Watt and I will use a separate supply for it (or something would be toast ) And an isolation wouldn't hurt, because I'm a professional circuitboard toaster! Do you have a little drawing of how you would connect my motor to the PLC? Big thank you for your help, Panic Mode!
  11. FX1N Positioning

    I know that, that's what I said in my previous message, but I only want to know how I should change my rpm. If I want to change my rpm for example to 65% of the maximum capacity of the motor, what should be the parameters that I enter along with the PWM instruction?
  12. FX1N Positioning

    I have been testing the PLSV function but it seems that I will be needing another instruction, because I want to control a DC-motor (not a stepper motor) so I need to adjust the pulse length so that I can change my rotational speed. I've read the manual and found that the PWM instruction should do the job, but now is my question: ********************************************************************* If I want to set the rotational speed of the DC motor at 40% of the maximum rpm, how long should the pulse be? Am I right if I say that the pulse should be 4ms and the interval between the pulses 6ms? Will the motor rpm be at 40% of the maximum capacity? ********************************************************************* My second question: The high speed output of my PLC can generate an output frequency of 100kHz, but now is the problem that the maximum load is limited at 100mA. What do I need if I want to control a 2A motor? I've been told that I need a FET for that, but how exactly do I make a circuit for that? Do I also need other components? ********************************************************************* If I want to control my DC motor with a closed loop, so I will read the rotational speed with an incremental encoder and then I want to adjust the RPM to the speed that I want. Now, if my motor speed is higher than the speed that I want, the motor needs to have a negative pulse train to reduce speed. How do I do that? Does anybody have a program example of it? Thanks in advance! Wouter