FORUM | LATEST POST | # TOPICS |
---|---|---|
General Discussion Forum about anything you want to talk about. |
No posts yet | 0 |
Hi, Isn't there really a logic to get device address regarding router and IP setups? I'm trying be sure on whether I connect to the right device or not without 'wink' capability on the device.
Hi, Isn't there really a logic to get device address regarding router and IP setups? I'm trying be sure on whether I connect to the right device or not without 'wink' capability on the device.
@Strucc.c: thanks very mutch. Yes, I think that was the problem. I tried yesterday a similar function, i have found: IEEE32 in REAL FUNCTION IEEE32_TO_REAL : REAL VAR_INPUT IN:DWORD; END_VAR VAR PTREAL:POINTER TO REAL; END_VAR PTREAL:=ADR(IN); IEEE32_TO_REAL:=PTREAL^; END_FUNCTION REAL in IEEE32 FUNCTION REAL_TO_IEEE32 : DWORD VAR_INPUT IN:REAL; END_VAR VAR PTDWORD:POINTER TO DWORD; END_VAR PTDWORD:=ADR(IN); REAL_TO_IEEE32:=PTDWORD^; END_FUNCTION http://www.oscat.de/community/index.php/topic,357.0.html...
@Strucc.c: thanks very mutch. Yes, I think that was the problem. I tried yesterday a similar function, i have found: IEEE32 in REAL FUNCTION IEEE32_TO_REAL : REAL VAR_INPUT IN:DWORD; END_VAR VAR PTREAL:POINTER TO REAL; END_VAR PTREAL:=ADR(IN); IEEE32_TO_REAL:=PTREAL^; END_FUNCTION REAL in IEEE32 FUNCTION REAL_TO_IEEE32 : DWORD VAR_INPUT IN:REAL; END_VAR VAR PTDWORD:POINTER TO DWORD; END_VAR PTDWORD:=ADR(IN); REAL_TO_IEEE32:=PTDWORD^; END_FUNCTION http://www.oscat.de/community/index.php/topic,357.0.html...
@Strucc.c: thanks very mutch. Yes, I think that was the problem. I tried yesterday a similar function, i have found: IEEE32 in REAL FUNCTION IEEE32_TO_REAL : REAL VAR_INPUT IN:DWORD; END_VAR VAR PTREAL:POINTER TO REAL; END_VAR PTREAL:=ADR(IN); IEEE32_TO_REAL:=PTREAL^; END_FUNCTION REAL in IEEE32 FUNCTION REAL_TO_IEEE32 : DWORD VAR_INPUT IN:REAL; END_VAR VAR PTDWORD:POINTER TO DWORD; END_VAR PTDWORD:=ADR(IN); REAL_TO_IEEE32:=PTDWORD^; END_FUNCTION And this works perfect. Now, the only thing that isn't...
Really good post. I hope that it gets seen by CoDeSys staff. I often find the documentation lacking when it comes to using CoDeSys in more complex ways. If using standard "basic PLC functionality", then it's fine and functions are documented in a sufficient way. Once you go outside of that bubble then I find the documentation not enough. CODESYSControl.cfg is a good example of this. And why isn't more of this integrated in the IDE. like changing port of the webserver. Why is it hidden in this file...
Basically, Codesys does support the Windows shortcuts: such as the " * " and " / " as well as the " + " and " - " Numpad keys to expand or collapse folders and subfolders or the element. This affects both, the objects in the device tree and the folding structures in f.e. the ST editor.
Basically, Codesys does support the Windows shortcuts: such as the β * β and β / β as well as the β + β and β - β Numpad keys to expand or collapse folders and subfolders or the element. This affects both, the objects in the device tree and the folding structures in f.e. the ST editor.
Hi, I'm wondering if it exist a button or a keyboard shortcut (much much better) for "collapse all" the open folder on a codesys project. It would really be nice to have. Also: Are there some options or configuration for set a default zoom for the different editor (or even one global), for example I would like to have 100% on ST, LD editor and have 80% on Visualization Editor; and also have a button to set all the zooms to default, now it seems that every file mantain the one previously set. I'm...