08-31-2011 08:01 AM
Hello,
I have a strange problem. I am using NI9481 module as a switch to put the power to my device. It is a controller that works at 24 V. For example I wrote a simple vi to switch off/on module. It works fine until I off module before closed the vi. For example if I interrupt the program (abort execution) after that I cannot off the module. It is always on but if I change the slot in the chassis I can off again. Somebody can explain me where is the problem and how I can avoid it? I mean how I can off really without moving from the chassis?
Thanks,
Kamil
09-21-2011 07:11 AM
Hello Kamil,
Are you using a cRIO? if yes, which chassis and controller are you using?
Can you post the code (project, VI's) you're currently using?
Does it work correctly if you stop the code with a stop button and go through a normal shutdown procedure?
Do you reset your device after this interruption?
09-21-2011 07:28 AM
Hello Thierry,
I have cRIO NI 9024 and chassis NI 9112.
It does not work even if I stop device or do reset. Sometimes it helps when I disconnect all (cables, modules etc.)
It does not work even with simple switch on/off code when I interrupt before reset variables.
I have an addition module NI 9472 as well and I added an external relay and with this module and external relay and since then I do not have any problem.
My device needs current max 2 A but there is a pick of current about 15 A when I switch on device it takes less than 10mS. Probably it is caused by charging of capacitors in the system. The problem is that it is working fine until I clear variables.
Best regards,
Kamil
10-03-2011 06:34 AM
Hello Kamil,
Can you upload the files/project that you are using?
It's just to see what you're exactly doing with the module in your code.
Can you also send a schematic of how everything is connected with the external device (eg. datasheet, schematics,...)?
The more information the better.
10-06-2011 04:08 AM
Hello Thierry,
I do not have it included to my project anymore. But as I said it can be a simple while loop with switch on/off bottom and it is all.
I send you schematic of controller that I want to switch on/off. In the attachment as "Installation_E1200_e_recent". Please look at page 10, logic supply control.
The power supply is PSIN30012 - http://www.electronic-direct.be/product-details/psin30024/shop.htm?lng=en
The module NI9481.
Connections:
Following datasheets from National instrument "Operating instructions and specifications", page 8.
From power supply 24V + to CHa/NI9481
From CHb/NI9481 to LinMot Controller/ (x4.12 SVE and +24V)
From LinMot Controller/ GND to Power supply (-) between I have fuser 1A
It is connections. I need plus/minus 0.5A to start equipment. NI9481 can handle 2A. Normally no problem.
As I said it was working as long as long I switch of correctly if I interrupt the vi the switch is always on and I cannot off.
I use this module to start power supply for this equipment 220V, microscope 220V and heating system as well and I do not have any problems.
As I said I solved the problem by using external relay and module NI9472.
Regards,
Kamil