Hi
I am trying to determine the loss of profibus slaves using the PNIODIAG block from Siemens website.
It says the default DB is DB200 that is created at PLC startup however I had to define it in OB100 before it was generated.
Due to poor/no documentation where is my status info in DB200? I only have the PLC at address 2, a MP370 HMI at address 3 and a ET200S at address 4 and want to determine if the ET200S has been powered off / is unobtainable. What is the required OUT1 parameter?
I have put this into OB1,OB82,OB83,OB86,OB100
CALL "PNIODiag" , DB126
IN0 :=200
OUT1:=
but all the bits i can see in DB200 dont seem to change when i remove the ET200 from the network
A sample of a working program or an alternative method would be appreciated
Cheers
I am trying to determine the loss of profibus slaves using the PNIODIAG block from Siemens website.
It says the default DB is DB200 that is created at PLC startup however I had to define it in OB100 before it was generated.
Due to poor/no documentation where is my status info in DB200? I only have the PLC at address 2, a MP370 HMI at address 3 and a ET200S at address 4 and want to determine if the ET200S has been powered off / is unobtainable. What is the required OUT1 parameter?
I have put this into OB1,OB82,OB83,OB86,OB100
CALL "PNIODiag" , DB126
IN0 :=200
OUT1:=
but all the bits i can see in DB200 dont seem to change when i remove the ET200 from the network
A sample of a working program or an alternative method would be appreciated
Cheers
Last edited: