Hello my viewers and my friends. To do this test, please go to 5:15 and activate the trial license TF6100 and TF6210. I am sorry that I skipped this step. The TwinCAT 3 software will not show the license missing if you forget activating the license, however, your communication can not be successful without the license or trial license. Note: In this video, there are many steps and settings, please view carefully and do not jump the video, you would lose some significant settings. Thanks for watching!
@andylawton61373 жыл бұрын
Thank heavens I found this! Why Beckhoff can't give such clear information, I don't know. Many thanks for doing this.
@electricalautomation3 жыл бұрын
Glad it was helpful! Welcome! More Beckhoff videos are at this playlist kzbin.info/aero/PL762SfoJC-e_zInKf3ZRgoa1jLl10deYb
@andylawton61373 жыл бұрын
@@electricalautomation I have heard that there is also a UA client available. Looking at my installation, in C:\TwinCAT\Functions\TF6100-OPC-UA\Win32\Client there is an TcOpcUaClient.exe file. This looks like you can program a client as well as a server (although I hope it's not just 32 bits, as my application is 64 bits). Do you know anything about this?
@electricalautomation3 жыл бұрын
@@andylawton6137 I think you are talking about the Client test software, "UA SampleClient.exe". Yes I used it, but frankly speaking, I would rather use UAExpert. I remember one time I used it for the connection test unsuccessful but I got it successfully immediately after I used UaExpert.
@OhaaG Жыл бұрын
Thank you very much. Even though some of the menus look different today, it was still easy to follow and reproduce. Finally I managed read/write variables from outside my plc!
@electricalautomation Жыл бұрын
Glad it helped! This video came from three years ago. Yes, Beckhoff published the new method and I did a video by using the new method, please enjoy: COM08b. OPC UA Beckhoff - OPC UA Server via C6030 Controller and TwinCAT 3 TF6100 kzbin.info/www/bejne/iZnJg4Caa5KYf7s
@GuitarHeavenPL4 жыл бұрын
Thanks for Beckhoff tutorials Please keep them coming Regards
@electricalautomation4 жыл бұрын
Thanks for your watching! I just finished a whole stack of Siemens PID videos, and will release them as quick as I can. Then I will shift gear to Beckhoff. Recently I got an Analog troubleshooting case and one Beckhoff CX9020 firmware upgrade case will be shared soon. Then an entire series of Beckhoff PID topics will follow.
@ghaithalshammari10543 жыл бұрын
Thank you, Very clear and education not only instructions
@electricalautomation3 жыл бұрын
Thank you very much! This is one of my favorite reviews! Welcome!
@denysmusharov72672 жыл бұрын
You are awesome teacher, thank you very much!😊
@electricalautomation2 жыл бұрын
Glad the videos are helpful! Thanks for watching!
@Jeterify3 жыл бұрын
This was incredibly helpfu, thank you!
@electricalautomation3 жыл бұрын
I am glad it is useful. Thanks watching and Welcome!
@redouaneelouidani12434 жыл бұрын
I found your tettes very professional thanks for sharing and please keep going
@electricalautomation4 жыл бұрын
Thanks a lot! I am also preparing a new series videos, may come after following months. Please feel free to leave any recommendation and topics.
@berauer4 жыл бұрын
This was really helpful. Was easy to follow along. Thank you!
@electricalautomation4 жыл бұрын
Thanks Carsten, welcome to my channel!
@antonioferrarii9811 ай бұрын
When I try to add a Device Type like in minute 12:16 it gives me the WARNING: "Please Connect to Ua-Server" and doesn't allow me to add the PLC. I have all the licences and the OPCUA extension installed, any idea on what is wrong in my configuration?
@Estefania-h1e2 ай бұрын
Have you solved this problem? I'm having the same here
@antonioferrarii982 ай бұрын
@@Estefania-h1e no, others tried to reset everything and do the right passage but since than I don't know anything about that anymore
@abrahamneme90403 жыл бұрын
Thanks a lot for the videos! They are really helpful
@electricalautomation3 жыл бұрын
Thanks for watching! Welcome!
@dariusvaitkus9653 жыл бұрын
Amazing! Thank you so much for your explanation about opc ua! 🙏👌
@electricalautomation3 жыл бұрын
My pleasure 😊 Thanks for watching!
@dariusvaitkus9653 жыл бұрын
@@electricalautomation I just tried to setup opc ua on Beckhoff CX5010 with Windows Embedded Standard 2009. But getting some error when want to connect to its server.. Question is : Do I need to add opcua server in vs project or just setup it in plc and should be able to connect from my pc and see all variables? This is my first day with opc ua learning..
@electricalautomation3 жыл бұрын
@@dariusvaitkus965CX5010 runs as OPC UA Server. The "target" of the OPC UA Configurator is the CX5010. e.g. 192.168.1.10:4840
@dariusvaitkus9653 жыл бұрын
@@electricalautomation thank you . I'll try to setup again. So I don't need to connect to cx5010 and install there opc ua? Everything is done on the pc?
@electricalautomation3 жыл бұрын
@@dariusvaitkus965 You do need to install TF6100 in CX5010 and your laptop. Do OPC UA configuration at your laptop and download the configuration to CX5010. CX5010 is the OPC UA Server and it is your download target.
@user-ht9kj3yk1k2 жыл бұрын
Great tutorials - However installed TCXAE and ran success simulations and visualization. However after install TF6100 OPC UA Server, it never shows up as option in New projects ( as per 11:16). Not sure why..
@electricalautomation2 жыл бұрын
Beckhoff recently took off the "Visual Studio Version" which was the main method before. The 'Stand alone' is the only available now, it is weird. But I have the video for ''stand alone' OPC UA TF6100. SCADA05. [PLC&HMI] Beckhoff TwinCAT OPC UA Configurator TF6100 (2022.05 Standalone Rev). kzbin.info/www/bejne/r3zSlIychLGYnck
@user-ht9kj3yk1k2 жыл бұрын
Thank you for the quick response. I will review the SCADA series. I have a project in China which requires OPC UA to control Maestro
@user-ht9kj3yk1k2 жыл бұрын
HI - Tried to follow the SCADA 05 example ,but its very different idea - so I got lost.. Installed Client/Server/Gateway/Configurator etc and went back to Com 08a to try again . At 17:18 did not get ADD Target OPC UA server.. showed Edit Server list in that window...
@electricalautomation2 жыл бұрын
If you'd like to follow the 'Visual Studio' way, then I would recommend to view COM8b. it is more clear than COM8a. kzbin.info/www/bejne/iZnJg4Caa5KYf7s
@user-ht9kj3yk1k2 жыл бұрын
@@electricalautomation Thanks. I watched a few of the SCADA series and then tried again. Worked okay now. Also wrote a Python OPCUA client on Laptop #2 and it works. Thanks for this!. Good stuff!
@mattwalker96702 жыл бұрын
Great Video easy to follow
@electricalautomation2 жыл бұрын
Glad it was helpful! Welcome!
@ahmedebrahim75934 жыл бұрын
Please keep these advanced tips and lessons
@electricalautomation4 жыл бұрын
Thanks, More to come
@md.sahinsarker37102 жыл бұрын
Hello! Thank you so for your video. I face one problem, when I want to Add Device Type in Data Access (12:17) then it shows WARNING, please connect to Ua-Server. How to solve this problem? Thanks in advance.
@electricalautomation2 жыл бұрын
Pls see 14:50 the OPC UA Server is connected. You may need to connect the OPC UA Server at first, then add the device type. Also please review COM08b. OPC UA Beckhoff - OPC UA Server via C6030 Controller and TwinCAT 3 TF6100 kzbin.info/www/bejne/iZnJg4Caa5KYf7s, the operation procedure may be better than this video. I used the procedure to configure the Beckhoff IPC many times without any issues.
@md.sahinsarker37102 жыл бұрын
@@electricalautomation Hello! I try to like that, but it still shows not connected with OPC UA Server. Could you tell me how to establish a connection with an OPC UA Server? I am a new user of TwinCAT 3, that's why I face many problems. Could you help me for that? Are there need any hardware driver? Thank you.
@Estefania-h1e2 ай бұрын
@@md.sahinsarker3710 I'm running into the same issue
@EyMaxl2 жыл бұрын
Great video! Thanks alot
@electricalautomation2 жыл бұрын
Glad you liked it! Welcome!
@mohamedlamjedromdhani2401 Жыл бұрын
Thank you for this video! I have one question: I connected two PCs with a LAn cable and did exactly as on the video. on one PC is OPC server and on the other PC is UaExpert, but could not find the server via UaExpert. I don't know why?
@awaisali440 Жыл бұрын
Thanks for Sharing. I really appriciate it.
@electricalautomation Жыл бұрын
My pleasure! pls also check COM08b the link under the video, it is the new revision method of TF6100.
@srimanikandaprasaths25224 жыл бұрын
Thank you. good work and useful.
@electricalautomation4 жыл бұрын
Thanks! Welcome
@user-ht9kj3yk1k2 жыл бұрын
Trying to set up OPCUA ( Alarm and Conditions) using Beckhoff PLC and as OPC Server on Laptop#1 and UAExpert as OPC Client on Laptop #2. Beckhoff documents are not clear. Can you help?
@shankarraj22342 жыл бұрын
Hi for the toolbar icon for OPC UA cofigurator showing edit server list it does not showing add opc ua server what is the exact version are you using
@electricalautomation2 жыл бұрын
Are you using the latest OPC UA from Beckhoff, if yes, please find the video SCADA05. [PLC&HMI] Beckhoff TwinCAT OPC UA Configurator TF6100 (2022.05 Standalone Rev). kzbin.info/www/bejne/r3zSlIychLGYnck Beckhoff changed some minds on the OPC UA. Please see the new method.
@totoxahc3 жыл бұрын
Me again, I got up and running the OPC server and can connect to it but I cannot see the variables, I have added the attribute, etc but the variables are not shown in OPC. I have a dedicated controller and the server is running in the development machine. One thing that I noticed is that when I browse for the symbol file (TMC file) in the data access configuration it always shows the files on the local machine, even though I select target and the target is correctly defined as the controller.
@electricalautomation3 жыл бұрын
Please check if the OPC UA trail license is activated in your dedicated controller. The TwinCAT OPC UA functions need the license activated.
@totoxahc3 жыл бұрын
@@electricalautomation Yes, the TC3 OPC UA license is activated in both the server and the controller. Is necessary to install the OPC server in the controller? as I understand the OPC server comunicates with the data sources via ADS
@electricalautomation3 жыл бұрын
@@totoxahc If you are using Beckhoff Controller, then it is preinstalled OPC package. If you are using your own PC, you need to install the TF6100 in the PC, and the OPC UA software must match with your TwinCAT 3 software revision.
@javidelmoral36974 жыл бұрын
Thank you for this video!!, I did all the steps, I managed to configure it but when I try to do it again I have the following error in the minute 18:18, "EXCEPTION, socket was closed gracefully, can you help me?
@electricalautomation4 жыл бұрын
Hello I didn't have this problem before. But probably you could check 1. make sure trail license is not expired. 2. TF6100 OPC UA software is running (right bottom corner icon) 3. turn off windows firewall. 4. try to use the other PC or fresh virtual machine.
@dsmeckt22834 жыл бұрын
Thank you for this video! I have one question: Is the OPC server running in the (simulated) PLC, or on a separate program on your PC. It feels like its running on a separate program on how the connectivity project is set up. Or did I misunderstand this?
@electricalautomation4 жыл бұрын
The OPC UA Server is an individual component and Beckhoff 'PLC' (in the project, PLC folder) they are running parallel as I understand. In the video, since I didn't have an actual hardware controller, I used my laptop to run the PLC + OPC UA Server. There would be a connection between PLC and OPC UA Server, such as 'Ads port 851' setting, which allows OPC UA Server finds out where is the PLC.
@luischachayma63193 жыл бұрын
Great video. I am trying to follow your tutorial but with a physical IPC how can I run the OPC UA Server on the physical IPC too?
@electricalautomation3 жыл бұрын
Hello, if you are using a IPC, the configuration procedure is almost the same, the only difference is 06:00 the target is your controller rather than "Local", and as shown 19:25, the URL IP address is your target IPC IP address. Then when you download the TwinCAT and OPC UA configuration, they will be downloaded into the IPC. I just did an IPC OPC UA yesterday, it works. The recorded video will be published in weeks.
@CharlyWu1733 жыл бұрын
Hi, is it possible to expose a function as UA method?
@electricalautomation3 жыл бұрын
I haven't got a chance to use OPC UA method. You could check the TF6100 OPC UA manual from Beckhoff and search the manual especially for UA_MethodGetHandle
@shankarraj22342 жыл бұрын
I am continuously getting error object reference not set to an instance object also my opc server not connect giving error wrong opc ua server it is not beckoff opc ua server how ro solve this
@electricalautomation2 жыл бұрын
Are you using the latest OPC UA from Beckhoff, if yes, please find the video SCADA05. [PLC&HMI] Beckhoff TwinCAT OPC UA Configurator TF6100 (2022.05 Standalone Rev). kzbin.info/www/bejne/r3zSlIychLGYnck Beckhoff changed some minds on the OPC UA. Please see the new method.
@rahulravi44243 жыл бұрын
Hi could you share the link to download the TF6100 and TF6210..I dont find in the beckhoff website
@electricalautomation3 жыл бұрын
www.beckhoff.com/en-us/products/automation/twincat/tfxxxx-twincat-3-functions/tf6xxx-tc3-connectivity/tf6100.html Go "software and tools" you will find the download button
@barsmutaf84573 жыл бұрын
Hello, thank you for the tutorial. I successfully published from the server. I try to communicate via TwinCAT OPC UA Sample Client, i can see the plc variables in the client program but i can't see the values. I get "object reference not set to an instant of an object". Do you have any idea?
@electricalautomation3 жыл бұрын
I recommend you check the property of the variables (OPC.UA.DA := 1) in the global variable list "GVL".
@barsmutaf84573 жыл бұрын
@@electricalautomation I define the variable as you said. What else can i check? VAR_GLOBAL {attribute 'OPC.UA.DA' := '1'} nCounter : INT; END_VAR
@electricalautomation3 жыл бұрын
@@barsmutaf8457 You might miss some steps. I would recommend reviewing the video for some details or contact beckhoff support
@alexbeh20613 жыл бұрын
@barış mutaf I am facing the same issue also. May I know how you solve it eventually?
@yanlong62084 жыл бұрын
It is really a good video. But following your hands-on, I failed to see OPCUA folder in UaExpert client. Do not know why?
@yanlong62084 жыл бұрын
Fixed it
@electricalautomation4 жыл бұрын
Glad to hear that you figured out it
@AnuragSingh_Robotics Жыл бұрын
Hi! The same problem for me, can you please tell me how you did it?
@totoxahc3 жыл бұрын
When I try to install OPC UA Server it says that TwinCAT is not installed so it cannot continue but I have TwinCAT installed!!, do you know what could be the problem?
@electricalautomation3 жыл бұрын
Hello, I didn't get this problem. Did you install the TwinCAT at the default directory, did you change it? Is your TwinCAT the latest version 4024.xx? Probably install the new version of TwinCAT and then install OPC UA TF6100 after.
@totoxahc3 жыл бұрын
@@electricalautomation Found the issue, I was trying to install TS6100-OPC-UA.4.3.44.0.exe and that software is for twincat 2.
@harrishe4253 жыл бұрын
@@totoxahc I am glad you solve that. Enjoy it.
@rahulravi44244 жыл бұрын
When i try to select the end point, i dont find the none end point even though i have selected before could you tell me how to rectify it.
@electricalautomation4 жыл бұрын
Please let me know the 'time' in my video related to your question.
@chengx46904 жыл бұрын
@@electricalautomationI have the same issue. It's around 20 minutes in the video. And after choosing an endpoint and clicking connect there is nothing shown in the client certificate. Would you please help me?
@rahulravi44244 жыл бұрын
@@electricalautomation It at 20 minutes, selecting the end point
@electricalautomation4 жыл бұрын
@@chengx4690 Please check the 19:26 kzbin.info/www/bejne/l4amnYaIiLiFlac check if the "state" is "running". Also check the license, activate the trial license of the OPC UA. Pls let me know if you got it solved
@electricalautomation4 жыл бұрын
@@rahulravi4424 Please check the 19:26 kzbin.info/www/bejne/l4amnYaIiLiFlac check if the "state" is "running". Also check the license, activate the trial license of the OPC UA. Pls let me know if you got it solved
@yanlong62084 жыл бұрын
Could you record a video to demo how to configure OPC UA Alarms and Conditions?
@electricalautomation4 жыл бұрын
Thanks for watching. Regarding OPC UA A&C, I am not using this in my recent task. You could find the A&C from the link infosys.beckhoff.com/english.php?content=../content/1033/tf6100_tc3_opcua/27021599623121675-4.html&id= for the details.
@yanlong62084 жыл бұрын
@@electricalautomation Thanks for your information. I would like to learn more by your hands-on video.
@electricalautomation4 жыл бұрын
@@yanlong6208Welcome!
@DarkHideMoon3 жыл бұрын
Thanks for your video. I am having some difficulties though. When I try to 'Add device type' in 'Data Access', I get the message 'WARNING Please Connect to UA-Server'. When I try to 'Add Target OPC-UA Server' I get 'Application certificate does not have an application URI'. I added the TF6100 and TF6120 licences. Firewall is disconnected and the OPC-UA Server running (I checked since I can connect via TwinCAT OPC UA Sample Client). Any idea of what can be happening? Thanks in advance.
@electricalautomation3 жыл бұрын
Hello, Can the "Configured UA Servers" windows show up after you click "Add OPC UA Server"? Most likely you have the issue on the configuration at his window, where you need to config the server URL like opc.tcp://192.168.x.x:4840. please let me know if you find something. Also I would have a Beckhoff controller this days and I will config the OPC UA server and record a new video if I have chance to test it.
@DarkHideMoon3 жыл бұрын
@@electricalautomation Thanks for your quick answer. Actually, the 'Configured UA Servers' window does not show up. I get an error 'pop up' window with the error message instead. A colleague of mine tried and had on his computer the same error as I had, so I am discarding something specifically related to my computer. Might it be related to the latest Twincat versions or Windows 10 configuration? Any other step that I could have missed? Thanks a lot for your help.
@DarkHideMoon3 жыл бұрын
@@electricalautomation This is a short video with the error pop-up. kzbin.info/www/bejne/a4LXZpKii7yVa7c
@electricalautomation3 жыл бұрын
@@DarkHideMoon Please make sure the OPC UA installation software you download correctly. Also MAKE SURE intal the OPC UA software with "Run As Administrator". Most likely your trouble comes from the software. I just got a Beckhoff controller and did the same configuration procedure, and only 5 mins following the same method, I did the OPC UA server via a Beckhoff controller successfully.
@electricalautomation3 жыл бұрын
@@DarkHideMoon Hello, just saw your video. Plase view my video 17:00. Try to "Add Target OPC UA server" successfully at first. Then 'Connect" the OPC UA server. Then config "Data Access"
@rahulravi44244 жыл бұрын
is it mandatory to have server and the client in differnt Pc's ?
@electricalautomation4 жыл бұрын
Not mandatory, intall into one PC works fine. using two PCs and installed software separately is used to show a 'more' complex case, demonstrating two PC via network can still communicate.
@rangaswamy86044 жыл бұрын
Good video. OPC UA ENDPOINTS TAB shows no license. Tags in client show BadLicenseExpired. Please guide.
@electricalautomation4 жыл бұрын
Hi do you mean the tab at 'UA Endpoints' kzbin.info/www/bejne/l4amnYaIiLiFlackzbin.info/www/bejne/l4amnYaIiLiFlac ? Please check the project tree -> SYSTEM -> License, then active 7 days trial license for the TF6100 for the test
@rangaswamy86044 жыл бұрын
@@electricalautomation Thank you for the hint.
@tHEshAMOT4 жыл бұрын
If you are getting "EXCEPTION | Security was NOT requsted but server does not have any endpoints without security." when adding Targt OPC-UA Server, open "Twincat/Functions/TF6100/Win32/Server/TcUaServerConfig.xml" in some text editor (I recommend VS code) and uncomment commented paragraph containing line "opcfoundation.org/UA/SecurityPolicy#None" (I had this around line 95). You have just allowed endpoint without security. Restart OPC-UA server and try to add target again. Now it should work.
@electricalautomation4 жыл бұрын
Thanks for your info!
@mehdi199664 жыл бұрын
I followed this Tutorial step by step. I have the problem that at the end my variables have no value in UA Expert. Statuscode is 0x0810e0000. What does that mean? And by the way many thanks for the tutorial really helpful
@electricalautomation4 жыл бұрын
Hello, can you browse the OPC UA tags from Beckhoff side by using UA Expert? Have you activate the OPC UA trail license in TC3? I may forget showing the process of the OPC UA license activation since I activated before recording this video. Please check the activation of the trail license.
@electricalautomation4 жыл бұрын
Pls also check the 'TMC File' showing in the video 8.35 at kzbin.info/www/bejne/l4amnYaIiLiFlac
@mehdi199664 жыл бұрын
@@electricalautomation Hey Thanks for replying. I Actually can browse the Tags by using UA Expert. I also activated the licence. I don't know what the problem is
@electricalautomation4 жыл бұрын
@@mehdi19966 Do you mean that you can browse the Tags successfully but the value of the tags is zero? Could you please check if you 'start' (yellow gear in green box at bottom of screen) the Beckhoff controllers and 'RUN' (Green play button at the top bar of the software) the program.
@mehdi199664 жыл бұрын
@@electricalautomation I fixed the problem it was actually a licensing Problem. Thank you!! I had another Problem recently though that when i connect with UA Expert I Can't see the PLC Programm MAIN
@SunilYadav-nb9wp4 жыл бұрын
Sir,Please make vedio for file open ,file read and file write in twincat 3
@electricalautomation4 жыл бұрын
Hello, Thanks for your comments. But, I didn't get a chance to implement File operation in Beckhoff PLC. It would not be short to do this test for me. If the test is urgent for your, you could go to browse the link infosys.beckhoff.com/english.php?content=../content/1033/tcplclibsystem/html/tcplclibsys_fileio_example.htm&id= There is an example file from the Beckhoff website. Good Luck!
@JacoNelSilverMecer2 жыл бұрын
Has anybody done a TwinCAT 3 TF6100(OPC UA Server) and Node-Red Client
@electricalautomation2 жыл бұрын
You can check this link, it shows how to set the Node-Red as OPC UA Client soup01.com/en/2022/12/26/projectbeckhoff-twincat3-x-siemens-s210-servo-drvie_part6-2/