viman

MrPLC Member
  • Content count

    45
  • Joined

  • Last visited

Community Reputation

2 Neutral

About viman

  • Rank
    Sparky

Profile Information

  • Country Spain
  1. Sending data from CJ2M to CJ1M

    If your CPUs have RJ45, Omron FINS ethernet is the easiest choice. I usually wire multiple CP1L-E that talk to each other in a network like this. It doesn't work to the same extend with a regular CP1L with CP1W-CIF41 - this can only REPLY back data. It won't process any network commands in the program but can answer a call. Set up the IP address and the FINS node on the configuration page of each PLC - nothing else needed. CPU1 is 250.1 node 1, CPU2 is 250.2 node 2, and so forth. Drag the SendData function block from the CX-Programmer library and set the parameters. Network address should be local network (0 - default). Node address is the node of the CPU you want to send data to. Unit address is the type of device (0 for a PLC - default). Send/receive area ID is the type of memory you want to exchange (P_WR for Ws, P_CIO for I/Os, P_DM for Ds) Send/receive area number is the starting channel to write from/write to. Data size is the number of channels. This is all in the pdf you bring by hitting right click -> function block reference. You can use the opposite function, RecvData, to read from a PLC that can't send commands, like the aforementioned CP1L.
  2. Connecting to this controller

    There's a CNC machine with Siemens hardware raising an error. It says the SINUMERIK 810D cannot connect to the controller. It used to take ten minutes, then half an hour, now it's not working. The S7 is giving a SF alarm, I need to connect to it to see what's the cause, but I'm an Omron guy so I need some help in this. This is the S7. It's mounted to the right of a Siemens power supply, all good, tested. I have the MPI adapter that works with the S7-300 with native serial port, but obviously here it doesn't fit. I have no idea if just a getting a new cable for the adapter will work. I don't even know if one can connect to this. I'm getting a vibe this is a only coupler for the SINUMERIK to use remote IOs.
  3. Encoder cards have bits to enable or reset the value, but they are not mapped by default. You have to map, if I don't remember wrong, the STATUS word inside the configuration of the module. Then you can either map that word to a variable or the individual bits you want as contacts/coils, and set the reset coil ON for a single cycle. I made this in the past, I'll look for the code and post it.
  4. Inflation - Cost Increases

    Here in Europe I'm seeing 7+ months for plcs, relays, inverters, even terminal blocks, along 4-10% raise. Insane. I have been expecting an Omron CJ CPU for more than a year and a half, and they told me things are getting worse actually.
  5. Also make sure your RS232 cable is an actual serial port emulator. I always encountered issues until I got a FTDI cable
  6. 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.
  7. You can also copy paste FBs betwen different Sysmac Studio instances. 
  8. 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.
  9. 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.
  10. 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
  11. 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/
  12. 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.
  13. EEPROM Error

    I'm understanding he's using an Omron servo drive.
  14. 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.
  15. 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.