Massimo,
Since the problem went away when you shifted the terminal bases, it is likely that the bases had shifted such that one or more pins was no longer making contact. If you do not already have DIN rail locks in place, I would recommend installing them.
Regards,
Aaron
LabVIEW Champion, CLA, CPI