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