Using a 1769-L16ER-BB1B
We are receiving a DINT from an external device.
Then changing the sign using a SWPB order mode REVERSE
dest Dint_2
same rung COP to REAL
Next rung CPS to another tag
[SWPB(TEST_DINT,REVERSE,TEST_DINT_2),COP(TEST_DINT_2,TEST_REAL_VALUE,4)]; CPS(TEST_DINT,TEST_2_REAL_VALUE,4);
Please everyone weigh in and tell us what is wrong.
Thanks
We are receiving a DINT from an external device.
Then changing the sign using a SWPB order mode REVERSE
dest Dint_2
same rung COP to REAL
Next rung CPS to another tag
[SWPB(TEST_DINT,REVERSE,TEST_DINT_2),COP(TEST_DINT_2,TEST_REAL_VALUE,4)]; CPS(TEST_DINT,TEST_2_REAL_VALUE,4);
Please everyone weigh in and tell us what is wrong.
Thanks