Hello Eric,

please have a look at the motion.digital-out-XX pins in hal and the
num_dio parameter to the "loadrt motmod" line if the default number of 4
dio pins is not enough.

I think the num_dio parameter is a fairly recent feature enhancement, so
you should run a 2.3.something version to use it.

http://www.linuxcnc.org/docview/html/man/man9/motion.9.html

BR
Max.




> Hi all,
> 
> The documentation here:
> http://www.linuxcnc.org/docview/html/gcode_main.html#sec:M62-to-M65:
> 
> Describes the use of M62-65 (really only M64 and M65, the user's manual
> states that M62 and M63 are not implemented) as follows:
> 
> <quote>
> To control a digital output bit, program M- P-, where the M-word ranges from
> 62 to 65, and the P-word ranges from 0 to a default value of 3 in EMC2. If
> needed the value can be increased by using the num_dio parameter when
> loading the motion controller.
> </quote>
> 
> I may have missed a bull fiddle in a telephone booth, but I have so far not
> found a description of how the P-Word value is mapped to a specific HAL
> output, or in the case of M66, a HAL input. Any pointers would be
> appreciated.
> 
> Regards,
> Eric
> 
> 
> 
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
> trial. Simplify your report design, integration and deployment - and focus on 
> what you do best, core application coding. Discover what's new with 
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> _______________________________________________
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to