17620
« on: November 03, 2009, 02:50:56 AM »
You will need to write custom macros and place them in the macro folder of the profile you are using.
The macros will be from 100 upwards for custom macros so you could, for simplicity, have m104, m105, m106 .........m109 and that would kind of work like before for your 4 to 9 relays. Also setting the relays to Outputs 4 to 9 in Ports and pins would also keep things easily remembered.
So to summarise you would set the relays to outputs in Ports and pins, you would open notepad and write a macro, example for Output 4 below
ActivateSignal (OutPut4)
You would then save it as m104.m1s in your profiles macro folder and thats it.
You can then call from code or MDI ust like you did before except it would be m104
Hood