Search the Community

Showing results for tags 'Programming SSI Beckhoff'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 124 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. Hi all, I'm working on my migration from CJ series to Sysmac (NJ/NX).  I've encountered something I think is  a simple answer but I just can't find anything in the documentation or forums that has gave me a concrete answer. I want to increment a variable by one.  Is it not possible to insert a raw integer into the value field of the function?  (Please ignore the P_Off as this is only for test purposes only) I know I can create a variable and make it a constant of one but that just seems odd to have to go through that many steps to do so.     EDIT:  I should add the variable I'm trying to increment is a UINT (Unsigned Integer) The error I get is:   EDIT2: While I solved my problem with this instance by using the Increment function, my root question still remains.  How do you supply a value of a number to a parameter of a function without creating a symbol for that parameter?   Thank you all for your time,
  3. thumb wheel switch

    how to program a thumb wheel switch with delta plc using isp sowftware 
  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. Emerson 90-30

    I'm working with Emerson 90-30 on proficy machine edition and I'm trying to use a string variable to display words on a graphical panel in target 2 but withing the code itself on target one I cant seem to understand how the reference address works? can some one explain how string variables function and how to use them?
  6. Hi!Are you tired of skimming through menu bar items in TIA Portal in order to finally find that one command that you were looking for?So was I!So I´ve composed a handy one-page list of keyboard shortcuts to execute those commands in no time (FACT - 99% of them are executed using your left pinky and your left/right index finger ). Check out the list of keyboards shortcuts in the PDF attached below.For more practical tips and tricks on TIA Portal PLC programming -> go and have a look at my video course by clicking on the link below:https://lnkd.in/eipFaGm   Keyboard Shortcuts.pdf
  7. As the industry of plc and scada softwares continue to integrate more and more programming languages into their IDE, what is the most common language that should be learned by controls engineers (excluding Ladder Logic)?  I mainly use Python and VB for scripting but I am curious what languages other SCADA and PLC programming environments use. Should I be sticking to a specific language and learning it well or just know a little bit of them all? Let me know your thoughts!!
  8. Nematron DOS software

    We have an older Nematron system we are working on and requires some software. The system uses DOS 6.22 and launches Screen Ware 2 software and the Reliance DCS V1.01 to talk to the Rockwell AutoMax PLC that uses the Programming Executive Version 4.2. We have the Nematron parallel port keys (dongle) needed and are looking for installation media for editing. We also need information on the executables that open the screen files the ULTRA MAIN MENU is not available to us. We are interested in viewing the config for upgrade so even software that is newer and capable of converting and reading the program is fine. Any help is appreciated!!
  9. Hello all,   I am working on a batch computer for a concrete mixer, and the computer that was running the plant before has stopped functioning. It was an old PC running MS DOS. The code is encrypted and replacing it is not a cost effective option.   I therefore am looking into using a PLC to control this batch plant. I have a setup that was in progress by another employee who no longer works for us, it is a CLICK PLC from Automation Direct, and it is supposed to be paired with a EA9 T8CL touch screen HMI from the same company. I would like some advice on just some basics, I would greatly appreciate some input.   I essentially only have one input, and that is an analog scale, 0-20mA input. I have digital outputs for sand, gravel, cement powder, and a water meter for adding water to the mixture. I have one final output, an additive for reducing the required water in the concrete.   What I would like to create is a program that when it is told to start, looks at the scale, and if the scale is less than say 100 pounds, opens sand until it hits 1700 pounds (as an example), then turns it off. Then it turns on the gravel and adds that for another 1700 (again for example, all these are variable), turning the gravel off after. Next the cement, and so on. I don’t need someone to write the program for me, but can someone point me in the right direction on using an analog input to turn digital outputs on and off? Again, your help would be greatly appreciated.   Thanks for taking the time to read this long post.
  10. cx programmer

    Hi everyone< i need some help with CX programmer i have written a programm as when i enter the Set value on HMI in D892 and press enter the Input 1100.01 energises and this executes Substract block (415) which sbstracts #6 fron D892 and saves it in D896. Them Comparison b;ock (300) compares D896 with #0 and as soon as D896 is equals to 0 the ouput flag W11.01 energises Now as u can see in the image below the value in D896 in substraction block and Comparison block are different and this is causing the output to energise at wron count . Why is there a difference In the D896 value?? 
  11. 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.  
  12. 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!!!
  13. 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.
  14. 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 ?  
  15. Hello all,  There are two pressure gauges in a line with a flow of water. The flow is controlled by the pumps which is controlled by the PID whose control variable is pressure gague -2 . In ideal condition the pressure gauge -2 remains at 55 psi and pressure gauge -1 stays at 82 PSI. But in the line if someone opens a manual valve then pressure gauge - 1 reads 100 psi because the pump is running as per pressure gauge 2 . Is is possible to clamp the PID so that pressure gauge 1 remains at 82 psi.    FYI: Pressure gauge 1 is right after the pumps and pressure gauge 2 is at the end of the line. 
  16. hello everyone, I using stepper 17HS2408, microstep driver, modul motion QD75D2, PLC QD3UDV,, i've been trying to use program Absolute in axis 2. When I trigger the command to run absolute program the current value is running but the stepper motor still not moving, is there any suggestion about this?
  17. 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
  18. 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 ?
  19. 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?
  20. GX Works 3 (R04CPU) Device Memory

    Hello,  GX Works 3 / R04CPU. I'm using the Device Memory so that I can link the HMI to my PLC. I've set aside some memory, in this case D3260, to be used as a Real (32 bits data, Float single precision) to be set by the HMI (operator adjustable setting) and read from the PLC. I thought I'd move D3260 into a local label for readability/testing purposes, and it says I cannot move an Int into a Real - which is fair enough, but, how/where do I set D3260 as a real? Do I use some Functions to take D3260 + D3261 and make it to a real, or define the data area as a real somewhere...   Dumb question I know, I'm new to GX Works 3. Thanks very muchly    
  21. 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;    
  22. 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!
  23. 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:
  24. Codesys

    Hello - I stumbled across some mention of Codesys and was curious if anyone here uses it. Pros/cons? prefer it over other programming software. Have it downloading currently (since you can download a free variation of the application) but it looks quite interesting. Also - what PLC hardware is programmed with it? Did not see that mentioned on their website when I was browsing through.
  25. 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!