================================================================================ Float/Integer (Block) Disk I/O TLM ================================================================================ Installation: 1. To install the DTDISK TLM on the Smart (Arm) or Hardbook (x86) PLC, first transfer the appropriate package file ".deb" (via SCP or FTP) to the PLC. 2. Then login to the PLC via the ssh or serial console and install the package as follows: For Smart: opkg install tlm-dtdisk_1.0.1_V4.6_smart.deb for X86: opkg install tlm-dtdisk_1.0.1_V4.6_x86.deb 3. For TOPDOC NexGen, copy "dtdisk.tlm.so" to your PC's TOPDOC NexGen's "\SoftPLC\tlm" folder and the included DTDISK.DEF file to the "\SoftPLC\plc" folder. Finally, start TOPDOCNexGen and go to the PLC | Module editor panel and you will see a new entry appear for this TLM. To ensure your existing modules stay loaded, click "Fetch" and then check the DTDISK.TLM checkbox and then select "Send". You will also need to restart the PLC for this TLM to be loaded and usable from within the PLC Remote Ladder Editor. Note: By default, the file type is "TEXT". However, adding the word "BINARY" to the "Option" field of DTDISK.TLM entry in the Module Editor will change the file type to "binary", which will result in reduced file I/O access times, expecially for element counts greater than 100 words. Usage: You can use the included TLI's from within Nexgen via the TLI button on the top toolbar. Go to the DTDISK menu and chose either the FLOATSAVE, FLOATLOAD, INTSAVE or INTLOAD suboption. FLOATLOAD: Filename - a string (ST) element which contains the name of the textfile to load Block - the starting word of the floats to be filled; note that the maximum loading size of any block is 1000 words and the file must have at least 1000 elements past this starting block Count - the number of float elements to read from the file Loaded - this word is changed after execution to notify the user how many floats were successfully read FLOATSAVE: Filename - a string (ST) element which contains the name of the file to write Block - the starting word of floats which will be written; note that the maximum writing size of the block is 1000 words and the file must have at least 1000 elements past this starting block Count - the number of float elements to write, starting at 'Block' INTLOAD: Filename - a string (ST) element which contains the name of the file to load Block - the starting word of the integers to be filled; note that the maximum loading size of any block is 1000 words and the file must have at least 1000 elements past this starting block Count - the number of integer elements to read from the file Loaded - this word is changed after execution to notify the user how many integers were successfully read INTSAVE: Filename - a string (ST) element which contains the name of the file to write Block - the starting word of integers which will be written; note that the maximum writing size of the block is 1000 words and the file must have at least 1000 elements past this starting block Count - the number of integer elements to write, starting at 'Block ================================================================================ Copyright 2011 SoftPLC Corp. ================================================================================