Please enable JavaScript to view this site.

Function to read the information of the device connected in EtherCAT line.

Instruction takes a long time. It must be called continuously until it is finished.

Syntax

i32 ecat_probe (i32 nEth, stru_ecat_probe stru [, string devName=""])

nEth

EtherCAT channel number

stru

Structure of type stru_ecat_probe that contains the information

devName

String where the device name is saved. (optional, default "")

Result

Returns:

Value

Description

1

Operation completed

0

Running operation

-1

Illegal EtherCAT Line Index

-2

Ethernet channel is not EtherCAT

-3

Illegal topic

-4

No device in the selected location

-5

EtherCAT line not configured correctly

-6

EtherCAT cable disconnected

-7

Internal sw error. (contact Robox)

Validity

Task

System Requirements.

RC3E 33.7.1-beta0

Note


 

  

Keyboard Navigation

F7 for caret browsing
Hold ALT and press letter

This Info: ALT+q
Page Header: ALT+h
Topic Header: ALT+t
Topic Body: ALT+b
Contents: ALT+c
Search: ALT+s
Exit Menu/Up: ESC