It is easily accomplished with G-code. I will assume your bobbin rotation axis C and your guide axis Z. I will further assume one unit in the C axis is 1 rotation and 1 unit in the z axis is 1 mm. I will also assume your wire is 1mm diameter for this example.
So you want the C axis to rotate 1 unit for every 1 unit (1mm) of the Z axis. For 0.5mm wire you would want 2 C axis rotations per Z axis mm.
G-code like this:
This will simultaneously rotate the bobbin 10 turns and advance the guide 10 mm to get a nice laydown. Obviously you would increase these numbers to make the wrap wider and alter the ratio between the numbers to accomodate different wire sizes. Now you would have a similar line of G code to go back to the start:
Z0C0 Then Repeat for multiple wraps.
So for 4 layers of windings 10mm wide the gcode would be:
Hope this helps