Logix Platform -
I am looking thru some code and noticed the Original programmer had configured a Boolean array with 320 elements.
Isn't this a waste of controller memory? (doesnt it only use 1 bit and the rest are reserved (not available for use)?
Couldnt he have used an DINT array (DINT[10]) and saved all that memory?
Just wondering what is the prefferd and the smart way to do this.
Individual bits are used as conditional controls in the logic.
I am looking thru some code and noticed the Original programmer had configured a Boolean array with 320 elements.
Isn't this a waste of controller memory? (doesnt it only use 1 bit and the rest are reserved (not available for use)?
Couldnt he have used an DINT array (DINT[10]) and saved all that memory?
Just wondering what is the prefferd and the smart way to do this.
Individual bits are used as conditional controls in the logic.