Twincat 3 Simulation mode

cottagewood

Member
Join Date
Oct 2005
Location
Kent
Posts
179
Can anyone tell me how to go about running simulation mode in Twincat3

I have project in a CP6606 which I need to test some code that creates and writes to as file and it would be easier if I could simulate it.
In Twincat 2 and other codesys environments there is an option under PLC to switch to simulation mode, however I can't see that in Twincat 3.
 
Hello cottagewood,

Hm, there is no such thing as "simulation mode" option in TwinCAT 2, you just had to select "Local" as your target system in TwinCAT System Manager.

In TwinCAT 3 it's the same (image attached) - you have to select "Local", then go TWINCAT -> Activate Configuration (it'll ask you to generate trial runtime licenses) and after that you are ready for the PLC -> Login part.

TC3 local.png
 
Thanks for that Karlek

I did try that and generated the license, however when I try to log in I get the following errors

Error 11 01/03/2018 10:47:01 436 ms | 'TCRTIME' (200): start of real-time avoided by "KB4056894"

Error 12 01/03/2018 10:47:01 437 ms | 'TwinCAT System' (10000): Sending ams command >> Init4\RTime: Start Interrupt: Ticker started >> AdsWarning: 4132 (0x1024, RTIME: incompatible software detected) << failed!

I'm using windows 10 , I'm going to try installing on Windows 7 to see if that works
 
If you already have I/O's in your configuration you have to disable them first. To do that, go to devices on the project tree, right mouse click and choose disable. Then activate your configuration again
 
Thanks for that Karlek

I did try that and generated the license, however when I try to log in I get the following errors

Error 11 01/03/2018 10:47:01 436 ms | 'TCRTIME' (200): start of real-time avoided by "KB4056894"

Error 12 01/03/2018 10:47:01 437 ms | 'TwinCAT System' (10000): Sending ams command >> Init4\RTime: Start Interrupt: Ticker started >> AdsWarning: 4132 (0x1024, RTIME: incompatible software detected) << failed!

I'm using windows 10 , I'm going to try installing on Windows 7 to see if that works

There was recent issue with spectre/meltdown patch, following systems are affected:

Windows 10 64bit with TwinCAT 3
Windows 7 64bit with TwinCAT 3
Windows Server 64bit with TwinCAT 3

PDF with instructions on solving this exceeds forum limit (300 kB), I can send it to you if you provide an e-mail.
 
Last edited:
There was recent issue with spectre/meltdown patch, following systems are affected:

Windows 10 64bit with TwinCAT 3
Windows 7 64bit with TwinCAT 3
Windows Server 64bit with TwinCAT 3

PDF with instructions on solving this exceeds forum limit (300 kB), I can send it to you if you provide an e-mail.

Can I get same PDF as well
 

Similar Topics

Hi all. I'm interested in getting familiar with twincat 3.0 and beckhoff PLC without going through the expense of purchasing the PLC. Is there...
Replies
3
Views
3,322
Hello I would like to simulate a program i wrote in twincat 2. I have a 64bit laptop with windows 10. I tried to use the Simulation Mode in...
Replies
15
Views
6,460
Hi everyone, I am actually working on a project using twincat 2 for my firm and i will only received the automate in 2-3 weeks. The problem is...
Replies
2
Views
2,086
I'm trying to control a device via MODBUS RTU and the ModbusRtuMasterV2_PcCOM in Twincat 3. I've configured a device with the right com port and...
Replies
6
Views
143
Hi! I am trying to run the 'SimpleSample' (https://infosys.beckhoff.com/content/1033/TF5100_TC3_NC_I/Resources/3438746891/.zip ) to understand the...
Replies
2
Views
100
Back
Top Bottom