BEGIN
"Deactivate SNMP".snmp_deactivate := 1;
//Set WRREC Request
"Deactivate SNMP".snmp_record.SNMP_control := 16#0;
//act=1 ; deact= 0
REPEAT
//Write data record
"WRREC_DB_1"(REQ := "Deactivate SNMP".snmp_deactivate,//Transfer data record
ID := 2046,//integrated profinet interface
INDEX := -20367,//Data record number for snmp deactivation
LEN := 12,
DONE => "Deactivate SNMP".snmp_done,
ERROR => "Deactivate SNMP".snmp_error,
STATUS => "Deactivate SNMP".snmp_status,
RECORD := "Deactivate SNMP".snmp_record);//Data record
UNTIL "Deactivate SNMP".snmp_done OR "Deactivate SNMP".snmp_error
END_REPEAT;
END_ORGANIZATION_BLOCK
Siemens AG
Division Digital Factory
Postfach 48 48
90026 NÜRNBERG
德国
禁用 SNMP 产品信息
禁用 SNMP 产品信息
A5E46739177-AA, 02/2019
30
A5E46739177-AA, 02/2019