Download User Manual SP232 Serial Extended Function Module (for 1502B/C
Transcript
Operating Instructions Set Response Mode <desc>: Lets user determine whether the SP232 will: 1. wait for next request before sending 150XB/C responses to computer queries. 2. send responses immediately as received by the SP232. <cmd>: <opcode>: <arg1>: 3. wait until computer releases RS232-C Request To Send (RTS) line before sending responses. <opcode><arg1> 03h Single-Byte Argument 00h – Wait for request (default). SP232 waits for ID byte (*) then sends directive before sending responses from 150XB/C to computer. 01h – Respond immediately. SP232 sends responses as soon as received. This requires a serial interrupt driver or very fast polled program to catch the responses. 02h – Respond with RTS line is released by computer. This permits the computer to signal for the data at the hardware level and avoids the extra frame handshake. The RTS line must be asserted again before the next ID byte (*) is sent. Reset 150XB/C Interface <desc>: <cmd>: <opcode>: Re-initializes the 150XB/C Option Port and sends a reset directive. <opcode> 04h Set Stop Bits <desc>: <cmd>: <opcode>: <arg1>: 1–6 Sets number of stop bits per byte. <opcode><arg1> 05h One byte containing 1 or 2 indicating one or two stop bits. Default is 1. Byte: 1, 2 SP232 User Manual