Jump to content

Recommended Posts

Posted

Hello Dears,

I am trying to write a program in structured ladder. However, the timer will be adjusted by the user via HMI. I have no idea how to address this in  GX works 2 Structure, as it my first structure program. I also have no idea how to assign the time value i.e. seconds, minutes or hours in this case.

Thank you in advanced.

 


Posted

I would suggest Timer100FB but and use decimal values but if you want to use a TIME input then you need TON or TOFF.

I would handle to conversion in the HMI or program

  • Like 1
Posted

You should be able to use an integer input and a command in the PLC to convert it from say seconds to data type TIME.  Many HMI products cannot display or edit data type TIME yet.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...