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.
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’.
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.