The Setting ‘COMx - Multi’

Note

At AC500-eCo CPUs PM55x and PM56x, the interface COM2 cannot be configured as Multi mode.

As of Control Builder version V1.2 and firmware version V1.2.0 the protocol ‘COMx- Multi’ can be used.

If the protocol ‘COMx - Multi’ is set for the serial interface COMx, the interface is prepared for operation with two selectable protocols.

Both protocols are appended to the protocol ‘COMx - Multi’ as modules. This is done in the same way than appending input/output modules to the I/O bus: i.e., by right-clicking the interface, selecting Append Subelement and selecting the desired protocol.

../_images/703f601ce38c62310a33139000eba54e

Once both protocols have been appended, the parameters have to be set for each protocol:

../_images/f620d398e38c627f0a33139000eba54e

The protocol parameters are identical to the parameters described for the individual protocols.

When restarting the program, i.e., after switching power ON, a download or a reset, the protocol appended first is always active.

Switching between the protocols is done using the block COM_SET_PROT COM_SET_PROT (contained in the library SysInt_AC500_V10.lib). At the block input COM, the number of the serial interface is applied and at the input IDX the protocol index is set. The protocol appended first in the PLC configuration has the index 0, the second protocol the index 1.