Structured Text in Allen Bradley RSLogix5000

neilm

Member
Join Date
Feb 2019
Location
Jackman
Posts
28
Hello Everyone,

I had a doubt in reading expressions written in structured text in format c := a and b. Where a is a DINT and b is a constant value. What is the logical interpretation of it?

Thank you.
 
This is a bitwise ‘and’ operation. Each bit of ‘a’ is ANDed with the corresponding bits of ‘b’ and the result is stored in ‘c’.
 

Similar Topics

Hi, i am trying to compare a string value in an IF statement My string value is user defined string called Barcode_String max characters 26...
Replies
6
Views
7,419
Hello, doing switch from FBD to ST. First task is converting my old work. How do you sum variables? For example, Interlock1, interlocl2 and...
Replies
5
Views
191
Hello, I am using studio 5000 pro and am trying to figure out the structured text. Here's my scenario: An operator scans a barcode, the barcode...
Replies
15
Views
349
I have an expression in a structured text routine of a Logix controller that looks more or less like the following: ResultInteger := Integer1 *...
Replies
13
Views
440
Good evening. I display the step number of a SFC on a display. Sometimes, on a trip, it goes quickly through many steps and I need to prove to...
Replies
1
Views
178
Back
Top Bottom