Author Topic: high speed counters  (Read 6437 times)

mario

  • Newbie
  • *
  • Posts: 3
  • I'm a llama!
    • View Profile
high speed counters
« on: February 03, 2005, 04:06:47 AM »


I want to make a count of quickly turns (function HSC in set) with a "PLC T100MD-1616+" and I want to visualize this number on "Hmi". I explain,  in fact the job that I must to do is to program the number of turn using a keyboard"HMI"(Up and Down). Since this number is OK I want to have a signal out on my "PLC - out"  and I want to have the possibility to visualize somewhere the number of turn programmed and the possibility to reset all.

PS: I'm new in this domain of programming and my English is no good, may I ask you to send me on attachment an example of this kind of programming in *.pc5.

Thanks in advance and have nice day to you all.


support

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3135
    • View Profile
    • Internet Programmable PLCs
Re:high speed counters
« Reply #1 on: February 03, 2005, 09:11:04 AM »
The HMI allows you to enter a number via the keypad. So you can save it to a DM[] and use it to execute a HSCDEF function, which compare the value of the HSCPV with this preset value as the counts comes in. When the preset value is match, a custom function will be triggered and you can use a SETIO in this custom function to turn on an Output.
Email: support@triplc.com
Tel: 1-877-TRI-PLCS

mario

  • Newbie
  • *
  • Posts: 3
  • I'm a llama!
    • View Profile
Re:high speed counters
« Reply #2 on: February 03, 2005, 11:07:40 AM »
May I ask you please,to send me an email with a exemple for this program because I never programming before(I need to realize this to my job :(
                                   Many thanks in advance

support

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3135
    • View Profile
    • Internet Programmable PLCs
Re:high speed counters
« Reply #3 on: February 07, 2005, 09:32:58 PM »
There are plenty of examples in the folder:

C:\TRiLOGI\TL5\usr\samples

Look for the example "HighSpeedCtr.PC5".

Regarding sample program for using keypad on the HMI, you can find them in the folder:

C:\TRiLOGI\TL5\usr\samples\HMI
Email: support@triplc.com
Tel: 1-877-TRI-PLCS