On Fri, 20 Dec 2024, Viesturs L?cis wrote:

Date: Fri, 20 Dec 2024 23:36:16 +0200
From: "[UTF-8] Viesturs L?cis" <viesturs.la...@gmail.com>
Reply-To: "Enhanced Machine Controller (EMC)"
    <emc-users@lists.sourceforge.net>
To: "Enhanced Machine Controller (EMC)" <emc-users@lists.sourceforge.net>
Subject: [Emc-users] 7i37com outputs not working

Hello!

I got stuck on yet another thing with laser build on the Biesse, this
time it must be something more obvious and/or stupid than previous.
This time it is 7i37com board. I had "normal" 7i37 there for switching
some signals in control cabinet (servo enable relays, vfd run/stop
etc) which was a mix of "active high" (for relays) and "active low"
(for vfd) signals. Since this machine is getting rid of VFD and
spindles and some other things that were using "active low" logic and
I was short on 7i37 board for the other Biesse, I decided to get a
7i37com board from the magic box of leftovers from previous projects.
It is just that I cannot get the outputs to work. I thought that
wiring it would be easy task. Here is how it looks at the moment:
https://photos.app.goo.gl/c6psF7ArigszcCTZA

Inputs are working. For the output power: P2 is 24VDC and 0VDC is on
VC. The wires in output pins are those that were connected to "-" leg
of output pin for "normal" 7i37 (and "+" leg had that P2 wire). 1251
is servo enable relay and that other wire is for machine power relay
(other side of the relay coil is connected to 0VDC).

Multimeter does not show any change of voltage on any of output pins
if I try to change their state, it remains in 20-30 mV range above
0VDC (I am fiddling with gpio.nnn.is-output and optionally
gpio.nnn.invert-output before dangling gpio.nnn.out). Should I see any
voltage change there? I would expect it to be +24VDC (reach something
around voltage on P2 wire) at some point but I do not get anything
like that. Is that correct?

I also thought about possibility of fiddling with wrong gpio pins. But
since inputs are working and IN0 is gpio.024 on the 5i24 board (which
is right as that board is connected to middle 50-pin socket) then 16
input pins later OUT0 should be gpio.040 and I am trying with any pins
in range from 040 to 047.

I would appreciate any tip on what am I missing or overlooking.

Viesturs


Yes, If your inputs are GPIO 24 through GPIO 39.
the 7I37 or 7I37COM outputs are GPIO 40..47
These are active low so both the is_output and invert_output
attributes need to be set true. The 7I37COM card must also have
a 5V supply (normally suppled from the FPGA card)

Outputs also require +5V to +48V on TB4 pins 3..6

If driving inductive loads, TB4 pins 1 and 2 should connect
to the common (negative) of the 5 to 48V supply


_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Peter Wallace
Mesa Electronics


_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to