Hi I have now the board in my hand, unfortunatly i wait for the repaired motor but i can start playing with the optocoupler board.
- For enable and fw/rev i have succefully do the change for inverting the pin. but i think this is not safe : at startup the pin was not inverted. (5v on the opto output) - I can't found the way for reverse the PWM signal but i'm afraid about startup states like enable/reverse hal : loadrt hal_bb_gpio output_pins=808,809,810,814,815,817,818 input_pins=811,812,816,831,833,835,911,912,913,915,917,918,924,925,926,927,928,941,942 # NOTE: disable 807 as an output if it is used as a PWM PRU!!! setp hpg.pwmgen.00.out.00.pin 807 setp hpg.pwmgen.00.out.00.enable 1 setp hpg.pwmgen.00.out.00.scale [SPINDLE]OUTPUT_SCALE setp hpg.pwmgen.00.pwm_period [SPINDLE]OUTPUT_PERIOD ini : # Spindle [SPINDLE] ENCODER_SCALE = 400 ENCODER_ABS_SCALE = 400 # Settings below are in Hz OUTPUT_SCALE = 56.7 OUTPUT_MIN_LIMIT = 0 OUTPUT_MAX_LIMIT = 55 # #55*60seconde = 3300rpm OUTPUT_PERIOD = 8000000 MAX_ACC = 30 MIN_SPEED = 0.05 Best regards -- website: http://www.machinekit.io blog: http://blog.machinekit.io github: https://github.com/machinekit --- You received this message because you are subscribed to the Google Groups "Machinekit" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/machinekit/5416bb91-ba6a-4ad8-80b6-a15ec30661d4%40googlegroups.com.
