PNIO_CNTL_START_COM

../_images/267dbd44cfe69c330a317f3459db682f
General Information
Available as of PLC runtime system V2.6.2 and above
Available as of AB version V2.1 and above
Available as of CM579-PNIO version V2.8.4.20 and above
Included in library Profinet_Ext2_AC500_V26.lib
Type Function Block with historical values.

The function block PNIO_CNTL_START_COM can be used to start the communication of the PROFINET IO Controller. That means the communication state is changed from Stop to Operate.

../_images/ad0df628d435ad7a0a317f34466c3091

The next figure shows the flowchart of the execution of the Function Block PNIO_CNTL_START_COM.:

../_images/f65d39eae97e59f50a317f341eaa1fc5

When the execution is started the bus communication will be enabled. After that the communication state of the PROFINET IO Controller is checked and it’s waited until the communication state is Operate.

The execution of the FB was successful if the PROFINET IO Controller was changed to the communication state Operate.

If the PROFINET IO Controller is not in the communication state Operate within the specified timeout the execution of the FB is failed and the bus communication is disabled again.