Device – IOxS
Object: PROFINET Device
In this dialog, you can enable or disable the I/O provider data or I/O consumer status data of individual submodules. As a result, the status byte is also mapped in the I/O mapping. However, it is recommended that the global setting is done on the controller.
For more information, see: IO Provider / Consumer Status
In addition to the actual input and output data, PROFINET sends status information (provider states). These indicate whether or not the values are valid (PS == 0x80). For example, the input values of a slave could be invalid if a hardware failure exists. Likewise, you could explicitly declare the outputs sent by the controller as invalid if an error occurs somewhere in the application. Then the slaves activate the substitute values if they are configured.
Tip
Submodules without their own I/Os also provide a provider state for inputs.
Show I/O channels | Note: The channels are deactivated when the Add I/O mapping option is selected on the PROFINET Controller – General tab.
|
Submodule | |
Variable | The I/O variable that is mapped to the input/output. |
Address | IEC address where this variable is mapped (I/O mapping dialog). |
The value "hex 80" (bit 7) from the provider state bytes display the status "OK". For detailed information about the definition of this byte, see the technical specification for PROFINET.
Tip
In the case of an I/O provider state that is mapped for output data, the output PS has to be set to "GOOD" (=0x80) explicitly. Otherwise, the device will not accept the data. Then the slaves activate the substitute values if they are configured.
Tip
If the application is stopped, then the unmapped I/O provider states for outputs are set to "bad". Mapped I/O provider states are set to their configured values.