I am working in V2.3
I want to insert an operator such as MUL, MOVE or DIV in a ladder logic program.
If I insert a Function Block it opens the input assistant but the operators donΒ΄t appear. When I hit F2 in the block then the Input assistant appears but this way the operators do appear.
Can you help me to find out what is wrong? I would like the operators to be available when I select the Function Block button since this way is more intuitive for a beginner.
Thanks
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2016-04-27
Originally created by: scott_cunningham
You can also insert a blank box and just type in ADD, SUB, MUL, etc
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
and F2 is dependant of where the cursor is highlighted.
so you need to click on the ADD to see what is possible.
In Ladder the topline MUST be a TRUE/FALSE and the result also.
however it is possible to use analog values in lower lines. it is NOT possible to put more functions in a line.
For this FBC is a lot better. just try it.
You may use a function block in ladder and put all the needed calcs into a FB.
next step is CFC, when used once (it looks like labview) you will like it.
in between is also ST, however function blocks are not easy in ST.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2016-05-01
Originally created by: scott_cunningham
Good tips, Shooter! Also F2 can insert an FB into ST with all of the arguments. Some of us who grew up programming PCs instead of PLCs find ST way easier than LD/FBD. Just a different flow thought!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
ST with these function blocks , yes i do use it however when there are many vars i loose the proper thinking.
with CFC it is a lot easier to keep the overview.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am working in V2.3
I want to insert an operator such as MUL, MOVE or DIV in a ladder logic program.
If I insert a Function Block it opens the input assistant but the operators donΒ΄t appear. When I hit F2 in the block then the Input assistant appears but this way the operators do appear.
Can you help me to find out what is wrong? I would like the operators to be available when I select the Function Block button since this way is more intuitive for a beginner.
Thanks
Originally created by: scott_cunningham
You can also insert a blank box and just type in ADD, SUB, MUL, etc
use box with enable, gives you more possibilities
and F2 is dependant of where the cursor is highlighted.
so you need to click on the ADD to see what is possible.
In Ladder the topline MUST be a TRUE/FALSE and the result also.
however it is possible to use analog values in lower lines. it is NOT possible to put more functions in a line.
For this FBC is a lot better. just try it.
You may use a function block in ladder and put all the needed calcs into a FB.
next step is CFC, when used once (it looks like labview) you will like it.
in between is also ST, however function blocks are not easy in ST.
Originally created by: scott_cunningham
Good tips, Shooter! Also F2 can insert an FB into ST with all of the arguments. Some of us who grew up programming PCs instead of PLCs find ST way easier than LD/FBD. Just a different flow thought!
ST with these function blocks , yes i do use it however when there are many vars i loose the proper thinking.
with CFC it is a lot easier to keep the overview.