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. Hello. How can I get bit addressing of defined variable in function block? For example: - I define variable type DUINT with name Double_VarI_INT. - I want to get or set one bit out of it (its double word). - If I use Double_VarI_INT.0 I got error. Best regards.
  2. Hi all, I have an NJ trying to talk to the secondary side of a Kuka EL6695-1001 EtherCAT bridge. The NJ appears to recognise the bridge but fails with an "acquisition error" or "Failed to get the lower network configuration information". Apart from these messages (and the fact it doesn't work), it all appears to configure correctly (memory sizes and PDOs). The activity light on the bridge 'IN' port is flashing (connection to NJ) and we have verified the Ethernet cable. I have tried the ESI file supplied by Kuka and one supplied by Omron - no joy. Any suggestions please? Thanks.
  3. Hi, I'm working in so machine basic v1.5 and I'm wondering if it is possible to change the start time and stop time in a schedule block with a %MW. So is there a possibility to for example say %CH0.??? := %MW5 in an operation block? And is there a page where u can see al the possible codes. I already discovered that %TM0.P changes its preset but i don't find a list of al those possibility's.
  4. Hi All, I'm still quite new to Unity and Modicon PLCs. I have a PLC program running in simulation mode for development/test and I'd like to follow the logic inside a running block. I can't seem to just double click the function block while online to see it's 'inside' logic. Is there a way to inspect the inside of a running function block? How can I check and diagnose the logic a running function block? Thanks!
  5. Hello I am trying to use a Kollmorgen AKD servo drive in ethercat with the NX1P2 PLC, but I am having problems, I can activate the driver, reset, read the current position but I can not get it to move the axis ... I tried using JOG, Move Relative, Absolute ... and nothing. Can someone help me?
  6. Hi, can you help me how to make program indirect address for plc omron? I use PLC CP1E Thanks
  7. Can Anyone Come Up with the Screen Shots or a video link of procedure for Displaying Real Time Sinusoidal Waveforms From Satec MFM ON GE FANUC?? I have PACsystem RX3i via Serial Communications Module-IC695CMM002 
  8. can you help me? bring me some example to build function block program with Gx Works? I use Q02U CPU   thanks
  9. where are the FB libraries

    Hello, Im looking for the in built function blocks, but i cannot find it in the program files/ omron folder where the manual says (even with search for *.cxf), perhaps i dont have it installed, but where can i get them from? As i remember i downloaded cx-one from the official omron web page after login etc, so thats why i dont understand why am i missing the fb libraries What else place there is to find useful FB-s? Thanks!
  10. Unable to Monitor in GXworks2

    Hi! Anyone can help regarding this issue. I'm not able to monitor the Motor Block that I have created. there's no error either in the output screen but i'm thinking what is the cause of not running in the simulation which shows the Motor Folder RED  even it was compiled. thanks for the help!     Note: I'm new in mitsubishi.
  11. Function block self-made

    Hi, i want to make a function block which will contain a block GP.CPRTCL (for predefined comm protocol). GP.CPRTCL has an input "Un" who only receives constant (H,K). On input of my own function block i can set a constant variable, but inside block that variable isn't a constant anymore (GP.CPRTCL doesn't recognize a variable). Is there a way for receiving constant variable in GP.CPRTCL block ("Un") if it is in another block. Regards
  12. Beckhoff PLC Counter

    Hi everyone, I need some help with my PLC programming. I am currently using a twincat 2 software and a Beckhoff CX 8090. Basically, the gist of my program is to send and receive data and datalog the input data received from the sensors and timestamp the received data for every 1 second. I want to create a boot up counter where it will count the number of times my data logging program has restarted(if it did). This boot up counter serves as a health monitoring check to ensure that my program is running perfectly and thus, not restarting randomly when it shouldn't. I am more familiar with structured text so if you have a solution, kindly post it in structured text form. Your help would be greatly appreciated. Best regards, DeadPool
  13. Hello. I'm trying to use index addressing inside function block.  The command *D200 doesn't work. Is it necessary to use IR0, ID0,... inside function block? Thanks. Best regards
  14. There are a lot of instructions in function block that are missing the enable input that is present when programming in ladder logic, such as  ADD or MOV.  It seems to be very limiting. The only way around it that I know of is to write your own function block in ladder logic or statement list and use that. I seems rather limiting of a language if it relies on other languages for it to be usable. Does anyone know why the enable bit was left out in many function blocks when it is so useful in ladder logic? Pat
  15. I'm having trouble with some very basic programming using function blocks. Specifically Connect Components FB programming, but I think it is a general, common application. Using ladder logic, it is easy to set a value based on the status of a bit. If the bit is false, move a zero into the variable. If the bit is true, move and 88.0 into the value. This relies on the enable bit of the mov instruction in ladder logic. Many function block instructions do not have enable bits. How would I change the value of a variable based on the status of a bit using function block programming? A real world example: You have a two position selector switch. If it is turned to the left, the drive runs at 0 Hz. (off) if it is to the right, it runs at 88.0 Hz. Or if you have a 4 position selector and want to select between 4 speeds. This should be a simple task, right? I've called the tech connect support line a few times and sent them a few emails and they haven't been able to figure it out. This is such a basic task. Thanks, Pat
  16. Hello all, I'm new to Beckhoff and running a PLC with EtherCAT I/O slaves. If one of the slaves is disconnected from the network (power loss or network cable broken) the whole PLC freezes, is there a way of configuring ethercat such that it remains (partially) operational, thus showing me the I/O on the unaffected stations.
  17. Dear Experts!!!   Could you please provide me the sample of "QD75MS Module & MR-J3-B program with functional block"    As you can see the page no. 3  in the attached document  "KI-Doc_QD77MSXX_MR-J3-XXBS.Zip" sample is there but i am not able to find it anywhere.   Or if you have any otherone please share it.   Please help!!! KIdoc_QD77servo_English_20130131.pdf
  18. Hi there I'm an embedded software engineer mostly programming C/C++ in Linux and have very little knowledge of the PLC environment.  Recently my attention was diverted towards integrating C/C++ (Linux software) into PLC and then presumably as a function block which is supported with something called PLCOpen. Is that right ? How is multithread support in PLC in general ? and/or with the these function blocks or what ever might become instead when integrating/porting C/C++ code into PLC.  The current situation is purely embedded Linux environment with open-source 3rd party userland that our code relies heavily on. How feasible is to port such environment over to PLC (given that the system supports it) ? I've been looking into B&R Automation Studio 4 and having a hard time to establish concrete feeling on how difficult/easy it is to port the code.  Hope anyone can give me a slight insight into this.  Kind regards Einar
  19. Block Set or Block Move

    Hi:     in Omron there is a command BSET which can be used to set value from DXXXX to DXXXXn. Example BSET #0 D2000 D30000 What is the similar command in Mitsubishi FX3U structure Ladder?   thks
  20. How to take single bit form input WORD by Structured Text? Can i write somethink like: inVar[i]  
  21. Siemens S7-1500 and SICK

    Hello all, Let me start by saying that although I have been working with PLCs for 20+ years I am very (as in brand) new to the Siemens world (my wheelhouse is AB). That being said I have a Siemens S7-1500 (1511 specifically) CPU with a couple of SICK multi-turn Profi-Net encoders (AFM60A-S4NB018x12) that I need to talk to. - I am using TIA v13 with all of the updates. - I have the GSD file from SICK for the encoder. - I have no clue what I am doing - I can see the encoder values update in the watch table as I move the encoder. All fine and dandy so far... Here's where the white flag is going up.... - I am of the belief that there are existing function blocks out there 'somewhere' that can read and write to the base parameters. I have contacted our local rep who deferred me to SICK. I have emailed and left messages with them and have not gotten a return anything thus far. Here's our application... We are attaching each encoder to its own rotary gear mechanism. The rotary will need to turn in the CW direction approximately 400 degrees then return to its start point by rotating in the CCW direction by the same amount. If/When production/maintenance needs to 'rehome' the assembly, the expectation is that they 'pin' the drive in a known location then a bit would be set within the CPU that would assign a specific value to the encoder's actual position. In the SICK manual (8015078/YIX6/2015-01-16) on page 31 (section 3.6.3) there is reference to Preset control. This is what I believe we need to perform the aforementioned function. Does anyone have any examples that they could share on how to read/write to these encoders by use of a Function Block or other? Relatively desperate for help at this point. Can post test code if need be. Thank you in advance, TLAF
  22. Hello All I use NJ connected to E3NW+E9NC-TA Sensor Is it possible to send command go through EtherCAT to set the function such as "S Tune" or "UP" "DOWN".
  23. Hello all, Let's says my PLC has a refresh rate of 1 ms. Ethercat has a refresh rate of roughly 0.1ms. Correct me if I am wrong but every Plc scan time ethercat refreshes itself 10 times? Or does it only refresh itself one time with a time based on the Plc scan cycle of 1ms? Thank you
  24. With regard to an NJ EtherCAT network, all comms cables are shielded, but where should the shield connect to ground? I don't measure any connection between PE or FG on the NJ's power supply to the outer casing of the EtherCAT port on the NJ. (No connection to the Ethernet/IP port either.) I am also using a GX-JC06 junction slave, and none of the outer casings on this unit connect to ground either. On Omron G5 servo controllers, the EtherCAT link in and out port casings do not connect to ground either, but they ARE connected together, which means that the shielding path is maintained through. Is the grounding somehow made through active components, instead of a direct passive connection?
  25. Mitsubishi QJ71PB92V and Balluff BNI PBS-507-000-Z011

    Hi all! I need advice. I have Mitsubishi Q02UCPU with profibus module QJ71PB92V. I try to connect communication module from Balluff BNI PBS-507-000-Z011 via Profubus without success. Everytime I connect module, I see diagnostic alarm "The parameter transmitted by the master is incorrect". All settings were made by default. QJ71PB92V has 0 adress and Balluff BNI PBS-507-000-Z01 has 11. I connected this module to the Siemens CPU-315 and it is work correct. From this forum I see it is common error. What will be the next step to check or solve the problem? I am not profficient in Profibus networks, so I will be appreciate for any help!