Siemens S7 Addressing
Siemens S7 Addressing
Tags addressing follows the same syntax used within Siemens PLCs programs.
- Bit (Boolean) Examples:
Input: %I1.0
Output :%Q1.0
Memory: %M10.8
DBs: %DB1.DBX11.3
- Word (Integer 16 Bits) Examples:
Input: %IW10
Output: %QW10
Memory: %MW14
DBs: %DB1.DBW11
- Double-Words (Integers 32 Bits or Real) Examples:
Input: %ID10
Output: %QD100
Memory: %MD200
DBs: %DB1.DBD288
Note: Both Double Integers and Real are 32 bits. Specify the appropriate data type in Tags Editor (Real or Integer)
Examples
1. Reading a Real value (32-bit) starting the 5th byte at DB1
2. (Boolean) Reading the second bit in Word 0