ST_RFID_CfgStruct_PepperlFuchsIDENT
The structure is suitable for reading with eRFC_GetConfig (see RFID command set). This is not the parameterization of the TwinCAT RFID library but the proprietary configuration of the RFID reader.
TYPE ST_RFID_CfgStruct_PepperlFuchsIDENT :
STRUCT
tTimeout :TIME;
iBaudrate :UINT;
iIdentChannel :USINT;
bMultiplexMode :BOOL;
arrHeadCfg :ARRAY [0..3] OF ST_RFID_HeadCfg;
arrTriggerCfg :ARRAY [0..1] OF ST_RFID_TriggerCfg;
END_STRUCT
END_TYPE
The Ident Control Compact device from Pepper+Fuchs consists of a central unit and 1-4 write/read heads. Each of these five elements has an ID channel (Ident Channel) that can be used for assigning commands to individual elements. In the standard case the central unit is assigned channel 0 and the write/read heads channels 1-4.
The command eRFC_GetConfig together with the data at output stReaderCfg can be used to check the settings for all ID channels.
Name | Description |
---|---|
tTimeout | tTimeOut specifies the duration for which the RFID device waits for further telegram data. An error message is issued if the device has not detected a comprehensible command after this time. (The default is 0 ms) |
iBaudrate | iBaudrate is used to display the current baud rate of the RFID device. The supported RFID devices have a maximum transfer rate of 38400 baud. |
iIdentChannel | ID channel of the central unit |
bMultiplexMode | In multiplex mode interference between the write/read heads is minimized, since only one head is active at any time. |
arrHeadCfg | Devices with up to four write/read heads are available. Each head has a status and a DataCarrierType. For each head this information is stored in a structure of type ST_RFID_HeadCfg. Possible values for iDCType are explained in ST_RFID_Control. TYPE ST_RFID_HeadCfg : |
arrTriggerCfg | Devices with up to four write/read heads are available. Each head has an iIdentChannel and a bTriggerMode. For each trigger sensor this information is stored in a structure of type ST_RFID_TriggerCfg. iIdentChannel indicates the write/read head for which the trigger sensor is configured. If iTriggerMode is TRUE, the trigger mode is active for a trigger sensor. If bInverted is TRUE, it is an inverted trigger signal. For more information on the trigger mode, see section Pepperl-Fuchs TYPE ST_RFID_TriggerCfg : |
Further information on the RFID reader configuration process is summarized in section Configuration.
Requirements
Development Environment |
Target Platform |
PLC Libraries to include |
---|---|---|
TC3.1.4013 |
PC or CX (x86, x64) |
Tc2_RFID |