Is there a known command to read out the device serial number “UN315640102…95+000000…” via command line?
Hi,
/etc/config-tools/get_coupler_details serial-number
root@PFC200V3-43504C:~ /etc/config-tools/get_coupler_details serial-number
12SUN12364010260371234+0000000000012348 root@PFC200V3-43504C:~
Hi,
For Newer FW you can also use /etc/config-tools/get_typelabel_value UII to Print the UII Number of the Device.
Hi,
Is there a library that can read the serial number from CODESYS? I am guessing we could use the FuExecuteCommand fb to pass a command, but am looking to see if there is something already built.
Thank you,
Hi Mike,
I was exactly in the same situation as you and looking for a simple answer.
It has started with customer’s enquiry to obtain serial number in CODESYS project.
Unfortunately library “SysTarget”, even though equipped with function SysTargetGetSerialNumber, returns a MAC address instead of serial number.
One solution is to use library WAGOAppConfigTool:
And add a fb call in your program:
@WagoDamRud has described it further in this post: SSH command from CoDeSys - CODESYS - WAGO Open Source Community.
Hope this helps!
Marcin