Converting Decimal into Hex
In response to the 2015 for the query above. Looks like he never answered however; I am doing the same thing with an Applied Motion Drive. According to the manuf; the SV200 Drive will accept decimal or Hex. but the byte payloads are expained as (Decimal), then shrink value by(div by 10) and then convert to Hex; Segment MSB and LSB. I am going to attempt to deploy the example code with a TOD instruction in hopes that works. So the short answer is YES need to convert to hex and the data in the payload for the MSG requires it. With that said, has anyone since came up with a fix? Now because byes are laid out for Msg's as (1,0) (3,2) (5,4) (7,6) byte swapping is nessic