Thanks for the reply Peter
I came across some code that works.... ALl I do is change the PAR and the switch number to the required one it changes the required switch.
I just have to brush up on my Skills with SIOC so I can have more than one switch working.. At the moment when I add the script 4 times to the code and change the PAR and Switch values required for each switch the first actuation of a switch seems override the rest and the PAR remains the same . So if anyone out there can supply me the code below for 4 switches (10,11,12,13) with 4 different PAR (0,1,2,3,4) I would totally apprieciate it
Var 1 name FS_CONTROL Link FSUIPC_OUT Offset $3110 Length 4
Var 2 name FS_PAR Link FSUIPC_OUT Offset $3114 Length 4
Var 3 Link IOCARD_SW Input 12 Type I
{
&FS_PAR = 1
&FS_CONTROL = 66712
&FS_CONTROL = DELAY 0 10
}