Internet PLC Forum

General => General Discussions => Topic started by: artkraft on February 20, 2016, 03:39:48 PM

Title: HSC in cusfn
Post by: artkraft on February 20, 2016, 03:39:48 PM
what is the purpose of // in a cusfn.
 I am measuring the thickness of my material with an encoder. Desired control thickness is set with HMI and stored in DM[309]. When HSC2 < SV I want to send step pulses until it is > SV.
CusFn #13 see attached file.








Title: Re:HSC in cusfn
Post by: support on February 21, 2016, 12:29:21 PM
// is an alternative marker for COMMENTS. It is the same as single quote or REM. This is borrowed from C++. You can also use the /* and */ to comment out an entire block of codes. This is also borrowed from C/C++ language.
Title: Re: HSC in cusfn
Post by: BetterBath on October 27, 2022, 06:25:04 AM
I learned a little c++, so this topic seemed a bit familiar to me. Thank you for sharing.
Junk removal (https://stluciejunkremoval.com/)Pet sitting Port St Lucie, Fl (https://treasurecoastpetsitters.com)Pressure (https://www.webwiki.com/treasurecoastpressurewashing.com)washing (http://toptendir.net/power-washing-port-st-lucie_312380.html)power (https://www.instapaper.com/u/folder/4937574/pressure-washing-port-st-lucie)roofing (https://www.bananadirectories.com/119909-Roofers-Florida)handyman (https://nearmelisting.com/local/st-lucie-handyman)