Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Starting ChanDO with desired value

Starting ChanDO with desired value 6 years 1 week ago #9676

  • ceccon
  • ceccon's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 46
  • Karma: 0
Hello Guys here I am with basic question again

I would like to start ChanDO with High value, when I start proview aways it turn all my ChanDO to LOW. and all my BaseMvalve goes to open position causing me trouble.

I looked at I/O guide but I could not find how to do that.

Thanks in advanced
/Ceccon
The administrator has disabled public write access.

Starting ChanDO with desired value 6 years 1 week ago #9678

  • claes
  • claes's Avatar
  • OFFLINE
  • Platinum Boarder
  • Posts: 3176
  • Thank you received: 502
  • Karma: 133
Hi Ceccon,

There is an InitialValue attribute in the Do object.

/Claes
The administrator has disabled public write access.

Starting ChanDO with desired value 6 years 1 week ago #9679

  • ceccon
  • ceccon's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 46
  • Karma: 0
Hello Claes

I put InitialValue = 1
start all digital output pins in arduino with HIGH value
but after a while ChanDO goes to 0 again without any command from myself, any reason for that?

ON ChanDO object there is the attributes
InvertOn
TestOn
TestValue

Can you please do a short explain their function?

Observation : I am using ModbusTCP to comunicate with Proview
Thank
BR
/Ceccon
The administrator has disabled public write access.

Starting ChanDO with desired value 6 years 3 days ago #9686

  • claes
  • claes's Avatar
  • OFFLINE
  • Platinum Boarder
  • Posts: 3176
  • Thank you received: 502
  • Karma: 133
Hi Ceccon,

If you have selected Process Plc, the sending of the Modbus request will be done after the selected thread has executed, so I can't se any reason why a zero should be sent, unless you calcuated a zero in the plc code.

InvertOn means that the do value will be inverted, and TestOn that the current do value will be overridden by the value in TestValue.

/Claes
Last Edit: 6 years 2 days ago by claes.
The administrator has disabled public write access.
The following user(s) said Thank You: ceccon

Starting ChanDO with desired value 6 years 3 days ago #9689

  • ceccon
  • ceccon's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 46
  • Karma: 0
Hello Claes

InvertOn works in the way I need, Now when I start by system all DO remain with HIGH value

Thanks
BR
The administrator has disabled public write access.
  • Page:
  • 1
Time to create page: 8.092 seconds