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

  1. tbaisal
  2. PLCnext Technology & PLCnext Controls
  3. Thursday, 28 November 2019

Hello PLCNext Forum,

We are considering the use of the PLCNext AXC F 2152 controller for a laboratory setup and we would need some insight (and if possible numbers) on what is the fastest way to communicate with the AXC F 2152 and retrieve I/O readings as fast as possible.

Modbus and OPC-UA are not very fast and I guess they would rely on how frequently the GDS is updated (it seems to be 500ms...).

I went through the C++ sample runtime example available on the PLCNext Github account and that also seems to rely on the GDS and it's update frequency.

Is there a faster and more efficient way of getting I/O data readings out of the controller ?

Is it maybe possible to increase the GDS update frequency and together with a C++ runtime, open a UDP socket to push the data values out, every time they are updated in the GDS.

Thank you

Tom

 

Accepted Answer
Eduard PLCnext Team Accepted Answer Pending Moderation
0
Votes
Undo

Hello Tom,

the update rate of I/O data and variables in GDS is max. 500us (with the default settings). The PN update rate is max. 8ms (AXCF2152 PLC), if it is frequent enough, you can provide the data cyclically. If not, you can use the DataLogger application with e.g. 2ms task interval for data preprocessing and storage in SQLite DataBase or .csv -Data. In the second step you can transfer the files, eg. via FTP.

Please see two different DataLogger applications:

in the AppStore

https://www.plcnextstore.com/#/169

and on the GitHub

https://github.com/PLCnext/PLCnext_RT_Datalogger

Best Regards,

Eduard

 

 


Phoenix Contact Electronics Headquarter - PLCnext Runtime Product Management and Support

Eduard PLCnext Team Accepted Answer Pending Moderation
0
Votes
Undo

Hello Tom,

please see the following post, I think it will give you an answer to your question:

https://www.plcnext-community.net/en/discussions/most-efficient-way-to-communicate-two-plcnext-controllers.html

It is possible to synchronize the Read/Write IO-Data with the task cycle interval, preprocess the I/O data and send it via PN.

Best Regards,

Eduard


Phoenix Contact Electronics Headquarter - PLCnext Runtime Product Management and Support

tbaisal Accepted Answer Pending Moderation
0
Votes
Undo

Thanks Eduard,

After reading the other post you mention, I guess Profinet (PN) is the fastest communication possible with the AXC F 2152 controller.

One more thing, I'd still be interested to know if the GDS update frequency can be increased ?

Thank you

Tom

  • Page :
  • 1


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