2017-07-09 22:03:00 +00:00
|
|
|
load enc_fb
|
|
|
|
enc_fb0.rt_prio = 2
|
2017-07-14 03:41:11 +00:00
|
|
|
enc_fb0.res = conf0.mot_fb_res
|
2018-03-09 11:23:17 +00:00
|
|
|
enc_fb0.sin = adc0.sin0l
|
|
|
|
enc_fb0.cos = adc0.cos0l
|
2017-07-09 22:03:00 +00:00
|
|
|
enc_fb0.quad = adc0.quad
|
2017-10-02 19:13:59 +00:00
|
|
|
fb_switch0.mot_pos = enc_fb0.pos
|
|
|
|
fb_switch0.mot_abs_pos = enc_fb0.abs_pos
|
2017-07-09 22:03:00 +00:00
|
|
|
fb_switch0.mot_polecount = 1
|
2017-10-02 19:13:59 +00:00
|
|
|
fb_switch0.mot_state = enc_fb0.state
|
2017-07-09 22:03:00 +00:00
|
|
|
fault0.mot_fb_error = enc_fb0.error
|
2017-07-23 22:58:34 +00:00
|
|
|
io0.fb0y = enc_fb0.error
|
|
|
|
io0.fb0g = 1
|