PLC-lang / StandardFunctions

Standard functions for PLC as described by IEC61131
GNU Lesser General Public License v2.1
10 stars 2 forks source link

17 counter functionblocks iec61131 table 45 #45

Closed 99NIMI closed 2 years ago

99NIMI commented 2 years ago

@ghaith image CTU(...) CTD(...) CTUD(...) should this be generic for the given types or just another implementation for INT ? I don't think that we currently support generics for FunctionBlocks or i missed out on something I have tried it but it didn't work for me If it's just an extra implementation for INT i will add the missing functions

ghaith commented 2 years ago

I think we should make it another INT implementation. We indeed do not support FB generics, and not sure if it makes sense.