Allen Bradley Programming module!

backendcode

Member
Join Date
Aug 2017
Location
brampton
Posts
249
Hello guys,
I was reading programming manual of Allen Bradley and they mentioned few tips and I want to clear one tip

tip: I/O module data updates asynchronously to the execution of logic. If you reference an input multiple times in your logic, the input could change state between separate references. If you need the input to have the same state for each reference, buffer the input value and reference that buffer tag.

Let me make few things clear, and please correct me if I am wrong.

As I know/read somewhere, Compactlogix and control logix processors update data asynchronously which means Input and output card tell processor itself when the input and output value change and then processor update those values during execution of the program.

Where in PLC 5, an update is synchronous meant PLC first read the value of the input and then execute the program and if during execution the program, input value gets change, processor won't find it until it reads those input in next cycle.

Are they referring this in above tips? Please tell me what is buffer tag?

I assume, put the input value into an internal bit (Internal bit tag) and refer that internal bit everywhere wherever you want to use that input value?

Can you please help me to understand this concept?

Thanks,
 
Yes, that is exactly how it works. Sounds like you understand it. I always use buffer tags for the inputs. Just create a new subroutine called "input mapping" that is scanned before anything else, then make DINT for each DI slot and move them in the buffer tags. I also do this for AI as well.
 
Last edited:
Yes, that is exactly how it works. Sounds like you understand it. I always use buffer tags for the inputs. Just create a new subroutine called "input mapping" that is scanned before anything else, then make DINT for each DI slot and move them in the buffer tags. I also do this for AI as well.

Awesome! Thank you for confirming. I was confused about it!

Thank you again,
 

Similar Topics

I'm looking for someone who is more experienced than to bail me out of this mental thought experiment. I am moving away from programmed alarming...
Replies
0
Views
974
We have a trainer set up and I am trying to learn function block programming to reinforce my resume. In ladder I am pretty fast. I double click...
Replies
0
Views
2,073
My company is about to adventure in to servo motion. I have never programmed them and I am just looking in to it. I am just looking for any tips...
Replies
16
Views
12,732
We have used many AB VFDs, once installed, and under 480vc power, are commissioned via appropriate Drive Software, and network connectivity...
Replies
8
Views
4,905
Dear Sir, I'm new to Allen bradley PLC programming. I've doubt in hardware connections. Can we use Ethernet port for ladder uploading and...
Replies
2
Views
1,557
Back
Top Bottom