Validity: Rule, Task
This variable provides information about the type of error encountered by RTE at switch on during the various configuration steps.
Syntax |
I32 bad_config |
---|---|
Attributes |
Bit-accessible. Read only |
In uRMC motion control, this variable is used by RTE to drive the status of the LD LED (out_w 1 bit 4). The number of consecutive flashes between two pauses represents the error code.
In the case of more bits present, the code with higher priority is output.
In case you want to disable this management act on bit 5 of the dis_display variable.
The meaning of the bits is as follows:
Bit |
Hexadecimal value |
Description |
---|---|---|
BIT 0 |
0x00000001 |
Error in the license file (*.lic) |
BIT 1 |
0x00000002 |
Error in the file RTE.CFG |
BIT 2 |
0x00000004 |
Error in the file RHW.CFG |
BIT 3 |
0x00000008 |
Error in the file COCn.CFG (canOpen) |
BIT 4 |
0x00000010 |
Error in the file PFB.CFG (Profibus DP) |
BIT 5 |
0x00000020 |
Error in the file DNSn.CFG (Device Net) |
BIT 6 |
0x00000040 |
Error in the file RBXCNET.CFG (Can between Robox controls) |
BIT 7 |
0x00000080 |
Error in the file DF1.CFG (communication with Videotherminals or other) |
BIT 8 |
0x00000100 |
Error in the file FB.CFG (EtherCAT communication) |
BIT 9 |
0x00000200 |
Error in file MODBUS.CFG (communication with the Videotherminals or other) |
BIT 10 |
0x00000400 |
Error in the file PCTDEF.CFG (planar compensation table) |
BIT 13 |
0x00002000 |
Error in the configuration of the EtherCAT slave |
Example
; if bit 2 of bad_config is equal to 1 ; then in sr(1) will be stored ; "There is an error on hw configuration in RHW.CFG" _if(bad_config.2) sr(1) = "There is an error on hw configuration in RHW.CFG" |