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.
01-18-2022 08:53 AM - last edited on 10-08-2022 08:26 AM by MichaelB
Hi,
I would like to send or read a JSON Object from the Datalayer using PLC. Is this possible to do?
Is there a Documentation on how to execute Methods on the Datalayer? E.g. Jog Axis not through the Motion callable but through the Datalayer motion/axs/Axis_1/cmd/...
Thank you
Solved! Go to Solution.
01-18-2022 04:09 PM
In general a JSON is also just a string.
When talking of the ctrlX Data Layer there are some data stored as flatbuffer. How wor with this you can see as some examples in this thread.
If you really want to use the functions of the Data Layer is possible via the standard interface that is also available via the REST API. The more common way in my opinion would be to use the CXA_MOTION library. There are functions for commanding included: