Driver write data to passive HW

Find and share HowTos to various installations / configurations!
4 posts • Page 1 of 1
CyaNn
Posts:97
Joined: Tue Nov 23, 2010 9:48 am

Driver write data to passive HW

Post by CyaNn »

Hi there,

I'm continuing my drivers developpements and have a new question about redundancy.
I know that it is possible to receive data from passive chain driver by configuring config.redu (with fwDp).

But is it possible de send data to the passive driver, and how to do it. I tries to configure a point dedicated to chain and configure both (fwDp and CopyDp) but nothing seems to work in this case.
May I forgot something.

My goal is to send a stop command to the passive "DRV Service".
See the architecture bellow :
Slide2.png
Many thanks in advance for your responses.
:-)
Yann
Attachments
Slide2.png
Slide2.png

leoknipp
Posts:2928
Joined: Tue Aug 24, 2010 7:28 pm

Re: Driver write data to passive HW

Post by leoknipp »

The driver on the passive server gets all the original value changes for dp elements which have an output address.
Sending commands to the PLC is blocked in the driver for the passive server with "disable commands".
Please have a look at the explanation for the _DriverCommon dp type to see how "disable commands" (dp element _DriverX.DC) works.

Best Regards
Leopold Knipp
Senior Support Specialist

CyaNn
Posts:97
Joined: Tue Nov 23, 2010 9:48 am

Re: Driver write data to passive HW

Post by CyaNn »

Ho, many thanks Leoknipp :-)

By setting _DriverX.MS to True the commands are send to both chain drivers.... Then now it works :-)

Thanks again.

leoknipp
Posts:2928
Joined: Tue Aug 24, 2010 7:28 pm

Re: Driver write data to passive HW

Post by leoknipp »

_DriverX.MS is the short form of "Manual State".
Normally "Disable Commands" is made automatically by the active/passive state of the Event Manager. If "MS" = true you have to set _DriverX.DC (disable commands) on your own if commands from the passive driver shall be send or not.

Best Regards
Leopold Knipp
Senior Support Specialist

4 posts • Page 1 of 1