Your question is quite vague, and as a result, you have been given an equally vague answer. You will get a lot more replies on your thread (and a lot more detailed help) if you can give some more detail about what the system is intended to do, and to show some progress, and explain where you're stuck. People here are willing to help people that are making an effort.
First of all, write down a detailed description of how you want your system to operate.
Next, document all of your required inputs and outputs.
Then, create your program and add the required hardware configuration (SLC CPU and 1746-INT4, plus any other input and output cards you identified in the last step).
Finally, have a think about how you might go about writing code to achieve the operation you described in step one. Make an attempt - even if you're really unsure, just try something. Post what you have, with some specific questions, and you'll likely get a lot more specific help.
Oh, and welcome to the forum!