Files posted by Jas
The program takes the status of I0 to I7, and changes the status of the respective bits in MI 1.
Bits in the target register that are outside of the defined range are not affected.
The value in MI 1 (8-bit) is then linearized to 12-bit for the analog output.
You have an 8 bit signed magnitude input value coming into the PLC via I0-7.
And you want it to scale so that:
11111111b = -127d = -10V
01111111b = +127d = +10V
If the above assumption is correct, you can use two linearization functions.
But first you will need to only use the function “I to MI” on inputs 1-7.
Before the linearization function, use input 0 (the sign bit) as a condition to enable the positive or negative linearization function.
Quincy Training Examples 2011
Please click the "Download File" button below.