LLExec INtime: Difference between revisions

From Axel Public Wiki
Jump to navigation Jump to search
Line 15: Line 15:
Optionally you can also:
Optionally you can also:
   * launch "LLExecStart_INtime.exe /LLEXEC_NO_START" and then launch manually LLExec.rta using INtime RT loader.
   * launch "LLExecStart_INtime.exe /LLEXEC_NO_START" and then launch manually LLExec.rta using INtime RT loader.
   * launch "LLExecStart_INtime.exe [name.conf]" passing a not standard name of the configuration file to LLExec.
   * launch "LLExecStart_INtime.exe [name.conf]" passing a custom name of the configuration file to LLExec.


(Without license it will start in DEMO mode, if you need a licence key please specify if you need Ethercat license too since there is a separate key for ethercat functionality).
(Without license it will start in DEMO mode, if you need a licence key please specify if you need Ethercat license too since there is a separate key for ethercat functionality).

Revision as of 11:13, 10 December 2019

LLExec for Tenasys INtime usage instructions

Prerequisites

  • Configure a Tenasys INtime machine with a running virtual network interface, an INtime system timer with a tick of 50 microseconds, a ethernet capable network card assigned to INtime environment. (See official INtime documentation)

Tested on:

  Windows 10 + INtime 6.3.17239.1 Patch Level 17239 + Intel Ethernet Connection 1217V (driver ie1g - Vendor:8086 Device:153B)

Installation

  • Extract the LLExec_x.y.z_INtime_bin.zip file into a windows folder of the INtime machine, let's say c:\data\plc

Execution

  • Start the INtime Node on the machine.
  • Launch "LLExecStart_INtime.exe" from windows. Without parameters it will load the default "LLExec.conf" configuration file.

Optionally you can also:

 * launch "LLExecStart_INtime.exe /LLEXEC_NO_START" and then launch manually LLExec.rta using INtime RT loader.
 * launch "LLExecStart_INtime.exe [name.conf]" passing a custom name of the configuration file to LLExec.

(Without license it will start in DEMO mode, if you need a licence key please specify if you need Ethercat license too since there is a separate key for ethercat functionality).

LogicLab usage

  • Execute LogicLab
  • Create a new project using the LLExec PLC runtime (INtime) target
  • Configure the GDB connection using the virtual IP address of INtime (typically 10.1.1.2, port 5000).
  • Connect to target with the upper left button

Ethercat Master example

  • Prior to launch LLExec, you need to edit the LLExec.conf file and replace the port configuration in the line "<EtherCAT port="ie1g0" autorecovery="no"/>" with the name of the INtime network device used for ethercat. (eg: "ie1g0")
  • Import an .esi file with the command "Tools->Import ESI".
  • Click on resources tab of LogicLab, then select the "Ethercat" node and enable it with the checkbox.
  • Right click on the "main network" ethercat node and select "add" to add your imported ethercat device.
  • A new node for the ethercat device will appear, configure it as you like.
  • Save, compile and download the project to the target.