Convert Decimal to Integer


Thread Starter

Hamid Ankouti

Hi Dears

In WINCC i must be entire 0-100% (valve position) for send command to PLC S7-400H, and PLC send command to valve via Modbus, so that valves just response to 0 to 32768.

How can i convert decimal type (0-100) to integer (0-32768) ?

how can i do this in WINCC and PLC?

Best Regards
Hamid Ankouti