How can I read analog value with PLC PM564 eth?
Hello
How can I read analog value(Pot or LM35) with PLC PM564 eth?
Thank you.
How can I read analog value(Pot or LM35) with PLC PM564 eth?
Thank you.
Voted best answer
Greetings,
In AC500 Series PLCs real value are indicated with integer values.
You have to define a integer variable under Codesys (in Global Variables section or in your program, it is up to you).
Then you need to connect your variable to your hardware section.
Everything is done, you need to download and go online. You will see integer values between 0~32768. To obtain a real value you need to use SCALE function.
Hope it helps.
In AC500 Series PLCs real value are indicated with integer values.
You have to define a integer variable under Codesys (in Global Variables section or in your program, it is up to you).
Then you need to connect your variable to your hardware section.
Everything is done, you need to download and go online. You will see integer values between 0~32768. To obtain a real value you need to use SCALE function.
Hope it helps.
Add new comment