1
Open Discussion / Re: Siemens S7 driver
« on: October 25, 2024, 11:29:56 AM »This is awesome, nice work to everyone responsible. Does anyone know what the format for setting the plc tag address would be? Is non-optimized data blocks required? Any place to find further documentation? Hopefully this is a new add in the next version of AdvancedHMI
All Caps, can read I/O and DB bits, words whatever you need.
DB1.DBB0.xxx -> bit 0..999
DB1.DBB0 -> Number 0..255 (1 byte) <<need to implement -128..127>>
DB1.DBB0@W -> Number 0..255 (1 byte)
DB1.DBW0 -> Number -32768..32767 (2 bytes)
DB1.DBW0@W -> Number 0..65535 (2 bytes)
DB1.DBD0 -> Number -2147483648..2147483647 (4 bytes)
DB1.DBD0@W -> Number 0..4294967295 (4 bytes)
DB1.DBD0@F -> Float (4 bytes) NumericFormat = F
DB1.DBD0 -> Time (4 bytes) DisplayAsTime = True and ValueScaleFactor = 0,001
DB1.DBB0@Sxx -> Char array of xx (xx bytes)
DB1.DBB0@D8 -> Date and time (8 bytes)
DB1.DBB0@D2 -> Date (2 bytes)
M0.0, MB0.0, MB0, MW0, MD0