FORUM CTRLX AUTOMATION
ctrlX World Partner Apps for ctrlX AUTOMATION
06-19-2023 09:56 AM
Hello,
what is the parameter plchandle used for in the jwt token?
What can be done with it?
Thank you for a reply.
Solved! Go to Solution.
06-21-2023 09:25 AM
Hello
can you give us more details regarding this issue? What is the use case? ...?
kind regards
07-13-2023 08:39 AM
Hello georgkueh,
in V01.16 the plchandle value toggles between "0" and "1".
"0" if no PLC snap is installed and "1" if the PLC snap is installed and active.
Since V01.18 the value is no longer "1" if PLC Snap is installed/active but a random uint64 variable.
What does the uint64 variable stand for?
Thanks for an answer
07-26-2023 03:42 PM
Hello,
is there already news about the topic?
kind regards
08-03-2023 03:50 PM
I will again check this internally.
09-13-2023 10:52 AM
When a user logs in through Identity Manager, it logs in internally to PLC runtime and receives a handle (the so-called PLC Session ID). Identity Manager packs this PLC handle in the JWT (token). The user now is able to access the PLC by using this JWT, e.g. via the Datalayer. The format was changed from CODESYS 3.5.17.x to CODESYS 3.5.18.x.