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,275
I have an expression in a structured text routine of a Logix controller that looks more or less like the following: ResultInteger := Integer1 *...
Replies
12
Views
243
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
100
I am trying to set up a piece of equipment with a Horner HE-X4R. I'd like to use structured text and so far I'm just trying to get a basic On/off...
Replies
0
Views
55
Good morning. I'm doing a rehab and I need to recycle some part of the old code that won't change and that I need. This is a calculation that...
Replies
22
Views
1,324
Back
Top Bottom