Jump to content

No sound came off when the program was active


Hadi

Recommended Posts

To whoever is reading this

I hope you could assist me. Initially, without putting in the 2nd alarm(alarm1), the program would work as what I wanted. My project is to ensure that each screen that I go to produces a sound whenever the user picks the wrong tool. And hence, after putting in the 2nd alarm which is an identical ladder diagram, the alarm eventually stopped working. It only works when I only input one of the alarm. I would appreciate it if anyone could assist me..

image.thumb.png.8c2ff2e43591f586000c9e1a7bac6374.pngimage.thumb.png.5bb9546b1e863c7f743958d66fa8d09f.png

Link to comment
Share on other sites

  • MVP 2023
7 hours ago, Hadi said:

And hence, after putting in the 2nd alarm which is an identical ladder diagram, t

Does this mean you have another network with the same output tag in a regular coil?  

I don't see any objects labelled "alarm1".

Please post your program so we can see the whole picture.  

Joe T.

Link to comment
Share on other sites

23 hours ago, Flex727 said:

Can you clarify what you're trying to do? Are you trying to activate the PLC's internal buzzer?

You could say that. I am trying to play a sound which comes out from the PLC. Initially, the sound file worked as what i wanted. But after adding more actions for 'play sound' my PLC stopped playing any kinds of sound. The whole program works as I intended just that the sound was not able to be played at all. And when i redo my ladder diagram, same scenario happened. The sound initially work but after adding a few more of those 'play sound' actions, it just did not want to make any sound anymore. I'll attach my ladder diagram to help you to see better.

 image.thumb.png.974863a86d8193bf6fdef8c049df7d80.pngimage.thumb.png.aa63b2adff5e751930d7f3312c2dcf51.pngimage.thumb.png.064caba475db3d1fed755542b6a83670.pngimage.thumb.png.53811dbe7268f6485b9fd7ee2f1bdc9b.png

Link to comment
Share on other sites

22 hours ago, Joe Tauser said:

Does this mean you have another network with the same output tag in a regular coil?  

I don't see any objects labelled "alarm1".

Please post your program so we can see the whole picture.  

Joe T.

I am not quite sure what you meant by the first sentence. What do you mean by network? I have attached my program in the previous post. Do tell me if there is anything else that you need me to show you to understand better

Link to comment
Share on other sites

38 minutes ago, Flex727 said:

A "network" is a single ladder rung.

Actions need to be a SET coil, which the PLC will RESET automatically.

I see. In that case, yes i do have another network with the same output tag in a regular coil. Will this be a problem?  Currently I am watching some tutorials online while waiting for responses. Anyways thank you for the speedy responses. 

Link to comment
Share on other sites

2 minutes ago, Flex727 said:

Coils (other than SET or RESET coils) can only be used in one single ladder rung. The value of the first coil will be overwritten by the second one.

In that case, to solve this problem I would have to create a duplicate so that I could run the program as I intended? Would this be the correct solution? 

image.thumb.png.9b80e68c6b0d85cfbb5e6865b0e7e8ca.png

Link to comment
Share on other sites

11 minutes ago, Flex727 said:

Also, do NOT place multiple logic threads in a single ladder rung.

Okay noted. 

 

12 minutes ago, Flex727 said:

Yes, but what is the purpose of the Inverted Coils? As I said, Actions require SET coils.

Woops that was my mistake I forgot to change it. Thank you for guiding me. Will test this program out when I am in my lab later on. I got the information that I need from you and also youtube. Will keep you posted if I encounter any more problems/solved the issue. Thanks.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...