Receiving snmp traps on an S7-1500 [Siemens TIA Portal]

SIMATIC S7-200/300/400, Step7, PCS7, CFC, SFC, PDM, PLCSIM,
SCL, Graph, SPS-VISU S5/S7, IBHsoftec, LOGO ...
socrames
Posts: 11
Joined: Mon Oct 26, 2020 10:15 am

Receiving snmp traps on an S7-1500 [Siemens TIA Portal]

Post by socrames »

Hi there, I have an snmp agent sending random snmp traps on port 162. I need my S7-1500 to receive those traps whenever they are sent (the snmp traps are random alarms).

Does a function like "LSNMP_ReceiveTrap" exist ... ?

"LSNMP_SendTrap" seems to work for sending traps
But when it comes to receiving traps, I don't find any snmp function that can listen to snmp alarms.

Thanks for any advice