Frames orientation and their Z direction

I have a non-planar curve and I have several frames placed on it with extrusion of a cylinder. I would like the frames with extruded poles in its local Z direction to aim outside perpendiculary from the base curve. (The offset curve visualises the target direction). (36.7 KB)

Something like this? (35.4 KB)

Yes, thank you very much.