Search the Community

Showing results for tags 'beckhoff'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 44 results

  1. 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
  2. Beckhoff CP7702-1422-0040

    Hi, In our  filling machine:  the designer installed Beckhoff CP7702-1422-0040 This CP contains a digital  I/O modules  inside it at the back side . Do any member have any docunent or manual that explains how to program the Buttons and the lamps in the front side? Waiting your replies. Thank you in advance.  
  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. NEED HELP, TwinCat 3 NCI SlaveAxis

    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. CX-8190-Modbus Srv

    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. ProfiSafe Using TwinSAFE

    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. RS485 with CX7080

    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. How to use EtherCAT device

    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. 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?
  14. 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?      
  15. 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.  
  16. 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?
  17. 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!
  18. 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
  19. 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
  20. 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?
  21. 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?
  22. 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
  23. 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? 
  24. 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?
  25. 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.