04-16-2010 09:41 AM
I try to control some digital outputs using a Beckhoff BK9100 and LV 8.5 but it doesn't work 😞
Using TwinCAT PLC & TwinCAT System Manager it works fine, so one can suppose that all the hardware is ok (ethernet port, crossover cable, all Beckhoff hardware).
With TwinCAT the "COM" & "WDG" led's are continuously on. On the RJ45 plug, the green led blinks while the yellow is continuously on.
Attached 2 screen shots of the TwinCat System Manager settings and the LV code I made.
The idea is to see the led's of output 0 and 1 go on/off according to the buttons in LV.
Running the LV software, all led's on the BK9100 remain off.
Any help is welcome 🙂
Regards
04-21-2010 04:21 AM
Hi Alain,
As stated in the forum you posted, you should ask to the manufacturer of your device to have more help on how it works.
Then, your VI is calling ActiveX properties and methods to control your TwinCAT software. So if you're able to control your device with the software, you should be able to do it with LabVIEW. Maybe you missed a step wich would make the software communicating with your device before setting the levels for outputs?
Another solution is to communicate directly with your device with Modbus communication. But I don't know if you can do all configurations in that way.
Please contact the manufacturer for more informations.
Regards,
Olivier L. | Certified LabVIEW Developer