ctrlx#Part2_Data Layer

Last time, I showed how to install the Ctlx Works and Ctlx PLC Apps and launched a simple PLC application. This time, I would like to introduce the Real Data Layer function, which is very convenient for exchanging data between Ctrlx PLCs. That functionality is also available in ctrlX CORE and ctrlX COREvirtual.

The example below is actually a Data Layer concept. To put it simply, different applications such as PLC-Runtime, NodeRed, C/C++ can exchange data via the layer. It is an image similar to TwinCAT’s ADS and Siemens’ S7 Communication.

Reference Link

ctrlX#Part1_Your first Entry with ctrlX-PLC APP!

Create Symbol Configuration

Open your project from ctrlx PLC Engineering, and create the Symbol Configuration by Application>Add Object>Symbol Configuration.

Check the Include Comments XML and Support OPC UA features options and Add it.

Symbol Configuration is created.

Program

Since we have to use the variables we want to create Symbols inside your project, we will temporarily add 1 program.

Build

Go back to the Symbol Configuration and GVL.myData is shown.CHeck this variable and Build it.

Download

Before downloading the program, first change the IP address of VirtualControl-xxxx’s Network Adapter from the Control Panel.

Click the Login in Button.

The Communication Settings configuration screen is shown.

Enter the IP and OK!

Accept the certificate > OK to proceed.

Username and Password are the same as WEB Server Login information.

Username:boschrexroth

password:boschrexroth

Done!Connection is established.

Login again and confirm with Yes.

Program is downloaded.

Run your Runtime Application.

Result

From Web Server, click Settings > Data Layer.

If you expand plc>app>Application>sym, you can see the GVL defined earlier and the variables in it, and you can also check the current value.

Footer_Basic

Please Support some devices for my blog

Amazon Gift List

Find ME

Twitter:@3threes2
Email:soup01threes*gmail.com (* to @)
YoutubeChannel:https://www.youtube.com/channel/UCQ3CHGAIXZAbeOC_9mjQiWQ

シェアする

  • このエントリーをはてなブックマークに追加

フォローする