F_CheckVendorId
The function F_CheckVendorId returns TRUE if the VendorID is Beckhoff, otherwise it returns FALSE.
Return value
METHOD F_CheckVendorId : BOOLName | Type | Description |
|---|---|---|
F_CheckVendorId | BOOL | TRUE if the VendorID is Beckhoff, otherwise FALSE. |
Inputs
VAR_INPUT
stSlaveIdentity : ST_EcSlaveIdentity;
END_VARName | Type | Description |
|---|---|---|
stSlaveIdentity | ST_EcSlaveIdentity | Slave Identity, which can be read with FB_EcGetSlaveIdentity. |
Prerequisites
Development environment | Target platform | PLC libraries to include |
|---|---|---|
TwinCAT v3.1.0 | PC or CX (x86, x64, Arm®) | Tc2_EtherCAT |