Host Engineering Forum
General Category => DirectSOFT => Topic started by: Kirk on November 21, 2009, 08:25:40 PM
-
Hello, I'm new to DS 5. I can't seem to figure out how to force I/O points. I have a DL 105. I did find some instruction in section 8-9 of the user manual, but only with a hand held programmer which I don't have. I'd like to be able to toggle on/off from the programming software. Is there a way? Thanks.
-
While online create a Dataview containing the I/O point you want to deal with.
Now you have three concepts when dealing with these points.
The first is the 'Status'. This is viewing the current on or off state. You select this using the 'Status' button on the online bar or use CTRL-Shift-S.
Next is the ability to write something different to the PLC. Click the left-most button at the top of the dataview window. This is fine for numeric types but for I/O we have one last item.
This is 'forcing' which is the subject of your question. AD calls it 'overriding'. Go to the 'Options' button (or View - Options). Choose the Data View tab. Check 'Override Bits'. You can select the symbol used to display the forced status. The default works fine for me. By the way you can from this menu also change the symbol for binary (on/off) status. I like choosing green and red dots, but that's just me.
To review for outputs, forcing takes away control of an output bit from the ladder scan and places it in your hands. 'Forcing' does not change the state. After 'forcing is in effect then you can write an ON or OFF to the bit. Removing the 'force' does not specifically turn it on or off. It returns to the state determine by the program which is currently running.
For inputs, forcing replaces the result of the scan with whatever (ON or OFF) you send. Just 'forcing' does not change the state.
Finally, a power cycle will clear all the override/force bits.