FORUM CTRLX AUTOMATION
ctrlX World Partner Apps for ctrlX AUTOMATION
Dear Community User! We have started the migration process.
This community is now in READ ONLY mode.
Read more: Important
information on the platform change.
06-20-2023 01:06 PM
Hi
I'm wondering if there is a way to set the system time on the ctrlX Core X3+ from a value which we receive over profinet(External PLC connected to NTP server, we are not allowed to connect the ctrlX to the same server)
I found that on the core setting the time is done through with a PUT on "/system/api/v1/time/settings" is there any way to do it directly through the PLC app though?
Seems using the FB SetDateAndTime does not update the system itself
Solved! Go to Solution.
07-20-2023 07:56 AM
I have this question too, NTP server is not available on site.
I am using WebIQ graph, ctrlX time RTC time lapse few minutes during off state.
is it possible to set ctrlX system clock from PLC?
07-21-2023 10:06 AM
Like correctly mentioned by @macken88 it is only possible to set the system time via the REST API. So currently there is no easy/fast way from PLC side.
You will have to use a PLC library capable of performing http/https requests get a a bearer token in the PLC and then send the PUT request. For general information see how to "Using REST API of ctrlX CORE".