Chapter 4 Deployment
Manual VIPA System 300S SPEED7
4-10
HB140E - CP - RE_341-2CH71 - Rev. 09/46
With the signal state ”1” at parameter
EN_R
, the software checks whether
data can be read by the CP. A data transmission operation can run over
several program cycles, depending on the amount of data involved.
An active transmission can be aborted with signal state ”0” at the EN_R
parameter. The aborted receive request is terminated with an error
message (
STATUS
).
Receiving is deactivated as long as the
EN_R
parameter shows the signal
state ”0”.
A running request may me canceled with
R
= "1" then the FB is reset to the
basic state. Receiving is deactivated as long as the
R
parameter shows the
signal state ”1”.
With every STOP-RUN transition the CP gets parameter data from the
CPU. The CP accepts the parameters and waits for the ready for
communication message of the CPU. The communication starts as soon
as the CPU is ready for operation.
Note!
A minimum pulse time is necessary for a signal change to be identified.
Significant time periods are the CPU cycle time, the updating time on the
CP and the response time of the communication partner.
The
NDR
output shows ”request completed without errors/data accepted”.
If there was an
ERROR
, the corresponding event number is displayed in
the
STATUS
. If no error occurs the value of
STATUS
is "0".
NDR
and
ERROR
/
STATUS
are also output in response to a RESET of the FB. In the
event of an error, the binary result BR is reset. If the block is terminated
without errors, the binary result has the status ”1”.
Please regard the parameter
NDR
,
ERROR
and
STATUS
are only
available at one block call. For further evaluation these should be copied to
a free data area.
With
LADDR
the address of the corresponding CP is specified. This is the
address, which was specified during hardware configuration by means of
the properties of the respective interface of the CP.
Please regard for each interface of the CP one address is used for input
and output.
The FB 7 - P_RCV_RK deals with an Instanz-DB I_RCV_RK. The DB no. is
transmitted with the call.
It is not allowed to access the data of an instance DB.
Release and
cancel a request
Startup
synchronization
Error indication
Addressing
Data area
Summary of Contents for CP 341S
Page 1: ...VIPA System 300S SPEED7 CP 341 2CH71 Manual HB140E_CP RE_341 2CH71 Rev 09 46 November 2009 ...
Page 4: ...Contents Manual VIPA System 300S SPEED7 ii HB140E CP RE_341 2CH71 Rev 09 46 ...
Page 8: ...Safety information Manual VIPA System 300S SPEED7 4 HB140E CP RE_341 2CH71 Rev 09 46 ...
Page 70: ...Index Manual VIPA System 300S SPEED7 A 2 HB140E CP RE_341 2CH71 Rev 09 46 M Stich ...