AX Seri es-St andard I nst ruct i ons Manual
4.2 DFB_EcGetSlaveCount
Supported Products
•
AX-308E, AX-364E
DFB_EcGetSlaveCount gets the number of slaves that are connected to the master.
FB/FC
Instruction
FB
DFB_EcGetSlaveCount
•
Input
Name
bExecute
Output
•
Name
bDone
bBusy
bError
ErrorID
uSlaves
DFB_EcGetSlaveCount (
Function
Execute the
instruction when
bExecute changes to
True.
Function
The execution of FB is
completed.
True when the instruction
is enabled.
True if an error occurs.
Indicates the error code if
an error occurs.
The number of slaves.
Graphic Expression
ST Language
bExecute :=,
bDone =>,
bBusy =>,
bError =>,
ErrorID =>,
uSlaves =>,
);
Setting Value
Data Type
(Default value)
True/False
BOOL
Data Type
BOOL
BOOL
BOOL
DFB_ECAT_Diag_ERROR*
UINT
Timing for Updating
(False)
Output Range
(Default value)
True/False(False)
True/False(False)
True/False(False)
DFB_ECAT_Diag_ERROR
(DFB_ECAT_Diag_NO_ERROR)
0~128(0)
Chapt er 4
-
6 7