Setting COMx - Multi

Note

For AC500-eCo Processor Modules the interface COM2 cannot be configured as COM2 - Multi.

The serial interface COMx is prepared for operation with 2 selectable protocols.

  1. Right-click COMx_Online_Access ‣ Add object

    and select COMx - Multi from the list.

  2. In the device tree, append the desired protocols to the node (Add object).

  3. Modify the parameters for the appended protocol nodes.

    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 Function Block COM_SET_PROT (contained in the library SysInt_AC500_V10.lib). At the Function 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.

An example which describes the usage of the Function Block can be found in the System Technology chapter COM_SET_PROT: Function Block COM_SET_PROT