How can a 16-bit analogue value be correctly displayed with CPX terminals?
First please note that Festo’s modules use the Motorola number format. Most PLCs, however, use the Intel number format. Consequently plausible values cannot be displayed. Remedy: carry out a byte swap in the PLC program by swapping the low byte with the high byte. With CPX release version 23 and later, you can also pre-set the format to Intel or Motorola using the GSD file, making the software byte swap unnecessary.
Related Questions
- How long does it take after the injection of ICG-PULSION until the value for the continuous arterial oxygen saturation (SpO2) is displayed correctly again?
- I am using a custom field with a simple integer value to order my posts, but they’re not sorting correctly. Why?
- How can a 16-bit analogue value be correctly displayed with CPX terminals?