S7 Endpoint configuration

Welcome to the forum,

please take a look at Siemens reading from PLC with nodeS7 npm - Industrial - Node-RED Forum (nodered.org)

also for more information:
plcpeople/nodeS7: Node.JS library for communication to Siemens S7 PLCs (github.com)