I am badly stuck tying to activate my program. I was trying to start-up individual program blocks but that wasnt working so I have set up just a few lines of code in an otherwise “empty” program (and switched all other programs OFF)
For testing purposes I am just trying to cycle a variable on then off repeatedly. Code is as follows:
10 REM TESTS 17NOV25
20 REM TEST CYCLING DUTY
30 IF TIME-ON ( V16_P4RN ) > 00:00:05 THEN STOP V16_P4RN
40 IF TIME-OFF ( V16_P4RN ) > 00:00:10 THEN START V16_P4RN
50 DO7_NCRT = V16_P4RN
60 REM IF TIME-ON ( DO7_NCRT ) > 00:00:15 THEN STOP DO7_NCRT
70 REM IF TIME-OFF ( DO7_NCRT ) > 00:00:05 THEN START DO7_NCRT
80 REM V16_P4RN = DO7_NCRT
All other programs are OFF to avoid potential interference - there is no other code running!
I am using DO7.. just as an external indicator.
The problem: Lines 30, 40, 50 do not work. V16.. does not cycle On-Off-On-Off - it just remains with whatever value I gave it manually.
I understand that TIME-ON and TIME-OFF functions work with variables. I monitor from Variable table with constant refreshing.
If I “rem-out” lines 30, 40 & 50, and make lines 60, 70 & 80 active, then DO7 cycles correctly (blue LED) and V16 follows it.
The settings for V16.. in the Variable Table are: Auto, value = On (or Off - done manually, then switch back to Auto). According to Variable table, Units/Range reports On/Off (12), but when I inspect units it defaults to a new selection Off/On (1) - although the selection box at top of screen is correct. I either re-enter 12 and OK, or cancel but the next time I check 1 is again selected. I assume this is just a default entry - what counts is the actual selection shown at top of screen.
Attached is a screenshot showing the range selection window for V16. You can see the “default” selection 1-Off/On as well as the previous selection 12-On/Off at the top. I change the selection to 12 and ‘OK’
The code syntax seems ok - it matches the example in the manual and it compiles without problem.
I have updated/restarted T3000 software several times - not sure if any actual update has been applied, but several reboots.
How do I get this very simple routine going? I must be doing/not doing something dumb.
