You can also create an array of INT or DINT and it will look very much like the data files in Logix 500.
Let's assume you create an array of six INT named B13. You would then have:
B13[0] with bits 0 - 15. For example, B13[0].0 through B13[0].15
B13[1] with bits 0 - 15. For example, B13[1].0 through B13[1].15
B13[2] with bits 0 - 15. For example, B13[2].0 through B13[2].15
B13[3] with bits 0 - 15. For example, B13[3].0 through B13[3].15
B13[4] with bits 0 - 15. For example, B13[4].0 through B13[4].15
B13[5] with bits 0 - 15. For example, B13[5].0 through B13[5].15
If B13[0] EQU 0 then all the bits are 0
If B13[0] NEQ 0 then at least one bit is a 1
If you made an array of DINT then each element would have 32 bits instead of 16.
Stay away from a BOOL array as they cannot be addressed in groups.
OG