Setting the Protocol of the Serial Interfaces

By default, the serial interfaces are set to ‘Online access’, i.e., the access is done with help of the Control Builder.

../_images/3aecff08e38c51400a33139000eba54e

The protocol of the serial interfaces can be changed by right-clicking the interface ‘COM1’ or ‘COM2’ in the configuration tree and selecting the context menu item ‘Replace element’.

../_images/db457b38e38c518e0a33139000eba54e

That means, the interface protocol is directly set in the PLC configuration. No block (such as MODINIT, COMINIT) is required.

The serial interface settings can be read in online mode using the PLC browser commands “com settings” and “com protocols”. Chapter AC500-specific PLC browser commands AC500-Specific PLC Browser Commands contains a description of these commands.