en:lib:mdl:mdl-s-ipcom-010

This translation is older than the original page and might be outdated. See what has changed.



The PROG and USER serial ports implement the QEM proprietary communication protocol called BIN1.

The SERCOM and MODBUS devices can be used with all communication serial ports including PROG PORT. Use the following number settings during the device declaration to select the communication channel:

<QCL code>

0		PROG PORT
1		USER PORT
2		AUX1 PORT
3		AUX2 PORT

</code>

When the SERCOM and MODBUS devices use the PROG PORT or USER PORT, they address the channel only if the communication status of the device is open (st_opencom = 1). When the channel of the device is closed (st_opencom = 0) in the serial, the BIN1 protocol returns active. To force the BIN1 protocol on the PROG port (thereby preventing the SERCOM device from occupying the channel) active the SW1 dip 6.

When using the MODBUS RTU protocol with RS485 electric configuration, remember that take when the serial port is transmitting, the controller maintains the the channel (DE) active for a longer time than the “MODBUS RTU” specification. For Per questo bisogna consider a minimum time of 5 milliseconds after which it is possible to receive a new message. Anche il device SERCOM device quando, it ends a transmission, has the same time the channel is active (DE).

The Ethernet communication port uses the TCP/IP transport protocol, where the BIN1 protocol packages travel inside TCP/IP data packages. Two connections are active, identified by two communication ports freely set in the communication parameters of the Ethernet port.

In detail: The port set in “Port nr.1:” represents a communication channel equivalent to PROG PORT. The port set in “Port nr.2:” represents a channel equivalente to USER PORT. The ports 3 e 4 are not used.

  • Last modified: 2019/08/29 17:01