Hi,

Instead of " PT100 var PORTA.0" ...

just write

PT100 CON 0 ...

Alain