0
Answered

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

Neil 3 years ago in realvirtual.io Starter and Professional updated 3 years ago 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.

Answer

-1
Answer
Answered

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
Answer
Answered

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.