Alexander K

MrPLC Member
  • Content count

    12
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Alexander K

  • Rank
    Sparky

Profile Information

  • Country Sweden
  1. Simple programming cable for Mitsubishi FX

    You are most welcome! (Välkommen , what you wrote is German ;) Very good try though! I know nothing in your language :()
  2. Simple programming cable for Mitsubishi FX

    I know this is an old thread but speaking of cables for Mitsu there's a good page on Beijer.se where you can get "blueprints" of the cables as of how they are constructed. I thought this was a good resource to pass on but thought it was better to post it in the thread that was already about Mitsu Cables. Here's the link (In Swedish, blueprints are in both English and Swedish) http://www.beijer.se/web/web_aut_se.nsf/Al...1256F4E002EBED9 Chose the product you want to connect to, then chose what you want to connect from and press "Sök kabel" and it will give you a list of cables for that combination (all that applies to that combination you searched for) and there is a link to the "blueprint" which is called "Ritning" in Swedish. This might already be know and on other places and I tried to search for it on the forum but didn't find anything simular, I hope this is not a repost! :) Example: SC-Q http://www.beijer.se/web/kabelguiden.nsf/0...FILE/3362k1.pdf SC-09 http://www.beijer.se/web/kabelguiden.nsf/0...;FILE/673S1.pdf Regards Alex
  3. IL code change to ladder

    From www.beijer.se: English Helpfile for IL to Ladder Converter.exe Convert_for_GXDeveloper.xls Regards Alex
  4. Controlling 128 heaters with PWM in FX2N

    vaibhav's quote was regarding one DC motor :)
  5. inserting a reference pointer in structured text

    I would defenetly put that under the "Somewhat of a jump" category considering it's part of a conditional jump I admit that I should of said that I wasn't refering the pointer it self as a "somewhat of a jump", I was refering to it as part of a jump as on the example screenshot that was posted above, but as I did not see the function that was using the pointer I had to use the "pointer" word to refere to it. I didn't think anyone would get stuck on the "pointer" part. But I guess I should never take that for granted again
  6. inserting a reference pointer in structured text

    I was defenetly way off! Pointer is somewhat of a jump in GX Developer?
  7. FX2N-32MR with FX2n-4AD

    You're welcome, lern alot myself about help others so they are able to understand what I mean, it's easy to go to fast forward and not go in to more detail when it's detail that's needed. EDIT: Looked at another manual and indeed it said #9 #10 #11 #12 there, I had the problem another time, need to be the right version, which was hard this time as I didn't have it infront of me. Remember one time with a high speed counter where I struggeled for an hour before I realiced it might be an old version manual, this was the case and it only took two minutes to get it working with the right manual
  8. FX2N-32MR with FX2n-4AD

    TO instruction: s: What to send to the module n1: Module position n2: BFM n3: Number of 16 bit From d: Where to store the value gathered n1: Module position n2: BFM n3: Number of 16bit Regards Alex
  9. FX2N-32MR with FX2n-4AD

    Sorry, it clicked in my brain when you said Medoc, I instantly thought you ment the DOS version and didn't notice it said "Medoc Plus". Never used Medoc plus, that does however look alot like GX IEC Developer. And FROM_M is the correct command. Now the problem is that I don't have such a program where I'm at not so I'm not sure of the exact order of n1,n2,n3. Is there a posibility to press F1 when you select the FROM_M in the ladder view? Do you get an explantion on the command? Or parhaps there's a place on the Help menu to vew "commands", it won't say "commands" it will most likley say something else. Try serching for "FROM". The TO command is also called "TO_M". And you're correct that "d" is the output data register, where I used D10. And EN stands for enable, this can be a memory bit (for example M1) and Output (so when the out put is 1 it will be true and trigger EN) such as Q1 or a Input bit such as X1. Will check Beijer.se to see if i can find a manual on how to configure FROM and TO commands.
  10. FX2N-32MR with FX2n-4AD

    Here's a document for the FX2N-4AD http://www.beijer.se/web/BExFilePileAUT.ns...2N_4AD_verC.pdf There are a set of settings you need to do before you start collecting data. First you need to make sure what channels you are using and configure if you are going to use 4-20mA, -10 to +10V, -20mA to +20mA or not to use the channel at all. You do this by sending a command to the 4AD unit with the "TO" command. I don't have Medoc infront of me, but will be infront of it before the end of this day. You need to find the TO command in the menus of Medoc (might have to use the [] command and write TO) then send the Hex value according to the manual on page 4 (for Example H3330 to use channel 1 as -10 to +10. The TO command would look like this -> TO K0(1) K0(2) H3330(3) K1(4) (1) Module position (first expantion module would be 0, second would be 1 and so on) (2) The BFM (Buffert memory) where the "setting" is stored in the module. (3) The setting we are sending to the module as explained above. (4) Number of 16bit you want to send, as we are sending H3330 is 13104 in decimal form and 16bit is as you know 32767 so we only need one 16bit word to be sent. You might also want to chose how many readings an avarage value should be based on. This can be good if your "process" isn't steady, this way it can base the value of the last n of readings to give you an avarage. This is done with BFM #1 for channel 1 (#2 for channel 2 and so on) by sending the value of the number of readings it should be based on. For example if you want to set it to 10 readings you would make a TO like this: TO K0 K1 K10 K1 Thats everything thats needed to get started besides the actual part where you gather the value. For this you need to use the FROM command to gather the AD value. As of the manual the value is stored in BFM 10, 11, 12 and 13 depending on what channel we use by the setting we did above. As we said we wanted to gather -10 to +10 V on channel 1 we have to use BFM #10 So the command would look like this: FROM K0 K10 D10(1) K1 (1) The registry we want to save the value to that we gathered from the module. It's the same order as before. First K is module position, Second is BFM which we agreed (i hope) to be #10 and (1) has been explained and the last K is the number of 16 bit words we want to gather, as the module is 12 bit we only need one. Hope that helped. Regards Alex
  11. a1SH and A1SD62E slot card

    I presume you're using GX IEC Developer based on the examples. I don't have the program infront of me, I do however have GX Developer where I'm at now so it might be slightly deviant from the reality but you'll have to slightly read behind the lines. Just devide the pulses (32 bit) with a DINT (can't mix DINT and INT on the div function) of 500, you will then get pulses in mm. More then, Less then, More then Equal, Less then Equal are called: GT, LT, GE and LE in GX IEC Developer. Can also be done in Structured text where you use "< > >= <=". In GX Developer you will use LD< and LD> aswell as <= >= (I haven't used GX Developer much, I had to lern it on my own when I had to change a machine so there's plenty of holes in my knowlage around that program ;))
  12. inserting a reference pointer in structured text

    Sorry to get this older topic bumped up but I just need to ask what you mean when you're refering to "pointer"? I get it to as you're refering to a variable? Probably way off with this but considering you tried to use CTRL+J which makes me think of Siemens variable list. Anyways I do use Structured text with math calculations as it's simpler in my opinion. If it's variables you're refering to: 1. Insert the variable in the Global or local Variable list depending on the type of variable. 2. Open the structured text POU, write the first part of the variable and it will "fill in" the rest of it. To asign a value to a variable you do this: variblename := 1; Probebly already knew that. Hope this was helpfull!