Specifications

CP143 H1 / TCP/IP manual The CP143 H1 / TCP/IP network board
Rev. 00/07 4-23
Status management byte 1, bit 0 to bit 3
These indicate whether a task has already been started, whether an error has occurred or whether
the task has been inhibited, e.g. if a virtual connection does not exist.
Bit 0: Handshake possible
Set: by the interface according to the "Reset"-indicator in the task status bit.
Handshake possible (=1) is used by the RECEIVE-module. (Message
available for PRIO 1 - or - RECEIVE-initiation possible for PRIO 2/3)
Check: by means of the RECEIVE-module: RECEIVE will only initiate a handshake
with the CP when this bit is set. By the application: for RECEIVE-request
(check, whether a message is available for PRIO 1).
Bit1:Taskactive
Set: by the interface, when the task was sent to the CP.
Reset: by the interface once a task has been completed (e.g. acknowledgement
received).
Check: by means of handler modules: a new task will only be issued when the old
task has been completed.
by the user: to check whether it is sensible to trigger a new task.
Bit 2: Task completed without errors
Set: by the interface, once the respective task has been completed without errors.
Reset: by the interface when the task is started again.
Check: by the user, to check whether the task was completed without errors.
Bit 3: Task completed with errors
Set: by the interface, if the respective task was completed with errors. The reason
for the error is available from the high part of the indicator word.
Reset: by the interface, when the task is started again.
Check: by the user: to check whether the task was completed with errors. If the bit for
task completed with error is set, then the high byte of the indicator word
contains the reason for the error.