Instrumentation of an Automatic Capsule-Filling Machine