DNP3 configuration

Find and share HowTos to various installations / configurations!
6 posts • Page 1 of 1
jocinanand
Posts:14
Joined: Sun Oct 07, 2018 1:02 pm

DNP3 configuration

Post by jocinanand »

How to write the value for digital output to the PLC through DNP3 driver.And I can read the digital Input

Also need to Know the difference between Binary Output status and Binary command ?By that i need to Know which group need to be used to write the value

alug
Posts:42
Joined: Mon Oct 18, 2010 11:00 am

Re: DNP3 configuration

Post by alug »

Hallo,

writing binary output is DNP3 is described in WinCC OA Online Help section
Driver->DNP3->Defining the peripheral address of DNP3 driver.
At the bottom there is a description of Control Rely Output Block ( CROB).

There are several option for this command therefore it looks quite complex.

In the simplest variant you need an uint DPE for the OpType (Subindex 0) and write the values 3 and 4 to it
for LATCH_ON and LATCH_OFF. All other subindices are optional.

The Binary Output Status can only be read. It is the Status of a Binary Command.

best regards

Andreas

jocinanand
Posts:14
Joined: Sun Oct 07, 2018 1:02 pm

Re: DNP3 configuration

Post by jocinanand »

Hi,

Thanks for the reply,

Herewith I attached the screenshot for the config file that mentioned the linkAddress and still I am getting this error continuously

PARAM,SEVERE, 54, Unexpected state, Dnp3IDPOutstation, brmCallbackFcn, Outstation DNP3: The response to a request had IIN bits set indicating the command failed
SYS, SEVERE, 54, Unexpected state, Dnp3IDPOutstation, processIIN, IIN bit indicating parameter error set from outstation DNP3
PARAM,INFO, 0, , Dnp3IDPOutstation, processIIN, IIN bit indicating parameter error from outstation DNP3 gone


Please help me in this case

Thanks &Regards
jocin

alug
Posts:42
Joined: Mon Oct 18, 2010 11:00 am

Re: DNP3 configuration

Post by alug »

Hallo,

which value do you write on the DPE with the output address.
If you want to set permanently you must write 3 (LATCH_ON) and 4 (LATCH_OFF).
If you want to write PULSE_ON (1) and PULSE_OFF(2) you have to specify the times
on the other subindex. Otherwise you get a "parameter error" for the command.

If it does not work send a screenshot of you address.

best regards

Andreas

jocinanand
Posts:14
Joined: Sun Oct 07, 2018 1:02 pm

Re: DNP3 configuration

Post by jocinanand »

Hi,
Attached here the screeshot Image
Attachments
Digital_output.PNG

alug
Posts:42
Joined: Mon Oct 18, 2010 11:00 am

Re: DNP3 configuration

Post by alug »

Hallo,

the screenshot looks good.

You get the "parameter error" when you write a value 3 or 4 on the "open" DPE ?
Can you send a wireshark trace?

best regards

Andreas

6 posts • Page 1 of 1