BIC_TO_BTN
The function BIC_TO_BTN extracts the Beckhoff Traceability Number (BTN) from the Beckhoff Identification Code in sBICValue and returns it as return value. Spaces at the end of the BTN are automatically removed. If no BTN is found, then an empty string is returned.
FUNCTION BIC_TO_BTN : STRING(9)
VAR_INPUT
VAR_INPUT
sBICValue : STRING;
END_VAR
Name | Type | Description |
---|---|---|
sBICValue | STRING | This input must contain the Beckhoff Identification Code (BIC) from which the function BIC_TO_BTN extracts the Beckhoff Tracability Number (BTN), e.g. BIC_TO_BTN returns the value "0002agdw" for the BIC "1P193995SBTN0002agdw1KEL7411 Q1 2P112104020018". |
Requirements
Development environment |
Target platform |
PLC libraries to be integrated (category group) |
---|---|---|
TwinCAT v3.1.0 |
PC or CX (x86, x64, ARM) |
Tc2_Utilities (System) |