Search the Community

Showing results for tags 'beckhoff windows plc'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 78 results

  1. 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.  
  2. Dear automation friends,   I just like to put some issue in the clear that I have seen no reported issues on yet, but it is killing me. Maybe some other people in the world also have this issue. We use Windows 2016 on FT View v10. All patched with all compatible patches (both Windows and Rockwell). We install this software a lot but we only got this issue seen/reported on windows 2016. I never had a Rockwell issue that took so long without getting it fixed. Support is also not really helping.   We just have a setup of Windows 2016 with 2x redundant FT View Servers and about 10x Clients with each 4x screens. The HMI clients run perfectly but every few days, 1 application (on 1 of the 4 screens) just crashes "DisplayClient.exe application crash...". That closes the HMI interface and then the users needs to click on the hmi.cli file to launch that screen again. Refering to ntdll.dll in the windows events. No additional info except for the windows error reporting that is unable to contact the internet to send the crash report. Looking in the FT Diagnostics, it happens while the operator is operating the hmi screen. Not when there is no activity.   We reinstalled 1 client completely from scratch, including the OS, domain integration, everything brandnew. And 10 hours later: crash on 1 of the 4x screens. In a control room with almost 30 screens, this is very annoying and unacceptable.   If you have a similar issue or got the issue fixed, please let me know. If you have a similar issue and don't have it fixed, we can share more detailed logs.   Best Regards,
  3. So, our plant has Proficy iFix 5.8 running on a handful of Windows 7 VM's, which, form my understanding, are running 24/7. However, since before a got here, they have had an issue where iFix will crash usually every couple of months, leading to screens and panels not looking right and freaking out everyone at the plant, and we reboot the VM. Apparently, we have always tried to reboot them every 3 months or so. Long story short, this is a difficult thing to organize at our plant. I would prefer to know why this is happening in the first place and try to fix that problem if possible. I was wondering if anyone else has experience this type of issue or may have any idea why this happens or if this is normal. I can barely find anything useful pertaining to iFix, online. I have attached a pic of what I see in Windows event viewer before rebooting the VMs. This is what mostly caught my attention: Faulting application name: CONMGR.EXE, version: 5.8.8255.0, time stamp: 0x5240ee18 Faulting module name: MSVCR100.dll, version: 10.0.40219.325, time stamp: 0x4df2be1e I haven't been able to find anything concerning Connection Manager either. Any information is appreciated
  4. 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
  5. CX-One for Windows 11

    CX-One is currently listed as incompatible with Windows 11. Does anyone know what Omron's plan is with this? Apparently our IT is upgrading everyone (regardless of their job function) to Windows 11 after September. If there's a problem then I will have to argue with them to keep my Windows 10 laptop after September. Fun times.
  6. Version 1.4.0

    10 downloads

    ASComm IoT for .NET 7.0, .NET 6.0, .NET 5.0 & .NET Core 3.1+ developers. Class library for use in Visual Studio.NET to create HMI/SCADA apps that communicate with GE/Emerson SRTP PLCs and compatible devices via Ethernet.   Does not require OPC. Does not require 3rd party drivers Visual Studio.NET 2017, 2019 and 2022 compatible All .NET 7.0, .NET 6.0, .NET 5.0 & .NET Core 3.1+ targets are supported, including Web, Windows, console, and service apps. Runs on Windows, Linux, Android and iOS Extremely high performance - 5~10 mSec typical transaction time Supports PACSystems family native tag names Abstract base classes allow you to write generic code that works with all drivers Synchronous and asynchronous read/write methods Data change notifications Provides common user interface across all driver classes No limit on number of devices or data points Multi-threaded for high data throughput Includes extensive help system Example applications with VB and C# source code included. Easily connect office systems to factory floor. Runtime-free for qualified applications
  7. Version 1.4.0

    34 downloads

    ASComm IoT for .NET 7.0, 6.0, 5.0 & .NET Core developers. Class library for use in Visual Studio.NET to create HMI/SCADA apps that communicate with Modbus/TCP Server devices via Ethernet.  Does not require OPC or 3rd party drivers Visual Studio.NET 2017, 2019 and 2022 compatible All .NET 7.0, .NET 6.0, .NET 5.0 & .NET Core 3.1+ targets are supported, including Web, Windows, console, and service apps. Runs on Windows, Linux & Android Extremely high performance - 5~10 mSec typical transaction time Supports Modbus functions 1, 2, 3, 4, 5, 6, 7, 11, 12, 15, 16, 17, 20, 21, and 24 Address mode support includes: Zero-based, One-based, Modicon 5-digit (1, 10001, 30001, 40001), Modicon 6-digit (1, 100001, 300001, 400001) Abstract base classes allow you to write generic code that works with all drivers Synchronous and asynchronous read/write methods Data change notifications Provides common user interface across all driver classes No limit on number of devices or data points Multi-threaded for high data throughput Includes extensive help system Example applications with VB and C# source code included. Easily connect office systems to factory floor. Runtime-free for qualified applications
  8. 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.  
  9. 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!!!
  10. 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.
  11. 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 ?  
  12. 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
  13. 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 ?
  14. 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?
  15. Version 1.4.0

    15 downloads

    ASComm IoT for .NET 7, .NET 6, .NET 5 & .NET Core. Class library for use in Visual Studio.NET to create HMI/SCADA apps that communicate with A-B ControlLogix, CompactLogix, Micro800 Series, PLC5, SLC500, and MicroLogix PLCs via Ethernet. Does not require OPC, Siemens or 3rd party drivers Visual Studio.NET 2017, 2019 and 2022 compatible All .NET 7.0, .NET 6.0, .NET 5.0 & .NET Core 3.1+ targets are supported, including Web, Windows, console, and service apps. Runs on Windows, Linux & Android Extremely high performance - 5~10 mSec typical transaction time Supports reading and writing entire UDTs and PDTs Abstract base classes allow you to write generic code that works with all drivers Synchronous and asynchronous read/write methods Data change notifications Provides common user interface across all driver classes No limit on number of devices or data points Multi-threaded for high data throughput Includes extensive help system Example applications with VB and C# source code included. Easily connect office systems to factory floor. Runtime-free for qualified applications
  16. 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;    
  17. 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!
  18. Version 1.4.0

    36 downloads

    ASComm IoT for .NET 7.0, 6.0, 5.0 & .NET Core 3.1+ developers. Class library for use in Visual Studio.NET to create HMI/SCADA apps that communicate with A-B ControlLogix, CompactLogix, Micro800 Series, PLC5, SLC500, and MicroLogix PLCs via Ethernet. Does not require OPC, RSLinx, or 3rd party drivers Visual Studio.NET 2017, 2019 and 2022 compatible All .NET 7.0, .NET 6.0, .NET 5.0 & .NET Core 3.1+ targets are supported, including Web, Windows, console, and service apps. Runs on Windows, Linux & Android Extremely high performance - less than 5 mSec typical transaction time Supports ControlLogix family native tag names Supports reading and writing entire ControlLogix family UDTs and PDTs Supports unsolicited messages Abstract base classes allow you to write generic code that works with all drivers Synchronous and asynchronous read/write methods Data change notifications Provides common user interface across all driver classes No limit on number of devices or data points Multi-threaded for high data throughput Includes extensive help system Example applications with VB and C# source code included. Easily connect office systems to factory floor. Runtime-free for qualified applications
  19. 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:
  20. 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!    
  21. Hey! Is there any possibility to acces the PLC variables in GXWorks from another program? Like I want to read and write the I/O-s or Merkes in the Mitsubishi PLC from another program Could someone help me with this? Thank you!
  22. 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?
  23. 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?      
  24. 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?
  25. 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!