Error problem hm2 7i96s 7i77 analogout scalemax not found ?
- programador
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 56
- Thank you received: 2
14 Jan 2025 14:54 #318947
by programador
Error problem hm2 7i96s 7i77 analogout scalemax not found ? was created by programador
Hello everyone, I'm back, happy 2025 to all. Please, I need help to return to the retrofit process of a punching machine.
I have the hardware configuration 7i96s + 7i77 + 7i84d and THCAD2
I need to make the 7i77 board work to drive the Z axis with feedback from the THCAD2. To get a basic code example, I used linuxCNC's PNCConf to generate a basic code example.
The basic code generated was:
# ---PWM Generator signals/setup---
setp hm2_7i96s.0.7i77.0.0.analogout0-scalemax [JOINT_1]OUTPUT_SCALE
setp hm2_7i96s.0.7i77.0.0.analogout0-minlim [JOINT_1]OUTPUT_MIN_LIMIT
setp hm2_7i96s.0.7i77.0.0.analogout0-maxlim [JOINT_1]OUTPUT_MAX_LIMIT
net z-output => hm2_7i96s.0.7i77.0.0.analogout0
net z-pos-cmd <= joint.1.motor-pos-cmd
net z-enable <= joint.1.amp-enable-out
# ---Encoder feedback signals/setup---
setp hm2_7i96s.0.encoder.00.counter-mode 0
setp hm2_7i96s.0.encoder.00.filter 1
setp hm2_7i96s.0.encoder.00.index-invert 0
setp hm2_7i96s.0.encoder.00.index-mask 0
setp hm2_7i96s.0.encoder.00.index-mask-invert 0
setp hm2_7i96s.0.encoder.00.scale [JOINT_1]ENCODER_SCALE
net z-pos-fb <= hm2_7i96s.0.encoder.00.position
net z-vel-fb <= hm2_7i96s.0.encoder.00.velocity
net z-pos-fb => joint.1.motor-pos-fb
net z-index-enable joint.1.index-enable <=> hm2_7i96s.0.encoder.00.index-enable
net z-pos-rawcounts <= hm2_7i96s.0.encoder.00.rawcounts
# ---setup home / limit switch signals---
net z-home-sw => joint.1.home-sw-in
net z-neg-limit => joint.1.neg-lim-sw-in
net z-pos-limit => joint.1.pos-lim-sw-in
But when trying to apply this example the error appears:
hm2_7i96s.0.7i77.0.0.analogout0-scalemax not found
The board The 7i77 electronics have all the necessary voltages, all the yellow LEDs are on and the green one too.
I have already managed to control the output and input through the classicladder, but unfortunately I am not having success in controlling the Z axis.
The HAL configuration is
loadrt hm2_eth board_ip="10.10.10.10" config="num_encoders=8 num_pwmgens=1 num_stepgens=5 sserial_port_0=3000"
Note: the number 3 in sserial_port_0 was necessary to recognize the 7i84d
How do I solve the error problem: hm2_7i96s.0.7i77.0.0.analogout0-scalemax not found?
I appreciate any suggestions or basic examples for configuring the 7i77
I have the hardware configuration 7i96s + 7i77 + 7i84d and THCAD2
I need to make the 7i77 board work to drive the Z axis with feedback from the THCAD2. To get a basic code example, I used linuxCNC's PNCConf to generate a basic code example.
The basic code generated was:
# ---PWM Generator signals/setup---
setp hm2_7i96s.0.7i77.0.0.analogout0-scalemax [JOINT_1]OUTPUT_SCALE
setp hm2_7i96s.0.7i77.0.0.analogout0-minlim [JOINT_1]OUTPUT_MIN_LIMIT
setp hm2_7i96s.0.7i77.0.0.analogout0-maxlim [JOINT_1]OUTPUT_MAX_LIMIT
net z-output => hm2_7i96s.0.7i77.0.0.analogout0
net z-pos-cmd <= joint.1.motor-pos-cmd
net z-enable <= joint.1.amp-enable-out
# ---Encoder feedback signals/setup---
setp hm2_7i96s.0.encoder.00.counter-mode 0
setp hm2_7i96s.0.encoder.00.filter 1
setp hm2_7i96s.0.encoder.00.index-invert 0
setp hm2_7i96s.0.encoder.00.index-mask 0
setp hm2_7i96s.0.encoder.00.index-mask-invert 0
setp hm2_7i96s.0.encoder.00.scale [JOINT_1]ENCODER_SCALE
net z-pos-fb <= hm2_7i96s.0.encoder.00.position
net z-vel-fb <= hm2_7i96s.0.encoder.00.velocity
net z-pos-fb => joint.1.motor-pos-fb
net z-index-enable joint.1.index-enable <=> hm2_7i96s.0.encoder.00.index-enable
net z-pos-rawcounts <= hm2_7i96s.0.encoder.00.rawcounts
# ---setup home / limit switch signals---
net z-home-sw => joint.1.home-sw-in
net z-neg-limit => joint.1.neg-lim-sw-in
net z-pos-limit => joint.1.pos-lim-sw-in
But when trying to apply this example the error appears:
hm2_7i96s.0.7i77.0.0.analogout0-scalemax not found
The board The 7i77 electronics have all the necessary voltages, all the yellow LEDs are on and the green one too.
I have already managed to control the output and input through the classicladder, but unfortunately I am not having success in controlling the Z axis.
The HAL configuration is
loadrt hm2_eth board_ip="10.10.10.10" config="num_encoders=8 num_pwmgens=1 num_stepgens=5 sserial_port_0=3000"
Note: the number 3 in sserial_port_0 was necessary to recognize the 7i84d
How do I solve the error problem: hm2_7i96s.0.7i77.0.0.analogout0-scalemax not found?
I appreciate any suggestions or basic examples for configuring the 7i77
Please Log in or Create an account to join the conversation.
- PCW
- Online
- Moderator
Less
More
- Posts: 17994
- Thank you received: 4838
14 Jan 2025 15:19 #318951
by PCW
Replied by PCW on topic Error problem hm2 7i96s 7i77 analogout scalemax not found ?
Has the 7I96S been programmed with 7i96s_7i77d.bin firmware?
Please Log in or Create an account to join the conversation.
- programador
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 56
- Thank you received: 2
14 Jan 2025 16:44 #318960
by programador
Replied by programador on topic Error problem hm2 7i96s 7i77 analogout scalemax not found ?
Yes, the 7i96s board has been updated, attached readhmid and bin files.
Attachments:
Please Log in or Create an account to join the conversation.
- PCW
- Online
- Moderator
Less
More
- Posts: 17994
- Thank you received: 4838
14 Jan 2025 16:58 #318962
by PCW
Replied by PCW on topic Error problem hm2 7i96s 7i77 analogout scalemax not found ?
Look, like you have the channel number wrong for the analog 7I77 section
(its channel 1 not 0)
(its channel 1 not 0)
The following user(s) said Thank You: programador
Please Log in or Create an account to join the conversation.
- programador
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 56
- Thank you received: 2
14 Jan 2025 17:00 #318963
by programador
Replied by programador on topic Error problem hm2 7i96s 7i77 analogout scalemax not found ?
This error appeared when I took the data generated by PNCConf to try to include part of it in the programming code of the machine that I am already developing. But while I was waiting for your answer, I had the idea of creating a new file through the basic PNCConf and gradually including the code of the machine under development. In this code, it is accepting the "analogout scalemax". I will leave it attached in case anyone needs a basic initial code for 7i96s with 7i77. I will try this method. Thank you for your attention, Mr. PCW.
Attachments:
Please Log in or Create an account to join the conversation.
- PCW
- Online
- Moderator
Less
More
- Posts: 17994
- Thank you received: 4838
14 Jan 2025 17:02 #318965
by PCW
Replied by PCW on topic Error problem hm2 7i96s 7i77 analogout scalemax not found ?
Note, you can get a better idea of sserial channel --> 7I77 assignments with:
mesaflash --device 7i96s --addr 10.10.10.10 --dbname3 7i77 --readhmid
mesaflash --device 7i96s --addr 10.10.10.10 --dbname3 7i77 --readhmid
The following user(s) said Thank You: programador
Please Log in or Create an account to join the conversation.
- programador
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 56
- Thank you received: 2
14 Jan 2025 18:13 #318971
by programador
Replied by programador on topic Error problem hm2 7i96s 7i77 analogout scalemax not found ?
Thanks for the suggestion of the command below:
mesaflash --device 7i96s --addr 10.10.10.10 --dbname3 7i77 --readhmid
It's a great option to debug any problems. But unfortunately in my case it wasn't allowed, the error below appeared:
lbp16_access.send_packet: Operation not permitted
Aborted
Do I have to assign a name or register it in the system so that readhmid works through the name? If so, do you have an example?
mesaflash --device 7i96s --addr 10.10.10.10 --dbname3 7i77 --readhmid
It's a great option to debug any problems. But unfortunately in my case it wasn't allowed, the error below appeared:
lbp16_access.send_packet: Operation not permitted
Aborted
Do I have to assign a name or register it in the system so that readhmid works through the name? If so, do you have an example?
Please Log in or Create an account to join the conversation.
- PCW
- Online
- Moderator
Less
More
- Posts: 17994
- Thank you received: 4838
14 Jan 2025 18:30 #318972
by PCW
Replied by PCW on topic Error problem hm2 7i96s 7i77 analogout scalemax not found ?
You cannot run that command when LinuxCNC is running
or when it exited on a major error, because linuxCNC
blocks access to the Ethernet port it is using when it is running.
LinuxCNC restores access when it exits normally
or when it exited on a major error, because linuxCNC
blocks access to the Ethernet port it is using when it is running.
LinuxCNC restores access when it exits normally
The following user(s) said Thank You: besriworld, programador
Please Log in or Create an account to join the conversation.
Time to create page: 0.091 seconds