Command Interface
Command Sequence
The diagram below shows the following:
SHow to execute commands in the user program
SHow the CP
| CP |
(user program) | (reaction to command) |
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
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
Figure
SIMATIC NET CP | |