⬆Support this channel using the "Thanks" button⬆ or by making a donation through PayPal → www.paypal.com/donate/?hosted_button_id=7FBED5B26KT7S, or by becoming a Patron → www.patreon.com/sagatowski
@brandonfarmer43237 ай бұрын
Jakob casually switching between programming languages, then also casually switching between spoken languages to help him better write in the programming languages is incredible (23:30). Well done, as always @JakobSagatowski, and thanks for the in depth tutorial!
@JoseSilva-gt6zj2 жыл бұрын
Hey Jakob! This series is fantastic! Thank you for sharing this great content!
@cgatcombe2 жыл бұрын
Great introduction to automation. I use it to create and map all I/O for all our devices, saves a *lot* of time. I would point out that even though theMessageFilter needs to be used, you will sometimes still get COM exceptions ("Windows cannot handle the request because it is busy" or words to that effect) from the Beckhoff methods that should be caught and retried.
@BalazsBacskay2 жыл бұрын
According to the Beckhoff documentation the MessageFilter.Register() needs to be called before the COM calls and the MessageFilter.Revoke() after the COM calls (at the end of the program). And the main() method needs the [STAThread] attribute to make the message filtering work.
@nikolapetrovic52062 жыл бұрын
I noticed that too. I tried it in WPF project and I would get sometimes exception even though I implemented filter and Register and Revoke methods.
@tbaumg Жыл бұрын
I had the same issue until I added the [STAThread] attribute before the Main, after that, no more message filter errors. I had missed that little detail the first time around.
@stefanhenneken2172 жыл бұрын
Hi Jakob, A great introduction to the TwinCAT Automation Interface. Thank you for this nice Video. The Automation Interface is a very helpful tool. We use the Automation Interface with PowerShell to automate our system tests. And we use it within Azure DevOps for the build pipelines.
@JakobSagatowski2 жыл бұрын
Hi Stefan! Thanks for your feedback. Would love to see your automatic system tests one day!
@darkxceed3 ай бұрын
Hello Jacob, I made a plc program I start but I also like to automatically login en start ADS, so I can read and write the variables in the PLC program. Is this possible maybe an configuration in the PLC?
@manasnagesh93512 жыл бұрын
Hi Jacob, I get an error for part 16. Which is the " type of namespace name 'ITcSysManager' could not be found. I have added the required libraries. Could you please tell me what i might be missing".
@darkxceed Жыл бұрын
Hello Jakob, I really love your tutorials, it helped me a lot. At our factory we test products which contain a beckhoff PLC. I think it would be very helpfull if you could send me the .exe from tutorial 16 or can you tell me where I can find it? Keep up the good work!
@JakobSagatowski Жыл бұрын
Hey! I'm happy you found this course useful. All the course-material will soon be uploaded to my patreon members, www.patreon.com/sagatowski
@darkxceed Жыл бұрын
@@JakobSagatowski is there a way to programmatically add a route?
@MrPcwortex Жыл бұрын
All of this posible to do with Python language?
@TomScryleus2 жыл бұрын
@martijngillis94352 жыл бұрын
Hi Jakob, This series is helping me out a lot in understanding TwinCAT3 3 programming! but i'm strugling to get the automation interface working, since today my project keeps giving an InvalidCastException: "Cannot convert COM object of type System.__ComObject to interface type TCatSysManagerLib.ITcSysManager15." Do you know where this is comming from? it occurs on this line: ITcSysManager15 sysManager = (ITcSysManager15)project.Object;