Problem with [RS274NGC] REMAP block
30 Dec 2012 03:12 - 30 Dec 2012 03:15 #28164
by machete
Problem with [RS274NGC] REMAP block was created by machete
Hello!
I'm trying to remap M6 code:
[RS274NGC]
REMAP=M6 modalgroup=6 ngc=my-tool-change
But linux CNC don't starting (even if i delete REMAP and leave only [RS274NGC] i have same error)
LinuxCNC Errors:
My .ini file:
I'm trying to remap M6 code:
[RS274NGC]
REMAP=M6 modalgroup=6 ngc=my-tool-change
But linux CNC don't starting (even if i delete REMAP and leave only [RS274NGC] i have same error)
LinuxCNC Errors:
Warning: Spoiler!
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/realtime-2.6.32-122-rtai/modules/linuxcnc
LINUXCNC_CONFIG_DIR=
LINUXCNC_LANG_DIR=/usr/share/linuxcnc/tcl/msgs
INIVAR=inivar
HALCMD=halcmd
LINUXCNC_EMCSH=/usr/bin/wish8.5
LINUXCNC - 2.5.1
Machine configuration directory is '/home/vm501/emc2/configs/VM501'
Machine configuration file is 'VM501.ini'
INIFILE=/home/vm501/emc2/configs/VM501/VM501.ini
PARAMETER_FILE=
TASK=milltask
HALUI=halui
DISPLAY=axis
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
Starting TASK program: milltask
Starting DISPLAY program: axis
команда (EMC_SPINDLE_OFF) не может быть исполнена пока станок на АВОСТе или выключен.
команда (EMC_SPINDLE_ON) не может быть исполнена пока станок на АВОСТе или выключен.
Shutting down and cleaning up LinuxCNC...
Running HAL shutdown script
Killing task linuxcncsvr, PID=3116
Killing task milltask, PID=3185
INFO CLASSICLADDER---I/O modbus master closed!
INFO CLASSICLADDER---I/O modbus master (Ethernet) init ok !
ERROR CLASSICLADDER- Error intializing classicladder user module.
Removing HAL_LIB, RTAPI, and Real Time OS modules
Removing NML shared memory segments
Cleanup done
Debug file information:
Can not find -sec RS274NGC -var PARAMETER_FILE -num 1
Can not find -sec MOT -var MOT -num 1
Can not find -sec IO -var IO -num 1
Can not find -sec LINUXCNC -var NML_FILE -num 1
Can not find -sec EMC -var NML_FILE -num 1
Traceback (most recent call last):
File "/usr/bin/axis", line 3139, in <module>
open_file_guts(initialfile, False, addrecent)
File "/usr/bin/axis", line 1114, in open_file_guts
temp_parameter = os.path.join(tempdir, os.path.basename(parameter))
File "/usr/lib/python2.6/posixpath.py", line 111, in basename
i = p.rfind('/') + 1
AttributeError: 'NoneType' object has no attribute 'rfind'
3116
PID TTY STAT TIME COMMAND
3185
PID TTY STAT TIME COMMAND
Stopping realtime threads
Unloading hal components
ULAPI: WARNING: module 'HAL_classicladder' failed to delete shmem 03
Kernel message information:
[ 2052.565582] I-pipe: Domain RTAI registered.
[ 2052.565597] RTAI[hal]: <3.8.1> mounted over IPIPE-NOTHREADS 2.6-03.
[ 2052.565602] RTAI[hal]: compiled with gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) .
[ 2052.565716] RTAI[hal]: mounted (IPIPE-NOTHREADS, IMMEDIATE (INTERNAL IRQs DISPATCHED), ISOL_CPUS_MASK: 0).
[ 2052.565721] PIPELINE layers:
[ 2052.565727] fbc62e20 9ac15d93 RTAI 200
[ 2052.565732] c085cb20 0 Linux 100
[ 2052.610748] RTAI[malloc]: global heap size = 2097152 bytes, <BSD>.
[ 2052.612031] RTAI[sched]: IMMEDIATE, MP, USER/KERNEL SPACE: <with RTAI OWN KTASKs>, kstacks pool size = 524288 bytes.
[ 2052.612043] RTAI[sched]: hard timer type/freq = APIC/12500368(Hz); default timing: periodic; linear timed lists.
[ 2052.612051] RTAI[sched]: Linux timer freq = 250 (Hz), TimeBase freq = 1799866000 hz.
[ 2052.612056] RTAI[sched]: timer setup = 999 ns, resched latency = 2944 ns.
[ 2052.612187] RTAI[usi]: enabled.
[ 2052.686059] RTAI[math]: loaded.
[ 2052.813843] hm2: loading Mesa HostMot2 driver version 0.15
[ 2052.819368] hm2_pci: loading Mesa AnyIO HostMot2 driver version 0.7
[ 2052.819428] hm2_pci: discovered 5i20 at 0000:05:00.0
[ 2052.819660] hm2_5i20.0: firmware: requesting hm2/5i20/SVST8_4_7I47.BIT
[ 2053.006872] hm2/hm2_5i20.0: 72 I/O Pins used:
[ 2053.006882] hm2/hm2_5i20.0: IO Pin 000 (P2-01): IOPort
[ 2053.006888] hm2/hm2_5i20.0: IO Pin 001 (P2-03): IOPort
[ 2053.006894] hm2/hm2_5i20.0: IO Pin 002 (P2-05): IOPort
[ 2053.006899] hm2/hm2_5i20.0: IO Pin 003 (P2-07): IOPort
[ 2053.006905] hm2/hm2_5i20.0: IO Pin 004 (P2-09): IOPort
[ 2053.006910] hm2/hm2_5i20.0: IO Pin 005 (P2-11): IOPort
[ 2053.006916] hm2/hm2_5i20.0: IO Pin 006 (P2-13): IOPort
[ 2053.006922] hm2/hm2_5i20.0: IO Pin 007 (P2-15): IOPort
[ 2053.006927] hm2/hm2_5i20.0: IO Pin 008 (P2-17): IOPort
[ 2053.006933] hm2/hm2_5i20.0: IO Pin 009 (P2-19): IOPort
[ 2053.006939] hm2/hm2_5i20.0: IO Pin 010 (P2-21): IOPort
[ 2053.006944] hm2/hm2_5i20.0: IO Pin 011 (P2-23): IOPort
[ 2053.006950] hm2/hm2_5i20.0: IO Pin 012 (P2-25): IOPort
[ 2053.006955] hm2/hm2_5i20.0: IO Pin 013 (P2-27): IOPort
[ 2053.006961] hm2/hm2_5i20.0: IO Pin 014 (P2-29): IOPort
[ 2053.006967] hm2/hm2_5i20.0: IO Pin 015 (P2-31): IOPort
[ 2053.006972] hm2/hm2_5i20.0: IO Pin 016 (P2-33): IOPort
[ 2053.006978] hm2/hm2_5i20.0: IO Pin 017 (P2-35): IOPort
[ 2053.006984] hm2/hm2_5i20.0: IO Pin 018 (P2-37): IOPort
[ 2053.006989] hm2/hm2_5i20.0: IO Pin 019 (P2-39): IOPort
[ 2053.006995] hm2/hm2_5i20.0: IO Pin 020 (P2-41): IOPort
[ 2053.007000] hm2/hm2_5i20.0: IO Pin 021 (P2-43): IOPort
[ 2053.007006] hm2/hm2_5i20.0: IO Pin 022 (P2-45): IOPort
[ 2053.007012] hm2/hm2_5i20.0: IO Pin 023 (P2-47): IOPort
[ 2053.007017] hm2/hm2_5i20.0: IO Pin 024 (P3-01): IOPort
[ 2053.007023] hm2/hm2_5i20.0: IO Pin 025 (P3-03): IOPort
[ 2053.007028] hm2/hm2_5i20.0: IO Pin 026 (P3-05): IOPort
[ 2053.007034] hm2/hm2_5i20.0: IO Pin 027 (P3-07): IOPort
[ 2053.007041] hm2/hm2_5i20.0: IO Pin 028 (P3-09): Encoder #4, pin A (Input)
[ 2053.007047] hm2/hm2_5i20.0: IO Pin 029 (P3-11): IOPort
[ 2053.007053] hm2/hm2_5i20.0: IO Pin 030 (P3-13): Encoder #4, pin B (Input)
[ 2053.007059] hm2/hm2_5i20.0: IO Pin 031 (P3-15): IOPort
[ 2053.007066] hm2/hm2_5i20.0: IO Pin 032 (P3-17): Encoder #4, pin Index (Input)
[ 2053.007072] hm2/hm2_5i20.0: IO Pin 033 (P3-19): IOPort
[ 2053.007077] hm2/hm2_5i20.0: IO Pin 034 (P3-21): IOPort
[ 2053.007083] hm2/hm2_5i20.0: IO Pin 035 (P3-23): IOPort
[ 2053.007089] hm2/hm2_5i20.0: IO Pin 036 (P3-25): IOPort
[ 2053.007094] hm2/hm2_5i20.0: IO Pin 037 (P3-27): IOPort
[ 2053.007100] hm2/hm2_5i20.0: IO Pin 038 (P3-29): IOPort
[ 2053.007105] hm2/hm2_5i20.0: IO Pin 039 (P3-31): IOPort
[ 2053.007111] hm2/hm2_5i20.0: IO Pin 040 (P3-33): IOPort
[ 2053.007118] hm2/hm2_5i20.0: IO Pin 041 (P3-35): PWMGen #4, pin Out1 (Dir or Down) (Output)
[ 2053.007125] hm2/hm2_5i20.0: IO Pin 042 (P3-37): PWMGen #4, pin Not-Enable (Output)
[ 2053.007133] hm2/hm2_5i20.0: IO Pin 043 (P3-39): PWMGen #4, pin Out0 (PWM or Up) (Output)
[ 2053.007139] hm2/hm2_5i20.0: IO Pin 044 (P3-41): IOPort
[ 2053.007145] hm2/hm2_5i20.0: IO Pin 045 (P3-43): IOPort
[ 2053.007150] hm2/hm2_5i20.0: IO Pin 046 (P3-45): IOPort
[ 2053.007156] hm2/hm2_5i20.0: IO Pin 047 (P3-47): IOPort
[ 2053.007162] hm2/hm2_5i20.0: IO Pin 048 (P4-01): Encoder #1, pin B (Input)
[ 2053.007169] hm2/hm2_5i20.0: IO Pin 049 (P4-03): Encoder #1, pin A (Input)
[ 2053.007176] hm2/hm2_5i20.0: IO Pin 050 (P4-05): Encoder #0, pin B (Input)
[ 2053.007182] hm2/hm2_5i20.0: IO Pin 051 (P4-07): Encoder #0, pin A (Input)
[ 2053.007189] hm2/hm2_5i20.0: IO Pin 052 (P4-09): Encoder #1, pin Index (Input)
[ 2053.007196] hm2/hm2_5i20.0: IO Pin 053 (P4-11): Encoder #0, pin Index (Input)
[ 2053.007203] hm2/hm2_5i20.0: IO Pin 054 (P4-13): PWMGen #1, pin Out0 (PWM or Up) (Output)
[ 2053.007211] hm2/hm2_5i20.0: IO Pin 055 (P4-15): PWMGen #0, pin Out0 (PWM or Up) (Output)
[ 2053.007218] hm2/hm2_5i20.0: IO Pin 056 (P4-17): PWMGen #1, pin Out1 (Dir or Down) (Output)
[ 2053.007226] hm2/hm2_5i20.0: IO Pin 057 (P4-19): PWMGen #0, pin Out1 (Dir or Down) (Output)
[ 2053.007233] hm2/hm2_5i20.0: IO Pin 058 (P4-21): PWMGen #1, pin Not-Enable (Output)
[ 2053.007240] hm2/hm2_5i20.0: IO Pin 059 (P4-23): PWMGen #0, pin Not-Enable (Output)
[ 2053.007247] hm2/hm2_5i20.0: IO Pin 060 (P4-25): Encoder #3, pin B (Input)
[ 2053.007254] hm2/hm2_5i20.0: IO Pin 061 (P4-27): Encoder #3, pin A (Input)
[ 2053.007261] hm2/hm2_5i20.0: IO Pin 062 (P4-29): Encoder #2, pin B (Input)
[ 2053.007268] hm2/hm2_5i20.0: IO Pin 063 (P4-31): Encoder #2, pin A (Input)
[ 2053.007274] hm2/hm2_5i20.0: IO Pin 064 (P4-33): Encoder #3, pin Index (Input)
[ 2053.007281] hm2/hm2_5i20.0: IO Pin 065 (P4-35): Encoder #2, pin Index (Input)
[ 2053.007289] hm2/hm2_5i20.0: IO Pin 066 (P4-37): PWMGen #3, pin Out0 (PWM or Up) (Output)
[ 2053.007296] hm2/hm2_5i20.0: IO Pin 067 (P4-39): PWMGen #2, pin Out0 (PWM or Up) (Output)
[ 2053.007303] hm2/hm2_5i20.0: IO Pin 068 (P4-41): PWMGen #3, pin Out1 (Dir or Down) (Output)
[ 2053.007311] hm2/hm2_5i20.0: IO Pin 069 (P4-43): PWMGen #2, pin Out1 (Dir or Down) (Output)
[ 2053.007318] hm2/hm2_5i20.0: IO Pin 070 (P4-45): PWMGen #3, pin Not-Enable (Output)
[ 2053.007325] hm2/hm2_5i20.0: IO Pin 071 (P4-47): PWMGen #2, pin Not-Enable (Output)
[ 2053.007544] hm2/hm2_5i20.0: registered
[ 2053.007549] hm2_5i20.0: initialized AnyIO board at 0000:05:00.0
[ 2053.015743] config string '0x0278 in'
[ 2053.036935] creating ladder-state
[ 2057.611456] hm2_5i20.0: dropping AnyIO board at 0000:05:00.0
[ 2057.611471] hm2/hm2_5i20.0: unregistered
[ 2057.611718] hm2_pci: driver unloaded
[ 2057.617515] hm2: unloading
[ 2057.722943] RTAI[math]: unloaded.
[ 2057.782800] SCHED releases registered named ALIEN RTGLBH
[ 2057.845021] RTAI[malloc]: unloaded.
[ 2057.944569] RTAI[sched]: unloaded (forced hard/soft/hard transitions: traps 0, syscalls 0).
[ 2057.950110] I-pipe: Domain RTAI unregistered.
[ 2057.950255] RTAI[hal]: unmounted.
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/realtime-2.6.32-122-rtai/modules/linuxcnc
LINUXCNC_CONFIG_DIR=
LINUXCNC_LANG_DIR=/usr/share/linuxcnc/tcl/msgs
INIVAR=inivar
HALCMD=halcmd
LINUXCNC_EMCSH=/usr/bin/wish8.5
LINUXCNC - 2.5.1
Machine configuration directory is '/home/vm501/emc2/configs/VM501'
Machine configuration file is 'VM501.ini'
INIFILE=/home/vm501/emc2/configs/VM501/VM501.ini
PARAMETER_FILE=
TASK=milltask
HALUI=halui
DISPLAY=axis
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
Starting TASK program: milltask
Starting DISPLAY program: axis
команда (EMC_SPINDLE_OFF) не может быть исполнена пока станок на АВОСТе или выключен.
команда (EMC_SPINDLE_ON) не может быть исполнена пока станок на АВОСТе или выключен.
Shutting down and cleaning up LinuxCNC...
Running HAL shutdown script
Killing task linuxcncsvr, PID=3116
Killing task milltask, PID=3185
INFO CLASSICLADDER---I/O modbus master closed!
INFO CLASSICLADDER---I/O modbus master (Ethernet) init ok !
ERROR CLASSICLADDER- Error intializing classicladder user module.
Removing HAL_LIB, RTAPI, and Real Time OS modules
Removing NML shared memory segments
Cleanup done
Debug file information:
Can not find -sec RS274NGC -var PARAMETER_FILE -num 1
Can not find -sec MOT -var MOT -num 1
Can not find -sec IO -var IO -num 1
Can not find -sec LINUXCNC -var NML_FILE -num 1
Can not find -sec EMC -var NML_FILE -num 1
Traceback (most recent call last):
File "/usr/bin/axis", line 3139, in <module>
open_file_guts(initialfile, False, addrecent)
File "/usr/bin/axis", line 1114, in open_file_guts
temp_parameter = os.path.join(tempdir, os.path.basename(parameter))
File "/usr/lib/python2.6/posixpath.py", line 111, in basename
i = p.rfind('/') + 1
AttributeError: 'NoneType' object has no attribute 'rfind'
3116
PID TTY STAT TIME COMMAND
3185
PID TTY STAT TIME COMMAND
Stopping realtime threads
Unloading hal components
ULAPI: WARNING: module 'HAL_classicladder' failed to delete shmem 03
Kernel message information:
[ 2052.565582] I-pipe: Domain RTAI registered.
[ 2052.565597] RTAI[hal]: <3.8.1> mounted over IPIPE-NOTHREADS 2.6-03.
[ 2052.565602] RTAI[hal]: compiled with gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) .
[ 2052.565716] RTAI[hal]: mounted (IPIPE-NOTHREADS, IMMEDIATE (INTERNAL IRQs DISPATCHED), ISOL_CPUS_MASK: 0).
[ 2052.565721] PIPELINE layers:
[ 2052.565727] fbc62e20 9ac15d93 RTAI 200
[ 2052.565732] c085cb20 0 Linux 100
[ 2052.610748] RTAI[malloc]: global heap size = 2097152 bytes, <BSD>.
[ 2052.612031] RTAI[sched]: IMMEDIATE, MP, USER/KERNEL SPACE: <with RTAI OWN KTASKs>, kstacks pool size = 524288 bytes.
[ 2052.612043] RTAI[sched]: hard timer type/freq = APIC/12500368(Hz); default timing: periodic; linear timed lists.
[ 2052.612051] RTAI[sched]: Linux timer freq = 250 (Hz), TimeBase freq = 1799866000 hz.
[ 2052.612056] RTAI[sched]: timer setup = 999 ns, resched latency = 2944 ns.
[ 2052.612187] RTAI[usi]: enabled.
[ 2052.686059] RTAI[math]: loaded.
[ 2052.813843] hm2: loading Mesa HostMot2 driver version 0.15
[ 2052.819368] hm2_pci: loading Mesa AnyIO HostMot2 driver version 0.7
[ 2052.819428] hm2_pci: discovered 5i20 at 0000:05:00.0
[ 2052.819660] hm2_5i20.0: firmware: requesting hm2/5i20/SVST8_4_7I47.BIT
[ 2053.006872] hm2/hm2_5i20.0: 72 I/O Pins used:
[ 2053.006882] hm2/hm2_5i20.0: IO Pin 000 (P2-01): IOPort
[ 2053.006888] hm2/hm2_5i20.0: IO Pin 001 (P2-03): IOPort
[ 2053.006894] hm2/hm2_5i20.0: IO Pin 002 (P2-05): IOPort
[ 2053.006899] hm2/hm2_5i20.0: IO Pin 003 (P2-07): IOPort
[ 2053.006905] hm2/hm2_5i20.0: IO Pin 004 (P2-09): IOPort
[ 2053.006910] hm2/hm2_5i20.0: IO Pin 005 (P2-11): IOPort
[ 2053.006916] hm2/hm2_5i20.0: IO Pin 006 (P2-13): IOPort
[ 2053.006922] hm2/hm2_5i20.0: IO Pin 007 (P2-15): IOPort
[ 2053.006927] hm2/hm2_5i20.0: IO Pin 008 (P2-17): IOPort
[ 2053.006933] hm2/hm2_5i20.0: IO Pin 009 (P2-19): IOPort
[ 2053.006939] hm2/hm2_5i20.0: IO Pin 010 (P2-21): IOPort
[ 2053.006944] hm2/hm2_5i20.0: IO Pin 011 (P2-23): IOPort
[ 2053.006950] hm2/hm2_5i20.0: IO Pin 012 (P2-25): IOPort
[ 2053.006955] hm2/hm2_5i20.0: IO Pin 013 (P2-27): IOPort
[ 2053.006961] hm2/hm2_5i20.0: IO Pin 014 (P2-29): IOPort
[ 2053.006967] hm2/hm2_5i20.0: IO Pin 015 (P2-31): IOPort
[ 2053.006972] hm2/hm2_5i20.0: IO Pin 016 (P2-33): IOPort
[ 2053.006978] hm2/hm2_5i20.0: IO Pin 017 (P2-35): IOPort
[ 2053.006984] hm2/hm2_5i20.0: IO Pin 018 (P2-37): IOPort
[ 2053.006989] hm2/hm2_5i20.0: IO Pin 019 (P2-39): IOPort
[ 2053.006995] hm2/hm2_5i20.0: IO Pin 020 (P2-41): IOPort
[ 2053.007000] hm2/hm2_5i20.0: IO Pin 021 (P2-43): IOPort
[ 2053.007006] hm2/hm2_5i20.0: IO Pin 022 (P2-45): IOPort
[ 2053.007012] hm2/hm2_5i20.0: IO Pin 023 (P2-47): IOPort
[ 2053.007017] hm2/hm2_5i20.0: IO Pin 024 (P3-01): IOPort
[ 2053.007023] hm2/hm2_5i20.0: IO Pin 025 (P3-03): IOPort
[ 2053.007028] hm2/hm2_5i20.0: IO Pin 026 (P3-05): IOPort
[ 2053.007034] hm2/hm2_5i20.0: IO Pin 027 (P3-07): IOPort
[ 2053.007041] hm2/hm2_5i20.0: IO Pin 028 (P3-09): Encoder #4, pin A (Input)
[ 2053.007047] hm2/hm2_5i20.0: IO Pin 029 (P3-11): IOPort
[ 2053.007053] hm2/hm2_5i20.0: IO Pin 030 (P3-13): Encoder #4, pin B (Input)
[ 2053.007059] hm2/hm2_5i20.0: IO Pin 031 (P3-15): IOPort
[ 2053.007066] hm2/hm2_5i20.0: IO Pin 032 (P3-17): Encoder #4, pin Index (Input)
[ 2053.007072] hm2/hm2_5i20.0: IO Pin 033 (P3-19): IOPort
[ 2053.007077] hm2/hm2_5i20.0: IO Pin 034 (P3-21): IOPort
[ 2053.007083] hm2/hm2_5i20.0: IO Pin 035 (P3-23): IOPort
[ 2053.007089] hm2/hm2_5i20.0: IO Pin 036 (P3-25): IOPort
[ 2053.007094] hm2/hm2_5i20.0: IO Pin 037 (P3-27): IOPort
[ 2053.007100] hm2/hm2_5i20.0: IO Pin 038 (P3-29): IOPort
[ 2053.007105] hm2/hm2_5i20.0: IO Pin 039 (P3-31): IOPort
[ 2053.007111] hm2/hm2_5i20.0: IO Pin 040 (P3-33): IOPort
[ 2053.007118] hm2/hm2_5i20.0: IO Pin 041 (P3-35): PWMGen #4, pin Out1 (Dir or Down) (Output)
[ 2053.007125] hm2/hm2_5i20.0: IO Pin 042 (P3-37): PWMGen #4, pin Not-Enable (Output)
[ 2053.007133] hm2/hm2_5i20.0: IO Pin 043 (P3-39): PWMGen #4, pin Out0 (PWM or Up) (Output)
[ 2053.007139] hm2/hm2_5i20.0: IO Pin 044 (P3-41): IOPort
[ 2053.007145] hm2/hm2_5i20.0: IO Pin 045 (P3-43): IOPort
[ 2053.007150] hm2/hm2_5i20.0: IO Pin 046 (P3-45): IOPort
[ 2053.007156] hm2/hm2_5i20.0: IO Pin 047 (P3-47): IOPort
[ 2053.007162] hm2/hm2_5i20.0: IO Pin 048 (P4-01): Encoder #1, pin B (Input)
[ 2053.007169] hm2/hm2_5i20.0: IO Pin 049 (P4-03): Encoder #1, pin A (Input)
[ 2053.007176] hm2/hm2_5i20.0: IO Pin 050 (P4-05): Encoder #0, pin B (Input)
[ 2053.007182] hm2/hm2_5i20.0: IO Pin 051 (P4-07): Encoder #0, pin A (Input)
[ 2053.007189] hm2/hm2_5i20.0: IO Pin 052 (P4-09): Encoder #1, pin Index (Input)
[ 2053.007196] hm2/hm2_5i20.0: IO Pin 053 (P4-11): Encoder #0, pin Index (Input)
[ 2053.007203] hm2/hm2_5i20.0: IO Pin 054 (P4-13): PWMGen #1, pin Out0 (PWM or Up) (Output)
[ 2053.007211] hm2/hm2_5i20.0: IO Pin 055 (P4-15): PWMGen #0, pin Out0 (PWM or Up) (Output)
[ 2053.007218] hm2/hm2_5i20.0: IO Pin 056 (P4-17): PWMGen #1, pin Out1 (Dir or Down) (Output)
[ 2053.007226] hm2/hm2_5i20.0: IO Pin 057 (P4-19): PWMGen #0, pin Out1 (Dir or Down) (Output)
[ 2053.007233] hm2/hm2_5i20.0: IO Pin 058 (P4-21): PWMGen #1, pin Not-Enable (Output)
[ 2053.007240] hm2/hm2_5i20.0: IO Pin 059 (P4-23): PWMGen #0, pin Not-Enable (Output)
[ 2053.007247] hm2/hm2_5i20.0: IO Pin 060 (P4-25): Encoder #3, pin B (Input)
[ 2053.007254] hm2/hm2_5i20.0: IO Pin 061 (P4-27): Encoder #3, pin A (Input)
[ 2053.007261] hm2/hm2_5i20.0: IO Pin 062 (P4-29): Encoder #2, pin B (Input)
[ 2053.007268] hm2/hm2_5i20.0: IO Pin 063 (P4-31): Encoder #2, pin A (Input)
[ 2053.007274] hm2/hm2_5i20.0: IO Pin 064 (P4-33): Encoder #3, pin Index (Input)
[ 2053.007281] hm2/hm2_5i20.0: IO Pin 065 (P4-35): Encoder #2, pin Index (Input)
[ 2053.007289] hm2/hm2_5i20.0: IO Pin 066 (P4-37): PWMGen #3, pin Out0 (PWM or Up) (Output)
[ 2053.007296] hm2/hm2_5i20.0: IO Pin 067 (P4-39): PWMGen #2, pin Out0 (PWM or Up) (Output)
[ 2053.007303] hm2/hm2_5i20.0: IO Pin 068 (P4-41): PWMGen #3, pin Out1 (Dir or Down) (Output)
[ 2053.007311] hm2/hm2_5i20.0: IO Pin 069 (P4-43): PWMGen #2, pin Out1 (Dir or Down) (Output)
[ 2053.007318] hm2/hm2_5i20.0: IO Pin 070 (P4-45): PWMGen #3, pin Not-Enable (Output)
[ 2053.007325] hm2/hm2_5i20.0: IO Pin 071 (P4-47): PWMGen #2, pin Not-Enable (Output)
[ 2053.007544] hm2/hm2_5i20.0: registered
[ 2053.007549] hm2_5i20.0: initialized AnyIO board at 0000:05:00.0
[ 2053.015743] config string '0x0278 in'
[ 2053.036935] creating ladder-state
[ 2057.611456] hm2_5i20.0: dropping AnyIO board at 0000:05:00.0
[ 2057.611471] hm2/hm2_5i20.0: unregistered
[ 2057.611718] hm2_pci: driver unloaded
[ 2057.617515] hm2: unloading
[ 2057.722943] RTAI[math]: unloaded.
[ 2057.782800] SCHED releases registered named ALIEN RTGLBH
[ 2057.845021] RTAI[malloc]: unloaded.
[ 2057.944569] RTAI[sched]: unloaded (forced hard/soft/hard transitions: traps 0, syscalls 0).
[ 2057.950110] I-pipe: Domain RTAI unregistered.
[ 2057.950255] RTAI[hal]: unmounted.
My .ini file:
Warning: Spoiler!
# Generated by PNCconf at Fri Mar 2 21:42:32 2012
# Все изменения в этом файле будут перезаписаны
# overwritten when you run PNCconf again
[EMC]
MACHINE = VM501
DEBUG = 0
[DISPLAY]
#axis, touchy, keystick, mini, tklinuxcnc,xemc
DISPLAY = axis
POSITION_OFFSET = RELATIVE
POSITION_FEEDBACK = ACTUAL
MAX_FEED_OVERRIDE = 2.000000
MAX_SPINDLE_OVERRIDE = 1.000000
MIN_SPINDLE_OVERRIDE = 0.500000
INTRO_GRAPHIC = emc2.gif
INTRO_TIME = 5
PROGRAM_PREFIX = /home/vm501/emc2/nc_files
PYVCP = custompanel.xml
INCREMENTS = 5mm 1mm .5mm .1mm .05mm .01mm .005mm
POSITION_OFFSET = RELATIVE
POSITION_FEEDBACK = ACTUAL
#133.3333/10
DEFAULT_LINEAR_VELOCITY = 15
#133.3333/5
MAX_LINEAR_VELOCITY = 20
MIN_LINEAR_VELOCITY = 0.010000
#116.4 /10
DEFAULT_ANGULAR_VELOCITY = 23
# 116.4/5
MAX_ANGULAR_VELOCITY = 116.4
MIN_ANGULAR_VELOCITY = 0.010000
EDITOR = gedit
#GEOMETRY = yzx
GEOMETRY = XYZA
[FILTER]
PROGRAM_EXTENSION = .png,.gif,.jpg Greyscale Depth Image
PROGRAM_EXTENSION = .py Python Script
png = image-to-gcode
gif = image-to-gcode
jpg = image-to-gcode
py = python
[RS274NGC]
REMAP=M6 modalgroup=6 ngc=my-tool-change
[TASK]
TASK = milltask
CYCLE_TIME = 0.010
[RS274NGC]
PARAMETER_FILE = emc.var
[EMCMOT]
EMCMOT = motmod
COMM_TIMEOUT = 1.0
COMM_WAIT = 0.010
SERVO_PERIOD = 1000000
# [HOSTMOT2]
# This is for info only
# DRIVER0=hm2_pci
# BOARD0=5i20
# CONFIG0="firmware=hm2/5i20/SVST8_4.BIT num_encoders=5 num_pwmgens=5 num_stepgens=0"
[HAL]
HALUI = halui
HALFILE = VM501.hal
POSTGUI_HALFILE = custom_postgui.hal
SHUTDOWN = shutdown.hal
[HALUI]
#halui.mdi-command-00 он же MDI1 в ClassicLadder - останавливает шпиндель и отводит его назад,
#чтобы можно было опускать магазин с инструментами
MDI_COMMAND = M5 G0 G53 Y205
#MDI_COMMAND = G0 G53 Z0
#MDI_COMMAND = G28
#MDI_COMMAND = G92 X0
#MDI_COMMAND = G92 Y0
#MDI_COMMAND = G92 Z0
#MDI_COMMAND = G92.1
[TRAJ]
AXES = 4
COORDINATES = X Y Z A
# 19.4об/мин = 360*19.4= 6984град/мин = 116.4 град\сек
MAX_ANGULAR_VELOCITY = 116.4
#116.4/5 =23 град/сек
DEFAULT_ANGULAR_VELOCITY = 23
LINEAR_UNITS = mm
ANGULAR_UNITS = degree
CYCLE_TIME = 0.010
#133mm/sec/5=26
DEFAULT_VELOCITY = 26
# 8000mm/min = 133.3333mm/sec
MAX_LINEAR_VELOCITY = 133.3333
[EMCIO]
EMCIO = io
CYCLE_TIME = 0.100
TOOL_TABLE = tool.tbl
TOOLCHANGE_QUILL_UP = 1
#********************
# Axis X
#********************
[AXIS_0]
TYPE = LINEAR
HOME = 0.0
#0.005
FERROR = 1
#0.0005
MIN_FERROR = 1
#133.3333 #
MAX_VELOCITY = 133.333333333
MAX_ACCELERATION = 200
P = 2
I = 0
D = 0
FF0 = 0
#0.01
FF1 = 0
#0.00175
FF2 = 0
BIAS = 0
DEADBAND = 0.001
OUTPUT_SCALE = 1
OUTPUT_OFFSET = 0.0
MAX_OUTPUT = 10
INPUT_SCALE = -2000
MIN_LIMIT = -260
MAX_LIMIT = 260
HOME_OFFSET = -10
HOME_SEARCH_VEL = -5
HOME_LATCH_VEL = -2
HOME_FINAL_VEL = 20
HOME_USE_INDEX = YES
HOME_IGNORE_LIMITS = YES
HOME_SEQUENCE = 0
#********************
# Axis Y
#********************
[AXIS_1]
TYPE = LINEAR
HOME = 200
# 0.25
FERROR = 1
# 0.125
MIN_FERROR = 1
#133.3333
MAX_VELOCITY = 35
MAX_ACCELERATION = 100
P = 1
I = 0
D = 0
FF0 = 0
#0.01
FF1 = 0
#0.00175
FF2 = 0
BIAS = 0
DEADBAND = 0.001
OUTPUT_SCALE = -1
OUTPUT_OFFSET = 0.0
MAX_OUTPUT = 10
INPUT_SCALE = 2000
MIN_LIMIT = -210
MAX_LIMIT = 210
HOME_OFFSET = 208
HOME_SEARCH_VEL = 5
HOME_LATCH_VEL = 2
HOME_FINAL_VEL = 15
HOME_USE_INDEX = YES
HOME_IGNORE_LIMITS = YES
#2
HOME_SEQUENCE = 0
#********************
# Axis Z
#********************
[AXIS_2]
TYPE = LINEAR
HOME = 0.0
#0.005
FERROR = 1
#0.0005
MIN_FERROR = 1
#133.3333
MAX_VELOCITY = 133.333333333
MAX_ACCELERATION = 100
P = 1
I = 0
D = 0
FF0 = 0
#0.01
FF1 = 0
#0.00175
FF2 = 0
BIAS = 0
DEADBAND = 0.001
OUTPUT_SCALE = 1
OUTPUT_OFFSET = 0.0
MAX_OUTPUT = 10
INPUT_SCALE = -2000
MIN_LIMIT = -260
MAX_LIMIT = 260
HOME_OFFSET = -10
HOME_SEARCH_VEL = -5
HOME_LATCH_VEL = -2
HOME_FINAL_VEL = 20
HOME_USE_INDEX = YES
HOME_IGNORE_LIMITS = YES
HOME_SEQUENCE = 0
#********************
# Axis A
#********************
[AXIS_3]
TYPE = ANGULAR
HOME = 0.0
#0.005
FERROR = 2
#0.0005
MIN_FERROR = 2
#116.4
MAX_VELOCITY = 116.4
MAX_ACCELERATION = 200
P = 1
I = 0
D = 0
FF0 = 0
#0.01
FF1 = 0
#0.00175
FF2 = 0
BIAS = 0
DEADBAND = 0.001
OUTPUT_SCALE = 1
OUTPUT_OFFSET = 0.0
MAX_OUTPUT = 10
INPUT_SCALE = -2083.333
MIN_LIMIT = -9999.0
MAX_LIMIT = 9999.0
HOME_OFFSET = 0.6
HOME_SEARCH_VEL = -23
HOME_LATCH_VEL = -13
HOME_FINAL_VEL = 40
HOME_USE_INDEX = YES
HOME_IGNORE_LIMITS = NO
HOME_SEQUENCE = 0
#********************
# Spindle
#********************
[SPINDLE_9]
MAX_VELOCITY = 200
MAX_ACCELERATION = 20
OUTPUT_SCALE = 2000
OUTPUT_OFFSET = 0.0
MAX_OUTPUT = 10.0
INPUT_SCALE = 200
#[SPINDLE_9]
#MAX_VELOCITY = 1.67
#MAX_ACCELERATION = 20.0
#OUTPUT_SCALE = 1.0
#OUTPUT_OFFSET = 0.0
#MAX_OUTPUT = 10.0
#INPUT_SCALE = 200.0
#АЙК
#MAX_VELOCITY = 16.6666666667
#MAX_ACCELERATION = 20.0
#OUTPUT_SCALE = -2000.0
#OUTPUT_OFFSET = 0.0
#MAX_OUTPUT = 10.0
#INPUT_SCALE = 4000.0
# Все изменения в этом файле будут перезаписаны
# overwritten when you run PNCconf again
[EMC]
MACHINE = VM501
DEBUG = 0
[DISPLAY]
#axis, touchy, keystick, mini, tklinuxcnc,xemc
DISPLAY = axis
POSITION_OFFSET = RELATIVE
POSITION_FEEDBACK = ACTUAL
MAX_FEED_OVERRIDE = 2.000000
MAX_SPINDLE_OVERRIDE = 1.000000
MIN_SPINDLE_OVERRIDE = 0.500000
INTRO_GRAPHIC = emc2.gif
INTRO_TIME = 5
PROGRAM_PREFIX = /home/vm501/emc2/nc_files
PYVCP = custompanel.xml
INCREMENTS = 5mm 1mm .5mm .1mm .05mm .01mm .005mm
POSITION_OFFSET = RELATIVE
POSITION_FEEDBACK = ACTUAL
#133.3333/10
DEFAULT_LINEAR_VELOCITY = 15
#133.3333/5
MAX_LINEAR_VELOCITY = 20
MIN_LINEAR_VELOCITY = 0.010000
#116.4 /10
DEFAULT_ANGULAR_VELOCITY = 23
# 116.4/5
MAX_ANGULAR_VELOCITY = 116.4
MIN_ANGULAR_VELOCITY = 0.010000
EDITOR = gedit
#GEOMETRY = yzx
GEOMETRY = XYZA
[FILTER]
PROGRAM_EXTENSION = .png,.gif,.jpg Greyscale Depth Image
PROGRAM_EXTENSION = .py Python Script
png = image-to-gcode
gif = image-to-gcode
jpg = image-to-gcode
py = python
[RS274NGC]
REMAP=M6 modalgroup=6 ngc=my-tool-change
[TASK]
TASK = milltask
CYCLE_TIME = 0.010
[RS274NGC]
PARAMETER_FILE = emc.var
[EMCMOT]
EMCMOT = motmod
COMM_TIMEOUT = 1.0
COMM_WAIT = 0.010
SERVO_PERIOD = 1000000
# [HOSTMOT2]
# This is for info only
# DRIVER0=hm2_pci
# BOARD0=5i20
# CONFIG0="firmware=hm2/5i20/SVST8_4.BIT num_encoders=5 num_pwmgens=5 num_stepgens=0"
[HAL]
HALUI = halui
HALFILE = VM501.hal
POSTGUI_HALFILE = custom_postgui.hal
SHUTDOWN = shutdown.hal
[HALUI]
#halui.mdi-command-00 он же MDI1 в ClassicLadder - останавливает шпиндель и отводит его назад,
#чтобы можно было опускать магазин с инструментами
MDI_COMMAND = M5 G0 G53 Y205
#MDI_COMMAND = G0 G53 Z0
#MDI_COMMAND = G28
#MDI_COMMAND = G92 X0
#MDI_COMMAND = G92 Y0
#MDI_COMMAND = G92 Z0
#MDI_COMMAND = G92.1
[TRAJ]
AXES = 4
COORDINATES = X Y Z A
# 19.4об/мин = 360*19.4= 6984град/мин = 116.4 град\сек
MAX_ANGULAR_VELOCITY = 116.4
#116.4/5 =23 град/сек
DEFAULT_ANGULAR_VELOCITY = 23
LINEAR_UNITS = mm
ANGULAR_UNITS = degree
CYCLE_TIME = 0.010
#133mm/sec/5=26
DEFAULT_VELOCITY = 26
# 8000mm/min = 133.3333mm/sec
MAX_LINEAR_VELOCITY = 133.3333
[EMCIO]
EMCIO = io
CYCLE_TIME = 0.100
TOOL_TABLE = tool.tbl
TOOLCHANGE_QUILL_UP = 1
#********************
# Axis X
#********************
[AXIS_0]
TYPE = LINEAR
HOME = 0.0
#0.005
FERROR = 1
#0.0005
MIN_FERROR = 1
#133.3333 #
MAX_VELOCITY = 133.333333333
MAX_ACCELERATION = 200
P = 2
I = 0
D = 0
FF0 = 0
#0.01
FF1 = 0
#0.00175
FF2 = 0
BIAS = 0
DEADBAND = 0.001
OUTPUT_SCALE = 1
OUTPUT_OFFSET = 0.0
MAX_OUTPUT = 10
INPUT_SCALE = -2000
MIN_LIMIT = -260
MAX_LIMIT = 260
HOME_OFFSET = -10
HOME_SEARCH_VEL = -5
HOME_LATCH_VEL = -2
HOME_FINAL_VEL = 20
HOME_USE_INDEX = YES
HOME_IGNORE_LIMITS = YES
HOME_SEQUENCE = 0
#********************
# Axis Y
#********************
[AXIS_1]
TYPE = LINEAR
HOME = 200
# 0.25
FERROR = 1
# 0.125
MIN_FERROR = 1
#133.3333
MAX_VELOCITY = 35
MAX_ACCELERATION = 100
P = 1
I = 0
D = 0
FF0 = 0
#0.01
FF1 = 0
#0.00175
FF2 = 0
BIAS = 0
DEADBAND = 0.001
OUTPUT_SCALE = -1
OUTPUT_OFFSET = 0.0
MAX_OUTPUT = 10
INPUT_SCALE = 2000
MIN_LIMIT = -210
MAX_LIMIT = 210
HOME_OFFSET = 208
HOME_SEARCH_VEL = 5
HOME_LATCH_VEL = 2
HOME_FINAL_VEL = 15
HOME_USE_INDEX = YES
HOME_IGNORE_LIMITS = YES
#2
HOME_SEQUENCE = 0
#********************
# Axis Z
#********************
[AXIS_2]
TYPE = LINEAR
HOME = 0.0
#0.005
FERROR = 1
#0.0005
MIN_FERROR = 1
#133.3333
MAX_VELOCITY = 133.333333333
MAX_ACCELERATION = 100
P = 1
I = 0
D = 0
FF0 = 0
#0.01
FF1 = 0
#0.00175
FF2 = 0
BIAS = 0
DEADBAND = 0.001
OUTPUT_SCALE = 1
OUTPUT_OFFSET = 0.0
MAX_OUTPUT = 10
INPUT_SCALE = -2000
MIN_LIMIT = -260
MAX_LIMIT = 260
HOME_OFFSET = -10
HOME_SEARCH_VEL = -5
HOME_LATCH_VEL = -2
HOME_FINAL_VEL = 20
HOME_USE_INDEX = YES
HOME_IGNORE_LIMITS = YES
HOME_SEQUENCE = 0
#********************
# Axis A
#********************
[AXIS_3]
TYPE = ANGULAR
HOME = 0.0
#0.005
FERROR = 2
#0.0005
MIN_FERROR = 2
#116.4
MAX_VELOCITY = 116.4
MAX_ACCELERATION = 200
P = 1
I = 0
D = 0
FF0 = 0
#0.01
FF1 = 0
#0.00175
FF2 = 0
BIAS = 0
DEADBAND = 0.001
OUTPUT_SCALE = 1
OUTPUT_OFFSET = 0.0
MAX_OUTPUT = 10
INPUT_SCALE = -2083.333
MIN_LIMIT = -9999.0
MAX_LIMIT = 9999.0
HOME_OFFSET = 0.6
HOME_SEARCH_VEL = -23
HOME_LATCH_VEL = -13
HOME_FINAL_VEL = 40
HOME_USE_INDEX = YES
HOME_IGNORE_LIMITS = NO
HOME_SEQUENCE = 0
#********************
# Spindle
#********************
[SPINDLE_9]
MAX_VELOCITY = 200
MAX_ACCELERATION = 20
OUTPUT_SCALE = 2000
OUTPUT_OFFSET = 0.0
MAX_OUTPUT = 10.0
INPUT_SCALE = 200
#[SPINDLE_9]
#MAX_VELOCITY = 1.67
#MAX_ACCELERATION = 20.0
#OUTPUT_SCALE = 1.0
#OUTPUT_OFFSET = 0.0
#MAX_OUTPUT = 10.0
#INPUT_SCALE = 200.0
#АЙК
#MAX_VELOCITY = 16.6666666667
#MAX_ACCELERATION = 20.0
#OUTPUT_SCALE = -2000.0
#OUTPUT_OFFSET = 0.0
#MAX_OUTPUT = 10.0
#INPUT_SCALE = 4000.0
Last edit: 30 Dec 2012 03:15 by machete.
Please Log in or Create an account to join the conversation.
30 Dec 2012 03:20 #28165
by machete
Replied by machete on topic Problem with [RS274NGC] REMAP block
UPD: Sorry this is my fault, it's just because i typed "[RS274NGC]" twice in my .ini file.
P.S. Hmm.. error-log might be more informative for this case..
P.S. Hmm.. error-log might be more informative for this case..
Please Log in or Create an account to join the conversation.
30 Dec 2012 03:21 - 30 Dec 2012 03:23 #28166
by cncbasher
Replied by cncbasher on topic Problem with [RS274NGC] REMAP block
glad you found it
Last edit: 30 Dec 2012 03:23 by cncbasher.
Please Log in or Create an account to join the conversation.
30 Dec 2012 03:56 #28167
by machete
Replied by machete on topic Problem with [RS274NGC] REMAP block
Ok, LinuxCNC started, but i can't activate REMAP functional.
I type MDI comand T7M6 but it not execute REMAP .ngc file (only standart functional for M6 is performing).
.ini file:
[RS274NGC]
PARAMETER_FILE = emc.var
SUBROUTINE_PATH = /home/vm501/emc2/configs/VM501/ncsubroutines/
REMAP=M6 modalgroup=6 ngc=mytoolchange
/home/vm501/emc2/configs/VM501/ncsubroutines/mytoolchange.ngc
(i also put it to /home/vm501/emc2/nc_files)
o<mytoolchange> sub
M5 (stop spindle)
G0 G53 Y75.6 (go to plane of Tool Magazine's clamps)
M64 P0 (enabling DO-CHANGE bit)
M66 P0 L3 Q2678400 (waiting 1 month for PHASE2 )
G0 G53 Y205.3 (go back to left tool in the clamp)
M66 P1 L3 Q2678400 (waiting 1 month for PHASE3)
G0 G53 Y75.6 (go to plane of Tool Magazine's clamps)
M66 P2 L3 Q2678400 (waiting 1 month for CHANGED)
M65 P0 (disabling DO-CHANGE bit)
M6 (acting loopbacks)
o<mytoolchange> endsub
M2
P.S. Program betwen "sub" and "endsub" is working if i start it like main program.
I type MDI comand T7M6 but it not execute REMAP .ngc file (only standart functional for M6 is performing).
.ini file:
[RS274NGC]
PARAMETER_FILE = emc.var
SUBROUTINE_PATH = /home/vm501/emc2/configs/VM501/ncsubroutines/
REMAP=M6 modalgroup=6 ngc=mytoolchange
/home/vm501/emc2/configs/VM501/ncsubroutines/mytoolchange.ngc
(i also put it to /home/vm501/emc2/nc_files)
o<mytoolchange> sub
M5 (stop spindle)
G0 G53 Y75.6 (go to plane of Tool Magazine's clamps)
M64 P0 (enabling DO-CHANGE bit)
M66 P0 L3 Q2678400 (waiting 1 month for PHASE2 )
G0 G53 Y205.3 (go back to left tool in the clamp)
M66 P1 L3 Q2678400 (waiting 1 month for PHASE3)
G0 G53 Y75.6 (go to plane of Tool Magazine's clamps)
M66 P2 L3 Q2678400 (waiting 1 month for CHANGED)
M65 P0 (disabling DO-CHANGE bit)
M6 (acting loopbacks)
o<mytoolchange> endsub
M2
P.S. Program betwen "sub" and "endsub" is working if i start it like main program.
Please Log in or Create an account to join the conversation.
30 Dec 2012 04:27 #28168
by cncbasher
Replied by cncbasher on topic Problem with [RS274NGC] REMAP block
which version of linuxcnc are you running 2.5.1 ?
i believe the remap functions are an addition only to the development branch and not 2.5.1
i believe the remap functions are an addition only to the development branch and not 2.5.1
Please Log in or Create an account to join the conversation.
30 Dec 2012 05:49 - 30 Dec 2012 06:23 #28173
by machete
Yes, i'm using usual 2.5.1
You mean, i have to setup "Master branch (development)"
From here: buildbot.linuxcnc.org/ ?
Maybe i just need some extra packages from Synaptic?
Replied by machete on topic Problem with [RS274NGC] REMAP block
which version of linuxcnc are you running 2.5.1 ?
i believe the remap functions are an addition only to the development branch and not 2.5.1
Yes, i'm using usual 2.5.1
You mean, i have to setup "Master branch (development)"
From here: buildbot.linuxcnc.org/ ?
Maybe i just need some extra packages from Synaptic?
Last edit: 30 Dec 2012 06:23 by machete.
Please Log in or Create an account to join the conversation.
30 Dec 2012 06:27 - 30 Dec 2012 06:28 #28174
by BigJohnT
Replied by BigJohnT on topic Problem with [RS274NGC] REMAP block
Last edit: 30 Dec 2012 06:28 by BigJohnT.
Please Log in or Create an account to join the conversation.
31 Dec 2012 07:20 #28211
by machete
Replied by machete on topic Problem with [RS274NGC] REMAP block
I have installed "Master branch (development)" version from here: buildbot.linuxcnc.org/
And now i have remapped M6, so i can successfully change tool with my NGC subprogram executing "T3M6".
But how can i remap T? I need tool number variable in my NGC subprogram - i can't find it in manual..
Something like:
o<mytoolchange> sub
M5
T#<tool-number> (new tool number)
.....
o<mytoolchange> endsub
M2
And now i have remapped M6, so i can successfully change tool with my NGC subprogram executing "T3M6".
But how can i remap T? I need tool number variable in my NGC subprogram - i can't find it in manual..
Something like:
o<mytoolchange> sub
M5
T#<tool-number> (new tool number)
.....
o<mytoolchange> endsub
M2
Please Log in or Create an account to join the conversation.
31 Dec 2012 17:54 - 31 Dec 2012 17:55 #28219
by ArcEye
Replied by ArcEye on topic Problem with [RS274NGC] REMAP block
If you mean how do you pass a tool number to your sub
o <mytoolchange> call 6
o<mytoolchange> sub
#<tool-number> = #1
M5
T#<tool-number> (new tool number)
.....
o<mytoolchange> endsub
M2
will pass parameter 6 to be used as Tn
regards
o <mytoolchange> call 6
o<mytoolchange> sub
#<tool-number> = #1
M5
T#<tool-number> (new tool number)
.....
o<mytoolchange> endsub
M2
will pass parameter 6 to be used as Tn
regards
Last edit: 31 Dec 2012 17:55 by ArcEye.
Please Log in or Create an account to join the conversation.
31 Dec 2012 19:07 #28220
by machete
Replied by machete on topic Problem with [RS274NGC] REMAP block
No, i want completely remap Tx code:
[RS274NGC]
REMAP=T ngc=mytoolchange
So, when i execute in MDI mode "T3" or "T7"
i can have tool-number (3 or 7 or whatever else) in my subprogram:
o<mytoolchange> sub
M5 (stop spindle)
T[name of variable?]
...
... (physical process of tool changing)
...
M6
o<mytoolchange> endsub
M2
[RS274NGC]
REMAP=T ngc=mytoolchange
So, when i execute in MDI mode "T3" or "T7"
i can have tool-number (3 or 7 or whatever else) in my subprogram:
o<mytoolchange> sub
M5 (stop spindle)
T[name of variable?]
...
... (physical process of tool changing)
...
M6
o<mytoolchange> endsub
M2
Please Log in or Create an account to join the conversation.
Time to create page: 0.099 seconds