Author Topic: beckhoff cx1001-0111 plc  (Read 4775 times)

Eng. YMA

  • Newbie
  • *
  • Posts: 10
    • View Profile
beckhoff cx1001-0111 plc
« on: February 25, 2016, 02:02:50 AM »
at the beginning, Really i am really Appreciate your help in many automation forums like http://www.plctalk.net/ and your tatorial vedios
Could you please help me ASAP,
i cannot find the source code for cx1001 plc
in plc hd and cfd i found only tsm,xml,tpy,wbp files
i need to modify the plc program
thanks
i wait your help

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5262
    • View Profile
    • AdvancedHMI
Re: beckhoff cx1001-0111 plc
« Reply #1 on: February 25, 2016, 05:52:05 AM »
Was the source code downloaded to the PLC? In TwinCAT PLC Control, go to File->Open->PLC, then select the controller. If the source was downloaded, it will upload from the controller. If not, there is no way to do it.

Eng. YMA

  • Newbie
  • *
  • Posts: 10
    • View Profile
Re: beckhoff cx1001-0111 plc
« Reply #2 on: February 26, 2016, 04:41:33 AM »
Thanks for reply
i did it before,  i have this message 
so is there exe file control the machine or what file do it and where is it?
« Last Edit: February 26, 2016, 04:44:14 AM by Eng. YMA »

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5262
    • View Profile
    • AdvancedHMI
Re: beckhoff cx1001-0111 plc
« Reply #3 on: February 26, 2016, 04:50:46 AM »
The TwinCAT PLC program is a compiled program. Once it is built and downloaded, you can no longer edit it without the source code.

Eng. YMA

  • Newbie
  • *
  • Posts: 10
    • View Profile
Re: beckhoff cx1001-0111 plc
« Reply #4 on: February 26, 2016, 07:40:20 AM »
1- what is the extension of the compiled code , where can i find it?
2- where is the twincat ce in the cx?

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5262
    • View Profile
    • AdvancedHMI
Re: beckhoff cx1001-0111 plc
« Reply #5 on: February 26, 2016, 08:00:08 AM »
C:\TwinCAT\Boot

Eng. YMA

  • Newbie
  • *
  • Posts: 10
    • View Profile
Re: beckhoff cx1001-0111 plc
« Reply #6 on: February 26, 2016, 08:21:50 AM »
i am really Appreciate your help
but could you please answer my last post in details
1- what is the extension of the compiled code , where can i find it?
2- where is the twincat ce in the cx?
because  i found only tsm,xml,tpy,wbp files

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5262
    • View Profile
    • AdvancedHMI
Re: beckhoff cx1001-0111 plc
« Reply #7 on: February 26, 2016, 08:24:29 AM »
Those are the files

tsm - TwinCAT System Manager configuration file
wbp - compiled boot project

Eng. YMA

  • Newbie
  • *
  • Posts: 10
    • View Profile
Re: beckhoff cx1001-0111 plc
« Reply #8 on: February 26, 2016, 08:28:30 AM »
can i open wbp file?
i did not find the twincat ce as a program in the cx plc

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5262
    • View Profile
    • AdvancedHMI
Re: beckhoff cx1001-0111 plc
« Reply #9 on: February 26, 2016, 08:40:50 AM »
You would have to talk to Beckhoff or CodeSys to see if that have any way to decompile the wbp file.

What is the ce?

Eng. YMA

  • Newbie
  • *
  • Posts: 10
    • View Profile
Re: beckhoff cx1001-0111 plc
« Reply #10 on: February 26, 2016, 09:03:23 AM »
The TwinCAT for windows ce on the cx plc

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5262
    • View Profile
    • AdvancedHMI
Re: beckhoff cx1001-0111 plc
« Reply #11 on: February 26, 2016, 09:08:27 AM »
The TwinCAT CE run time is a service that runs in the background. The actual exe file should be in either the \TwinCAT directory or \Windows directory. What do you plan to do with that?

Eng. YMA

  • Newbie
  • *
  • Posts: 10
    • View Profile
Re: beckhoff cx1001-0111 plc
« Reply #12 on: February 26, 2016, 09:21:53 AM »
so i should reprogram from scratch,
thanks so much

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5262
    • View Profile
    • AdvancedHMI
Re: beckhoff cx1001-0111 plc
« Reply #13 on: February 26, 2016, 09:34:36 AM »
Yes, that is your only option if you do not have the source. It is a good practice to setup your project to Implicitly download source code on creation of a boot project. This will save you and the next programmer this problem.

Eng. YMA

  • Newbie
  • *
  • Posts: 10
    • View Profile
Re: beckhoff cx1001-0111 plc
« Reply #14 on: February 26, 2016, 09:50:25 AM »
Thank you ,
many people say this for you
go ahead do not stop helping other one if you can