0
Beantwortet

Is it possible to write to a Bool in DB with S7. e.g. PLCInputBool to DB43.DB145.0

Neil vor 3 Jahren in realvirtual.io Starter and Professional aktualisiert vor 3 Jahren 2

Hello. I'm thinking it isn't possible to write to a Bool in DB, but maybe I haven't tried the right format. Any tips? Thanks.

Antwort

-1
Antwort
Beantwortet

Hello,

writing to DBs is described here and it should be possible what you like to do:

https://game4automation.com/documentation/current/s7tcpip.html#Reading-and-Writing-DBs


I think it should be DB43.DBX145.0


-1
Antwort
Beantwortet

Hello,

writing to DBs is described here and it should be possible what you like to do:

https://game4automation.com/documentation/current/s7tcpip.html#Reading-and-Writing-DBs


I think it should be DB43.DBX145.0


Thanks for the reply. Unfortunately this isn't working. I have no troubles with reading/writing to bytes or words in the DBs, or to read/write with PLC I/O bools, but can't get individual bools in DB to read/write.