DUE TO SPAM, SIGN-UP IS DISABLED. Goto Selfserve wiki signup and request an account.
...
| Code Block |
|---|
P#DB{db-number}.DBX{byte-offset}.{bit-offset}
Note, here, bit offset is not optional but usually always 0 |
Type identifier Postfix
Primitives
Generally the TIA Syntax is used:
...
| Code Block |
|---|
SINT USINT DINT LREAL LINT ULINTtax |
Strings
Please see https://support.industry.siemens.com/tf/WW/en/posts/string-data-type/51621?page=0&pageSize=10
...
| Code Block |
|---|
%DB3.DX4.1 %DB3.DX4.1:BOOL %DB3.DB4:INT %DB3.DB4:UINT %DB3.DW4:REAL |
Special Data Areas: Markers, Inputs, Outputs
They are always adressed bit-wise and the syntax is similar to TIA.
| Code Block |
|---|
// Marker
%M1.0 // byte 1, bit 0
%I0.5 // byte 0, bit 5
%Q1.1 // byte 1, bit 1
|
Additional Documents
Programming Guideline
...