Not a problem Skippy.
As a software guy you don't usually need to know or care about hardware... but from the sounds of things, your software will interact with the real-world through hardware. In my opinion, it is very important that the software guy knows as much as he can about the hardware that he will essentially be controlling. I am a CNC programmer and I feel this is essential.
If you ask the questions to learn how it fails, (open circuit, or frozen at 0V) you could take care of error handling and perhaps program an additional output that is used as a safety.
Can you answer a couple other questions for me?
Is this machine automated, or is there an operator working on the machine?
Does the Shaft Transducer run at full speed during any of the jobs it is supposed to carry out?
As it stands, it does not sound as though there are many options to put a safety here...
We do not know how the line fails... so putting a pullup resistor on the analogue input for the MMP may not do anything depending on how the RMC fails. This would need to be tested and would require the tester to cause a failure on the analogue circuit or the RMC that would be identical to how it would normally fail... simply disconnecting the line will not cut it. (a Pullup resister will however prevent the motor from running full tilt... but ONLY reliably if the line is open or disconnected.)
One option is to provide some kind of lock-out to disallow running the device at full speed unless an operator is present, but this would not be ideal if this device is supposed to be automated.
Another option would be to provide some kind of 'keep-alive' output from the RMC, and if this output fails to respond or hangs in either a low or high state then the MMP can be shut down.
I would like to avoid suggesting feedback from the motor to the RMC... as if the RMC fails we are in the same boat. I did however notice a 'fault' output on the RMC, this may be exactly what is required depending on how it functions... (What would the state of the RMC be if the computer froze or shutdown?)
As a software guy you don't usually need to know or care about hardware... but from the sounds of things, your software will interact with the real-world through hardware. In my opinion, it is very important that the software guy knows as much as he can about the hardware that he will essentially be controlling. I am a CNC programmer and I feel this is essential.
If you ask the questions to learn how it fails, (open circuit, or frozen at 0V) you could take care of error handling and perhaps program an additional output that is used as a safety.
Can you answer a couple other questions for me?
Is this machine automated, or is there an operator working on the machine?
Does the Shaft Transducer run at full speed during any of the jobs it is supposed to carry out?
As it stands, it does not sound as though there are many options to put a safety here...
We do not know how the line fails... so putting a pullup resistor on the analogue input for the MMP may not do anything depending on how the RMC fails. This would need to be tested and would require the tester to cause a failure on the analogue circuit or the RMC that would be identical to how it would normally fail... simply disconnecting the line will not cut it. (a Pullup resister will however prevent the motor from running full tilt... but ONLY reliably if the line is open or disconnected.)
One option is to provide some kind of lock-out to disallow running the device at full speed unless an operator is present, but this would not be ideal if this device is supposed to be automated.
Another option would be to provide some kind of 'keep-alive' output from the RMC, and if this output fails to respond or hangs in either a low or high state then the MMP can be shut down.
I would like to avoid suggesting feedback from the motor to the RMC... as if the RMC fails we are in the same boat. I did however notice a 'fault' output on the RMC, this may be exactly what is required depending on how it functions... (What would the state of the RMC be if the computer froze or shutdown?)
Last edited: