Hi! i'm sending trought PROFINET BUS an array of CHAR coming from a PLC... following my steps...
In config dat I've declared:
SIGNAL ProdReName1 $IN[97] TO $IN[104] ;This is the first BYTE that contain a CHAR
SIGNAL ProdReName2 $IN[105] TO $IN[112]
and so on for 60 bytes
DECL GLOBAL CHAR ProdReName[60]; Array of 60 CHAR per campo "Nome Prodotto"
In SPS.SUB there is:
ProdReName[1] = ProdReName1
ProdReName[2] = ProdReName2
ProdReName[3] = ProdReName3
ProdReName[4] = ProdReName4
ProdReName[5] = ProdReName5
ProdReName[6] = ProdReName6
Now when I visualize the variable ProdReName1 it contains correctly the ASCII value expected from PLC but when I visualize ProdReName[1] it contains nothing... did I missed something?