The Project Menu

The Project Menu

rrpilde_small.png

This menu provides support for Check, Build a Diagram,...

  1. ldr.mnu.checkladder16.gifCheck Diagram
  2. ldr.mnu.build16.gif Build Diagram
  3. ldr.mnu.download.pngDownload
  4. ldr.mnu.isrunning.gifIs running
  5. ldr.mnu.compare.pngCompare
  6. ldr.mnu.sim.gifSimulation State
  7. ldr.mnu.online.pngOn-Line (Not implemented yet)
  8. ldr.mnu.edit24.gifEdit Diagram

 

ldr.mnu.checkladder16.gifCheck Diagram

Shortcut: none.
Click on Check Diagram in the Project menu.

This function checks the code for possible errors in the ladder diagram.
Click on the Check button in the toolbar.

ldr.hlp.check.project2.png

ldr.hlp.check.project1.png

ldr.hlp.check.project3.png

ldr.mnu.build16.gifBuild Diagram

Shortcut: Click on the Build button in the toolbar.

ldr.hlp.build.png
Or click on Build Diagram in the Project menu.

The ladder diagram has to be converted to a boolean expression. The ladder diagram editor has a converter function for this purpose. The converter function provides an boolean expression file for the RPiPLC software on the embedded Linux board.

ldr.mnu.download.pngDownload

This function download the builded diagram to the hardware (Embedded Linux Board).
Only works if SSH is installed. Set up SSH.
The project must be builded successfully.
After a successful download, the PLC must be restarted!

Shortcut: None.
Click on Download in the Project menu.

ldr.hlp.download.png

You'll be asked to sign in only the first time you connect to the raspberry pi board.
This menu entry brings up a dialog box, which allows the user to set username, pasword en ip-address for the local machine en the embedded linux machine.

ldr.hlp.dlg.setup.ssh.png

  1. Local User Name: Not used this time.
  2. Local Password: Not used this time.
  3. Local IP-address: Not used this time.
  4. RPi User Name: Root login for the Raspberry Pi board.
  5. RPi Password: Password for the Raspberry Pi board.
  6. RPi IP-address: IP address for the Raspberry Pi board.

SSH connection succeeded.

ldr.hlp.dlg.download4.png

Download succeeded.

ldr.hlp.dlg.download5.png

ldr.mnu.isrunning.gifIs Running

This function checks if the RPiPLC application is running on the Raspberry Pi board.
Only works if SSH is installed. Set up SSH.

Shortcut: None.
Click on Is Running in the Project menu.

ldr.hlp.isrunning1.png

You'll be asked to sign in only the first time you connect to the raspberry pi board.
This menu entry brings up a dialog box, which allows the user to set username, pasword en ip-address for the local machine en the embedded linux machine.

ldr.hlp.dlg.setup.ssh.png

  1. Local User Name: Not used this time.
  2. Local Password: Not used this time.
  3. Local IP-address: Not used this time.
  4. RPi User Name: Root login for the Raspberry Pi board.
  5. RPi Password: Password for the Raspberry Pi board.
  6. RPi IP-address: IP address for the Raspberry Pi board.

ldr.hlp.isrunning2.png

ldr.hlp.isrunning3.png

ldr.mnu.compare.pngCompare

This function compare the local boolean file with the remote boolean file.
Only works if SSH is installed. Set up SSH.

Shortcut: none.
Click on Compare in the Project menu.

ldr.hlp.mnu.compare1.png

You'll be asked to sign in only the first time you connect to the raspberry pi board.
This menu entry brings up a dialog box, which allows the user to set username, pasword en ip-address for the local machine en the embedded linux machine.

ldr.hlp.dlg.setup.ssh.png

  1. Local User Name: Not used this time.
  2. Local Password: Not used this time.
  3. Local IP-address: Not used this time.
  4. RPi User Name: Root login for the Raspberry Pi board.
  5. RPi Password: Password for the Raspberry Pi board.
  6. RPi IP-address: IP address for the Raspberry Pi board.

If no difference between file on the local machine and the xxxx.obj file on the Raspberry Piembedded board a dialog box will appear.

ldr.hlp.mnu.compare2.png

If the two files are not equal next dialog box will appear.

ldr.hlp.mnu.compare3.png

ldr.mnu.sim.gifSimulation State

Shortcut: Click on the Simulation State button in the toolbar.
Click on Simulation State in the Project menu.

To test the program, or to run it without the hardware, you can use the simulation state.
To do so, click on Simulation State in the Project menu. A window will appear, in which you can enter the states of the inputs.
The program gives a visual representation of the states of the inputs and outputs and also display the current values of the timers.

ldr.hlp.simulate1.png

ldr.hlp.simulate2.png

ldr.mnu.online.pngOn Line

Shortcut: None.
Click on On Line in the Project menu.

This function On-Line.
Click on the On-Line button in the toolbar.
Not implemented yet.

ldr.mnu.edit24.gifEdit Diagram

Shortcut: Click on the Edit Diagram button in the toolbar.
Click on Edit Diagram in the Project menu.

In Simulation state you can return to the edit mode at any time by clicking on Edit Diagram in the Project menu.
Click on the Edit Diagram button in the toolbar.

ldr.hlp.simulate2.png

Back to Edit State.

ldr.hlp.edit.png

 


 

Add new comment