hi to everyone,
i have a problem with logic of MOV by DC function block. i have 2 DIs as Close Limit Switch and Open Limit Switch and 2 DOs as Close Command (Remote) and Open Command (Remote).
everything is OK when i received Limit Switches on Local and Remote. but when in local mode and i didn't receive Limit Switches and change the position from Local to Remote, suddenly the DOs are energized via valve setpoint on DC block and i don't want this. i want to stay at the last position (NOT open or NOT close)!
how can do this?
In addition to what Matt F described, in v13 and using the EDC block you can make the STOP discrete inputs on the STATE_MASK be don't care (greyed out) and the PV_D will still indicate OPEN/CLOSE/UNDEFINED status and not cause a failure for STOP command. The same configuration on the DC block will work but the PV_D will be STOP which is probably not useful to see what the valve position currently is.
Here is a view of the MOV STATE_MASK configuration I described above:
In reply to Matt Forbis:
In reply to Matt Stoner: