Read and Write big block of data

Apr 14, 2016 at 9:52 PM
Hi there, I need to exchange a block of 496 bytes with a S7-300 PLC. Experimenting with this project, When i attempt to ReadBytes(DataType.DataBlock, 100, 0, 496) ... The object returned is null. It would seem that the maximum value which can be accepted as last parameter is 222. Beyond that, the value returned is null. I would like to understand why this is the case and possibly how to read the whole 496 block in a single reading command if possible. Thank you.