PNSlave (FB)
FUNCTION_BLOCK PNSlave IMPLEMENTS Profinet.IFALUser, Profinet.IAlarmReceiver, Profinet.IReadClient, Profinet.IWriteClient, Profinet.ICTLSRL_Client, Profinet.IPrmBeginEndClient
- InOut:
Scope
Name
Type
Initial
Comment
Output
xRunningBOOLSlave is in cyclic data exchange.
xBusyBOOLConnect or abort currently in progress.
xErrorBOOLCommunication error. Output PNIOStatus displays reason.
PNIOStatusUDINT16#FFFFFFFF
The current PNIO Status of the device.
xDiagnosisBOOLAny module of the slave has a diagnosis entry.
xModuleDiffBOOLThe module configuration is not matching (wrong or missing).
xDataValidBOOLIO-Data of all modules is valid (Input PS and Output CS is GOOD).
Properties:
ID
Methods:
ChangeState
GetID
UpdatePrimary
CM_Ccontrol_ind
CheckCurrentSupportedCommunicationState
SetCommunicationState
Structure: