Internet PLC Forum
General => Technical support => Topic started by: mario 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.
-
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.
-
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
-
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