Beckhoff - twincat problem (newbie)

Make sure you have the same version of TwinCAT on your computer and the CX runtime. Use Engineering Remote Manager to add older versions to your TwinCAT installation.

Else try clean the AMS router on both machines.
 
Hello

I managed to connect to the PLC and I got rid of the issue. How I solve it is too embarrassing to say. I can say it wasn't an error between PLC and TwinCat but a problem made by me:D

Thank you for your help!
 
Use the batch file and execute it with administrator rights

Using the win8settick.bat with administrator rights should solve the problem. at least it did for us ...
 
Often one can't log-in to the PLC because it is not in the "run-mode" state. TwinCAT tries to lead you thru the correct steps.

After "Activate Configuration", it asks if you want to change to "run-mode". Normally answer, "Yes". That is because the next step most people need is to log-in to download the compiled PLC code. That is likely why it now worked for thiseful.
 
r.rr.,

The only manual is on their website, termed "Information System". You can download to have as a local electronic version. Go to www.beckhoff.com.

For more theory, my tech support referred me to the text, "Programming Automation Systems" (or such), but decades old now. It has chapters on creating object-oriented and reusable PLC code, if that is your interest. Another place for modern PLC programming discussion is www.plcopen.org.
 
Hi. I am new to TwinCAT. For my UNI project I am working on a MBD, trying to transfer the model from Matlab/Simulink to TwinCAT. I am working on a Beckhoff CX5120 PLC.

I seem to have some basic problems that I am unable to crack.
I have created a new project and as soon as I try to restart TwinCAT in config mode I get an error:
'TwinCAT System'(10000): Debug:CSysService::MappedCreateFile(\\.\COM99),error 2 at CreateFile()!
 
Hi. I am new to TwinCAT. For my UNI project I am working on a MBD, trying to transfer the model from Matlab/Simulink to TwinCAT. I am working on a Beckhoff CX5120 PLC.

I seem to have some basic problems that I am unable to crack.
I have created a new project and as soon as I try to restart TwinCAT in config mode I get an error:
'TwinCAT System'(10000): Debug:CSysService::MappedCreateFile(\\.\COM99),error 2 at CreateFile()!

Hi, did you manage to find to solution to CSysService::MappedCreateFile(\\.\COM99),error 2 at CreateFile()?
 

Similar Topics

Hello, I was wondering if anyone know how to upload a PLC program to the Beckhoff TwinCAT 3 from a file? i.e. without having the development pc...
Replies
0
Views
640
Hi anyone got any tips and tricks?? I'm at a stage wherei need to tidy up my hmi project and give all objects sensible names, I did start this...
Replies
0
Views
923
Hello, I have a System running a beckhoff IPC with twincat 2 software on it, Also i have no original source code. Is it possible with the...
Replies
1
Views
1,242
Hi all, I've inherited someone else's program and can't for the life of me figure out his use of the # symbol in one of his structured text...
Replies
5
Views
1,874
Hello, Is there any forum for the Beckhoff PLC's? I'm trying to follow an example for BACnet Building Automation where I connect a binary input...
Replies
0
Views
1,160
Back
Top Bottom