• GLOBAL > PLC > Common to SX > Error > When I output a variable worksheet of D300win to Excel, modify only comments on Excel and send it back to D300win, a compilation error is generated...
  • No : 1422
  • Displayed Date : 2023/04/25 19:00
  • Print

When I output a variable worksheet of D300win to Excel, modify only comments on Excel and send it back to D300win, a compilation error is generated. The variable data type is REAL.

When I output a variable worksheet of D300win to Excel, modify only comments on Excel and send it back to D300win, a compilation error is generated. The variable data type is REAL.
Category : 

Answer

When the initial value of REAL type is '5.0,' for example, processing it through Excel changes it to '5' of the INT type and that causes a data type mismatch, which is assumed to result in a compilation error.