Sign in to follow this  
Followers 0

CitectSCADA Variable Argument Syntax

1 post in this topic

Hello All,

Does anybody know the correct syntax for the following:-

I have a genie with variable A getting passed in
I want to use this as a prefix for a variable address to send to a function.

function ( %A% + _variable)
(_variable being the rest of the address)

So if genie variable A was 05 the tag value sent to the function would be 05_variable.

Also, I would like to off set the A variable by 4


function ( %A% - 4 + _variable)

so would actually send value from 01_variable if the genie A was 5.

Hope that makes sense, any help would be greatly appreciated as I've being trying various different ways and cant get it to work.


Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  
Followers 0