Dear All, There is a problem when using I/O functions in the hm2-servo configure. There is no output after I configured the input function. Take “Spindle function” as an example. I have added the following code to open the spindle, there is no any response in the output pin. However, when I use the hml_meter to check the signals, “SpindleFwd” and “hm2_m5i20.0.gpio.070.out” can be changed to ‘TRUE’. Here is the code:
newsig SpindleFwd bit linksp SpindleFwd => hm2_[HOSTMOT2](BOARD).0.gpio.070.out linksp SpindleFwd <= motion.spindle-forward newsig SpindleRev bit linksp SpindleRev => hm2_[HOSTMOT2](BOARD).0.gpio.071.out linksp SpindleRev <= motion.spindle-reverse When I modify the ‘m5i20’ drive configure to activate the spindle function. There is a response in the output signal. newsig SpindleFwd bit newsig SpindleRev bit linksp SpindleFwd => m5i20.0.out-14 linksp SpindleFwd <= motion.spindle-forward linksp SpindleRev => m5i20.0.out-15 linksp SpindleRev <= motion.spindle-reverse I do not what happen on it. Have anyone can help me? Thanks in advance! Best regards, Howard ------------------------------------------------------------------------------ _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
