Jump to content

Search the Community

Showing results for tags 'beckhoff'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • PLCs and Supporting Devices
    • General Topics - The Lounge
    • Allen Bradley / Rockwell Automation
    • Omron
    • Mitsubishi
    • Siemens
    • Automation Direct
    • GE / Emerson
    • Festo
    • Modicon / Telemecanique / Schneider Electric
    • Other PLCs
    • Download Comments

Categories

  • Allen Bradley
    • PLC Sample Code
    • HMI Sample Code
    • Demo Software
    • Manuals, Tutorials
  • GE
    • PLC Sample Code
    • HMI Sample Code
    • Demo Software
    • Manuals, Tutorials
  • Omron
    • PLC Sample Code
    • HMI Sample Code
    • Demo Software
    • Manuals
    • Tutorials and Quickstarts
    • Tech and Application Notes
    • Other Omron Products
    • Utilities
  • Mitsubishi
    • PLC Sample Code
    • HMI Sample Code
    • Demo Software
    • Manuals, Tutorials
  • Modicon
    • PLC Sample Code
    • HMI Sample Code
    • Demo Software
    • Manuals, Tutorials
  • Automation Direct
    • PLC Sample Code
    • HMI Sample Code
    • Demo Software
    • Manuals, Tutorials
  • Siemens
    • PLC Sample Code
    • HMI Sample Code
    • Demo Software
    • Manuals, Tutorials
  • Miscellaneous
    • Tutorials and Guides
    • Hugh Jack, Ph.D., PLC Books
    • Robots and Servos
    • Vision Systems
    • Other PLC Demo Software
    • Free Utilities

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


WhatsApp


WeChat


Line


Telegram


Discord


AIM


MSN


Yahoo


Skype


Location


Interests

  1. wsmith

    SOS

    Hello all, I have an issue and was hoping I could get some help wit it. I am new to Beckhoff and new to structured text programming. I have taken a program from a twinCat 2 project and converted it into a TwinCat 3 program seeing how this is what the customer is upgrading to. The program converted the way it was supposed to according to beckhoff tech support. Problem is, I cannot get it to compile. All the libraries are there. I don't know which way to go now, any ideas?
  2. I face an issue with Beckhoff CX5020 controller. The controller attached with EL3403. I load the plc code into the controller and use my C# program to read the value. It's work fine but when I restart the CX5020, my C# program can't read any value and complain the symbol not found. I need to re-run the plc code by login -> Run then my C# program can get the value. Every time restart the controller, I need to re-run the PLC code. I have create a boot project and set it run mode but it's still the same. Any one have an idea what setting I have miss out? Please guide me, thanks
  3. Hello! I am working on a quote for a new project that will use EtherCAT but also requires DeviceNet for some legacy components. Has anyone successfully used the Beckhoff EtherCAT coupler (EK1100) with the DeviceNet Master Terminal (EL6752) and an Omron PLC as the EtherCAT master? My concern is that the coupler will only communicate with the Beckhoff EtherCAT master, but since it is so much more expensive to get the new Omron parts to communicate DeviceNET i am hoping this could be an option. The equipment is extremely simple and price is a major consideration. Thank you!!!
  4. Hi, I have a problem with Omron PLC and Beckhoff IO. The IO just disconnects in a few minutes and comes back! I received different errors: Link off error, Illegal slave disconnection, process data reception timeout. When I also check "Display Diagnosis/Statistics information" I see errors on all ports A and B of all nodes. I have called and talked to both Beckhoff and Omron. I have two NX1 and one NJ101 to test. And I have three EP2318-0001. I have the same problem with all the PLCs and EP boxes. It does not matter if I have one, two, or three nodes. I have tried different revisions of the EP2xxx from the XML file, different settings for the slave, different task periods, and the error still is persisting.
  5. i am trying to set up dual motors "master and slave" on a X axis in TwinCat NCI , so far i don some test with "MC_GearIn" but i keep getting this error "Error 40 14-05-2016 11:27:39 417 ms | 'TCNC' (500): NC-Ctrl (R0), Cannot configurate axis 4 into group 4 because a slave is coupled or this axis is a slave itself (CoupleState: 1) !!" when i activate NCI. also i did try using a virtual axis as X and link two slave , but i get the same result :( anybody knows how to do this ?
  6. Hello friends, I am an Omron PLC user, but have never used modbus before. I have to connect an Omron CP1L-m to Beckhoff bk7300 via modbus serial gateway. 2-wire RS-485 connection (CP1W-CIF11). I have seen an easy to use Modbus RTU master for CP1L CP1H CJ1 CJ2 CS1 but the examples are not for dual port CP1L-m. If I change the PLC model "CP1HCP1LModbusDualPort" to "CP1L-M", the compiler tells me a lot of warnings about variable types. Is Modbus RTU Master easy to use for CP1L CP1H CJ1 CJ2 CS1 compatible with CP1L-M dual port (port 2)? I have tried to use it but it didn't work, error 02, illegal function code. Somebody could help me? Thank you Enric
  7. Hey guys, I am trying to communicate between a Beckhoff CX-8190 & a third party fieldbus module that supports Modbus TCP, now I am able to write/read to the fieldbus when twincat is running on the local machine (laptop), but when ever I connect to the device and run the same function block it doesn't write nor read to the fieldbus. I am assuming that the modbus server has something to do with it, so is there a way I can install it to the plc ?
  8. Has anyone implemented ProfiSafe over TwinSAFE? Would you recommend it? What obstacles or quirks did you need to resolve? Would you do it again?
  9. Hi all, New to the forum. I've been pretty much able to do the things I wanted with Beckhoff, but now I'm finally running into a problem I can't seem to solve alone. I'm trying to set-up Modbus RTU RS485 communication in Twincat3, using an EL6021. I've implemented a sample program from the Beckhoff website, but can't get it to work. I've got the feeling I need to properly set up the EL6021 but most information on the Beckhoff website is about the KL-series IO. Does anybody have experience with this? The strange thing is that, when I enable the function to read some slave's registers, BUSY is set and remains set. No timeout is triggered. I don't have a slave connected yet but I would at least expect to see something on the output of the terminal, and then a timeout. I've bridged TxD+ and RxD+, and TxD- and RxD- and set 8000:06 of the EL6021 TRUE, half duplex mode enabled). A scope connected to TxD+ and TxD- shows nothing. Code added below. I've added a GVL called 'Variable_Configuration' with the following: VAR_CONFIG Main.MB.InData AT %IB0 : MB_KL6inData5B; Main.MB.OutData AT %QB0 : MB_KL6outData5B; END_VAR And then the MAIN: PROGRAM MAIN VAR bIoSyncMaster AT %I* : BOOL; MB : ModbusRTUmaster_KL6x5B; MBLedDriver : ARRAY[1..10] OF WORD; tmpExecute : BOOL; bError : BOOL; bBusy : BOOL; iErrorId: MODBUS_ERRORS; iNoDatByteRead: UINT; count: INT; freebyte: INT; TxError: INT; TxBlocked: BOOL; END_VAR MB( UnitID:= 41, Quantity:= 4, MBAddr:= 16#0020, cbLength:= SIZEOF(MBLedDriver), pMemoryAddr:= ADR(MBLedDriver), Execute:= tmpExecute, Timeout:= T#5S , BUSY=> bBusy, Error=> bError, ErrorId=> iErrorId, cbRead=> iNoDatByteRead); MB.ReadRegs(); count := MB.MBMaster.com.Buffer.Tx.count; freebyte := MB.MBMaster.com.Buffer.Tx.FreeByte; TxError := MB.MBMaster.com.Buffer.Tx.Error; TxBlocked := MB.MBMaster.com.Buffer.Tx.Blocked; tmpExecute:=FALSE;
  10. Hello i'm newbie. I have a problem with RS485 on CX7080. Busy always True and data=0. I don't know the reason. Please help me! Thank you!
  11. I am trying to create a simple `Hello World` Modbus TCP/IP program using Twincat3 and virtual PLC (PLC running locally on my computer). I have set up a LabVIEW Modbus TCP/IP master + slave program (both of which are working see screenshots below). I can send data between LabVIEW's master and slave programs. And also read the data from Python script (so I know for sure they are all working). Now I have tried to create a Twincat3 program to set some registers using Beckhoff example What I have tried: - I have tried changing the ipAddr parameter to: 'localhost', '192.168.88.1', '192.168.88.126' - Also I have tried the nUnitID set to: 0, 1, 16#FF (16#FF as specified by Beckhoff docs) This is my Beckhoff code: PROGRAM MAIN VAR ipAddr : STRING(15) := '192.168.88.1'; //Tried also 192.168.88.126 and 192.168.88.1 'localhost' M0 AT %MB0 : ARRAY [0..3] OF WORD; nValue : ARRAY [0..3] OF WORD; fbWriteRegs : FB_MBWriteRegs; bWriteRegs : BOOL; END_VAR IF NOT bWriteRegs THEN nValue[0] := nValue[0]+1; nValue[1] := nValue[1]+1; nValue[2] := nValue[2]+1; nValue[3] := nValue[3]+1; bWriteRegs := TRUE; fbWriteRegs.sIPAddr := ipAddr; fbWriteRegs.nTCPPort := 502; fbWriteRegs.nUnitID := 16#FF; //Tried setting this to 0,1 and it also and didnt work ... fbWriteRegs.nQuantity := 4; fbWriteRegs.nMBAddr := 16#3000; //Tried: 16#3000, 0, 1 fbWriteRegs.cbLength := SIZEOF(nValue); fbWriteRegs.pSrcAddr := ADR(nValue); fbWriteRegs.tTimeout := T#5S; fbWriteRegs (bExecute:=TRUE); ELSE IF NOT fbWriteRegs.bBUSY THEN bWriteRegs :=FALSE; fbWriteRegs (bExecute:=FALSE); END_IF fbWriteRegs (bExecute:=FALSE); END_IF What should I change in my code in order to make this example work? Thank you in advance for any support! Info about LabVIEW programs: I am using the Modbus TCP Master / Slave examples The IP address is set to localhost and the port to 502 (which should match the IP address in my Beckhoff code) I am 100% sure it works because I have also tried connecting to this program via Python script. Picture of my LabVIEW programs:
  12. I have a device which uses the ET1100, Beckhoff to control. I use software TwinCAT 2 to connect this device and it identified the name's EtherCAT I/O Heizungssteller 9 Kanal. But it appear error, it's ERR_PREOP and cannot change to OP. Error: 'check device state for SAFEOP'. AL Status '0x0012' read and '0x0004' expected. AL Status Code '0x0017' - Invalid sync manager configuration' Anyone can support me how to fix the error, change to OP for EtherCAT device, or how to control this? I attach the image of this error. Please!
  13. I'm new in PLC programming. I have a small project which have 15 temperature sensor. How I should declare the variable for this 15 sensor. I try code below temp0 AT %IW10: INT; temp1 AT %IW12:INT; I also have 15 controller which use to control the temperature. How I should declare this 15 controller also?
  14. Hello, I've been using a Beckhoff PLC and TwinCAT3 lately and I'm learning how it all works. Currently I'm using a ton timer in my program and I've noticed some weird behaviour. The timer.IN is set to true and afterwards I check for timer.Q in an IF statement. That statement should therefore only be true after the timer.PT delay value. However, the first time after I activate the configuration and timer.IN is set to true, timer.Q is immediately set to true for a very short amount of time. When I reset all values and try again without reactivating the configuration, this doesn't happen. I'm thinking that I don't initialse the timer in the correct way or something along those line. I have attached a code snippet. The problem I'm encountering is that the first time after I have activated the configuration and the tonTimeout.In is true. The following IF statement is also true without having run for the delay time. This sends my program to an error state. However, after resetting the values this doesnt happen anymore. Can anyone help me with this matter?
  15. I want to offer my industrial surpluses for your projects! All details are verifiable. Excess surpluses often occur. Sending to any country in the world. The price is low. I can pick something up for you personally. Sending can be made, both expedited, and economy air delivery. Ukrposhta or EMS Ukraine. Siemens Simatic, Wieland, Wago 750, BECKHOFF, Schneider electric, Schneider Automation, Yaskawa Omron, KEYENCE, Pepperl+Fuchs, Telemecanique, ABB, FESTO, DUNKERMOTOREN, Eaton, Micro Innovation, Jumo, Phoenix contact, Bruel & Kjaer, Unitronics, Samson, Danfoss, OMRON, Rexroth Indramat, Fanuc. https://www.ebay.com/usr/vitalij6131 All parcels are sent by Airmail, are processed with disinfectants and sent with a large number of bubbles before being sent. For safe delivery of the parcel to you! I am worried about your safety, in this difficult time for you!
  16. Hi, I need to select a Beckhoff system that basically must have PLC with motion capabilities for drives via EtherCAT. The purpose is to test the compatibility of Mitsubishi Electric EtherCAT type drives with Beckhoff PLC. As Beckhoff is a PC based solution and there are many options I'm honestly confused on how to proceed to select a Beckhoff system. Does anyone have experience with selecting Beckhoff PLC that could help with the way to select it? Thanks! Thiago
  17. Dose anyone have experience with Beckhoff FC3121 profibus master PCIe card connected to Siemens CP342-5 as a profibus slave? The data retrieved from S7 PLC is wrong, and keeps fluctuating rapidly. TwinCAT (TC) config looks OK, and it reports that the slave is OK and has no error. The slave is in Run mode with green LEDs. S7 side is believed to be OK as another master from HMS-Anybus retrieved the data correctly. Tried several versions of TC up to the latest (at the moment) ver. 2.11.2305. Here is a zip file with two graph pics of the two masters showing how the "same" data looks like in each case: https://drive.google.com/file/d/1ijlx6AXA3FX8GqgJjwWlFMxPxqT4xN9F/view?usp=sharing Thanks, Hos
  18. 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?
  19. 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
  20. I’m working on a project in twincat 3 from Beckhoff in which I made a Global variables list, a function block and a visualisation. When I call the FB in the program I made and add some of the Global variables to this FB, I can’t control them in any way. Nor in the visualisation, nor in my program itself. What do I have to do to make these Global variables work?
  21. Hi, I'm new to TwinCAT 2 and i'm upgrading a long time design (hence the TwinCAT 2 reference), to read a more sensitive torque signal. I'm using a Beckhoff CX1030 as my PLC Controller. I needed to add 'homing' to my motor sequence and confirmed with Maxon, im using the function blocks correctly and in the correct sequence to establish my 'absolute zero'/'home' position. The motor has an output to write to: ControlWord, which tells the motor that the position it is sitting in is '0.' My program compiles, it runs, it writes each function block, but it's not seeming to get back to the test run opMode, even though i tell it to and the function block performs the 'Write' function. it's stuck at zero and not reading an analog input signal from my torque sensor. so im getting an artificial torque reading through every test. i think this is related to my tare motion. I start the program, home the motor, get into profile velocity mode, tare my sensor, enter profile position mode, go back to position 0, then back to profile velocity mode, run a test, sample data, go back to 'home' or '0.' I wonder 1st, is my variable not linked properly through the system manager? 2nd, i set a boolean variable to set the 4th bit to 1 in my control word write (setting the 4th bit high will set my current position to absolute zero), but did i not connect the program to the main sequence properly? looking to read a valid signal again and see that my motor moves back to 'home' each time. Do i not need to home the motor after the tare, since the tare nulls out the torque value after the tare? after this i need to program my sample period, instead of it being fixed, as it is currently written and then use my home position as my trigger to start sampling.... Beckhoff applications department is overloaded, currently and can't help and this is all beyond the knowledge of the general support line. I've gotten fairly far, on my own, but of course, the project is under a time crunch. Does anyone know twincat well enough to help guide me?
  22. Hi all.... I have bc9000 plc and there are 2 problems I face,the first is when the power is off ,the downloaded program does not remain. the second is how to configure internal register with system manager.
  23. Hi to everyone, i'm a junior programmer. My boss told me that i have to study a new plc: BeckHoff. I ask you if somewhere there is a guide about this plc, and about ST language used in this plc. I tried to use the help function on TwinCAT 2, but it doesn't explain lot of things. Before that, i used to program with ladder language, so i don't know nothing about ST. I hope in one of your help.
  24. AnyViz is probably the easiest way to monitor, operate and analyze your PLC remotely, thanks to the cloud from any location. No need of additional hardware or software licenses. More info at www.anyviz.de Functions: Real-time process data visualization with just a few clicks Record and analyze machine data easily Targeted Condition Monitoring Remote control - from anywhere in the world Connecting machines, beyond location boundaries Access with any modern browser and any kind of device like notebook or smartphone Have a look at our YouTube Channel to see AnyViz in action.
  25. I am a technician at a large repair facility and we often have Beckhoff control panel displays come in for repair. I'm having trouble using Twincat to set up the buttons on a CPxx to test the buttons and assignable leds. We have a PC running windows XP with the twincat software, a CP9035 pci card to connect the CP to the pc, i can see the PC's display on the CP and also recognize the CP in twincat, just unsure how to map testable functions to the keys on the CP. Hope this all makes sense. Hopefully there is a Twincat guru out there that knows how to do this. Thank you!!
×
×
  • Create New...