These tutorials define the basis for using the Movicon Scada and LogicLab PLC interface with the HMI series.
0.This video tutorial describes how to register for the Pixsys portal and access the Download area where the LogicLab development suite is located.
https://youtu.be/SR_BgvCCBoM
1. This video tutorial describes how to automatically start a Movicon project when starting up the HMI and how to enable the service to connect to your development PC.
https://youtu.be/g7RVO-neMuo
a. During HMI power ON, press and hold the "STOP" button in the top right corner to enter the TDControlPanel.
b. Press the "HMI_MOVICON" button
c. Press the "OPEN movprj" button to select the Movicon project that will automatically start when the panel is switched on.
d. Enable "RUN Project at STARTUP" to make the previous point changes effective.
e. Enable "RUN file service at startup". This service allows Movicon to connect to the device and perform target operations such as project upload. Confirm the parameters with the "OK" button.
f. When finished press the "RESET_HMI" button to reboot the HMI.
2. This video tutorial describes how to change the IP address of the HMI and enable LogicLab with its services.
https://youtu.be/s4Pq_YSiR2M
a. During HMI power ON, press and hold the "STOP" button in the top right corner to enter the TDControlPanel.
b. Press "LAN_ETH1" to define the network parameters. The network IP will be a parameter to be entered on Movicon and LogicLab for connections to the target.
c. Press "PLC_LOGICLAB" to enable LogicLab runtime services.
d. Enable "RUN LOGICLAB_PLC at STARTUP" to automatically start the PLC section when the TD is switched on.
e. Enable "RUN DEBUG Console" to display the LogicLab boot console. Confirm the parameters with the "OK" button.
f. When finished press "RESET HMI" to restart the HMI.
3. This tutorial video describes how to download your project using LogicLab software.
https://youtu.be/OVFeI2bBdF4
a. After enabling LogicLab runtime from TDControlPanel and creating your own project, set the IP address of the target to which you want to connect.
b. Press the "Connect to System" button and check the bottom right corner of the screen to see if the system is "CONNECTED".
c. Press the button next to "Download Code" and confirm the required operations.
d. Once the download is complete, check the system output and check at the bottom right corner that there is the words "SOURCE OK" and "CONNECT". This indicates that the project has been compiled and downloaded into the TD correctly.
4. This tutorial video describes how to download your project using Movicon software.
https://youtu.be/mUiPcXj-758
a. After you enable Movicon services from TDControlPanel and create your own project, press the project transfer button.
b. In the "Server" section, enter the IP address of the TD to download the application.
c. Username "Admin" with no password.
d. In the "Device Folder" section, enter the physical path to download the project. I recommend that you always enter "\NandFlash\Project_folder_name" to allow Movicon to create a remote project folder where you can copy all project files that would otherwise be placed in the system root.
e. Press the "Transfer project" button and check that the files have been copied successfully.
f. When finished, close the project transfer window and restart the TD. Alternatively, simply press the "Start Project on Device" button to start your application on the TD without having to restart it.
5. This tutorial video describes how to import the PLC Variables using Movicon software.
https://youtu.be/Qvmox4YgejY
a. Add "Pixsys SoftPLC Driver". "Real Time DB"-->"Comm Driver"
b. In the "Project Symbol for debug" section, select the. sym. xml file in the LogicLab project folder. This file contains the list of project variables to be imported. It is created automatically with each compilation of the LogicLab project.
c. After selecting the. sym. xml file, the "Project Symbols"section is auto-compiled. If this does not happen, enter the path "\NandFlash\LLExecCE\Project_Name. sym. xml" manually.
d. You can also define a custom station name by changing the one available by default in the "Station Name"section.
e. Once the station has been created, communication with the PLC can be tested by pressing the "Test Cable Conn" button.
f. Select the pixsys driver from the project resources and choose the option "Import PLC Database..." with the right mouse button and then select the variables of interest.
g. Check that variables from variable table have been imported.
6. This tutorial video describes how to programming an ETD1644 using CAN bus protocol.
https://youtu.be/oVJr5D5VNnc
a. After creating the LogicLab project, enter the "Resources" section and set up the CAN port for the CANOpen as master.
b. Add an ETD1644 from the catalogue by pressing right click on the CAN port and "add"
c. Activate "PDO Auto Mapping" and confirm the procedure. In the "Parameter settings" section, a series of parameters will be automatically created to initialize communication in CAN.
d. In the section "Parameter settings" and add the parameters for analog input configuration.
e. In the section "PDO Tx Input" to add the status of the digital and analog inputs. In the "Label" column you can create and assign the related project variables.
f. In the section "PDO Rx Output" to enter the status of the digital outputs. Note that the digital inputs and outputs of ETD1644 are overlapping.
g. Compile and download the project to the PLC.
h. The LogicLab watch window can be used to display the value of the variables associated with the inputs and outputs of ETD1644.
7. This tutorial videos describes how to programming an ETD1644 using Modbus protcol.
https://youtu.be/35V1QossG00
a. After creating the LogicLab project, enter the "Resources" section and set the Com2: RS485 port for Modbus as master.
b. Add an ETD1644 from the catalogue by pressing right click on the Com2 port and "add"
c. In the section "Parameter settings" add the parameters for input configuration.
d. In the "Input" section add the registers associated with the process value of the probes previously configured AI1 and AI2 and the word relative to the status of the digital inputs.
e. In the LABEL column, define the process variables associated with the registers of AI1, AI2 and digital inputs status.
f. In the "Output" section, enter the register associated with the value of the digital outputs.
g. In the LABEL column, define the variables associated with the registers of the status of digital outputs.
h. Compile and download the project to the TD. If you want to check the actual variable value, drag and drop the variables into the watch window.
i. Note that the inputs/outputs in ETD1644 are overlapping and their value is compressed in the bits of a word.
j. If you want to associate the input or output value to a Boolean variable, unpack the words using the function blocks "Word_to_bit" and "bit_to_Word" in the pixsys libraries and assign a program in the background.
The Demo01 example project used in the videos is available below.
Best Regards
[TD410][TD710][TD810][TD820][PL500] Video Basic Tutorial
-
- Moderatore
- Posts: 1194
- Joined: 12/09/2016, 14:49
[TD410][TD710][TD810][TD820][PL500] Video Basic Tutorial
You do not have the required permissions to view the files attached to this post.