Khom Posted July 31, 2021 Report Share Posted July 31, 2021 Hello, I'm using a V570-57-T20B-J with V200-18-E1B, I'm trying to turn on/off an LED (Binary Image) on my HMI with the use of a relay output. I have powered my unit; +V: 24V 0V: 0V, and the relay output shown in the image below. I have also written a logic and linked in my HMI as shown below: With the connections, the LED does not change to RED. Any help would be appreciated Link to comment Share on other sites More sharing options...
MVP 2023 Ausman Posted July 31, 2021 MVP 2023 Report Share Posted July 31, 2021 2 hours ago, Khom said: I'm trying to turn on/off an LED (Binary Image) on my HMI with the use of a relay output. With what you have shown this sentence doesn't make sense. You want to use a relay output, yet you are using an MB to trigger a screen element indirectly linked to the output. So what is it that you want? The screen element to concurrently change when the relay changes? I guess this. So the real question here is what controls your O 0?, because you've actually got that as a contact. If something else is turning O 0 on, then simply link O 0 instead of MB24. After all that, at present, does MB24 actually change when you think it should when online? cheers, Aus Link to comment Share on other sites More sharing options...
sgull Posted July 31, 2021 Report Share Posted July 31, 2021 Hi Khom If you wire the PLC the way you have shown and output 0 comes on you will short out your 24v supply. Do NOT connect 24v to one side of the output and 0v to the other (the output is just a switch) As Aus asks, let us know exactly what you are trying to do. To bring on the output you need some condition in the ladder to trigger output 0. You are correct with linking the contact of the output to the MB to change the image on the display (you can also link direct to the output) Regards Denis Link to comment Share on other sites More sharing options...
MVP 2023 Flex727 Posted July 31, 2021 MVP 2023 Report Share Posted July 31, 2021 I think he's just got things wrong way around. @Khom, you need to check the box to the left of the word "Toggle", then link MB 24 to O 0 the reverse of the way you have it: MB 24 O 0 ---| |------( )- Edit: Upon re-reading, I think you're using some other condition to activate MB 24 (some alarm condition), not trying to toggle it by touch on the screen. In that case, simply leave the Toggle box unchecked and the logic will work properly as long as you have a coil somewhere for MB 24 that is activated for your alarm condition. Link to comment Share on other sites More sharing options...
MVP 2014 Simon Posted August 1, 2021 MVP 2014 Report Share Posted August 1, 2021 Hi Khom, It looks like you are treating th e relay output as if it were an input. Try linking I0 (Input Zero) to the contact, and wire the inputs on the module accordingly. I 0 MB 24 ---| |------( )- Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now