sample code to map a DINT variable value to single bits as 31 BOOL variables (in ST language):
varBOOL01 := varDINT.0; // lowest bit
varBOOL02 := varDINT.1;
...
varBOOL31 := varDINT.30; // last value bit; note: the next, highest bit - 31 - is the sign bit (negative/positive)
The bit 32 is omitted, the DINT can be evaluated like this only for positive values. To evaluate 32 bits i would propose the use of UDINT, not DINT.
If you need to transfer the timestamps too, then you can use functions VSIGetDate and VSIGetTime (from varDINT) and then VSISetDate and VSISetTIme (to varBOOL); functions are are documented in Help.