Host Engineering Forum
General Category => DirectSOFT => Topic started by: soakncider on February 25, 2008, 07:44:48 PM
-
I have loaded data to double word V memory location V1400 as a timer value. The timer displays correct data in ladder up to eight characters. I have used a comparative contact using V1400 but IT will not display more than four characters.
My logic is as follows:
LDD;V1200>MUL;600>OUTD;V1400
V300 > or = then RESET T300
The comparative contact will display V1400 as 200 when V1400 is displayed as 10200 on the timer. V1400 also displays 200 in Data View.
-
I'm assuming you are using an accumulating timer, which uses two V memory locations for its preset, aka a DOUBLE WORD or DWORD, which in this case is V1400/V1401 (two 16 bit words). The relationals only work with 16 bit values.
You can use the Compare Double (CMPD) box, which will work. Look at the Help for CMPD to understand how to use it along with the specific relational SP bits.