Page 1 of 1

Adding Logic Instruction for Ethernet / IP on Studio 5000

Posted: Thu Jan 09, 2020 8:27 am
by om_tech_support_CF
1. After setting up your PLC and AZD-AEP or AZD-CEP Driver open the Main Routine.
(Note: you do not need to add AOI’s for this).
2. Add a Normally Open Instruction to your rung and pick your desired name.
For this example, this Instruction will be used to activate the Forward Jog tag, so I named it FW_JOG.

1 of 7.png
1 of 7.png (6.9 KiB) Viewed 1024 times
3. Next right click on your instruction and choose “New FW_JOG”.
4. Click on the down arrow and choose “Create and Close” to create your new tag

2 of 7.png
2 of 7.png (138.88 KiB) Viewed 1024 times

5. Next add an Output Coil to your Main Routine and give it a name of your choice. I chose “FW_JOG_ON”.

3 of 7.png
3 of 7.png (2.5 KiB) Viewed 1024 times

6. Right click on the instruction and click on “New FW_JOG_ON”.

4 of 7.png
4 of 7.png (15.53 KiB) Viewed 1024 times

7. When the window pops up, change type to “Alias”. Then choose your desired tag. In this case, we are choosing the tag for FW-JOG. So that tag is “(Module Name): O.Data[2].0”.

5 of 7.png
5 of 7.png (35.41 KiB) Viewed 1024 times

8. Your window should now look like the image below. Click create and close.

6 of 7.png
6 of 7.png (17.47 KiB) Viewed 1024 times

9. Go online and download your logic to your controller. When everything is done downloading, right click on your Normally Open (NO) instruction “FW_JOG” and choose “toggle bit”. Your input, (NO) and output (Coil) should both be energized and the FW_JOG bit should be activated. To turn-off, toggle the bit again, or add another instruction for a “Stop” operation.

7 of 7.png
7 of 7.png (12.54 KiB) Viewed 1024 times

While there are many methods of programming within Studio 5000, this is one method to utilize the built in driver tags. For more complex programs, please contact the manufacturer of your PLC.

Should you have any further questions please contact us at [email protected] or call at 1-800-GO VEXTA.