Browse FAQs

Video: How to configure and use a BMXMSP0200 pulse train output (PTO) module?

Published date: 31 July 2019

Issue:
This is a step by step procedure on how to configure and write a small program in EcoStruxure™ Control Expert (formerly Unity Pro) to generate a pulse train output (PTO) using a BMXMSP0200 module.

Product Line:
BMXMSP0200, M340 controllers

Environment:
EcoStruxure™ Control Expert
Unity Pro v13

Cause:
To have a starting project that will help the customer use the BMXMSP0200 module

Resolution
1. Connect 0VDC to pin 24 and +24VDC to pin 26 from an external power supply
2. Ready signal will have to be ON. For testing purposes you can connect pin 1 (D_Ready0-) to 0VDC and pin 2 (D_Ready0+) to 24VDC from an external power supply
3. Open Unity Pro and create a New Project by clicking on the New Project icon or by going to File/New Project
4. In the Project Browser double-click on Configuration and add the BMXMSP0200 module to the backplane
5. Double-click on the BMXMSP0200 module, select Channel 0 and under Function select Position Control. Validate the change by clicking on Confirm in the toolbar
6. Create an IODDT variable associated with Channel 0 by doing these steps: highlight BMXMSP0200 from the window open in step 5, click on I/O objects tab, check %CH checkbox, click on Update Grid, select your %CH0.x.0 channel, type a variable in the "Prefix for name" and then click on Create
7. Create a section by right-clicking on Sections / New Section in the Project Browser
8. Insert a FREQUENCYGENERATOR function block. Double-click on it and enable the Show EN/ENO checkbox
9. Create variables for the EN and TARGET_FREQUENCY pins. For the CH pin use the IODDT variable created in step 6
10. Build your project and transfer it to your controller
11. Create an Animation table with your variables by selecting all your variables with CTRL-A and then by right-clicking on them and selecting Initialize Animation Table
12. In the Animation table enter a value for TARGET_FREQUENCY. In the IODDT variable force DRIVE_ENABLE_LEVEL to 1 and then force the EN variable of the FREQUENCYGENERATOR function block ON. At this point the card should output pulses.
13. To stop the pulses force DRIVE_ENABLE_LEVEL back to 0

This completes the step by step procedure on how to configure and write a small program in Unity Pro to generate a pulse train output (PTO) using a BMXMSP0200 module.

 

Was this helpful?

What can we do to improve the information ?

Can't find what you are looking for?

Reach out to our customer care team to receive information on technical support, assistance for complaints and more.