The "SBC format" changed on Saia PCD® COSinus CPU's

FAQ #101048

There is a difference in the "SBC Format" between "old" xx7 CPU's (PCD2.M127, 157, 177) and Saia PCD® COSinus based CPUs (PCD3, PCD2.M5xxx7 and PCD2.M487). The way to read analogue values from PCD2/3.W2xx and PCD2/3.W100, W3x0, W500 in the "SBC-Format" is not the same.

Due to technical reasons the "SBC format" changed for the new NT CPU's (PCD3, PCD2.M487 and PCD2.M5xx7).

For the 10 Bit analogue modules like the W200 series the format changes as shown in the table below:

 1514 13 12 11 10 9 8 7 6 5 4 3 2 1  0
 "old" xx7 CPUs MSB   *        *      *       *        *        *       *      *    LSB 0     0      0      0    0   0
 SBC NT xx7 CPUs 00 0 0 0 0 MSB    *   *   *      *     *   *   *      *   LSB


* = Value

If the values should be converted from new Saia PCD® COSinus format to the old format, the following instructions can be used:

L       PEW  10     //10-Bit Saia PCD® COSinus SBC-Format
SLW  6
T      MW    10    //old 10-Bit SBC-Format

For the 12 Bit analogue modules likeW100, W3x0, W500 series the format changes as shown in the table below:

 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 
"old" xx7 CPU  MSB   *       *       *       *   *       *       *       *       *      *     LSB0    0    0      0 
 SBC NT xx7 CPU0  00 0 MSB    *    *   *    *   *    *   *      *     *      *   LSB 


*= Value

If the values should be converted from new Saia PCD® COSinus format to the old format, the following instructions can be used:

L       PEW   70    //12-Bit SBC-NT SBC-Format
SLW  4
T      MW     70    //old 12-Bit SBC-Format

Categories: xx7 Series / CPU and operating system

Last update: 29.05.2015 03:01 · First release: 17.10.2008 07:07 · Views: 2'776