Input Output Sample [inout]

This is a program that executes the input, output, echo back from optional logical port, logical bit.
Parameter is device name. If parameter is not set, "DIO000" is used.
Please input the input and output commands and the ports or bits, in the case of output, input the data.
In the state of command-input-wait, input 'q' to exit the program.