7i77 bit file update problems. Losing inputs

More
01 Nov 2021 03:27 #224824 by Toms
Hello.  I was trying to update the 7i77 connected to a 7i92 with the following 2 bit files.
7I77X2DR14.BIT
7I77X2AR14.BIT

When we updated the Analog file, the digital inputs disappeared from Halcmd show all.  When I updated the Digital file, the PWM outputs vanished and the inputs reappeared.  Is there a file that updates the 7I77 with both the analog and digital simultaneously?

The update.hal files had different "addresses" to write the update.  The digital update used 7I92_7I77.0.0.  The Analog update uses 7I92_7I77.0.1.  I tried flashing it with these numbers but got an error "SSERIAL" not found.  I had to flash using 7I92_7I77.0.0 for both.

Background info:
7I92 connected via Ethernet.  Flashed with 7I92_7I77x2 recently downloaded.
7I77 is connected to P2 on the 7I92.

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

More
01 Nov 2021 14:04 - 01 Nov 2021 14:06 #224884 by PCW
Here is a script that should do the correct thing.
(it assumes the 7I92 IP address is 10.10.10.10)
The digital section  is channel 0 and the analog section is channel 1
on standard firmware, so if you wrote the bin file for one section to the
wrong channel, it's guaranteed to fail.

 

File Attachment:

File Name: update7i77_7i92.zip
File Size:1 KB
Attachments:
Last edit: 01 Nov 2021 14:06 by PCW.

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

More
01 Nov 2021 23:24 #224932 by Toms
PCW, thanks for the help. Turns out the problem was we were only giving 5v to the 7i77 field logic. We hooked up 12v to pin 5 and then reflashed using your script and it worked perfectly.

Still having problems with our Anilam A10 scales.

Using this pinout info from the internet:
Anilam DRO Scale Pinout of Bendix 10-6 connector

PIN OUTS of 1 axis
….A – Channel 1
….B – Channel 2
….C – +5 Volts
….D – Ground
….E – Shield Ground
….F – Marker pulse
We hooked up the following to Encoder 0 on the 7i77.
Pin1: A-Channel 1
Pin 3: D: Ground
Pin 4: B: Channel 2
Pin 6: C: +5v
Pin7: F - Marker pulse (tried with and without this connected).

The best result we ever got was the DRO reading flickering between 0.000 and 0.250 (we set the counts per inch very low so that it was 0.025" per count. As we continued to move the scale, it would only toggle between 0 and 0.25. It seems to be seeing signals, but isn't able to interpret them as a continual count.

We hooked up a cheap chinese encoder from an MPG pendant. (removed the encoder and wired it directly.) This worked perfectly, but it had 2 wires per channel and I think is wired normally for a quadrature encoder.

Any suggestions to make the Anilam A10 scales work? Per the 7i77 manual, I assume that our scale is a single ended scale versus the other kind.

Thanks for the help in advance.

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

More
01 Nov 2021 23:37 #224936 by Toms
Ok, I solved my problem myself by reading the manual for the 4th time.

I missed the part where you have to set the jumpers for each encoder to select between Single ended, or Differential encoding.

So, anyone making the same dumb mistake as me, change your jumpers for your encoders properly.

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

Moderators: PCWjmelson
Time to create page: 0.127 seconds
Powered by Kunena Forum