Hi
this is about code to identify if machine move on G1 and G0.
I check in terminal—and found:
////////////////////////
So, for example, the HAL pin that has the current
inverted input value read from GPIO 012 of the second
7i43 board is: hm2_7i43.1.gpio.012.in-not (this assumes
that the firmware in that board is configured so that
this HAL object is available)
/////////////////////
do I need to add?
hm2_5i20.0.gpio.040.out-not
//////////
The HAL parameter that controls whether the last GPIO of
the first 5i22 is an input or an output is:
hm2_5i22.0.gpio.095.is_output
/////
do I need to add?---
hm2_5i20.gpio.040.is_output
/////////
That what I have now---
#loadrt mux_generic config=bb7
#loadrt conv_s32_u32
#addf conv-s32-u32.0 servo-thread
#addf mux-gen.00 servo-thread
#setp hm2_5i20.0.gpio.040.is_output true
#setp hm2_5i20.0.gpio.040.invert_output true
#net mode-signed motion.motion-type => conv-s32-u32.0.in
#net mode-unsigned conv-s32-u32.0.out => mux-gen.00.sel-int
#net mode-out mux-gen.00.out => hm2_5i20.0.gpio.040.out
#setp mux-gen.00.in-bit-01 0 ## rapid feed
#setp mux-gen.00.in-bit-02 1 ## straight feed
#setp mux-gen.00.in-bit-03 1 ## arc feed
#setp mux-gen.00.in-bit-04 0 ## toolchange
#setp mux-gen.00.in-bit-05 0 ## probing
#setp mux-gen.00.in-bit-06 0 ## index rotary
////////////////////////////////////////////////////////////////////////////////
------------------------------------------------------------------------------
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users