简体   繁体   English

如何在没有 PLC 的情况下运行 Twincat 程序?

[英]How do I run a Twincat program without PLC?

I am a beginner in Twincat and have been playing around with it.我是 Twincat 的初学者,一直在玩它。 I watched this playlist where this guy explain structured text and successfully runs a program on his system.我看了这个播放列表,这个人解释了结构化文本并成功地在他的系统上运行了一个程序。 However when I try to run on my system, I get error 0x1028.但是,当我尝试在我的系统上运行时,我收到错误 0x1028。 Then I read that I have to configure parallel port as IO port in Twincat - got no idea how to do this.然后我读到我必须在 Twincat 中将并行端口配置为 IO 端口 - 不知道该怎么做。 Help please!请帮忙!

You don't need to configure any parallell ports in TwinCAT 3 to run TwinCAT 3 software on your machine.您无需在 TwinCAT 3 中配置任何并行端口即可在您的机器上运行 TwinCAT 3 软件。

Not sure what 0x1028 means, but if you're running a 64-bit machine (which you these days most likely are doing) you need to enable Virtualization Technology Extensions (VT-x) in the BIOS of your computer.不确定 0x1028 是什么意思,但如果您运行的是 64 位计算机(您现在很可能正在这样做),您需要在计算机的 BIOS 中启用虚拟化技术扩展 (VT-x)。 You also need to run the command C:\TwinCAT\3.1\System\win8settick.bat (as administrator from the CMD)您还需要运行命令C:\TwinCAT\3.1\System\win8settick.bat (作为 CMD 管理员)

You could alternatively run TwinCAT in a virtual machine.您也可以在虚拟机中运行 TwinCAT。 How you achieve this is described here: https://alltwincat.com/2018/06/14/twincat-virtualization/此处描述了如何实现此目的: https://alltwincat.com/2018/06/14/twincat-virtualization/

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM