Loading...
iTach IP2SL · GC-100
This module sends serial (RS-232) data through a GlobalCache iTach IP2SL, a serial port of a GC-100, or a computer running ser2net.
Serial communication is 8 data bits and one stop bit. Parity, hardware flow control and baud rate (up to 115.2 Kbaud) are set on the device's own web page, as are Serial Multiconnection Mode, 7 data bit mode and 2 stop bit mode. If the serial settings don't match the connected device, buffer overflows (data loss) or parity errors will occur; these are shown on the device's Serial web page.
Make sure the baud rate, options and serial cable match your serial device.

\r Carriage Return (default)\n Line Feed\r\n Carriage Return and Line Feed81 01 04 00 02 FF. Characters other than 0-9 and A-F are ignored.Both accept variables.
1C 01 20 matches 1c0120, and the comparison ignores case.response: the last data received from the device, as textresponse_hex: the same data, as hexresponse_time: when it was received, as Unix time in milliseconds. This changes on every response, even when the device sends the same reply again, so a trigger watching it runs for each response.Serial data has no message boundaries, so a long reply may arrive in more than one part, and the variables and feedback use the last part received. The variables are empty until data has been received.
The module also works with a computer running ser2net, for example a Raspberry Pi with a USB to RS-232 adapter (this has been used to control a camera with only an RS-232 VISCA port).
Configure the serial connection in ser2net, and set the module's port to the one ser2net listens on. An example ser2net line to forward raw VISCA hex commands to a camera with a 9600 baud serial port on port 4999:
4999:raw:5:/dev/ttyUSB0:9600 8DATABITS NONE 1STOPBIT