CHIRON FZ22L LinuxCNC retrofit

More
29 Jun 2024 19:16 #304051 by Dominik
Hello everyone, my setup still doesn't work I don't know why, it is like the 7i92T doesn't communicate with 7i74 + i/o boards and 7i77 I did the mesaflash and everything and the pncconf, buildbot... I don't know if I need the smart serial install? (I couldn't find how to install it) or the pin file? I installed the Mesa CT also, I checked the DB25 connectors they are wired correctly...

(I copied the hal and ini files from "anfanger" he had a similar machine and all the same boards as I use")

When i try to run linuxcnc i get:
and I am stuck here for a few afternoons :/
Print file information:
RUN_IN_PLACE=no
LINUXCNC_DIR=
LINUXCNC_BIN_DIR=/usr/bin
LINUXCNC_TCL_DIR=/usr/lib/tcltk/linuxcnc
LINUXCNC_SCRIPT_DIR=
LINUXCNC_RTLIB_DIR=/usr/lib/linuxcnc/modules
LINUXCNC_CONFIG_DIR=
LINUXCNC_LANG_DIR=/usr/lib/tcltk/linuxcnc/msgs
INIVAR=inivar
HALCMD=halcmd
LINUXCNC_EMCSH=/usr/bin/wish8.6
LINUXCNC - 2.9.2
Machine configuration directory is '/home/cnc/linuxcnc/configs/test'
Machine configuration file is 'test.ini'
INIFILE=/home/cnc/linuxcnc/configs/test/test.ini
VERSION=1.1
PARAMETER_FILE=igor.var
TPMOD=
HOMEMOD=
TASK=milltask
HALUI=halui
DISPLAY=probe_basic
COORDINATES=X Y Z
KINEMATICS=trivkins coordinates=XYZ
Starting LinuxCNC...
Starting LinuxCNC server program: linuxcncsvr
Loading Real Time OS, RTAPI, and HAL_LIB modules
Starting LinuxCNC IO program: io
Starting HAL User Interface program: halui
linuxcnc TPMOD=tpmod HOMEMOD=homemod EMCMOT=motmod
Found file(REL): ./hallib/core_igor.hal
INFO CLASSICLADDER-   No ladder GUI requested-Realtime runs till HAL closes.
Shutting down and cleaning up LinuxCNC...
hm2: loading Mesa HostMot2 driver version 0.15
hm2_eth: loading Mesa AnyIO HostMot2 ethernet driver version 0.2
hm2_eth: 10.10.10.10: INFO: Hardware address (MAC): 00:60:1b:12:80:09
hm2_eth: discovered 7I92T
hm2/hm2_7i92.0: Low Level init 0.15
hm2/hm2_7i92.0: Smart Serial Firmware Version 43
hm2/hm2_7i92.0: Smart Serial Firmware Version 43
hm2/hm2_7i92.0: 34 I/O Pins used:
hm2/hm2_7i92.0:     IO Pin 000 (P2-01): IOPort
hm2/hm2_7i92.0:     IO Pin 001 (P2-14): IOPort
hm2/hm2_7i92.0:     IO Pin 002 (P2-02): IOPort
hm2/hm2_7i92.0:     IO Pin 003 (P2-15): IOPort
hm2/hm2_7i92.0:     IO Pin 004 (P2-03): IOPort
hm2/hm2_7i92.0:     IO Pin 005 (P2-16): IOPort
hm2/hm2_7i92.0:     IO Pin 006 (P2-04): IOPort
hm2/hm2_7i92.0:     IO Pin 007 (P2-17): Muxed Encoder Select #0, pin Mux Select 0 (Output)
hm2/hm2_7i92.0:     IO Pin 008 (P2-05): Muxed Encoder #0, pin Muxed A (Input)
hm2/hm2_7i92.0:     IO Pin 009 (P2-06): Muxed Encoder #0, pin Muxed B (Input)
hm2/hm2_7i92.0:     IO Pin 010 (P2-07): Muxed Encoder #0, pin Muxed Index (Input)
hm2/hm2_7i92.0:     IO Pin 011 (P2-08): Muxed Encoder #1, pin Muxed A (Input)
hm2/hm2_7i92.0:     IO Pin 012 (P2-09): Muxed Encoder #1, pin Muxed B (Input)
hm2/hm2_7i92.0:     IO Pin 013 (P2-10): Muxed Encoder #1, pin Muxed Index (Input)
hm2/hm2_7i92.0:     IO Pin 014 (P2-11): Muxed Encoder #2, pin Muxed A (Input)
hm2/hm2_7i92.0:     IO Pin 015 (P2-12): Muxed Encoder #2, pin Muxed B (Input)
hm2/hm2_7i92.0:     IO Pin 016 (P2-13): Muxed Encoder #2, pin Muxed Index (Input)
hm2/hm2_7i92.0:     IO Pin 017 (P1-01): IOPort
hm2/hm2_7i92.0:     IO Pin 018 (P1-14): IOPort
hm2/hm2_7i92.0:     IO Pin 019 (P1-02): IOPort
hm2/hm2_7i92.0:     IO Pin 020 (P1-15): IOPort
hm2/hm2_7i92.0:     IO Pin 021 (P1-03): IOPort
hm2/hm2_7i92.0:     IO Pin 022 (P1-16): IOPort
hm2/hm2_7i92.0:     IO Pin 023 (P1-04): IOPort
hm2/hm2_7i92.0:     IO Pin 024 (P1-17): IOPort
hm2/hm2_7i92.0:     IO Pin 025 (P1-05): IOPort
hm2/hm2_7i92.0:     IO Pin 026 (P1-06): IOPort
hm2/hm2_7i92.0:     IO Pin 027 (P1-07): IOPort
hm2/hm2_7i92.0:     IO Pin 028 (P1-08): IOPort
hm2/hm2_7i92.0:     IO Pin 029 (P1-09): IOPort
hm2/hm2_7i92.0:     IO Pin 030 (P1-10): IOPort
hm2/hm2_7i92.0:     IO Pin 031 (P1-11): IOPort
hm2/hm2_7i92.0:     IO Pin 032 (P1-12): IOPort
hm2/hm2_7i92.0:     IO Pin 033 (P1-13): IOPort
hm2/hm2_7i92.0: registered
creating ladder-state
hm2_eth: in hm2_eth_reset
hm2_eth: HostMot2 ethernet driver unloaded
hm2: unloading
Removing HAL_LIB, RTAPI, and Real Time OS modules
Removing NML shared memory segments

Debug file information:
Note: Using POSIX realtime
./hallib/core_igor.hal:55: Pin 'hm2_7i92.0.7i71.1.1.output-00' does not exist
4508
Stopping realtime threads
Unloading hal components
Note: Using POSIX realtime

Thanks
Attachments:

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

More
29 Jun 2024 19:26 - 29 Jun 2024 20:34 #304053 by PCW
Replied by PCW on topic CHIRON FZ22L LinuxCNC retrofit
1. The symptoms (not finding any sserial remotes)  do point to 25 pin cable issues
(checking the encoder inputs on the 7I77 would  verify the connections there)

2. Can you post your hal/ini files
 
Last edit: 29 Jun 2024 20:34 by PCW.
The following user(s) said Thank You: Dominik

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

More
29 Jun 2024 22:55 #304066 by Dominik
Thank you for helping me out
Do I need firmware for my boards in folder /firmware/hm2 (For 7i77, 7i74, 7i70, 7i71) ?
I tried Pncconf with 7i92  and 7i76 and then deleted all the lines with errors for 7i76 and linuxcnc started 


 

File Attachment:

File Name: Igor.ini
File Size:6 KB

File Attachment:

File Name: core_igor.hal
File Size:22 KB
Attachments:

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

More
29 Jun 2024 23:14 - 29 Jun 2024 23:37 #304067 by PCW
Replied by PCW on topic CHIRON FZ22L LinuxCNC retrofit
DId you mean 7I92+7I77 as I suggested?

I would make a 7i92+one 7I77 configuration with pncconf
Get the basics working and then add the additional I/O

Do not change the basic 7I92+7I77 hal/ini file set until
everything on the 7I77 works.

As I mentioned, checking the encoders on the 7I77 would
be a good first step to verify your cables

BTW those cables are much easier to make with
IDC (press on) connectors.

Also, as far as I can see from the picture, the HDR26 --> DB25
cables are not correct.

They appear to be

HDR26    DB25
1             1
2             2
3             3
4             4
...

But should be:

HDR26    DB25
1             1
2             14
3             2
4             15
5             3
6             16
7             4
8            17
9             5
10           18
11           6
12           19
13           7
14           20
15           8
16           21
17           9
18           22
19           10
20           23
21           11
22           24
23           12
24           25
25           13
26           NC

That may seem odd but that's the pinout you get with
IDC (Crimp-on) flat cable connectors. Its odd because
HDR26's and DB25's number their pins differently.
Last edit: 29 Jun 2024 23:37 by PCW.

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

More
29 Jul 2024 12:37 #306327 by metalkesh
Sorry for the waking this topic up after one month. I am wondering about latest situation of the project. Is it fnished or not finished yet? If project finished, what about tool changer. is it working good ?

I am wonderig because i have same machine and i am thinking about controlling it with LinuxCNC too. 

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

Time to create page: 0.124 seconds
Powered by Kunena Forum