Displays status code of the indicated workstation.
|
D_CO_WSDIAGNO nWsCan [-V] [-H]
|
|
Number of workstations
|
|
Returns explanation of status bits in 1. (optional)
|
|
Returns the explanation of all possible status bits. (optional)
|
|
The meaning of the individual bits that make up the status code is given below:
|
|
|
0
|
0x00000001
|
Rx PDO 1 missing
|
1
|
0x00000002
|
Rx PDO 2 missing
|
2
|
0x00000004
|
Rx PDO 3 missing
|
3
|
0x00000008
|
Rx PDO 4 missing
|
4
|
0x00000010
|
Rx PDO 1 received before time
|
5
|
0x00000020
|
Rx PDO 2 received before time
|
6
|
0x00000040
|
Rx PDO 3 received before time
|
7
|
0x00000080
|
Rx PDO 4 received before time
|
8
|
0x00000100
|
Ws mandatory missing
|
9
|
0x00000200
|
Missing Ws
|
10
|
0x00000400
|
Last RTR request failed
|
11
|
0x00000800
|
Ws presence set
|
12
|
0x00001000
|
Ws reconfiguration
|
13
|
0x00002000
|
Error during reconfiguration
|
14
|
0x00004000
|
-
|
15
|
0x00008000
|
-
|
16
|
0x00010000
|
Emergency message present
|
17
|
0x00020000
|
No communication (in operational mode)
|
18
|
0x00040000
|
Ws type: mandatory
|
19
|
0x00080000
|
Ws type: rechargeable at connection
|
20
|
0x00100000
|
Satisfactory configuration performed
|
21
|
0x00200000
|
Ws not connected to first configuration
|
22
|
0x00400000
|
Problem while configuring an SDO command
|
23
|
0x00800000
|
Problem during the configuration of an NMT command
|
24
|
0x01000000
|
Configuration performed
|
25
|
0x02000000
|
YES where data is read/write (only on physical CANbus devices)
|
26
|
0x04000000
|
Node is configured not present (ECAT_SLAVE_OFF)
|
27
|
0x08000000
|
The node was requested a mode other than OPERATIONAL
|
28
|
0x10000000
|
The EtherCAT master is not in OPERATIONAL mode
|
29
|
0x20000000
|
There is no link on the EtherCAT port of the master
|
30
|
0x40000000
|
Ws not started
|
31
|
0x80000000
|
Ws undefined
|
|
Esempio
