Researcher (Customer) asked a question.

Question for enabling and disabling code within a program

My project can have different AC Drives and the I use Modbus to communicate to them. My system has 2 Modbus AC Drives like the GS3 and hopefully in the future the GS20 drives. But these drives has different access codes to them. Take for example Drive 1 could be a GS3 or a GS21. I would like to include the different code required for each drive in my base program and just activate the code required depending on what drive I Install. I know I can call other programs and I could create a program for each drive but what I am really looking for is a way to disable programs with a master program, like stage programming but I don't think stage programming with work if you are using Modbus commands, am I wrong?


  • Les67 (Customer)

    Yes, tasks break it down. The master program then calls tasks as needed. This is how I set up a servo controller. I can bring code online by selecting configuration buttons. Run 1 to 6 servos. One specific thing I found, one has to have a specific task designed for a specific address and type. The MODBUS variable in the device may be different for various types of servo drives (for example the Sure servo has different variables than the NIDEC servo drives). So you may have a bunch of tasks, but only use 1 to 6 of them.

    Expand Post