First Prog Panasonic
First Prog Panasonic
This is what the program will look like when you complete this example.
file:///C:/Users/MEKATRONIKA/AppData/Local/Temp/~hh1FD3.htm 01/02/2023
Create your first program Page 2 of 6
Related topics:
Start page
New project
Supported PLCs
Programming editors
“Project” pane
Activate the “Project” pane via “Window” > “Panes ” > “Project” or .
The “Project” pane provides the structure for the project and contains the following objects:
file:///C:/Users/MEKATRONIKA/AppData/Local/Temp/~hh1FD3.htm 01/02/2023
Create your first program Page 3 of 6
Related topics:
Navigator
Navigator options
User interface
Related topics:
Programming window
• how to add contacts and coils in the body of the programming window
1. Choose between programming with tool bar icons or using intelligent keys
Using toolbar icons
a. Click on the required contact and coil in the toolbar or choose the item from the context menu
b. Place them into network 1 of the programming window
If you place the elements in one grid line (same height in the network) then connection lines are drawn automatically.
Using intelligent keys
a. Place the cursor into network 1 of POU body
b. Press the intelligent keys <2> for contact or <3> for coil
file:///C:/Users/MEKATRONIKA/AppData/Local/Temp/~hh1FD3.htm 01/02/2023
Create your first program Page 4 of 6
If contact and coil are placed in one grid line, then the connection lines will be drawn automatically. If connection lines are not drawn automatically,
activate the option “Insert new elements without lines (does not apply when using intelligent keys)” under “Extras” > “Options” > “Program options” >
“Editors” > “LD/FBD editor”.
2. Enter variable name
If the variable name you enter has not been assigned yet, the “Create new variable” dialog opens. If no name is entered and you select a different element, a
question mark will appear in the name box.
NOTE
◦ If you want to use explicit user addresses, please define them in the list of global variables.
◦ The compiler can output a warning when using explicit user addresses in the POU declaration, see “Extras” > “Options” > “Compile options” >
“Additional warnings”.
According to the prefix of variable identifiers, Control FPWIN Pro selects the data type BOOL.
4. “OK”
5. Create the variable bVar1 for the coil
6. Select the “Draw line” icon in the toolbar or from the context menu
7. Draw the connections between the contact and the coil
Each line has to be connected to the power rail. Be careful not to draw double lines or allow them to overlap.
Related topics:
Checking a program
A message will inform you if your program is OK or not. If needed, modify errors, e.g. double lines. If more than one error occurs, fix the first one first. The others
could be sequence errors.
file:///C:/Users/MEKATRONIKA/AppData/Local/Temp/~hh1FD3.htm 01/02/2023
Create your first program Page 5 of 6
Related topics:
Checking a program
You can toggle between the remote run and remote programming via the toolbar.
Related topics:
Online mode
Communication parameters
Tasks
Status bar
file:///C:/Users/MEKATRONIKA/AppData/Local/Temp/~hh1FD3.htm 01/02/2023
Create your first program Page 6 of 6
Related topics:
Monitor values
file:///C:/Users/MEKATRONIKA/AppData/Local/Temp/~hh1FD3.htm 01/02/2023