Store PLCnext CommunityPLCnext on LinkedInPLCnext on Instagram  PLCnext on YouTube Github PLCnext CommunityStore PLCnext Community

  1. zqli
  2. PLCnext Technology & PLCnext Controls
  3. Thursday, 25 March 2021
Hi,

I'm trying C++ Remote Service Calls on AXC F 2152, the firmware version is 2021.0.0.
But I found the Default.gds.config file which can work on firmware version 2020.3 now cannot work on firmware version 2021.0.

May I know should I change anything in my Default.gds.config file?
Or is there any other thing which caused this issue?

Thanks for your help!

Best regards,
Li Zhuoqun
Attachments (1)
Accepted Answer
Martin PLCnext Team Accepted Answer Pending Moderation
0
Votes
Undo
OK, I think I see the problem.
I assume that these are GDS ports that have been defined on a C++ Component, not on a Program. This is important information.
There is a bug in firmware 2021.0.x that means that GDS Ports on PLM components are not loaded properly by the PLCnext Runtime.
There is currently no work-around, but the problem is due to be fixed in firmware version 2021.3.
Sorry for the trouble.
~ Martin.
Phoenix Contact Electronics Headquarters - PLCnext Runtime Product Management and Support
Martin PLCnext Team Accepted Answer Pending Moderation
0
Votes
Undo
Hi Li Zhuoqun,

That file is installed with the firmware, and the general rule is that files installed with the firmware should not be modified by the user, otherwise it can cause problems similar to the one you are seeing.

The solution is to use the Default.gds.config file that is installed with the current version of firmware. If you have already changed it, it can be restored using a Type 1 reset (which deletes all user-modified files from the PLC), or by deleting only your modified config file:

rm /media/rfs/rw/upperdir/opt/plcnext/projects/Default/Default.acf.config


Rather than edit the Default.acf.config file, you should put another .acf.config file in the /opt/plcnext/projects/Default directory, which either loads your component, or else includes another .acf.config file that loads your component.

Hope this helps.

~ Martin.
Phoenix Contact Electronics Headquarters - PLCnext Runtime Product Management and Support
zqli Accepted Answer Pending Moderation
0
Votes
Undo
Hi Martin,

Thanks for your answer.
Here I'm didn't edit the Default.acf.config file. I only created two config file, Default.gds.config and Tank.gds.comfig.

The Default.gds.config file I created is under /opt/plcnext/projects/Default/Plc/Gds, and in this folder there is no system generated config file.
The Tank.gds.comfig file I created is under /opt/plcnext/MyComponents, and this folder is created by myself.
These two file can work in same folder under firmware version 2020.3, but cannot work under firmware version 2021.0.

As you say, I need to create a .acf.config file in the /opt/plcnext/projects/Default directory, may I know the structure of this .acf.config file?

Thanks for your help!

Best regards,
Li Zhuoqun
Attachments (1)
Martin PLCnext Team Accepted Answer Pending Moderation
0
Votes
Undo
My mistake, my answer was about .acf.config files, when you were asking about .gds.config files (sorry).
Please ignore my original answer.
Your Default.gds.config file should be picked up from the directory /opt/plcnext/projects/Default/Plc/Gds.
You should delete the first <include> entry in your Default.gds.config file, since this is done elsewhere in firmware version 2021.0.
Perhaps this is causing a problem when loading your .gds.config file.
If this still does not work, please check the Output.log file for messages that may indicate a problem with the GDS configuration.
Phoenix Contact Electronics Headquarters - PLCnext Runtime Product Management and Support
zqli Accepted Answer Pending Moderation
0
Votes
Undo
Hi Martin,

Thanks for your answer.

I tried to delete the first <include> entry in my Default.gds.config file.
But it still doesn't work. Seems the gds.config file cannot be load properlly.

Here I attached some log information for your reference.

Thanks and Best regards,
Li Zhuoqun
Attachments (1)
Martin PLCnext Team Accepted Answer Pending Moderation
0
Votes
Undo
I have attached the relevant error in your Output.log file.
It seems that your .gds.config files are being loaded correctly, but at least one GDS port in one of these files does not exist.
Please make sure that the two GDS ports mentioned in the error exist.
~ Martin.
Attachments (1)
Phoenix Contact Electronics Headquarters - PLCnext Runtime Product Management and Support
zqli Accepted Answer Pending Moderation
0
Votes
Undo
Hi Martin,

Thanks for your reply.

The two GDS ports mentioned in the error do exist. In PLCnext Engineer version 2020.0.1, I can see them in port list.
I also tried to connect them in PLCnext Engineer, but still same error.
Do you know what caused this problem?

Thanks and Best regards,
Li Zhuoqun
Attachments (1)
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.