Specifications

CP143 H1 / TCP/IP manual Commissioning
Rev. 00/07 6-9
6.3 PLC programming
6.3.1 General
To execute H1 jobs or TCP/IP jobs you require the standard handler modules supplied by Siemens.
The description and documentation of these standard handler modules is also available from
Siemens.
The following table lists the handler modules required for the PLC.
Handler module Description
SYNCHRON The SYNCHRON module synchronizes the PLC and the CP during
the start-up phase. All the frames are erased and the block-size for
PLC to CP communications is determined. Active data
communications can only occur via synchronized frames.
SEND Send a job to the CP
SEND-ALL Initiate the transfer of data between the PLC and the CP
RECEIVE Receive a job from the CP
RECEIVE-ALL Initiate the transfer of data between the PLC and the CP
FETCH The FETCH module is used to obtain data. A fetch-HTB must be
accompanied by the RW identifier and it initiates the READ job.
RESET The RESET module is used to reset a job for the specified connection.
RESET-ALL RESET-ALL (ANR=0) forces a system reset of the CP.
CONTROL The CONTROL module is used to request the status of a job, i.e. the
ANZW (indicator word) of the specified job is brought up to date.
Tab. 6-2: Handler modules required for the PLC
Handler modules are supplied by special function modules of the PLC. The following table contains
the respective allocation:
CPU type
HTB CPU 941(B) to 944(B)
and CPU 945
CPU 922, 928, 928B
and CPU 948
SEND FB244 FB120
SEND-ALL FB244 with ANR = 0 FB126
RECEIVE FB245 FB121
RECEIVE-ALL FB245 with ANR = 0 FB127
FETCH FB246 FB122
CONTROL FB247 FB123
RESET FB248 FB124
SYNCHRON FB249 FB125
Tab. 6-3: HTB numbers for the different types of CPU