Converting 32-Bit Real to 2x 16-Bit Bytes
问题 I'm trying to send a 32-Bit Real across a CAN communications (IFM) but the CAN comms only accepts a 16-Bit value. If the value I'm trying to send goes above 255, it resets back to 0 and continues in that pattern. I therefore need to split the 32-Bit Real value in to two 16-Bit values and then reassemble on the other side of the comms. I just can't seem to get my head around how to do it in structured text. Any help would be appreciated 回答1: I know I am a little late to the party but wanted to