Kuhnke Electronics Instruction Manual
Kuhnke Electronics Instruction Manual
Kuhnke Electronics Instruction Manual
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Introduction<br />
4.3.4 PLC Configuration ......................................................................65<br />
4.3.5 The User Program ......................................................................68<br />
4.3.6 The Flash File System................................................................69<br />
4.4 Function Library P690.lib/C690.lib ...............................................70<br />
4.4.1 Installing a Thread......................................................................71<br />
4.4.2 Installing / Uninstalling a Timer Task..........................................75<br />
4.4.3 Enabling / Disabling the Outputs ................................................79<br />
4.4.4 Direct Read of Local Inputs ........................................................80<br />
4.4.5 Direct Write of Local Outputs .....................................................81<br />
4.4.6 Installing an Error Module ..........................................................82<br />
4.4.7 Installing an Input IRQ Module ...................................................84<br />
4.4.8 Installing a REF IRQ Module......................................................87<br />
4.4.9 Installing a Reference Value IRQ Module ..................................88<br />
4.4.10 Setting up the Watchdog ..........................................................89<br />
4.5 Library MMC.LIB ..........................................................................91<br />
4.5.1 Procedure ...................................................................................92<br />
4.5.2 Registering with the File System ................................................93<br />
4.5.3 Closing a File..............................................................................94<br />
4.5.4 Copying Files..............................................................................95<br />
4.5.5 Deleting a File.............................................................................96<br />
4.5.6 Determining the Free MMC Space.............................................97<br />
4.5.7 Creating a Subdirectory..............................................................98<br />
4.5.8 Moving a File ..............................................................................99<br />
4.5.9 Opening a File ..........................................................................101<br />
4.5.10 Reading from a File ................................................................103<br />
4.5.11 Renaming a File .....................................................................104<br />
4.5.12 Setting the Edit Bookmark of a File........................................105<br />
4.5.13 Writing to a File.......................................................................106<br />
4.5.14 Initialising the File System......................................................107<br />
4.5.15 Opening, Reading, Closing a File...........................................108<br />
4.5.16 Opening, Writing, Closing a File.............................................110<br />
4.6 PLC States .................................................................................112<br />
4.6.1 RUN..........................................................................................112<br />
5