7/6/2009 1:28 PM | |
Joined: 3/3/2008 Last visit: 10/5/2023 Posts: 333 Rating:
|
hi what is the control in which you want to do it?? 1.i am attaching a procedure for creating a GUD in 810d/840d. 2. if you want to access a float variable in plc there are some user data available N14504 $MN_MAXNUM_USER_DATA_INT N14506 $MN_MAXNUM_USER_DATA_HEX AttachmentGUD_Creation.pdf (399 Downloads) |
7/23/2009 2:48 PM | |
Joined: 3/3/2008 Last visit: 10/5/2023 Posts: 333 Rating:
|
hi please check the below link for custom screens /tf/WW/en/Posts/30729#top regards ram |
7/24/2009 3:37 AM | |
Posts: 7 Rating:
|
Hi AttachmentCustom_HMI_Show.zip (393 Downloads) |
8/6/2009 1:27 PM | |
Posts: 63 Rating:
|
attach your project. prefferrably in english. referring that i can suggest something |
8/24/2009 8:25 PM | |
Posts: 54 Rating:
|
Hi away,
Function is a identifier to call a function defined
by your script or predefined
(like function name=”string.length” … ).
If you have instructions which are often used you can place
these into a subroutine.
The function_body is the subroutine frame.
Put all instructions inside the tag and give the function_body a name (subroutine name). Now you can call the routine with the function tag using the subroutine name.
For instance:
let name=”result” let
function_body name=”my_function”
op result = “nck/channel/parameter/r[1]” *3 op
function_body
…
…
form …
…
timer
function name =” my_function”
print text=”%f” result print
the result value is shown at info line
time
…
form
About the PLC float access: The plc address does not specify a float format. The access will be done via double word.
If do you use it as a reference variable for a control you should try to add the format attribute to the control (format=”%f”) to force the format adaption.
About GUD:
You have to create your own GUD variables.
The address for access has to be created as follow:
“gud/variable name”
example: op my_var = “gud/_GC_PARR[1]
You will find the correct syntax within the zip file.
Attachmentreply.zip (313 Downloads) |
Follow us on