0
\$\begingroup\$

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.

enter image description here

\$\endgroup\$
4
  • \$\begingroup\$ Are you using the 0BA8 version? If not, then which? \$\endgroup\$
    – Transistor
    May 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\$
    – DanM
    May 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\$
    – Transistor
    May 17, 2021 at 20:02
  • \$\begingroup\$ @Transistor I will try that in a moment! \$\endgroup\$
    – DanM
    May 17, 2021 at 20:10

1 Answer 1

1
\$\begingroup\$

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.

\$\endgroup\$
4
  • \$\begingroup\$ Ah! I need to use the "math block" before? \$\endgroup\$
    – DanM
    May 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\$
    – Transistor
    Jul 2, 2021 at 16:29
  • \$\begingroup\$ sorry. I did know know that would happen. \$\endgroup\$
    – DanM
    Jul 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\$
    – Transistor
    Jul 2, 2021 at 22:19

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.