Search the Community

Showing results for tags 'balluff bni00ha ethercat block'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 77 results

  1. All of the ethercat servos I have installed are Omron. I have used many many brands in the past - over analog, pulse train, but not ethercat. I have one of the Yaskawa servopacks that can control two servos independently. The drive is all wired (POT, NOT, safety), autotuned, it's in RUN OK state, I have installed the ESI file, set up the axis, mapped the PDOs.. it's all working, but they do not move. I made a test program just with MC_POWER and MC_MOVEJOG/MC_MOVERELATIVE/MC_MOVEABSOLUTE along with the resetting of MC and EC and the servos do turn on, but ignore any movement command. They do not flare up with an error, and they give me their actual position, so the network is working. If I send the movement command the command position starts to differ, so the plc is/should be sending the command. I feel like there's something missing in the PDO mapping screen, but I didn't need to do all of this with Omron so I have no idea. I thought at first the servos needed huge units of movement and speed but the actual position value confirms this is not the case since it doesn't ever change.
  2. We have a customer insisting on communicating with our NX102-9000 over EtherCAT, we have explained multiple times that EtherCAT is not intended as a facility communication protocol and recommended that instead they use Ethernet/IP, but after a year of pushing back they are still insisting and willing to pay for the Engineering work to get this to happen. Has anyone successfully configured two EtherCAT masters to communicate with each other? In the past I have used the PN-PN Master Coupler from Siemens to get two ProfiNet Masters to communicate with each other so I am hopeful that a similar device exists for EtherCAT, but I have not had any luck searching the web for such a device. Does anyone have experience with or know of such a device? Thank you!!
  3. Hello everybody, i have some uncertainties going through my head. i am fairly new in PLC word, graduated last year, last 12 month i did project on Siemens PLCs, but now i have to expand my view with Mitsubishi. 1. i am working on project with several conveyors. for each conveyor type i have FB fairly similar to my FB in siemens. For all conveyor i am using same sdt containing 32 bits. So a have array[0..20]  of said sdt. But in fb i was not able to copy item from array, through input var containing index of that item to vocal variable, which i wanted to write back to the array at the end of fb. I tried different approach ->  using item from array *** input/output.  When monitoring item from array i can see, that variables i change in got2000 panel are in fact changing. But when i monitor fb itself, those same variables are not changing. i reworked this fb several times, for example when i found out that FB variables FB FXcpu cannot be set as retain so i would like to use it and i see no other way than make this fb work. :D 2. Is there possibility to us FB in another FB? I remember that i read some restriction about this, but now, i cannot find it. Thank you everybody for your responses    
  4. Hello, I have a problem when communicating between PLC NX102 and ethercat slave module. ethercat slave still Safe-Operation state. and i get error  • Slave State Transition Failed • Slave AL Status Error Detected does anyone know how to deal with it?  
  5. I'm using simple function block, one input and one output, like in this example: Problem I have is how to call function block and use inverted (NOT) value , ie instead 5.01 I need to use NOT (5.01) . Of course I could create new symbols that are inverted values of actual inputs but i'm trying to avoid that, number of addresses is significant.
  6. To calculate a walking or moving average I want to use WSFT and SUM in a function block. Does anybody have experience with this? The idea is to take a 1 hour average of a proces value and store this average value each hour. The software then have to calculate the walking or moving average over say 4 hours or 12 hours with a maxium of 24 hours. See attached files with logic but then not in a function block     Walking_AVG.cxp Walking_AVG.opt Walking_AVG.bak
  7. Hello.  I'm trying to help someone with a sawmill find a way to input from a sensor to connect it to the PC.  Not sure where even to look to ask for help. but here's what I understand:   The sensor is a SIKO MSA-213C Magnetic Sensor, using EtherCAT.  This interfaces with     SSI, BiSS C, IO Link They just need to connect it to the PC to work with it.   It could just connect to a USB port somehow, or the etherCAT option.   I found this:  MB3U    BiSS (SSI)-to-PC Adapter (USB)  link to .de site   any suggestions or pointers would be very helpful!    These folks don't use the internet, so I help them. Jeff
  8. I can debug my plc app with simulator. I created some function block, and inside functionblock I can inspect in and out parameters, as well as local variables. But in/out parameters values are not shown. Any solution? Im using Sysmac Studio 1.29.2 and selected a NX PLC in my project.
  9. Modbus fonction block error

    Hi everyone, first time posting here. I've got a problem with the Modbus MTCP-CP1L-Server fonction block. it worked fine for a good amount of time until i try to change an ethernet switch (not managed) on my network. at this moment the fonction block started to give me an error code (2211 ''unit is busy, can't execute''). So i put the old switch back again and I called Omron and they tell me to download Etherway and try to send some data to it but they can't do more. I did and BAM, it worked again. everything was fine for about a week and i was like, okay if etherway can ''solve my problem with the fonction block, i can put the new switch again, No I can't. It give me the same error, I try'd so many thing( put the old switch, everything that was possible in Etherway, change IP address, ethernet setting, reboot everything, connecting the unit direct to my PC. nothing can erase that error.  Unit is an CP1L-EM with built-in Ethernet port did someone had have the same problem, or have any idea that can help me ? thank. Sorry for my poor English, its not my first language.     
  10. Anyone know of a guide about programming a balluff io master device into Sysmac Studio?
  11. In Sysmac Studio, I want to add some devices to my network using the Ethercat setup in Sysmac Studio. How do I add devices that do not come as part of the initial install, like a Balluff IO Master, for example?
  12. Has anyone had experience with EtherCAT Communications using Sysmac, NJ5 PLC & Yaskawa SI-ES3 EtherCAT Comms board for A1000 VFD?  I have looked at the manual, but as I am still green on Sysmac & Omron programming in general.....not sure I understand what to do to simple Drive Status monitoring, Execute RUN/STOP & Speed Select... Thanks in advance :) 
  13. Function Block addressing

    Hello all.  I have a program which has 8 function blocks. I recently added extra functionality to one of the programs (not the function blocks). I added the new variables to the global symbols table and added the new code, but when I compiled the new code, the variable addresses in three of the function blocks had changed. This is a problem, because we use memory cassettes to download new versions of code, so when the new version is downloaded to a machine in some far flung part of the world, these variables will be overwritten (they are hours run variable, so are important for servicing purposes).   My understanding is that CX assign's variable addresses in Function Blocks and we have no control over this. Bit if I only added variables to the Global symbol table, why are the FB addresses affected??   Any input appreciated. 
  14. Trying connect baumer EAL 580... Ethhercat absolute encoder with Beckhoff C6015. Ethercat connection is From PLC to EL6695 module(This module is connected to KUKA robot for mater to master communication) and from Out port of EL6695 to In port of Baumer Encoder. It is not getting scanned nor manually appended. But when i connect it directly to PLC it works fine(gets scanned). Any solution?
  15. Sample blocks for S7 1200 plc's

    Hi experts, please share the sample blocks for the EDITABLE TIMER block it should be editable from HMI(Siemens). And also motor run hour block. Actually i am having all blocks in tia v12 version and sadly i dont have the old software to convert it again. So please share the blocks that it shoud be work in TIA V14 for s7 1200 plc's. Please note that the blocks should use add instructions to calculate the time because i don't have much memory.
  16. Hello All I am new to Mitsibishi servodrive, i am using a Beckhoff PLC TwinCAT3  and MR-J4-TM servo drive from mitsubishi , i connected the servo to the NTwinCAT using etherCAT. I was able to write a program where i was able to activate the servo from the TwinCAT using the mc_Power instruction . My question is , i am not able to run the servo using the mc_movevelocity and mc_moverelative . Do any one have any suggestion to how to go from here .. datei_Mr-J4-TM_TwinCat_EtherCAT.pdf
  17. Is it possible to setup Ethercat parameters from within the PLC program?  I am facing a situation where a machine is going to have changeable tooling fixtures and each fixture is going to have an EtherCAT device on it.  I am guessing they will need to be setup to look like the same node to the PLC, but they will have different physical IDs and different settings for some of the parameter fields.  They will be the same device so they will have the same parameter fields, just different values in those fields. I can also get these devices with EthernetIP as the fieldbus option.  In that case I would always have a network error because the PLC would always see one of the devices missing from the network.  is it possible to enable/disable Ethernet connections from within the program logic to avoid the error?
  18. Hello All I am new to sysmac studio, i am using a NJ301-1200  and R88M-KN10H servo drive , i connected the servo to the NJ using ethercat. I was able to write a program where i was able to activate the servo from the NJ using the mc_Power instruction . My question is , i am not able to run the servo using the mc_movevelocity and mc_moverelative . Do any one have any suggestion to how to go from here ..  
  19. Pointer Device memory

    To those who don't know the GX Works2 compiler treats any function block referenced used in your code as a place to copy the entire set of code data into your program. Function block calls are not handled like pointers even though the should be. [You'll consume all your pointer space by thinking function blocks are great.]
  20. Good day, I need help, how I read data from Balluff BVS001C Identification over ethernet? Thx a lot
  21. Hey, I recently started trying my hand at creating function blocks. At the moment I'm trying to create a PID function block, however I keep getting this error: "ERROR: Variable does not have enough size." No idea why it does this. Can anyone help?  
  22. Omron Function Block variables

    Hello all.  I posted earlier in the week regarding downloading new code to an Omron PLC, but I think the question was a bit vague. As a follow up, and hopefully to clarify, I have the following query. I have created an upgraded program which will be downloaded by field techs using memory cassettes. The revised area of code is essentially a Function Block which amends service lamp behaviour, and in creating it, I have amended the existing function block and added new Internal variables. Is there any way I can ensure that the new variables don''t over write or move the existing  variables in the PLC, because this is what is happening when I download it.    HELP!!!!!!!!!
  23. My NX7 controller all of a sudden lost the EtherCAT configuration today. The safety PLC was in fault and some of the safety I/O slices on the NX EtherCAT coupler are missing. How does this happen and how do I fix it? I tried to download the configuration using synchronize but I keep getting coupler and NX-SL3 safety PLC errors. I connected to the coupler using USB and the actual configuration is missing some slices?     I only see an option to 'Apply Actual Unit Configuration' but nothing about going the other way.  The coupler is in error so is this why I can't send the project configuration with all the slices back to the coupler? The NX-SL3 safety PLC is in error because of these missing slices?
  24. So I did this simple Function Block, pretty simple, and yet it keeps giving me this error, after a bunch of failed combinations the error persists, without telling me whats wrong. And therefore won't even allow me to download the program to the PLC (CJ2M CPU31) or even simulate.   I heard it's a simple thing to fix but I really dont know how to, since I'm quite new to this. Here's the function block  itself in the picture and the programming inside it, although since it gives me no errors, i don't think that would be the problem
  25. Block Compare Instruction

    Is there a Block Compare Instruction like the one in Omron PLC for Mitsubishi PLC? If the Omron PLC is BCMP (68), then what is the name of the instruction on the Mitsubishi PLC? I tried to use BKCMP in the Mitsubishi PLC, but the way it works is not the same as the one in Omron PLC