Re: Mesa 5i25+7i77-с чего начать?
Добавлено: 13 май 2012, 14:03
Запостил вопрос в той теме на LuminCNC, посмотрим, что мастера ответят.
Статьи, обзоры, цены на станки и комплектующие.
https://www.cnc-club.ru/forum/
Код: Выделить всё
# --- MIN-X ---
net min-x <= hm2_5i25.0.7i77.0.0.input-00
# --- MIN-Y ---
net min-y <= hm2_5i25.0.7i77.0.0.input-01
# --- MIN-Z ---
net min-z <= hm2_5i25.0.7i77.0.0.input-02
# --- MAX-X ---
net max-x <= hm2_5i25.0.7i77.0.0.input-04
# --- MAX-Y ---
net max-y <= hm2_5i25.0.7i77.0.0.input-05
# --- MAX-Z ---
net max-z <= hm2_5i25.0.7i77.0.0.input-06
# --- HOME-X ---
net home-x <= hm2_5i25.0.7i77.0.0.input-08
# --- HOME-Y ---
net home-y <= hm2_5i25.0.7i77.0.0.input-09
# --- HOME-Z ---
net home-z <= hm2_5i25.0.7i77.0.0.input-10
# --- ESTOP-EXT ---
net estop-ext <= hm2_5i25.0.7i77.0.0.input-12
# --- PROBE-IN ---
net probe-in <= hm2_5i25.0.7i77.0.0.input-13
VIN AND FIELD POWER SUPPLY
The 7I77 field I/O runs from field power supplies of 10 to 28 VDC. Field power
supplies the power to the 7I77 outputs and with the default settings, determines the 7I77
input thresholds. VIN power runs the field I/O processor and normally is connected to field
power via jumper W1. VIN Power consumption is approximately 600 mW or 25 mA at
24V. VIN power must be present for the 7I77 field I/O to be detected and operate.
На предыдущих конфигах выдавало error, типа того, что такого пина нет. А его собственно и нет, т.к. он в halcmd show pin не появляется, там есть только analogout и иже с ним (всякие enable и т.д.)aystarik писал(а):net home-y <= hm2_5i25.0.7i77.0.0.input-09
Что вообще это значит? Я сколько не читал доки по hostmot2, так нифига и не понял ( http://www.linuxcnc.org/docview/html/ma ... ot2.9.html )aystarik писал(а):sserial_port_0=000000xx
http://www.linuxcnc.org/index.php/engli ... 7&id=18543 -- вот здесь немного более внятно. Типа на 5и25 6 последовательных портов, по 3 на разъем. первый и второй используются для io и аналоговых выходов, передаются только цифровые данные (0), третий прокидывается на порт расширения самой 7и77.Nick писал(а):На предыдущих конфигах выдавало error, типа того, что такого пина нет. А его собственно и нет, т.к. он в halcmd show pin не появляется, там есть только analogout и иже с ним (всякие enable и т.д.)aystarik писал(а):net home-y <= hm2_5i25.0.7i77.0.0.input-09Что вообще это значит? Я сколько не читал доки по hostmot2, так нифига и не понял ( http://www.linuxcnc.org/docview/html/ma ... ot2.9.html )aystarik писал(а):sserial_port_0=000000xx
Похоже без подачи 24В на 7и77 они и не должны появиться. То, что показывает halcmd это прямые выводы 5и25, а не 7и77.Nick писал(а):На предыдущих конфигах выдавало error, типа того, что такого пина нет
вот w1-up W5-left(она всегда была left)aystarik писал(а):питание 7и77: подать 5в для логики из компа -- на 5и25 W1 UP, на 7и77 W5 left (ближе к ЛПТ)
Код: Выделить всё
dan@ubuntu:~$ halcmd show pin
Component Pins:
Owner Type Dir Value Name
7 bit OUT TRUE axis.0.active
7 bit OUT FALSE axis.0.amp-enable-out ==> emcmot.00.enable
7 bit IN FALSE axis.0.amp-fault-in
7 float OUT 0 axis.0.backlash-corr
7 float OUT 0 axis.0.backlash-filt
7 float OUT 0 axis.0.backlash-vel
7 float OUT 0 axis.0.coarse-pos-cmd
7 bit OUT FALSE axis.0.error
7 float OUT 0 axis.0.f-error
7 float OUT 0.002 axis.0.f-error-lim
7 bit OUT FALSE axis.0.f-errored
7 bit OUT FALSE axis.0.faulted
7 float OUT 0 axis.0.free-pos-cmd
7 bit OUT FALSE axis.0.free-tp-enable
7 float OUT 0 axis.0.free-vel-lim
7 bit IN FALSE axis.0.home-sw-in
7 bit OUT FALSE axis.0.homed
7 bit OUT FALSE axis.0.homing
7 bit OUT TRUE axis.0.in-position
7 bit I/O FALSE axis.0.index-enable
7 s32 IN 0 axis.0.jog-counts
7 bit IN FALSE axis.0.jog-enable
7 float IN 0 axis.0.jog-scale
7 bit IN FALSE axis.0.jog-vel-mode
7 float OUT 0 axis.0.joint-pos-cmd
7 float OUT 0 axis.0.joint-pos-fb
7 float OUT 0 axis.0.joint-vel-cmd
7 bit OUT FALSE axis.0.kb-jog-active
7 float OUT 0 axis.0.motor-offset
7 float OUT 0 axis.0.motor-pos-cmd ==> emcmot.00.pos-cmd
7 float IN 0 axis.0.motor-pos-fb <== motor.00.pos-fb
7 bit OUT FALSE axis.0.neg-hard-limit
7 bit IN FALSE axis.0.neg-lim-sw-in
7 bit OUT FALSE axis.0.pos-hard-limit
7 bit IN FALSE axis.0.pos-lim-sw-in
7 bit OUT FALSE axis.0.wheel-jog-active
7 bit OUT TRUE axis.1.active
7 bit OUT FALSE axis.1.amp-enable-out ==> emcmot.01.enable
7 bit IN FALSE axis.1.amp-fault-in
7 float OUT 0 axis.1.backlash-corr
7 float OUT 0 axis.1.backlash-filt
7 float OUT 0 axis.1.backlash-vel
7 float OUT 0 axis.1.coarse-pos-cmd
7 bit OUT FALSE axis.1.error
7 float OUT 0 axis.1.f-error
7 float OUT 0.002 axis.1.f-error-lim
7 bit OUT FALSE axis.1.f-errored
7 bit OUT FALSE axis.1.faulted
7 float OUT 0 axis.1.free-pos-cmd
7 bit OUT FALSE axis.1.free-tp-enable
7 float OUT 0 axis.1.free-vel-lim
7 bit IN FALSE axis.1.home-sw-in
7 bit OUT FALSE axis.1.homed
7 bit OUT FALSE axis.1.homing
7 bit OUT TRUE axis.1.in-position
7 bit I/O FALSE axis.1.index-enable <=> y-index-enable
7 s32 IN 0 axis.1.jog-counts
7 bit IN FALSE axis.1.jog-enable
7 float IN 0 axis.1.jog-scale
7 bit IN FALSE axis.1.jog-vel-mode
7 float OUT -0 axis.1.joint-pos-cmd
7 float OUT -0 axis.1.joint-pos-fb
7 float OUT 0 axis.1.joint-vel-cmd
7 bit OUT FALSE axis.1.kb-jog-active
7 float OUT 0 axis.1.motor-offset
7 float OUT 0 axis.1.motor-pos-cmd ==> emcmot.01.pos-cmd
7 float IN -0 axis.1.motor-pos-fb <== motor.01.pos-fb
7 bit OUT FALSE axis.1.neg-hard-limit
7 bit IN FALSE axis.1.neg-lim-sw-in
7 bit OUT FALSE axis.1.pos-hard-limit
7 bit IN FALSE axis.1.pos-lim-sw-in
7 bit OUT FALSE axis.1.wheel-jog-active
7 bit OUT TRUE axis.2.active
7 bit OUT FALSE axis.2.amp-enable-out ==> emcmot.02.enable
7 bit IN FALSE axis.2.amp-fault-in
7 float OUT 0 axis.2.backlash-corr
7 float OUT 0 axis.2.backlash-filt
7 float OUT 0 axis.2.backlash-vel
7 float OUT 0 axis.2.coarse-pos-cmd
7 bit OUT FALSE axis.2.error
7 float OUT 0 axis.2.f-error
7 float OUT 0.002 axis.2.f-error-lim
7 bit OUT FALSE axis.2.f-errored
7 bit OUT FALSE axis.2.faulted
7 float OUT 0 axis.2.free-pos-cmd
7 bit OUT FALSE axis.2.free-tp-enable
7 float OUT 0 axis.2.free-vel-lim
7 bit IN FALSE axis.2.home-sw-in
7 bit OUT FALSE axis.2.homed
7 bit OUT FALSE axis.2.homing
7 bit OUT TRUE axis.2.in-position
7 bit I/O FALSE axis.2.index-enable
7 s32 IN 0 axis.2.jog-counts
7 bit IN FALSE axis.2.jog-enable
7 float IN 0 axis.2.jog-scale
7 bit IN FALSE axis.2.jog-vel-mode
7 float OUT 0 axis.2.joint-pos-cmd
7 float OUT 0 axis.2.joint-pos-fb
7 float OUT 0 axis.2.joint-vel-cmd
7 bit OUT FALSE axis.2.kb-jog-active
7 float OUT 0 axis.2.motor-offset
7 float OUT 0 axis.2.motor-pos-cmd ==> emcmot.02.pos-cmd
7 float IN 0 axis.2.motor-pos-fb <== motor.02.pos-fb
7 bit OUT FALSE axis.2.neg-hard-limit
7 bit IN FALSE axis.2.neg-lim-sw-in
7 bit OUT FALSE axis.2.pos-hard-limit
7 bit IN FALSE axis.2.pos-lim-sw-in
7 bit OUT FALSE axis.2.wheel-jog-active
11 bit OUT FALSE axisui.jog.a
11 bit OUT FALSE axisui.jog.b
11 bit OUT FALSE axisui.jog.c
11 float OUT 0 axisui.jog.increment
11 bit OUT FALSE axisui.jog.u
11 bit OUT FALSE axisui.jog.v
11 bit OUT FALSE axisui.jog.w
11 bit OUT TRUE axisui.jog.x
11 bit OUT FALSE axisui.jog.y
11 bit OUT FALSE axisui.jog.z
11 bit IN FALSE axisui.notifications-clear
11 bit IN FALSE axisui.notifications-clear-error
11 bit IN FALSE axisui.notifications-clear-info
11 bit IN FALSE axisui.set-manual-mode
10 bit IN FALSE hm2_5i25.0.7i77.0.1.analogena <== emcmot.00.enable
10 float IN 0 hm2_5i25.0.7i77.0.1.analogout0 <== motor.00.command
10 float IN 0 hm2_5i25.0.7i77.0.1.analogout1 <== motor.01.command
10 float IN 0 hm2_5i25.0.7i77.0.1.analogout2 <== motor.02.command
10 float IN 0 hm2_5i25.0.7i77.0.1.analogout3
10 float IN 0 hm2_5i25.0.7i77.0.1.analogout4
10 float IN 0 hm2_5i25.0.7i77.0.1.analogout5
10 bit IN FALSE hm2_5i25.0.7i77.0.1.spinena
10 s32 OUT 0 hm2_5i25.0.encoder.00.count
10 s32 OUT 0 hm2_5i25.0.encoder.00.count-latched
10 bit I/O FALSE hm2_5i25.0.encoder.00.index-enable
10 bit IN FALSE hm2_5i25.0.encoder.00.latch-enable
10 bit IN FALSE hm2_5i25.0.encoder.00.latch-polarity
10 float OUT 0 hm2_5i25.0.encoder.00.position ==> motor.00.pos-fb
10 float OUT 0 hm2_5i25.0.encoder.00.position-latched
10 s32 OUT 1 hm2_5i25.0.encoder.00.rawcounts
10 s32 OUT 1 hm2_5i25.0.encoder.00.rawlatch
10 bit IN FALSE hm2_5i25.0.encoder.00.reset
10 float OUT 0 hm2_5i25.0.encoder.00.velocity
10 s32 OUT 0 hm2_5i25.0.encoder.01.count
10 s32 OUT 0 hm2_5i25.0.encoder.01.count-latched
10 bit I/O FALSE hm2_5i25.0.encoder.01.index-enable <=> y-index-enable
10 bit IN FALSE hm2_5i25.0.encoder.01.latch-enable
10 bit IN FALSE hm2_5i25.0.encoder.01.latch-polarity
10 float OUT -0 hm2_5i25.0.encoder.01.position ==> motor.01.pos-fb
10 float OUT -0 hm2_5i25.0.encoder.01.position-latched
10 s32 OUT 0 hm2_5i25.0.encoder.01.rawcounts
10 s32 OUT 0 hm2_5i25.0.encoder.01.rawlatch
10 bit IN FALSE hm2_5i25.0.encoder.01.reset
10 float OUT 0 hm2_5i25.0.encoder.01.velocity
10 s32 OUT 0 hm2_5i25.0.encoder.02.count
10 s32 OUT 0 hm2_5i25.0.encoder.02.count-latched
10 bit I/O FALSE hm2_5i25.0.encoder.02.index-enable
10 bit IN FALSE hm2_5i25.0.encoder.02.latch-enable
10 bit IN FALSE hm2_5i25.0.encoder.02.latch-polarity
10 float OUT 0 hm2_5i25.0.encoder.02.position ==> motor.02.pos-fb
10 float OUT 0 hm2_5i25.0.encoder.02.position-latched
10 s32 OUT 0 hm2_5i25.0.encoder.02.rawcounts
10 s32 OUT 0 hm2_5i25.0.encoder.02.rawlatch
10 bit IN FALSE hm2_5i25.0.encoder.02.reset
10 float OUT 0 hm2_5i25.0.encoder.02.velocity
10 bit OUT TRUE hm2_5i25.0.gpio.000.in
10 bit OUT FALSE hm2_5i25.0.gpio.000.in_not
10 bit IN FALSE hm2_5i25.0.gpio.000.out
10 bit OUT TRUE hm2_5i25.0.gpio.001.in
10 bit OUT FALSE hm2_5i25.0.gpio.001.in_not
10 bit IN FALSE hm2_5i25.0.gpio.001.out
10 bit OUT TRUE hm2_5i25.0.gpio.002.in
10 bit OUT FALSE hm2_5i25.0.gpio.002.in_not
10 bit IN FALSE hm2_5i25.0.gpio.002.out
10 bit OUT TRUE hm2_5i25.0.gpio.003.in
10 bit OUT FALSE hm2_5i25.0.gpio.003.in_not
10 bit OUT TRUE hm2_5i25.0.gpio.004.in
10 bit OUT FALSE hm2_5i25.0.gpio.004.in_not
10 bit OUT TRUE hm2_5i25.0.gpio.005.in
10 bit OUT FALSE hm2_5i25.0.gpio.005.in_not
10 bit IN FALSE hm2_5i25.0.gpio.005.out
10 bit OUT FALSE hm2_5i25.0.gpio.006.in
10 bit OUT TRUE hm2_5i25.0.gpio.006.in_not
10 bit IN FALSE hm2_5i25.0.gpio.006.out
10 bit OUT FALSE hm2_5i25.0.gpio.007.in
10 bit OUT TRUE hm2_5i25.0.gpio.007.in_not
10 bit OUT TRUE hm2_5i25.0.gpio.008.in
10 bit OUT FALSE hm2_5i25.0.gpio.008.in_not
10 bit OUT FALSE hm2_5i25.0.gpio.009.in
10 bit OUT TRUE hm2_5i25.0.gpio.009.in_not
10 bit OUT FALSE hm2_5i25.0.gpio.010.in
10 bit OUT TRUE hm2_5i25.0.gpio.010.in_not
10 bit OUT TRUE hm2_5i25.0.gpio.011.in
10 bit OUT FALSE hm2_5i25.0.gpio.011.in_not
10 bit OUT TRUE hm2_5i25.0.gpio.012.in
10 bit OUT FALSE hm2_5i25.0.gpio.012.in_not
10 bit OUT TRUE hm2_5i25.0.gpio.013.in
10 bit OUT FALSE hm2_5i25.0.gpio.013.in_not
10 bit OUT FALSE hm2_5i25.0.gpio.014.in
10 bit OUT TRUE hm2_5i25.0.gpio.014.in_not
10 bit IN FALSE hm2_5i25.0.gpio.014.out
10 bit OUT TRUE hm2_5i25.0.gpio.015.in
10 bit OUT FALSE hm2_5i25.0.gpio.015.in_not
10 bit IN FALSE hm2_5i25.0.gpio.015.out
10 bit OUT FALSE hm2_5i25.0.gpio.016.in
10 bit OUT TRUE hm2_5i25.0.gpio.016.in_not
10 bit IN FALSE hm2_5i25.0.gpio.016.out
10 bit OUT TRUE hm2_5i25.0.gpio.017.in
10 bit OUT FALSE hm2_5i25.0.gpio.017.in_not
10 bit IN FALSE hm2_5i25.0.gpio.017.out
10 bit OUT TRUE hm2_5i25.0.gpio.018.in
10 bit OUT FALSE hm2_5i25.0.gpio.018.in_not
10 bit IN FALSE hm2_5i25.0.gpio.018.out
10 bit OUT TRUE hm2_5i25.0.gpio.019.in
10 bit OUT FALSE hm2_5i25.0.gpio.019.in_not
10 bit IN FALSE hm2_5i25.0.gpio.019.out
10 bit OUT TRUE hm2_5i25.0.gpio.020.in
10 bit OUT FALSE hm2_5i25.0.gpio.020.in_not
10 bit IN FALSE hm2_5i25.0.gpio.020.out
10 bit OUT TRUE hm2_5i25.0.gpio.021.in
10 bit OUT FALSE hm2_5i25.0.gpio.021.in_not
10 bit IN FALSE hm2_5i25.0.gpio.021.out
10 bit OUT TRUE hm2_5i25.0.gpio.022.in
10 bit OUT FALSE hm2_5i25.0.gpio.022.in_not
10 bit IN FALSE hm2_5i25.0.gpio.022.out
10 bit OUT TRUE hm2_5i25.0.gpio.023.in
10 bit OUT FALSE hm2_5i25.0.gpio.023.in_not
10 bit IN FALSE hm2_5i25.0.gpio.023.out
10 bit OUT TRUE hm2_5i25.0.gpio.024.in
10 bit OUT FALSE hm2_5i25.0.gpio.024.in_not
10 bit IN FALSE hm2_5i25.0.gpio.024.out
10 bit OUT TRUE hm2_5i25.0.gpio.025.in
10 bit OUT FALSE hm2_5i25.0.gpio.025.in_not
10 bit IN FALSE hm2_5i25.0.gpio.025.out
10 bit OUT TRUE hm2_5i25.0.gpio.026.in
10 bit OUT FALSE hm2_5i25.0.gpio.026.in_not
10 bit IN FALSE hm2_5i25.0.gpio.026.out
10 bit OUT TRUE hm2_5i25.0.gpio.027.in
10 bit OUT FALSE hm2_5i25.0.gpio.027.in_not
10 bit IN FALSE hm2_5i25.0.gpio.027.out
10 bit OUT TRUE hm2_5i25.0.gpio.028.in
10 bit OUT FALSE hm2_5i25.0.gpio.028.in_not
10 bit IN FALSE hm2_5i25.0.gpio.028.out
10 bit OUT TRUE hm2_5i25.0.gpio.029.in
10 bit OUT FALSE hm2_5i25.0.gpio.029.in_not
10 bit IN FALSE hm2_5i25.0.gpio.029.out
10 bit OUT TRUE hm2_5i25.0.gpio.030.in
10 bit OUT FALSE hm2_5i25.0.gpio.030.in_not
10 bit IN FALSE hm2_5i25.0.gpio.030.out
10 bit OUT TRUE hm2_5i25.0.gpio.031.in
10 bit OUT FALSE hm2_5i25.0.gpio.031.in_not
10 bit IN FALSE hm2_5i25.0.gpio.031.out
10 bit OUT TRUE hm2_5i25.0.gpio.032.in
10 bit OUT FALSE hm2_5i25.0.gpio.032.in_not
10 bit IN FALSE hm2_5i25.0.gpio.032.out
10 bit OUT TRUE hm2_5i25.0.gpio.033.in
10 bit OUT FALSE hm2_5i25.0.gpio.033.in_not
10 bit IN FALSE hm2_5i25.0.gpio.033.out
10 bit IN FALSE hm2_5i25.0.led.CR01
10 bit IN FALSE hm2_5i25.0.led.CR02
10 u32 IN 0x00000000 hm2_5i25.0.sserial.channel
10 u32 IN 0x00000000 hm2_5i25.0.sserial.parameter
10 u32 IN 0x00000000 hm2_5i25.0.sserial.port
10 u32 OUT 0x00000000 hm2_5i25.0.sserial.port-0.fault-count
10 u32 OUT 0x00000001 hm2_5i25.0.sserial.port-0.port_state
10 bit IN TRUE hm2_5i25.0.sserial.port-0.run
10 bit IN FALSE hm2_5i25.0.sserial.read
10 u32 OUT 0x00000000 hm2_5i25.0.sserial.state
10 u32 IN 0x00000000 hm2_5i25.0.sserial.value
10 bit IN FALSE hm2_5i25.0.sserial.write
10 bit I/O FALSE hm2_5i25.0.watchdog.has_bit
5 bit OUT FALSE iocontrol.0.coolant-flood
5 bit OUT FALSE iocontrol.0.coolant-mist
5 bit IN FALSE iocontrol.0.emc-enable-in <== estop-loop
5 bit OUT FALSE iocontrol.0.lube
5 bit IN FALSE iocontrol.0.lube_level
5 bit OUT FALSE iocontrol.0.tool-change ==> tool-change-loop
5 bit IN FALSE iocontrol.0.tool-changed <== tool-change-loop
5 s32 OUT 0 iocontrol.0.tool-number
5 s32 OUT 0 iocontrol.0.tool-prep-number
5 s32 OUT 0 iocontrol.0.tool-prep-pocket
5 bit OUT FALSE iocontrol.0.tool-prepare ==> tool-prep-loop
5 bit IN FALSE iocontrol.0.tool-prepared <== tool-prep-loop
5 bit OUT FALSE iocontrol.0.user-enable-out ==> estop-loop
5 bit OUT FALSE iocontrol.0.user-request-enable
7 float IN 1 motion.adaptive-feed
7 float IN 0 motion.analog-in-00
7 float IN 0 motion.analog-in-01
7 float IN 0 motion.analog-in-02
7 float IN 0 motion.analog-in-03
7 float OUT 0 motion.analog-out-00
7 float OUT 0 motion.analog-out-01
7 float OUT 0 motion.analog-out-02
7 float OUT 0 motion.analog-out-03
7 bit OUT FALSE motion.coord-error
7 bit OUT TRUE motion.coord-mode
7 float OUT 0 motion.current-vel
7 bit IN FALSE motion.digital-in-00
7 bit IN FALSE motion.digital-in-01
7 bit IN FALSE motion.digital-in-02
7 bit IN FALSE motion.digital-in-03
7 bit OUT FALSE motion.digital-out-00
7 bit OUT FALSE motion.digital-out-01
7 bit OUT FALSE motion.digital-out-02
7 bit OUT FALSE motion.digital-out-03
7 float OUT 0 motion.distance-to-go
7 bit IN TRUE motion.enable
7 bit IN FALSE motion.feed-hold
7 bit OUT TRUE motion.in-position
7 bit IN FALSE motion.motion-enabled
7 bit OUT FALSE motion.on-soft-limit
7 bit IN FALSE motion.probe-input
7 s32 OUT 0 motion.program-line
7 float OUT 0 motion.requested-vel
7 bit IN TRUE motion.spindle-at-speed
7 bit OUT TRUE motion.spindle-brake
7 bit OUT FALSE motion.spindle-forward
7 bit I/O FALSE motion.spindle-index-enable
7 bit OUT FALSE motion.spindle-on
7 bit OUT FALSE motion.spindle-reverse
7 float IN 0 motion.spindle-revs
7 float OUT 0 motion.spindle-speed-cmd-rps
7 float IN 0 motion.spindle-speed-in
7 float OUT 0 motion.spindle-speed-out
7 float OUT 0 motion.spindle-speed-out-rps
7 bit OUT FALSE motion.teleop-mode
7 float OUT 0 motion.tooloffset.a
7 float OUT 0 motion.tooloffset.b
7 float OUT 0 motion.tooloffset.c
7 float OUT 0 motion.tooloffset.u
7 float OUT 0 motion.tooloffset.v
7 float OUT 0 motion.tooloffset.w
7 float OUT 0 motion.tooloffset.x
7 float OUT 0 motion.tooloffset.y
7 float OUT 0 motion.tooloffset.z
8 float I/O 0 pid.0.Dgain
8 float I/O 0 pid.0.FF0
8 float I/O 1 pid.0.FF1
8 float I/O 0 pid.0.FF2
8 float I/O 0 pid.0.Igain
8 float I/O 100 pid.0.Pgain
8 float I/O 0 pid.0.bias
8 float IN 0 pid.0.command <== emcmot.00.pos-cmd
8 float IN 0 pid.0.command-deriv
8 float I/O 1.5e-05 pid.0.deadband
8 bit IN FALSE pid.0.enable <== emcmot.00.enable
8 float OUT 0 pid.0.error
8 float IN 0 pid.0.feedback <== motor.00.pos-fb
8 float IN 0 pid.0.feedback-deriv
8 bit IN FALSE pid.0.index-enable
8 float I/O 0 pid.0.maxcmdD
8 float I/O 0 pid.0.maxcmdDD
8 float I/O 0 pid.0.maxerror
8 float I/O 0 pid.0.maxerrorD
8 float I/O 0 pid.0.maxerrorI
8 float I/O 1 pid.0.maxoutput
8 float OUT 0 pid.0.output ==> motor.00.command
8 bit OUT FALSE pid.0.saturated
8 s32 OUT 0 pid.0.saturated-count
8 float OUT 0 pid.0.saturated-s
8 float I/O 0 pid.1.Dgain
8 float I/O 0 pid.1.FF0
8 float I/O 1 pid.1.FF1
8 float I/O 0 pid.1.FF2
8 float I/O 0 pid.1.Igain
8 float I/O 100 pid.1.Pgain
8 float I/O 0 pid.1.bias
8 float IN 0 pid.1.command <== emcmot.01.pos-cmd
8 float IN 0 pid.1.command-deriv
8 float I/O 1.5e-05 pid.1.deadband
8 bit IN FALSE pid.1.enable <== emcmot.01.enable
8 float OUT 0 pid.1.error
8 float IN -0 pid.1.feedback <== motor.01.pos-fb
8 float IN 0 pid.1.feedback-deriv
8 bit IN FALSE pid.1.index-enable
8 float I/O 0 pid.1.maxcmdD
8 float I/O 0 pid.1.maxcmdDD
8 float I/O 0 pid.1.maxerror
8 float I/O 0 pid.1.maxerrorD
8 float I/O 0 pid.1.maxerrorI
8 float I/O 1 pid.1.maxoutput
8 float OUT 0 pid.1.output ==> motor.01.command
8 bit OUT FALSE pid.1.saturated
8 s32 OUT 0 pid.1.saturated-count
8 float OUT 0 pid.1.saturated-s
8 float I/O 0 pid.2.Dgain
8 float I/O 0 pid.2.FF0
8 float I/O 1 pid.2.FF1
8 float I/O 0 pid.2.FF2
8 float I/O 0 pid.2.Igain
8 float I/O 100 pid.2.Pgain
8 float I/O 0 pid.2.bias
8 float IN 0 pid.2.command <== emcmot.02.pos-cmd
8 float IN 0 pid.2.command-deriv
8 float I/O 1.5e-05 pid.2.deadband
8 bit IN FALSE pid.2.enable <== emcmot.02.enable
8 float OUT 0 pid.2.error
8 float IN 0 pid.2.feedback <== motor.02.pos-fb
8 float IN 0 pid.2.feedback-deriv
8 bit IN FALSE pid.2.index-enable
8 float I/O 0 pid.2.maxcmdD
8 float I/O 0 pid.2.maxcmdDD
8 float I/O 0 pid.2.maxerror
8 float I/O 0 pid.2.maxerrorD
8 float I/O 0 pid.2.maxerrorI
8 float I/O 1 pid.2.maxoutput
8 float OUT 0 pid.2.output ==> motor.02.command
8 bit OUT FALSE pid.2.saturated
8 s32 OUT 0 pid.2.saturated-count
8 float OUT 0 pid.2.saturated-s
Код: Выделить всё
10 bit IN FALSE hm2_5i25.0.7i77.0.1.analogena <== emcmot.00.enable
10 float IN 0 hm2_5i25.0.7i77.0.1.analogout0 <== motor.00.command
10 float IN 0 hm2_5i25.0.7i77.0.1.analogout1 <== motor.01.command
10 float IN 0 hm2_5i25.0.7i77.0.1.analogout2 <== motor.02.command
не, hm2_5i25.0.7i77.0.1.analogena вроде именно 7i77.aystarik писал(а):То, что показывает halcmd это прямые выводы 5и25, а не 7и77.
В мане пишут, что IO можно питать от основного питания платыaystarik писал(а):на TB2 5(VIN) и ТВ2 8(GND) нужно подать изолированные 8-32в (24) для работы входов-выходов.
она всегда была... а вот io не появлялся...aystarik писал(а):ура, аналоговая часть 7и77 нашлась, отлично.
другое. I/O соединен со всей остальной платой через изоляцию, поэтому у него всегда отдельное питание. Это или VIN или field power _на этом же разъеме TB2 (1-4 ноги).Nick писал(а):Или field power это что-то другое?
Так что ищи БП 12-24 В и подсоединяй к VIN как выше писал.VIN power must be present for the 7I77 field I/O to be detected and operate.
Понял, спасибо!другое. I/O соединен со всей остальной платой через изоляцию, поэтому у него всегда отдельное питание. Это или VIN или field power _на этом же разъеме TB2 (1-4 ноги).
Кстати, а нельзя ли это напряжение взять с БП компа?aystarik писал(а):Так что ищи БП 12-24 В и подсоединяй к VIN как выше писал.
по моему она всегда былаaystarik писал(а):ура, аналоговая часть 7и77 нашлась, отлично.Код: Выделить всё
10 bit IN FALSE hm2_5i25.0.7i77.0.1.analogena <== emcmot.00.enable 10 float IN 0 hm2_5i25.0.7i77.0.1.analogout0 <== motor.00.command 10 float IN 0 hm2_5i25.0.7i77.0.1.analogout1 <== motor.01.command 10 float IN 0 hm2_5i25.0.7i77.0.1.analogout2 <== motor.02.command
Можно, только нужно и землю тоже протащить тогда...Nick писал(а):Кстати, а нельзя ли это напряжение взять с БП компа?aystarik писал(а):Так что ищи БП 12-24 В и подсоединяй к VIN как выше писал.
А 5В на 7и77 тоже всегда подавалось? в смысле снаружи или из 5и25+w1?dansystems1 писал(а):по моему она всегда была