I am completely guessing, but this looks like a device declaration to me. Teilplan is partial or subplan. Gerate is equipment (per translator). Are there more pages to your printout?
This looks like instruction list, using two valve (=ventil) function blocks. The line going to the left (input) or right (output) indicates direction of the signals.
M 305 would be internal flag 305.
T6 would be the assigned timer for watchdog timeout and its preset # 150.