Heirarchy of Limit Condition Execution in VisuaLCN
note number - vlab0001

When writing programs in VisuaLCN, each step has the ability to act upon 10 limit condtions. When the limit condition is met, the Limit Action is taken. There is a hierarchy to the limit action taken if multiple limit conditions are “true” concurrently. VisuaLCN limit actions perform in the following priority.

End Test
Halt
Go to Step
Pause, Go to Step
Set Sample Time

If you have multiple limit conditions within a step which specify the same limit action, the limit actions are performed from the bottom up (from the last TRUE limit action statement in the step). For example, consider the following program step:

Step 2 - Charge
Current at 25.000 A
Voltage at 18.000 V
Power at 450.00 W
Sample Time at 000:00:00 H:M:S
Reset Amp-Hours and Watt-Hours? YES
Reset Step time? YES
If Step Time = 001:00:00 H:M:S Then Go to Step 3
If Voltage >= 7.500 V Then Go to Step 4
If Power => 100.00 Then Set Sample Time = 000:00:10 H:M:S
If Current <= 5.000 A Then Pause, Go to Step 3
If Cycle = 99 Then End of Test
If Temperature >= 200.0 °C Then Halt Test
If Amp Hours >= 10.00 AH Then Go to Step 1
If Watt Hours >= 15.00 WH Then Go to Step 1

The hierarchy of the limit condition actions would yield varying results for the above step given different operating conditions:

Test Conditions
Limit Conditions “TRUE”
Limit Action Taken
• Step Time=1:00:00
• Voltage =7.50
• If Step Time = 001:00:00 H:M:S Then Go to Step 3
• If Voltage <= 7.500 V Then Go to Step 4
Go to Step 4
• Temp = 200.2
• AH = 10.02
• If Temperature >= 200.0 °C Then Halt Test
• If Amp Hours >= 10.00 AH Then Go to Step 1
Halt Test
• Voltage=7.500
• Cycle=99
• If Voltage>=7.500 V Then Go to Step 4
• If Cycle = 99 Then End of Test
End of Test
• Step Time = 1:00:00
• Current = 4.99
• Amp Hours = 10.00
• If Step Time = 001:00:00 H:M:S Then Go to Step 3
• If Current <= 5.000 A Then Pause, Go to Step 3
• If Amp Hours >= 10.00 AH Then Go to Step 1
Pause, Go to Step 3