Remora - ethernet NVEM / EC300 / EC500 cnc board

More
2 years 7 months ago #296318 by Aravind
Hi, 
I am currently doing a project using EC500_V5 with remora firmware. 
Right now I am facing an issue. 
All my input pins are active low state. One of my sensor (proximity sensor) has an active high output. Is is possible to change the state of a particular input pin to active high? 

-Aravind

Please Log in or Create an account to join the conversation.

More
2 years 7 months ago #296319 by meister
you can use pullup/pulldown resistors to change the default level

Please Log in or Create an account to join the conversation.

More
2 years 7 months ago #296332 by Aravind

Hi, I am currently doing a project using EC500_V5 with remora firmware. Right now I am facing an issue. All my input pins are active low state. One of my sensor (proximity sensor) has an active high output. Is is possible to change the state of a particular input pin to active high?  -Aravind

Thanks for the response. 
Is there any method in which I can do some simple setting in the software/configuration file or on the controller board (EC500_V5) hardware for making some input pins as active high

- Aravind

Please Log in or Create an account to join the conversation.

More
2 years 7 months ago #296349 by cakeslob
assuming i understand what you mean, the input still works and changes state? but its just backwards?

you can invert the input in your config file, or you can use the hal pin remora.in.xx_not or something like that


are you saying the input doesnt change state? like an NPN/PNP thing? you probably need a resistor somewhere

Please Log in or Create an account to join the conversation.

More
2 years 7 months ago #296368 by Aravind

assuming i understand what you mean, the input still works and changes state? but its just backwards?
you can invert the input in your config file, or you can use the hal pin remora.in.xx_not or something like that
are you saying the input doesnt change state? like an NPN/PNP thing? you probably need a resistor somewhere

Hi cakeslob,
Well the input state doesnot change. I am getting +24V at the input pins and when I connect it with the COM- that pin shows a high signal. So I assume that the pins are in active low state. For my pnp proximity sensor, I connect the COM+ to the positive (brown wire), COM- to the negative (blue wire) and I connect the black output wire to the input pin. When a metal piece comes near the sensor I get 24V at that black output wire.
In the actual schematic diagram of EC500_V5 shared by the supplier, it is given the same way to connect.

So, I thought that there will be any kind of adjustment that can be done on the board (like any jumper pins) or any setting in the files like ec500-rt1052.txt can make few pins to the active high state.

- Aravind

Please Log in or Create an account to join the conversation.

More
2 years 7 months ago #296404 by tuxcnc

For my pnp proximity sensor, I connect the COM+ to the positive (brown wire), COM- to the negative (blue wire) and I connect the black output wire to the input pin. When a metal piece comes near the sensor I get 24V at that black output wire.

You are right, but you not understand how input works.
There is serial resistor and LED diode (built in optocoupler) connected to +24V and input pin. If you connect input to GND, the circuit is closed, and optocoupler output changes state.
You must connect an resistor to input and GND, the value must be as low for optocoupler works and as high for protect proximity sensor output. Try 1k (1000 Ohm). Now, when sensor not works, the input is active, but when sensor works, it pulls input to +24V and input stay not active.
The following user(s) said Thank You: meister

Please Log in or Create an account to join the conversation.

Time to create page: 0.605 seconds
Powered by Kunena Forum