Siemens SIMATIC NET CP 243-2 Manual page 71

As-interface master
Table of Contents

Advertisement

Command Sequence
The diagram below shows the following:
How to execute commands in the user program
How the CP 243-2 reacts to a command
AS-i master
(user program)
Set command parameter
in the analog output area
Initial status
ASI_COM bit = 0
ASI_RESP bit = 0
Start command
Set ASI_COM bit = 1
Wait for response
ASI_RESP bit = ?
Response data valid
ASI_RESP bit = 1
detected
Evaluate response data
After evaluation, set
ASI_COM = 0
Ready to send command
detected
ASI_RESP bit = 0
detected
Figure 5-1
SIMATIC NET CP 243-2 AS-i Master
C79000-G8976-C142/02
Command Interface
CP 243-2
(reaction to command)
Initial status
ASI_COM bit = 0
ASI_RESP bit = 0
Receives command
Executes command
Signals command
executed
Sets ASI_RESP = 1
Detects that
response data
were evaluated
Ready for new command
Sets ASI_RESP = 0
5-3

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents