Validity: RC3E v33.7-1-beta0 (or later).
This keyword defines a variable of type STRU_ECAT_PROBE.
It consists of the following information:
Field |
Type |
Description |
---|---|---|
phase |
U32 |
Internal working phase. Must be set to 0 at the start |
err |
I32 |
Internal error code: •-14 (EFAULT) null pointer or illegal phase •-5 (EIO) cable not connected •-2 (ENOENT) no device found •-19 (ENODEV) selected device does not exist |
n_pos |
U32 |
Ordinal position in the ethercat line (1-:-1024) |
how_many |
U32 |
Number of devices present on the ethercat line |
al_status |
U16 |
Returns: •0x01 Init •0x02 Pre-Operational •0x03 Bootstrap •0x04 Safe-Operational •0x08 Operational •0x11 Init + err •0x12 Pre-Operational + err •0x13 Bootstrap + err •0x14 Safe-Operational + err •0x18 Operational + err |
al_status_code |
U16 |
AL status code of the device |
config_addr |
U16 |
Configured device address |
alias_addr |
U16 |
Configured device address |
vendor_id |
U32 |
Vendor ID |
product_code |
U32 |
Product code of the device |
revision_number |
U32 |
Revision number of the device in EEP |
serial_number |
U32 |
Serial number of the device in EEP |
Example declaration:
|