Hello, is it possible to write and store custom data to a powerlink x20 node?
We have for some recipes different hardware trees.
The customer can add during runtime some powerlink x20 nodes, which are in real different machine modules. Is it possible to write data on that nodes to read back later?
We want to store the machine type and the hardware version on it, maybe also the serialnumber of the module and the build date.
Can I use some module registers to write that data? Or is there a X20 memory module available?
Hello,
You could write user data on the X20BC0083 or use a dedicated X20CRM module.
A X20BC0083 has user data (Index = 16#20F0, subindex= 16#15), which can be defined by the user.
Attached is a sample that writes data in the register and then saves it.
BCUser_.zip (3.9 KB)
X20CMR010 | B&R Industrial Automation
Attached is a sample: Simple c program to test the flash memory of X20CMR111 module with flat stream communication. The RxMtu[0] must be connected to InputSequence. The TxMtu[0] must be connected to Outputsequence. The other RxMtu bytes must be connected to RxByte1-x and TxMtu bytes must be connected to to TxByte1-x.
CMRflash_.zip (2.7 KB)
5 Likes
@job.franken Amazing! Thats exactly what I need!
2 Likes