viman

MrPLC Member
  • Content count

    41
  • Joined

  • Last visited

Community Reputation

1 Neutral

About viman

  • Rank
    Sparky

Profile Information

  • Country Spain
  1. Also make sure your RS232 cable is an actual serial port emulator. I always encountered issues until I got a FTDI cable
  2. connect encoder to nx1p2

    The variable in question is registered on the IO Map menu just like any other input/output. There you can see what data type the encoder value is using and assign a name to it. I suggest you enable the Controlword input (I think - need to check this) on the card's side parameters, since I have needed to reset and enable manually the encoder reading in every single application that used one.
  3. You can also copy paste FBs betwen different Sysmac Studio instances. 
  4. Lenze i950

    Check my thread about a Yaskawa ECAT servodrive, it took me a lot of time to figure out and you may get some guidance from it. It sounds like you are getting the same behavior from the motor as I did. Rule of thumb, get the trial of Twincat3 on your computer and connect the drive directly to it. Use your computer as ethercat master; you can still test the motor even if it tells you your network card isn't ethercat compatible. See if it works with it. From there I just started comparing the chunk of parameters of the servodrive written by Sysmac and Twincat, and found out which ones were being wrongly set by SS. That gave me a hint of what kind of PDO mappings I should modify.
  5. omron nt2s and ntxs-nt2st software

    I know. But he's going to need that virtual machine if he wants to use whatever software that display needs.
  6. Sysmac Studio IDE Very Slow

    Yes it is. Some days I get sick of it. It takes literal minutes to open a project, three minutes to detect a dropped connection, four seconds for each contact and relay you place in online editing mode. Removing a whole rung cause you didn't click in a specific part of all the white space, still the bug of selection rectangle not taking mouse client coordinates, variables taking forever to update in online, project compiling like every twenty seconds putting the element you are in out of focus. What about the awful performance of the simulator? CX-Programmer had all these things working better already
  7. omron nt2s and ntxs-nt2st software

    I had to set up a virtual machine with winXP to be able to get NTST working (older software). See my thread down this subforum, https://forums.mrplc.com/index.php?/topic/40250-nt-suport-tool-data-created-by-dos-tool/
  8. EEPROM Error

    Maybe the initialize feature needs the plc to be in PROGRAM mode. CX-Programmer behaved like this. If you are online in the plc, look for the PLAY/PROGRAM buttons next to the online/offline buttons. Click PROGRAM and try to initialize the drive. If it's not working create a new project, drag your drive from the toolbox in the ethercat category, go online and click Transfer to Controller (NOT compare). Like this Then click on the drive and open the parameter list, and from there click the Transfer All to Drive button.
  9. EEPROM Error

    I'm understanding he's using an Omron servo drive.
  10. EEPROM Error

    What's the reference of the drive? If it has buttons you can probably initialize setting a parameter. If not you are going to need a Omron NX/NJ to be able to transfer all the parameters from Sysmac to the drive. The parameters loaded by default when assigning the drive under the ethercat network should be the same as factory defaults.
  11. The paper in question is SIEPS80000219, chapter 13. End of the road anyway. With those parameters I can use jog, absolute and relative movements. I also tried linear interpolations and other sync movements and it seems to work. Looks like they all use the same mode of operation. Omron told me they know first hand that NX works with Yaskawa SGD7S via ethercat. Mine is a SGD7W but aside from controlling two motors instead of one all the parameters are identical, so I don't know what's going on.
  12. I will check the manuals but I haven't seen any SDOs so far. I did find however what the controlword and statusword mean in this drive. I'll locate the paper later and post it here. Time is running out so I'm just going to make the homing sequence myself. I just needed to confirm if the plc was able to set that mode of operation parameter correctly on its own, so it can command the servo later via MC_MoveX commands. It does, mapping just the following PDOs in the 2nd channel or whatever it is. Controlword Target position Modes of operation -------------- Status word Position actual value Modes of operation display Inputs Anything else than that makes the motors stop working. With this the plc can change the mode of operation from 0 to 8. I confirmed this by resetting that value manually on the drive, so it appears twincat isn't necessary. I can use the MC features I need except homing. These two motors have to work in sync at some point, but I guess (hope) that it falls back to the controller and works too
  13. Not really. You can't do anything with it other than mapping it to the axis, and since it's an output you can't assign it to a variable (unlike PDO inputs). I also discovered the MC functions don't work if I assign PDO objects to the 1st transmit/receive. I can only use the default 2nd, adding objects there if necessary, but that might be a requisite on Yaskawa's end
  14. I left work late trying to understand what's not working. I have compared the parameters doing everything in Sysmac and the key is the 'mode of operation' parameter. Twincat immediately sets it to 8, which per the manual means the drive works in cyclic position mode. Sysmac sets it to 0 (no operation) under some circumstances I still haven't figured out. I can edit it manually with the drive's own software and the servo magically starts moving, but it's not a solution if the plc randomly changes it. Aside from that, since the plc is not writing that parameter correctly, I still haven't been able to home the motors (requires changing mode of operation to 5).
  15. Thanks all for the responses. I got it working under the NX, but I can't yet say what's going on. I was following Yaskawa's quick guide for ethercat servos (AN.MTN.03) but yesterday it wasn't working so I thought about resetting the drive to factory defaults. After that I have done the same, connecting the drive directly to my computer (working as ethercat master, with no plc or coupler in between) and letting twincat 3 scan the network. It's working, but there's a catch. If I do anything else than adding the drive to the ethercat network in Sysmac Studio (pdo mappings, enabling some setting, whatever), the drive stops working under any condition. It doesn't work anymore in twincat either as long as I don't factory reset and let twincat configure the network again. Sysmac Studio must be sending some wrong parameters cause it breaks the drive. Reminds me of my past thread where the ethernet/ip wasn't working and it turned out to be Sysmac too.. If I have time I will extract the parameters that differ in the drive from twincat vs sysmac