Skip to main content
Submitted by flauzon on Mon, 08/17/2015 - 08:07

Hello,
I wrote an application on Windows 7, Visual Studio 2010 32 bits using the gclib api.

I have 2 connections to the DMC 4040 controller:
- one for command/response style request
- the other to monitor the status of the controller (hardware limit switch, emergency button,...) using the DataRecord

I received update when a limit switch is activated or released, when the emergency button is activated (ELO), but when the button is released, the DataRecord keep showing that the ELO is still activated...

Le Emergency Button is a normaly open type connected like this, using the voltage directly from the DMC 4040 (no external power source):
1. Connected INCOM to high (5V).
2. Connected one end of the button to GND
3. Connected other end of button to ELO.

So I don't know what is appening, someone has a clue?

Best regards,
Francois.

Comments 1

troym_galil on 11/03/2015 - 08:37

ELO is a latch input so once it is triggered it needs to be reset with an MO command, and then an SH command. If running this is DMC code make sure to issue a small wait between MO and SH. ie. MO; WT2; SH