Quantcast
Channel: Modicon / Telemecanique / Schneider Electric Latest Topics
Viewing all articles
Browse latest Browse all 446

CitectSCADA Variable Argument Syntax

$
0
0

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

So

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.

Thanks,
Tom


Viewing all articles
Browse latest Browse all 446

Trending Articles