Chapter 10 Deployment CPU 21xSER-2 Manual VIPA CPU 21x
10-10 HB103E - Rev. 05/45
You may transfer parameters to the CP via SEND (SFC 230), ANR=201
and DB.
Please regard that a send command is only executed when the following
conditions are met:
• the SEND has received a VKE "1"
• the Bit "order in process" in the indicator word has been reset
A RESET with order number 0 interrupts all orders and the previous
parameters are activated.
Analog to SEND, the block requires a preceding VKE=1.
O M 0.0
ON M 0.0 VKE=1
CALL SFC 230 SEND
SSNR:=0
ANR :=201 ID for parameterization
IND :=0
QANF:=P#DB9.DBX0.0 BYTE 20 Pointer to parameter for COM1
PAFE:=MB198
ANZW:=MD200
O M 0.0
ON M 0.0 VKE=1
CALL SFC 230 SEND
SSNR:=0
ANR :=201 ID for parameterization
IND :=0
QANF:=P#DB9.DBX20.0 BYTE 20 Pointer to parameter for COM2
PAFE:=MB198
ANZW:=MD200
O M 0.0
ON M 0.0 VKE=1
CALL SFC 234 RESET
SSNR:=0
ANR :=0 ID for RESET
PAFE:=MB197
SFC 230 - SEND
with ANR=201
and Parameter-DB
Parameter
SFC 234 - RESET
Parameter
Example OB100