1. You will have to go to MACRO as told about Using a Macro in NP designer.

2.Now when you are in Macro Command window,just click on command to see all list of command and select BIT Setting and then BIT SET.

3.Now choose your Variable which can be a CIO, Work bit, Holding bit etc. and after that click on insert to put that in Macro window. Here we have used Work bit (WR).

4. Now as the macro command is inserted, you can see it in Macro window. You can write other macro command also for that screen.

Every screen has start and end micro so you can similarly program for end macro also. Suppose you want to clear the set bit and the exit of the screen, then just use bit clear instruction at end macro.
No comments:
Post a Comment