Below I have attached our post on how to debug macros by setting up break points. Could you install a few breaks and watch variables to investigate where your values are getting caught.
Furthermore I saw that your seqpiece is an array of char but I believe you’re setting this value in to a numeric object into LW 53. Could you also double check the data type is consistent from the PLC to Marco to the object.
Thank you and please let me know of your findings!