PNSlave (FB)ΒΆ
FUNCTION_BLOCK PNSlave IMPLEMENTS Profinet.IFALUser, Profinet.IAlarmReceiver, Profinet.IReadClient, Profinet.IWriteClient, Profinet.ICTLSRL_Client, Profinet.IPrmBeginEndClient
An instance of this function block is created for each Profinet Slave device object that is added to the device tree.
It represents the connection configuration of the profinet controller for a single profinet device.
the outputs can be used to check the state of this connection.
- InOut:
Scope
Name
Type
Initial
Comment
Output
xRunning
BOOL
Slave is in cyclic data exchange.
xBusy
BOOL
Connect or abort currently in progress.
xError
BOOL
Communication error. Output PNIOStatus displays reason.
PNIOStatus
UDINT
16#FFFFFFFF
The current PNIO Status of the device.
xDiagnosis
BOOL
Any module of the slave has a diagnosis entry.
xModuleDiff
BOOL
The module configuration is not matching (wrong or missing).
xDataValid
BOOL
IO-Data of all modules is valid (Input PS and Output CS is GOOD).
Properties:
Methods:
Structure: