- Posts: 17
- Thank you received: 0
welche 24 Vsicherungen für die In und Outputs
- Mikron1207
- Topic Author
- Offline
- New Member
-
Less
More
5 years 5 months ago #210437
by Mikron1207
Drehenkoder anschliessen was created by Mikron1207
Hallo Leute:Kann man einen Drehencoder so auf der 7i76e anschliessen?
Attachment not found
Please Log in to join the conversation.
- tommylight
-
- Offline
- Administrator
-
Less
More
- Posts: 22010
- Thank you received: 3
5 years 5 months ago #210446
by tommylight
Replied by tommylight on topic Drehenkoder anschliessen
Ich denke ja ... aber wie das im hal geht weis ich nicht.
Please Log in to join the conversation.
- Mikron1207
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 17
- Thank you received: 0
5 years 5 months ago #210450
by Mikron1207
Replied by Mikron1207 on topic Drehenkoder anschliessen
ja mit der halk ist jetzt ein problem
Please Log in to join the conversation.
- tommylight
-
- Offline
- Administrator
-
Less
More
- Posts: 22010
- Thank you received: 3
5 years 5 months ago #210456
by tommylight
Replied by tommylight on topic Drehenkoder anschliessen
Es soll vie ein normaler encoder im hal sein, nur die nummer soll ander sein, encoder.00 stat encoder.0 oder encoder.1.
Hab kein 7i76 zur zeit, sorry.
Hab kein 7i76 zur zeit, sorry.
Please Log in to join the conversation.
5 years 5 months ago #210457
by RotarySMP
Replied by RotarySMP on topic Drehenkoder anschliessen
I have a normal jog encoder like that connected in my ENC.03 position on the Maho's 7i77. Works fine.Did you adjust the number of encoders in the loadrt HM2 line?
This is my HAL:
loadrt hm2_pci config=" num_encoders=6 num_pwmgens=0 num_stepgens=0 sserial_port_0=300xxx"
#**********************
#PENDANT JOGGING
#*********************
#---MPG
#Connect encoder 3 to jogging
net pen.enc.count <= hm2_5i25.0.encoder.03.count
net pen.enc.count => axis.0.jog-counts
net pen.enc.count => axis.1.jog-counts
net pen.enc.count => axis.2.jog-counts
#provision for future C axis
#net pen.enc.count => axis.4.jog-counts
#one pulse per four quadrature pulses
setp hm2_5i25.0.encoder.03.counter-mode true
#---MPG AXIS SELECT
net axis.X.sel hm2_5i25.0.7i77.0.0.input-01 => axis.0.jog-enable
net axis.Y.sel hm2_5i25.0.7i77.0.0.input-02 => axis.1.jog-enable
net axis.Z.sel hm2_5i25.0.7i77.0.0.input-11 => axis.2.jog-enable
#Provision for future C axis
#net axis.C.sel hm2_5i25.0.7i77.0.0.input-12 => axis.4.jog-enable
#---MPG INCREMENTS
#connect selectable mpg jog increments
# Increment C
net jog-incr-a <= hm2_5i25.0.7i77.0.0.input-03
# Increment X1
net jog-incr-b <= hm2_5i25.0.7i77.0.0.input-15
# Increment X10
net jog-incr-c <= hm2_5i25.0.7i77.0.0.input-10
# Increment X100
net jog-incr-d <= hm2_5i25.0.7i77.0.0.input-13
net jog-incr-a => jogincr.sel0
net jog-incr-b => jogincr.sel1
net jog-incr-c => jogincr.sel2
net jog-incr-d => jogincr.sel3
net selected-jog-incr <= jogincr.out-f
setp jogincr.debounce-time 0.200000
setp jogincr.use-graycode False
setp jogincr.suppress-no-input False
setp jogincr.in00 0000000
setp jogincr.in01 0.100
setp jogincr.in02 0.0100
setp jogincr.in03 0.001
net selected-jog-incr => axis.0.jog-scale
net selected-jog-incr => axis.1.jog-scale
net selected-jog-incr => axis.2.jog-scale
This is my HAL:
loadrt hm2_pci config=" num_encoders=6 num_pwmgens=0 num_stepgens=0 sserial_port_0=300xxx"
#**********************
#PENDANT JOGGING
#*********************
#---MPG
#Connect encoder 3 to jogging
net pen.enc.count <= hm2_5i25.0.encoder.03.count
net pen.enc.count => axis.0.jog-counts
net pen.enc.count => axis.1.jog-counts
net pen.enc.count => axis.2.jog-counts
#provision for future C axis
#net pen.enc.count => axis.4.jog-counts
#one pulse per four quadrature pulses
setp hm2_5i25.0.encoder.03.counter-mode true
#---MPG AXIS SELECT
net axis.X.sel hm2_5i25.0.7i77.0.0.input-01 => axis.0.jog-enable
net axis.Y.sel hm2_5i25.0.7i77.0.0.input-02 => axis.1.jog-enable
net axis.Z.sel hm2_5i25.0.7i77.0.0.input-11 => axis.2.jog-enable
#Provision for future C axis
#net axis.C.sel hm2_5i25.0.7i77.0.0.input-12 => axis.4.jog-enable
#---MPG INCREMENTS
#connect selectable mpg jog increments
# Increment C
net jog-incr-a <= hm2_5i25.0.7i77.0.0.input-03
# Increment X1
net jog-incr-b <= hm2_5i25.0.7i77.0.0.input-15
# Increment X10
net jog-incr-c <= hm2_5i25.0.7i77.0.0.input-10
# Increment X100
net jog-incr-d <= hm2_5i25.0.7i77.0.0.input-13
net jog-incr-a => jogincr.sel0
net jog-incr-b => jogincr.sel1
net jog-incr-c => jogincr.sel2
net jog-incr-d => jogincr.sel3
net selected-jog-incr <= jogincr.out-f
setp jogincr.debounce-time 0.200000
setp jogincr.use-graycode False
setp jogincr.suppress-no-input False
setp jogincr.in00 0000000
setp jogincr.in01 0.100
setp jogincr.in02 0.0100
setp jogincr.in03 0.001
net selected-jog-incr => axis.0.jog-scale
net selected-jog-incr => axis.1.jog-scale
net selected-jog-incr => axis.2.jog-scale
Please Log in to join the conversation.
5 years 5 months ago #210459
by Aciera
Replied by Aciera on topic Drehenkoder anschliessen
zeig doch mal deine HAL
Please Log in to join the conversation.
- Mikron1207
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 17
- Thank you received: 0
5 years 5 months ago #210546
by Mikron1207
Replied by Mikron1207 on topic Drehenkoder anschliessen
Ich weiss nicht ob man es sehen kann,aber ich habs gelöst
Please Log in to join the conversation.
- Mikron1207
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 17
- Thank you received: 0
5 years 5 months ago #210600
by Mikron1207
Replied by Mikron1207 on topic Drehenkoder anschliessen
neue Frage:
Attachment not found
Please Log in to join the conversation.
- Mikron1207
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 17
- Thank you received: 0
5 years 5 months ago #210601
by Mikron1207
Replied by Mikron1207 on topic Drehenkoder anschliessen
Darf ich mit einem Voltmeter darauf rumstechen um V oder GND zu finden?
Please Log in to join the conversation.
5 years 5 months ago #210606
by chris@cnc
Replied by chris@cnc on topic Drehenkoder anschliessen
Mit diesen 25 pol Steckern habe sehr schlechte Erfahrung gemacht und meine 7i76e beschädigt.
Ich kann nur empfehlen das mit einem Flachbandkabel zu lösen und die 7i85 damit anzuschließen.
Schau mal hier gibt alles für unter 10€ wenn die keine Zange brauchst für zukünftige Basteleien...
Ich kann nur empfehlen das mit einem Flachbandkabel zu lösen und die 7i85 damit anzuschließen.
Schau mal hier gibt alles für unter 10€ wenn die keine Zange brauchst für zukünftige Basteleien...
Attachment not found
Please Log in to join the conversation.
Time to create page: 4.368 seconds
