![]() | |
| Home Page | Mark Forums Read | Today's Posts | My Replies | Classifieds | Reviews | Photo Gallery | Web Links | Share Files | Advertise With Us | Ad List |
| |||||||
| LinuxCNC (formerly EMC2) Discuss LinuxCNC (formerly EMC2) Controlers here! |
| This forum is sponsored by: |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
| |||
| |||
| Hi, I use three rele to M3,M4,M7 functions and a fourth that I active manually with this hal component, net rele4 pyvcp.rele04 parport.1.pin-14-out. Now I want drive this to a M101 code, but the script don't works #!/bin/sh # M101 in your G code program will run the Linux commands in this # shell script "batch" file, passing the P and Q variables as command # line arguments. # give the command line arguments descriptive names P=$1 Q=$2 echo "M101 P$P Q$Q: halcmd setp rele4 parport.1.pin-16-out True" exit 0 Is there someone can help me? ciao Fabio |
|
#3
| |||
| |||
| yes,script is readable-writable-executable, but what does it mean "defined NC file location as in the INI settings". Some people in Italian cnc forum says that EMC don't see Mcode in right way here in [DISPLAY]PROGRAM_PREFIX ...... |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Relé interfase C11G | fenixes | Spanish CNCzone | 1 | 05-16-2008 12:29 AM |