
B8976111/02
AS-i Master Module CP 142-2
4-1
4 CP 142-2 Extended Operation with FC “ASI_3422”
For extended operation, FC “ASI_3422” is required on the S7 programmable controller. This section
explains the range of functions available over and above those of standard operation when using the
CP 142-2 with the FC “ASI_3422”.
Extended operation allows the complete control of a master from the user program. Access to the
inputs and outputs is the same as in standard operation with the CP 142-2. In extended operation, a
special FC is used in the user program for communication with the AS-i master CP.
It is only possible to use FC “ASI_3422” in conjunction with a BM147.
The FC used is the same block as used with the CP 342-2.
4.1 Overview of the Functions
Command calls to the CP 142-2 are made in the user program using FC “ASI_3422”. The user
specifies the command call in a send buffer and starts the job. FC “ASI_3422” transfers the command
to the CP 142-2. On completion of the job, the job status is transferred to the user and any response
data are available in a receive buffer.
4.1.1 Calling the Function
The function must be called cyclically for each available CP 142-2. At any one time, only one job can
be processed per CP 142-2. An active job cannot be interrupted by the user and the function does
not include watchdog timing.
STL representation
CALL ASI_3422 (
ACT:=
STARTUP:=
LADDR:=
SEND:=
RECV:=
DONE:=
ERROR:=
STATUS:=
);
Summary of Contents for SIMATIC NET CP 142-2
Page 3: ...SIMATIC NET CP 142 2 Manual C79000 B8976 C111 02 ...
Page 70: ...B8976111 02 AS i Master Module CP 142 2 7 2 ...
Page 76: ...AS i Master Module CP 142 2 B8976111 02 A 6 ...
Page 78: ...AS i Master Module CP 142 2 B8976111 02 B 2 ...
Page 80: ...AS i Master Module CP 142 2 B8976111 02 C 2 ...
Page 82: ......