MorphuisOGrady
Member
Hi there,
I am using AB IO Links for the first time. I have an Analog convertor which I need to extract bits 14-3 for a 12bit analog signal. Bit 14 is the sign which maybe I can ignore. The data input is in the form of 2 x SINTs
Using Logix5000 my thoughts were:
Using a copy move the 2 SINTs to an INT. Bight shift right 3 places and move to another INT. Problem is the BSR instruction can only work on an DINT.
Any advice? Must I use a DINT? Maybe theres a clever way of doing it?
I am using AB IO Links for the first time. I have an Analog convertor which I need to extract bits 14-3 for a 12bit analog signal. Bit 14 is the sign which maybe I can ignore. The data input is in the form of 2 x SINTs
Using Logix5000 my thoughts were:
Using a copy move the 2 SINTs to an INT. Bight shift right 3 places and move to another INT. Problem is the BSR instruction can only work on an DINT.
Any advice? Must I use a DINT? Maybe theres a clever way of doing it?