mathiask88 / node-snap7

node.js wrapper for snap7
MIT License
163 stars 59 forks source link

function refused by cpu #57

Closed celevra closed 5 years ago

celevra commented 5 years ago

Hi,

is it also possible to communicate with Tia Portal 1500?

regards

Celevra

Johanneslueke commented 5 years ago

To my knowledge this is not possible because the TIA Portal only acts as a client.

celevra commented 5 years ago

hm could be that its not really clear what i ment ;-) programming a Siemens 1500 isn't done in S7 today but via the new TIA Portal. I thought that it could be possible that the problems with function refused by cpu is because of that

teropes commented 5 years ago

Yes it is possible to communicate with Siemens S7 plc's. What specific function is giving you this error?

Johanneslueke commented 5 years ago

@celevra ok if you meant an actual s7-1500 then yes it is possible. reading writing does work fine. i haven't tried out with an R/H-systems while those are in RunRed. But standalone does work fine. Communication is done via S7-Protokoll.

mathiask88 commented 5 years ago

See https://github.com/mathiask88/node-snap7/issues/44#issuecomment-431863670

celevra commented 5 years ago

ok, thank you very much for your answers, i will look in my code again :-)

mathiask88 commented 5 years ago

@celevra If something is not clear, feel free to ask :)