ID 40023
Pointer to global external variables HLI section is 0. | |||
Description | When the HLI interface is activated by an instance of the FB MCV_HliInterface, global pointer variables are initialised. The implemented FBs can then access the various HLI areas. To ensure the pointers are valid they are checked. The check detects that the global pointer variable gpVEGlobal is invalid because its value is 0. | ||
Response | Class | - | FB MCV_HliInterface sets its “Error” output to TRUE, waits for a fixed number of cycles, and tries to communicate again with the motion controller via the HLI . Occurs the error at output “Error“ of an utility FB the calculation of that FB is interrupted immediately and output “Error“ is set to TRUE. |
Solution | Class | - | Occurs the error at an instance of FB MCV_HliInterface you have to check if the PLC application overwrites the variable gpVEGlobal with 0 already after a valid pointer was available.
For all other FB you have to check if they are calculated before a FB of type MCV_HliInterface signalled the successful connection to the HLI by setting its output “Initialized” to TRUE. The FBs than have to be moved to an area of the PLC application, where they are calculated only if connection to the HLI is established successful. |
Error type | - | ||
|