bsauerwine
Computer
- Jun 11, 2003
- 2
Hi:
I've been volunteering at my college's observatory to automate the use of the telescope and dome through computer. To control the dome, I used grant money to purchase a Micrologix 1000 1761 L10-BXB controller and RSLinx. Now I have the controller hooked up to relays and connected to the computer, and RSLinx Single Node installed as a service on the computer (running Windows 2000 SP3).
My goal now is to write a Visual Basic DDE application to the outputs on the controller to close the relays to control dome rotation. However, though I have successfully made DDE links to a RSLinx topic associated with the controller, the data I send doesn't change the state of the relays. My question is this: what are the DDE item names associated with the relay outputs on my Micrologix 1000 PLC? I can, it seems, change the value of O:0.0, for example, but I see no result on the controller. Does anyone have any sample VB code to turn relay outputs on an A-B PLC on and off?
Thanks,
~Ben Sauerwine
I've been volunteering at my college's observatory to automate the use of the telescope and dome through computer. To control the dome, I used grant money to purchase a Micrologix 1000 1761 L10-BXB controller and RSLinx. Now I have the controller hooked up to relays and connected to the computer, and RSLinx Single Node installed as a service on the computer (running Windows 2000 SP3).
My goal now is to write a Visual Basic DDE application to the outputs on the controller to close the relays to control dome rotation. However, though I have successfully made DDE links to a RSLinx topic associated with the controller, the data I send doesn't change the state of the relays. My question is this: what are the DDE item names associated with the relay outputs on my Micrologix 1000 PLC? I can, it seems, change the value of O:0.0, for example, but I see no result on the controller. Does anyone have any sample VB code to turn relay outputs on an A-B PLC on and off?
Thanks,
~Ben Sauerwine