imankarimi

MrPLC Member
  • Content count

    14
  • Joined

  • Last visited

Community Reputation

3 Neutral

1 Follower

About imankarimi

  • Rank
    Sparky

Profile Information

  • Gender Male
  • Country Iran

Recent Profile Visitors

698 profile views
  1. BC9000

    Hi, I've seen your message now. To save the project for always in the BC9000 , you should create a bootproject. You can find this button in the online tab and after Login you can use this function. What do you mean by internal register? if you mean the BC9000 own register, you can right click on the BC9000 in your system manager. there is a function " Register Access" that you can access BC9000 register.
  2. Help Programming a Beckhoff PLC

    You should assign an %I address for any input variable which they've their values from input cards. After that you see the variable in the software and you can link them to the hardware. There is manual of TC3 in Beckhoff website which can help you
  3. Help! No voltage on Beckhoff output terminal

    Do you check the terminal output by voltmeter? Please send your wiring diagram. By the way, you should also feed the + and - terminal on the CX9020 to have 24 V for your output terminals.
  4. Create DB(Data block)

    Hello,  There is no Data Block Concept in TwinCAT.. If you want to define a variable simply address it with respect to its application for example for Boolean var in Input area %IX2.1, for a word  in input area %IW2 and so on . For output use %Q and for Memory use %M. But if you want to save the value in the non volatile memory of the CPU, you should use Retain or Persistent or use NOVRAM in System Manager (depend on the CPU type) option.
  5. ingineer

    Hi, If you use TwinCAT 2, after installation you have two programs: one is PLC Control which is used for writing code and the other one is System Manager which you can config your hardware.Size of manual and help file is higher than limitation of MrPLC so you can find a lot of useful information on the BECKHOFF website in this folder ==> Download -> Documentation ->TwinCAT 2 .  
  6. Beckhoff PLC Counter

    Sorry for  long delay, You can add this function FB_S_UPS_CX80xx from the mentioned library. It has an output with this name bPowerFailDetect, which is binary value and when the power goes down this value goes to high. As a result you can make a counter which its enable is the bPowerFailDetect. For saving data you should define the counter value as persistent. Then after each power down up you can see the number of failure on the counter value. I think this method is good for you but if you want to save it on a txt file in the PLC memory you should use FBs like FB_FileOpen, FB_FileWrite and etc from TcSystem.lib. I've also attached a sample logic which makes you understand the procedure better.logic.prologic.prologic.pro logic.pro
  7. Thank you very much for your reply Mr Iman. Really appreciated it.

     

    Best regards.

    1. imankarimi

      imankarimi

      Your welcome

  8. Beckhoff PLC Counter

    Hi I think your program was restarted if there would be a power loss and the CX8090 turns off. But in CX8090, there is an integrated UPS and some Function blocks that you can monitor the state of your PLC. The function blocks are included in TcSystemCX80xx.lib library.
  9. Beckhoff password

    Hi In TwinCAT, There is several Methods for setting a password. The most strict one which no one can change anything in the Configuration is the same as Windows Login information which in any CX family can be set and anytime when you want to connect to the PLC you should have that password. There is also some levels of protection for logic interference. But most of the time the source code of the logic is not downloaded to the PLC and just the compiled version of logic is downloaded which can not be changed.
  10. Beckhoff integration using Raspberry

    I'm not so familiar with Raspberry, but if the OS of the Raspberry is Windows you can install TwinCAT software, (TwinCAT 2 or 3, I think TC2 is easier) and through the Ethernet port you get access to the data from EK1100 or CX9020.
  11. Beckhoff Ethercat running with slave loss

    This is the legacy of EhterCAT but you can define Sync Unit to solve the issue. You should define Sync Unit for each of remote I/Os. In that case, if the power of one of your remote I/Os has been lost the other part of your network and remote I/Os works without problem. The attached image shows the Sync Unit Assignment  .
  12. Problems with lost comm to Beckhoff CX-19FDB8 PLC

    You are welcome. This is what I can do. Good Luck
  13. Beckhoff PROFINET Controller and device

    As I understand, you have two EK1100 and one of them, which include  EL6631 controller, and this ek1100 is directly connected to your PC. The other EK1100 includes EL6631 device and EL1008. In fact your communication with the second EK1100 has done with el6631 device and you don't need to use EtherCAT port of the second EK1100. If this is not your configuration, perhaps you have just one EK1100, in that case you don't need EL6631 controller and connect EL6631 device directly to your PC.
  14. Problems with lost comm to Beckhoff CX-19FDB8 PLC

    If Indusoft use  BECKHOFF driver to communicate with CX, the protocol is ADS (which is developed by BECKHOFF). In this case I suggest you use another software like Kepware to test the communication with CX. Kepware also has the BECKHOFF driver. If your problem persists with Kepware again, It probably because of your CX. Also notice that, your CX has two Ethernet port which each of them has a unique IP address and it is not switch (one IP address for both port). If Indusoft doesn't use BECKHOFF driver, it could be Modbus TCP , and again you can test it with Kepware. By the way, if you give more details about your problem, it might be helpful to solve the issue.
  15. Problems with lost comm to Beckhoff CX-19FDB8 PLC

    What is your plc model? (CX-19FDB8 is not a model, it is the 6 last bytes of plc MAC ID) if you have the Modbus TCP server on your BECKHOFF you can  use it as gateway and transfer the TwinCAT data to any Modbus TCP supported device.  The cause of issue can be many things. What is you HMI? What is your communication protocol?