If the application is simple ventilation then I don't really see the need to use a PID control. Open loop control will probably be more than sufficient. If you want 50% fan speed send a command to the drive to run at 30hz. You can do this using a simple scaling instruction or CPT instruction to write to the output word controlling the drive, or if you are using 1756 IO, then just write your speed percentage to the card and configure the card to to do the scaling.
If you are trying to control something else, temperature, humidity, etc. by varying the fan speed then we really do need more information.