Manipulating individual statusbits in Step7

The LAR1 AR2 instruction is made for this type of processing:

Code:
LAR1  AR2
L	 P##PositionArray
+AR1

instead of

Code:
L P##PositionArray
LAR1
TAR2 
+AR1
 

Similar Topics

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...
Replies
7
Views
3,060
I have a barcode scanner reading bin labels and handing a string to an Laser Guided vehicle to place the bin in its appropriate location based on...
Replies
1
Views
1,266
Hello, Have aoi written in Ladder to pass in and out string variables. String VAriables that interact with PLC program are declared as InOut...
Replies
5
Views
4,312
Hello everyone. I have a quick question regarding dates in Structured text. What I´m trying to do is to take the current date, add/subtract days...
Replies
3
Views
1,626
Hi, I was wondering if you could help. I am using a Micrologix 1400 where I have an 11 digit number loaded in a L# data type (doubleword). This...
Replies
5
Views
3,013
Back
Top Bottom