Search the Community

Showing results for tags 'beckhoff integration raspberry'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 43 results

  1. ModBus RTU error code 263 (CRC)

    Hello Can anyone please help. I'm trying to communicate with an Beckhoff PLC via Versamax (IC200CPUE05). Versamax is configured as Master and Beckhoff as slave (BC9050cpu with KL6041 com module) After some try and error i came to the final error. The status is 263 (in hexa 107). in versamax manual it says "Complete_Frame_Invalid_CRC". also in beckhoff error ID is show problem with CRC.   Can anyone please tell me the reason and what is at fault?
  2. 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!!!
  3. Twincat PLC - how declare variable

    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?      
  4. 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;    
  5. Dear All, I had encounter a problem when i try to open the plc project from Beckhoff CX9020 plc using Twincat 2. There error show that the File'source.dat' could not be read. I had connected the plc from system manager and i able to load the configuration of plc but not the program.  I do also tried to file the program file from the flash card but i cant find any .pro file. Is that any possible to read the program or source code inside?  Thanks.  
  6. Weird Timer Behaviour

    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?
  7. 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!
  8. Hello. I am working on a pilot project building an automated RV park. Our goal is to have people sign in online, or in person at a kiosk. Make their reservation, payment, and get their confirmation e-mail. In that e-mail, will be a QR, or Bar Code, that when scanned at the gate opens the gate, and starts a light that flashes at the site they rented. Power will then be turned on at that site, and a timer in the process will begin, based off their rental time. Once their time has expired, the power at the site will be turned off, controlled by a PLC, and relays.  So I am looking for help in all directions. I have some leads on some plug-ins for Wordpress that offer reservations, and other plug-ins that do Bar code production. As far as the web part I have that covered. We can generate a custom barcode, or QR code based on individual rentals and those can be sent to customers. So what I need is someone to help point me in the right direction of equipment that can speak between the online Barcode process and the PLC to allow a process to begin when scanned. Based off their rental parameters their power is turned on or off. Perhaps a SQL query in some form? I haven't used it, but am aware of its capabilities, and this does seem like an application where it would be used. Is there anything that you have used that are tried and true? I know it's a strange request, just hoping someone bites. Thanks in advance for any ideas, I look forward to solving this puzzle, one piece at a time. 
  9. Beckhoff PLC + software selection

    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
  10. 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
  11. Raspberry Python FX3U

    Hi, I need to connect an FX3U Mitsubishi PLC with my raspberry for reading some data and put them into a charts. I was thing on using python but I'm not finding much help on how to do it. The PLC is even connected with an HMI GT1050-QBBD. I really appreaciate every kind of help you can give me. Thanks to all
  12. hi, We want to integrate Allen Bradley L16-ER with Zebra Printer GT800 and Zebra Scanner Li4278 with RS232 extension Card. We have hardware : 1.ABPLC L16-ER 2.1734-232ASC 3.Zebra Printer GT800 4.Zebra Scanner Li4278 5.Communication Cables  We are not able to receive and transmit data from and to Printer and Scanner
  13. 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?
  14. Hi i have Beckhoff (CX5020-0120-M310) (profibus master) with TC3.1 and want communicate with Siemens Profibus ET 200S (IM151) DPV1. All modules works on ET200s except 1SI RS232 (6ES7138-4DF01-0AB0). When i triggered Barcode scaner i have one bit ON on no more data from 1SI module. on Array (0..15) of words 0.#0000000000000000 1.#0000000000000001 <= this bit is ON after trigered pushbutton on scaner 2.#0000000000000000 3.#0000000000000000 ..#0000000000000000 ..#0000000000000000 15#0000000000000000 This Same ET200S with this same configuration i have tested with Siemens S7-300 and it works, i can read data from Barcode scanner on the 0..31 array of byte (no WORD's like on CX5020) Siemens have On Communication => ET200s serial interface => Function block S_RCV i use them and i can communicate with 1SI RS232 via this block. But Twincat 3,1 don't have this block. On ET200s i have: 1. 1SI(rs232) module (rs232 parameter is : Data - 8bit, Stop - 1 bit, Parity - NONE, Data Flow - NONE, Interface type RS232-C ) 2 DO modul 3 RTD modul 4. DI 5. RO modul Any ideas where are problem? why can't read data from 1SI RS232?
  15. 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
  16. Hi, I am looking for the smart PLC hardware which can easily communicate with the Internet through WIFI connection and has the capability to create the UART connection with 900hp-S3-Wireless Modem which receives the values from Battery Powered Wireless Sensors Network and integrate the values with cloud services
  17. 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? 
  18. 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?
  19. BC9000

    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.  
  20. UniPi Neuron

    Hello there Currently I'm planning to get into home automatization and buy some toys to tinker with (boiler control, lightning switching, shutter control etc.). And since I need some PLC for that, I searched the internet and aside from more known brands (Loxone, Railduino etc.) I found UniPi Neuron https://www.unipi.technology/hardware_documentation/technological-introduction-to-neuron-products-41 Their hardware looks good, but they have next to none reviews and I didn't found any references aside from those on their website (which I obviously take with a grain of salt).  So my question is - is there any user of the Neuron? I'd like to know opinions or user references or anything you would have to say about it. Thanks! 
  21. BeckHoff programming

    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. 
  22. 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.
  23. Beckhoff Control panel testing?

    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!!
  24. TIA Portal v13 - GOT1000

    Hello! Is there a driver GOT1000 for tia portal v13. I would like to do scada for GOT1000 GT14 using the Tia Portal v13. There is a possibility at all?
  25. Help Programming a Beckhoff PLC

    I have a very simple problem that I need help with.  I have some programming experience but I am brand new to PLCs and structured text.  I am using TwinCat 3 to program a Beckhoff CX9020.  My goal is to read the temperature from my thermocouple and open or close a valve based on the temperature.  I have successfully connected the PLC to the TwinCat software and I am able to see the value of the thermocouple increase and decrease when I touch it with my fingers.  I need to link that value to a variable in my code so I can have the valve act on it.  I don't know how to properly address the inputs and outputs.  Thank you!