Ken Roach
Lifetime Supporting Member + Moderator
I'm a longtime Allen-Bradley user, so the Typed Data Table syntax that SLC-500 and PLC-5 controllers used is very familiar to me. The O0, I1, S2, B3, T4, C5, R6, N7, and F8 data files are totally normal and clear.
But I'm starting to work with some CoDeSys controllers (Turck BL67), which seem to have a mix of Tag-based IEC 1131 style variable names and physical controller memory that I think follows an addressing standard where everything begins with a percent symbol.
I'm beginning to understand the %I is input data, %Q is output data, %M is internal integer holding register data, and %S is Status data.
So the data tables are "Typed", like they are with A-B, because there are input and output and holding and status types.
But it looks like the data tables are a "flat file", and that you can designate whether you're looking at an offset by bit, byte, word, or dword based on the second letter, so it can be an X, B, W, or D.
What is this addressing convention called ? Where does it come from ? And can somebody point me to a concise tutorial on it that isn't in German ?
But I'm starting to work with some CoDeSys controllers (Turck BL67), which seem to have a mix of Tag-based IEC 1131 style variable names and physical controller memory that I think follows an addressing standard where everything begins with a percent symbol.
I'm beginning to understand the %I is input data, %Q is output data, %M is internal integer holding register data, and %S is Status data.
So the data tables are "Typed", like they are with A-B, because there are input and output and holding and status types.
But it looks like the data tables are a "flat file", and that you can designate whether you're looking at an offset by bit, byte, word, or dword based on the second letter, so it can be an X, B, W, or D.
What is this addressing convention called ? Where does it come from ? And can somebody point me to a concise tutorial on it that isn't in German ?
Last edited: