查询Ethercat主站找到的从站数。
None
Long
public Function EC_Num_Of_Slaves as long
dim numOfSlaves as long numOfSlaves = EC_NUM_OF_SLAVES