Is it possible to change counter signal to analog signal in Siemens Logo? When Cnt is for example 4, then the Analog Threshold Block is going to giving out a high signal, else low signal.
-
\$\begingroup\$ Are you using the 0BA8 version? If not, then which? \$\endgroup\$– TransistorMay 17, 2021 at 19:50
-
\$\begingroup\$ @Transistor I don't know. I can use what version of Soft Comfort I want. I'm using Soft Comfort 8.3 \$\endgroup\$– euraadMay 17, 2021 at 20:00
-
\$\begingroup\$ Yes, but various features and functions are added to each generation of the hardware. There's a "determine hardware" on the menu somewhere which will calculate the minimum level of hardware you require. \$\endgroup\$– TransistorMay 17, 2021 at 20:02
-
\$\begingroup\$ @Transistor I will try that in a moment! \$\endgroup\$– euraadMay 17, 2021 at 20:10
1 Answer
I've done this using the Mathematical instruction.
+------+
| += |
En -| A-> |-AQ
Par-| |
+------+
Par
V1 = B001.Cnt <--- Tie this to your B001 Cnt output.
V2 = 0
V3 = 0
V4 = 0
Op1 = +
Op2 = +
Op3 = +
Result: AQ = V1 + 0 + 0 + 0
You can then tie AQ as a regular analog signal to your Analog Threshold block.
-
\$\begingroup\$ Ah! I need to use the "math block" before? \$\endgroup\$– euraadMay 17, 2021 at 20:01
-
1\$\begingroup\$ @MrYui, please accept this answer if it solved your problem. That way the system won't keep popping it up as unsolved. \$\endgroup\$ Jul 2, 2021 at 16:29
-
\$\begingroup\$ sorry. I did know know that would happen. \$\endgroup\$– euraadJul 2, 2021 at 22:09
-
\$\begingroup\$ No problem. I see you've been rather good at accepting answers to your questions (but don't feel you have to if you haven't got a good enough answer). \$\endgroup\$ Jul 2, 2021 at 22:19