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,437
I´ve being trying wrap head around FOR loops.. When and what can this be used for? I´ve mostly seen it move data, resettting arrays etc. I made a...
Replies
13
Views
413
Hi! When is CASE preffered? CASE uses a numreric variable for the cases and doesnt handle BOOL, but this can be done with numreric and bool using...
Replies
4
Views
178
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
225
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
395
Back
Top Bottom