Ser: Serial port |
Top Previous Next |
The 'ser' functions are functions that are used for direct access to the RS232 and RS485 ports. Please consult the technical manual for details on how many serial ports a specific device offers.
Serial port enumeration The technical manuals and the serial port API enumerates the serial ports differently. Basically, the technical manual enumerates the port starting with 1 and the serial port API starting with 0. The following relationship exists:
RS485 port enumeration The table below shows the relation between the Serial port API number and the RS485 channels as documented in the technical manual of the various devices:
Channels marked with a star * indicates that the RS485 shares resources with an RS232 port. Please consult the technical manual for details.
Primary and Secondary RS485 port To support a certain degree of portability in the configuration the notion of a Primary and Secondary RS485 port is introduced. This is especially useful when working with the I/O extension so that the configuration will work on any device with a variable number of RS485 ports.
Device types not included in the above table does not offer any RS485 functionality.
Hardware handshake RTS/CTS hardware handshake is available on certain devices such as RS232 port 2 or on certain dynamic ports.
Programming port The programming/service port either uses a USB interface or an RS232 port shared with the 1st serial port (API port 0).
Dynamic ports Some devices support externally connected serial ports, e.g. using Bluetooth or USB. These ports are assigned dynamic numbers, outside of the normal range, that are valid only while the port is connected. |