What is buffering inputs and outputs

Some Drivers as ActiveX mscomm32.ocx do it for application.
It could be so, that application can't follow input-string to serial-port itself, so driver puts string to buffer for application. One ActiveX-property is string lenght (LEN) and maybe Event to application that input buffer size have changed.
Usually Windows application just waits events as button-click etc..

Application can see the string lenght property and read so many bytes from the Input-buffer-string. When application do Input-command, driver push that string to application and clear buffer as many bytes have readed.

Output buffer-lenght property could be set how many bytes must be in the buffer before transfer to serial-port beginning.

I hope this help ?
 
Are you referring to Analog, Digital or Serial I/O?

You can also buffer analog and digital inputs and outputs. Buffering just means an additional device is placed between the PLC I/O and the end device. The buffer could be a signal conditioner for an analog I/O or an interposing relay for a digital I/O. The buffer could be used to change the voltage or current to the final device or to isolate the I/O.
 
This information pertains only to Allen Bradley processors.

Older processors, prior to Allen Bradley's ControlLogix Series, updated their inputs and outputs at specific times.
i.e. read inputs, scan program, set outputs, etc.
In ControlLogix processors the I/O are updated asynchronously to the program scan. They can update at specific intervals, which can be set, and also update at a change of state. It is possible for an input to change state during the program scan execution. The point must be “buffered” to prevent this. You can copy the input data from your input tags to another structure and use the data from there.
 

Similar Topics

Hi guys, I am new to the forum and Rookie PLC Programmer. I did start programming a bit of RsLogix500, Studio 5000 and Step 7 V16 and still...
Replies
7
Views
1,722
Hi all I have a project to convert a Micrologix1500 with onboard IO and IO extension modules to a Compactlogix 5069_l306ER with 2 local 16point...
Replies
4
Views
2,634
I have always used mapping to buffer IO to avoid random program hiccups caused by changing inputs in the middle of a program scan. Now I am doing...
Replies
8
Views
4,054
I am having a hard time understanding how using a reference tag (a buffer) would prevent the I/O value changing in the middle of a program...
Replies
4
Views
3,135
I've got a system that consists of a A-B ML1500 with a bunch of thermocouple input cards. The PLC is located in a nasty environment, smoke, heat...
Replies
6
Views
3,332
Back
Top Bottom