MorphuisOGrady
Member
Hi Guys,
I am using a Prosoft Profibus Master on a Control Logix PLC. The Input data is recieved to a structure as follows.
MVI156.InputData[250] Type SINT
MVI156.OutputData[250] Type SINT
Using BTD instruction I was able to form an INT Upperbyte InputData[1] & Lower Byte InputData[0]
Has anyone a clever way to do this? SINT to INT conversion instruction perhaps?
I am using a Prosoft Profibus Master on a Control Logix PLC. The Input data is recieved to a structure as follows.
MVI156.InputData[250] Type SINT
MVI156.OutputData[250] Type SINT
Using BTD instruction I was able to form an INT Upperbyte InputData[1] & Lower Byte InputData[0]
Has anyone a clever way to do this? SINT to INT conversion instruction perhaps?