69FIREBIRD
Member
Hi all, has anyone ever had success with amending (via PLC code) the Class, Instance, Attribute of an explicit message.
Rockwell support supplied this info -
The breakdown of the MG9 table is
Class = MG9:0.TFT
Instance = MG9:0.TFN
Attribute = MG9:0.RBL UPPER BYTE (use bite swap)
The problem is that I have been unable to get some code together to modify the Class, Instance, Attribute within an explicit message.
I can modify the .TFN parameter via a MOV instruction but am unable to modify the others using MOV, COP, or Bitwise AND instructions.
One strange thing is that once you get an expectable config of MOV, COP, AND instructions that pass the verify program check with no errors the program cant be downloaded because you get a "program has errors, cant download" error message
Has anyone ever managed to make this or something like this work?
PS I have had no problem getting a single MSG pole the different nodes (Node = MG9:0.NOD) for a fixed parameter and just need to get the above working to have a good variable message.
Cheers
Rockwell support supplied this info -
The breakdown of the MG9 table is
Class = MG9:0.TFT
Instance = MG9:0.TFN
Attribute = MG9:0.RBL UPPER BYTE (use bite swap)
The problem is that I have been unable to get some code together to modify the Class, Instance, Attribute within an explicit message.
I can modify the .TFN parameter via a MOV instruction but am unable to modify the others using MOV, COP, or Bitwise AND instructions.
One strange thing is that once you get an expectable config of MOV, COP, AND instructions that pass the verify program check with no errors the program cant be downloaded because you get a "program has errors, cant download" error message
Has anyone ever managed to make this or something like this work?
PS I have had no problem getting a single MSG pole the different nodes (Node = MG9:0.NOD) for a fixed parameter and just need to get the above working to have a good variable message.
Cheers