/// <summary>
        /// Sets the output state of the specified bit through an external output port.
        /// </summary>
        /// <param name="sign">Set ON or OFF state of the specified bit. [+: bit ON;  -: bit OFF]</param>
        /// <param name="bitNumber">Specify the bit number of external output. [0..32767]</param>
        public void OutputBit(SignE sign, uint bitNumber)
        {
            var strSign = sign == SignE.Plus ? "+" : "-";

            Port.Write($"OB {strSign}, {bitNumber}");
        }
        /// <summary>
        /// Causes a jump to occur in accordance with the specified bit value in the external input.
        /// </summary>
        /// <param name="sign">Set the condition that compares bit. [+: the bit is ON;  -: the bit is OFF]</param>
        /// <param name="inputBitNumber">Specify the bit number of general input. [0..32767]</param>
        /// <param name="branchingLineNumber">Specify the line number to which the program jumps. [1..9999]</param>
        public void TestBitDirect(SignE sign, uint inputBitNumber, uint branchingLineNumber)
        {
            var strSing = sign == SignE.Plus ? "+" : "-";

            Port.Write($"TB {strSing}, {inputBitNumber}, {branchingLineNumber}");
        }
        /// <summary>
        /// Enables the interrupt motion by the specified bit of the external input signal. Ch
        /// </summary>
        /// <param name="sign">+: if the inputBitNumber of the external input port turns ON, the program jumps to the lineNumber;
        /// -: if the inputBitNumber of the external input port turns OFF, the program jumps to the lineNumber</param>
        /// <param name="inputBitNumber">specify the bit number of external input signal that you want to assign for interrupt signal. [0..32767]</param>
        /// <param name="lineNumber"></param>
        public void EnableAct(SignE sign, double inputBitNumber, double lineNumber)
        {
            var strSign = sign == SignE.Plus ? "+" : "-";

            Port.Write($"EA {strSign},{inputBitNumber},{lineNumber}");
        }