Jump to content

Merle

Members
  • Posts

    35
  • Joined

  • Last visited

Everything posted by Merle

  1. Hello, I'm using a US5-B10-TA30 PLC+HMI with an encoder. I'm using the High Speed Counter Inputs (channel 1) to count the encoder signals and do what I need to do. This seems to be working well. How is the HSC Counter Value maintained for the HSC? Is the HSC counting interrupt driven and buffered? If the CPU is off executing the rest of the ladder and performing other tasks, it there a risk of counts being missed because the counter is not being read enough? Thanks.
  2. I think I managed to mostly figure it out and have it working. My main weakness is just UniLogic and ladder in general it seems.
  3. Sorry, I think a typo in my post may have mislead you. I was using HS0(zero), not HSO(output). I forgot the 'C' which made it confusing. It should have been HSC-0 and not HS0 like I typed. I did manage to find and configure everything you outline above. Where I got confused is when I tried to add an IO to a Direct Contact, I was only seeing the HSC-0 reset and counter direction IO. This makes sense now since they are the only BITS added so the only parameters that can be assign to a contact. And when I went to the IO list, I wasn't seeing the HSC-0 Counter Value and Status parameters until I sorted the IO by Name. I'm not sure why those two parameters were separated. It must have been sorted by type or something. So thanks for that! Are there any tutorials or documents on using the HSC parameters in ladder? Specifically for integrating an encoder? I sort of know in theory how this should be done, but not in practice. Thanks again.
  4. Hello, I've recently purchased a US5-B10-TA30 PLC+HMI. I'm just getting started with UniLogic - created some ladder and played with the PLC a bit (yes very new). What I now need to do is integrate an incremental encoder (IFM RVP510). I understand that I can use the I10/I11 high speed inputs configured as quadrature inputs to track the A/B transitions. However, when I configure the HS0 inputs, the tags that I see defined are for HS0.Counting_Direction and HS0.Counter_Reset. Does that mean I just need to define the regular I10/I11 inputs as the A/B signals from the encoder? Is there a predefined Counter in UniLogic that can be used for the signal counting/tracking? Or do you have to define/build your own? If there are any examples around that someone could point me towards that would be greatly appreciated. Thanks.
  5. Hello, I have a (probably simple) question regarding Timers. Specifically, TOFF Timers. I have the simple ladder block below (TOFF is preset for 1 second): When "I Button" is pressed the entire rung in energized immediately as I expect. However, when "I Button" is released, The "ButtonState.Out" is delayed for 1 second before de-energizing but the "O OutState" contact goes off immediately. Shouldn't the "O OutState" be delayed for 1 second before turning off (which is what I want)?
  6. CPU was running, however, I did have a couple issues: 1. As you suggested, I didn't have my main ladder function set to run as Main (fixed by right clicking on it). 2. I also have my IO defined in a separate ladder function, but I didn't have it called in my Main function. It all made sense when I realized what the error messages were telling me based on your suggestion. Lesson learned. The ladder appears to be running properly now in Online mode. However, I'm still not getting anything on the actual output pin? Some other issue probably. Thank you.
  7. Yes understood. I've tried running with either or rung disabled with same result. Just trying to get ANYTHING to work.
  8. Hi All, I apologize in advance for the simplicity of this question, but I'm really scratching my head on it. I'm using the latest version of UniLogic with a UniStream PLC+HMI device. I have some very simple ladder that I can't seem to get to run for some reason? I'm using a single Digital Input to simulate a button press and a single Digital output to simulate an output switch (to drive a relay or something). My IO are mapped as follows on input_0 and output_0: And I'm trying to get the simple ladder below to execute. I'm just trying to press a button and turn on an output. Seems basic enough, but I can't get it to work. In Online mode in UniLogic, I can see the "I Button" contact get powered when the button is pressed, but nothing happens? Execution just seems to stop - even when the Button contact is directly wired to the Output coil as in Rung 2. What am I doing wrong?
  9. I am having the same issue. Did anyone find a definitive solution to this? NOTE: I cannot update the PLC FW since this error started to appear. I cannot even update the RTC? Just get an error "Could not apply command" to anything I try to do.
×
×
  • Create New...