ETCSlave_Diag
(FB)
FUNCTION_BLOCK ETCSlave_Diag EXTENDS ETCSlave IMPLEMENTS IDevice2
Implicit extended Instance of Slave
Extended instance of ETCSlave with device diagnosis functions
- InOut:
Scope
Name
Type
Comment
Inherited from
Input
xSetOperational
BOOL
Rising edge: An attempt is made to switch to the ETC_SLAVE_OPERATIONAL mode.
ETCSlaveStack
Output
wState
ETC_SLAVE_STATE
Current state of the slave:
0: ETC_SLAVE_BOOT
1: ETC_SLAVE_Init
2: ETC_SLAVE_PREOPERATIONAL
4: ETC_SLAVE_SAVEOPERATIONAL
8: ETC_SLAVE_OPERATIONAL
Configuration was successfully completed.
If errors occur during the configuration, the slave can fall back into an earlier state.
ETCSlaveStack
ETCSlave_Diag.CheckCurrentSupportedCommunicationState
(METH)ETCSlave_Diag.CheckSupportedCommunicationState
(METH)ETCSlave_Diag.GetDeviceDiagnosisInfo
(METH)ETCSlave_Diag.GetDeviceErrorAsync
(METH)ETCSlave_Diag.GetDeviceInfo
(METH)ETCSlave_Diag.GetDeviceState
(METH)ETCSlave_Diag.GetSpecificDeviceErrorAsync
(METH)ETCSlave_Diag.GetSpecificDeviceState
(METH)INode
ETCSlave_Diag.SetCommunicationState
(METH)