7i76e input output config
- Yannis
- Offline
- Elite Member
Less
More
- Posts: 295
- Thank you received: 4
04 Mar 2021 15:19 #201025
by Yannis
7i76e input output config was created by Yannis
Hello
i experience some difficulties config input and outputs on the 7i76e
with my config i can open linuxcnc enable the motors and i can jog the motor
I
i can not
open the spindle (output) or trigger the limit switch or e stop (input)
Suggestions?
i experience some difficulties config input and outputs on the 7i76e
with my config i can open linuxcnc enable the motors and i can jog the motor
I
i can not
open the spindle (output) or trigger the limit switch or e stop (input)
Suggestions?
Attachments:
Please Log in or Create an account to join the conversation.
- PCW
- Online
- Moderator
Less
More
- Posts: 17980
- Thank you received: 4831
04 Mar 2021 16:22 #201027
by PCW
Replied by PCW on topic 7i76e input output config
Normally the inputs would be wired like this:
Field-power --> LimitT1 --> LimitT2 --> 7I76E input
Also the 7i76e spindle enable is not connected on the hal file
Field-power --> LimitT1 --> LimitT2 --> 7I76E input
Also the 7i76e spindle enable is not connected on the hal file
The following user(s) said Thank You: Yannis
Please Log in or Create an account to join the conversation.
- Yannis
- Offline
- Elite Member
Less
More
- Posts: 295
- Thank you received: 4
05 Mar 2021 06:04 #201081
by Yannis
Replied by Yannis on topic 7i76e input output config
The best way to connect the limit switch is to provide the 7i76e constantly with 24 volts and 0 volt when the switch is triggered?
Please Log in or Create an account to join the conversation.
- PCW
- Online
- Moderator
Less
More
- Posts: 17980
- Thank you received: 4831
05 Mar 2021 15:05 #201100
by PCW
Replied by PCW on topic 7i76e input output config
Yes , Normally closed (NC) contacts are preferred for home/limit switches
since a broken wire will cause an immediate fault
since a broken wire will cause an immediate fault
The following user(s) said Thank You: Yannis
Please Log in or Create an account to join the conversation.
- Yannis
- Offline
- Elite Member
Less
More
- Posts: 295
- Thank you received: 4
06 Mar 2021 07:03 #201159
by Yannis
Replied by Yannis on topic 7i76e input output config
PCW wrote
Also the 7i76e spindle enable is not connected on the hal file
can you point me where can i find info for connecting signals and pins?
Also the 7i76e spindle enable is not connected on the hal file
can you point me where can i find info for connecting signals and pins?
Please Log in or Create an account to join the conversation.
- PCW
- Online
- Moderator
Less
More
- Posts: 17980
- Thank you received: 4831
06 Mar 2021 14:24 - 06 Mar 2021 15:50 #201187
by PCW
Replied by PCW on topic 7i76e input output config
Normally you would set the spindle up in pncconf.
For example, this is what pncconf generates for open loop analog spindle control
with spindle encoder:
For example, this is what pncconf generates for open loop analog spindle control
with spindle encoder:
#*******************
# SPINDLE
#*******************
setp pid.s.Pgain [SPINDLE_0]P
setp pid.s.Igain [SPINDLE_0]I
setp pid.s.Dgain [SPINDLE_0]D
setp pid.s.bias [SPINDLE_0]BIAS
setp pid.s.FF0 [SPINDLE_0]FF0
setp pid.s.FF1 [SPINDLE_0]FF1
setp pid.s.FF2 [SPINDLE_0]FF2
setp pid.s.deadband [SPINDLE_0]DEADBAND
setp pid.s.maxoutput [SPINDLE_0]MAX_OUTPUT
setp pid.s.error-previous-target true
net spindle-index-enable <=> pid.s.index-enable
net spindle-enable => pid.s.enable
net spindle-vel-cmd-rpm => pid.s.command
net spindle-vel-fb-rpm => pid.s.feedback
net spindle-output <= pid.s.output
# ---digital potentionmeter output signals/setup---
setp [HMOT](CARD0).7i76.0.0.spinout-minlim [SPINDLE_0]OUTPUT_MIN_LIMIT
setp [HMOT](CARD0).7i76.0.0.spinout-maxlim [SPINDLE_0]OUTPUT_MAX_LIMIT
setp [HMOT](CARD0).7i76.0.0.spinout-scalemax [SPINDLE_0]OUTPUT_SCALE
net spindle-output => [HMOT](CARD0).7i76.0.0.spinout
net spindle-enable => [HMOT](CARD0).7i76.0.0.spinena
net spindle-ccw => [HMOT](CARD0).7i76.0.0.spindir
# ---Encoder feedback signals/setup---
setp [HMOT](CARD0).encoder.00.counter-mode 0
setp [HMOT](CARD0).encoder.00.filter 1
setp [HMOT](CARD0).encoder.00.index-invert 0
setp [HMOT](CARD0).encoder.00.index-mask 0
setp [HMOT](CARD0).encoder.00.index-mask-invert 0
setp [HMOT](CARD0).encoder.00.scale [SPINDLE_0]ENCODER_SCALE
net spindle-revs <= [HMOT](CARD0).encoder.00.position
net spindle-vel-fb-rps <= [HMOT](CARD0).encoder.00.velocity
net spindle-vel-fb-rpm <= [HMOT](CARD0).encoder.00.velocity-rpm
net spindle-index-enable <=> [HMOT](CARD0).encoder.00.index-enable
# ---setup spindle control signals---
net spindle-vel-cmd-rps <= spindle.0.speed-out-rps
net spindle-vel-cmd-rps-abs <= spindle.0.speed-out-rps-abs
net spindle-vel-cmd-rpm <= spindle.0.speed-out
net spindle-vel-cmd-rpm-abs <= spindle.0.speed-out-abs
net spindle-enable <= spindle.0.on
net spindle-cw <= spindle.0.forward
net spindle-ccw <= spindle.0.reverse
net spindle-brake <= spindle.0.brake
net spindle-revs => spindle.0.revs
net spindle-at-speed => spindle.0.at-speed
net spindle-vel-fb-rps => spindle.0.speed-in
net spindle-index-enable <=> spindle.0.index-enable
# ---Setup spindle at speed signals---
sets spindle-at-speed true
Last edit: 06 Mar 2021 15:50 by PCW.
The following user(s) said Thank You: Yannis
Please Log in or Create an account to join the conversation.
- Yannis
- Offline
- Elite Member
Less
More
- Posts: 295
- Thank you received: 4
18 Mar 2021 12:40 #202732
by Yannis
Replied by Yannis on topic 7i76e input output config
Hello I have two boards of 7i76e
with the one and the same configuration I can trigger an output
with the other one I have this error
with the one and the same configuration I can trigger an output
with the other one I have this error
Please Log in or Create an account to join the conversation.
- Yannis
- Offline
- Elite Member
Less
More
- Posts: 295
- Thank you received: 4
18 Mar 2021 12:49 #202735
by Yannis
Replied by Yannis on topic 7i76e input output config
Debug
Please Log in or Create an account to join the conversation.
- PCW
- Online
- Moderator
Less
More
- Posts: 17980
- Thank you received: 4831
18 Mar 2021 15:05 #202745
by PCW
Replied by PCW on topic 7i76e input output config
If you get that error it likely means:
1. You have no field or VIN power (VFIELD >+ 5V VIN >8V)
2. W8 in right hand position
3. 7I76E with damaged I/O section
1. You have no field or VIN power (VFIELD >+ 5V VIN >8V)
2. W8 in right hand position
3. 7I76E with damaged I/O section
The following user(s) said Thank You: Yannis
Please Log in or Create an account to join the conversation.
- Yannis
- Offline
- Elite Member
Less
More
- Posts: 295
- Thank you received: 4
02 Apr 2021 11:15 #204479
by Yannis
Replied by Yannis on topic 7i76e input output config
Please Log in or Create an account to join the conversation.
Time to create page: 0.090 seconds