For the control of the process data transfer there are blocks in STEP 7 V11 which are available as from the “Hardware Support Package” for the CP 1242-7. The statement „TC_SEND“ is used to send an TC_RECV“ is used to receive process data via the corresponding sub-connection.