First link your Bobby AI to the weapons of the turret by pressing \"c\" (looking bobby) and \"v\" (looking weapons computer). Normally, the game does it automatically, so don\'t pay much attention on this, but verifying this may be usefull sometimes.
Then activate your Bobby AI module. \"X\" must appear.
Select \"Turret\" (It means it becomes a turret) If you select \"ship\" the Bobby won\'t work because it thinks it\'s a ship and not a turret.
Last one, you can chose. \"Fire any target\" (will fire all enemies, if I\'m right) or \"Fire selected target\" (will fire at the target you selected, even shops)
I hope this helped you, because if it\'s a real bug I can\'t help. I\'m not specialised in these things.