Legacy Hardware and Apps
Digital output state

Hi Roger,

I am trying to turn on a led with a digital output when a Counter Input reach to a specific value. It is very easy, but I am having problems. I have assigned the value of the counter input to a Channel Variable. The only way to change the digital output state is using an alarm?

Thanks, Regards.

Hi Roger, I am trying to turn on a led with a digital output when a Counter Input reach to a specific value. It is very easy, but I am having problems. I have assigned the value of the counter input to a Channel Variable. The only way to change the digital output state is using an alarm? Thanks, Regards.

Good afternoon Josep,

You can do this with logical operators.

BEGIN
RA1S
1CV=1CV+1
1DSO=1CV>20
END

If 1CV is greater than 20 the the expression is true so 1DSO=1

Cheers,
Roger

Good afternoon Josep, You can do this with logical operators. ```` BEGIN RA1S 1CV=1CV+1 1DSO=1CV>20 END ```` If 1CV is greater than 20 the the expression is true so 1DSO=1 Cheers, Roger

Good Morning Roger,

Where can I do the assignment 1DSO=1CV>20 in the DeLogger? I don't find any column to do it on the program builder Window.

Cheers,
Josep

Good Morning Roger, Where can I do the assignment 1DSO=1CV>20 in the DeLogger? I don't find any column to do it on the program builder Window. Cheers, Josep

Good morning Josep,

DeLogger4 V2 R16 has a "User" channel type. It allows you to enter any dataTaker code. Be careful as the syntax is not checked.

Cheers,
Roger

Good morning Josep, DeLogger4 V2 R16 has a "User" channel type. It allows you to enter any dataTaker code. Be careful as the syntax is not checked. Cheers, Roger
10
3
2
live preview
enter atleast 10 characters
WARNING: You mentioned %MENTIONS%, but they cannot see this message and will not be notified
Saving...
Saved
With selected deselect posts show selected posts
All posts under this topic will be deleted ?
Pending draft ... Click to resume editing
Discard draft