Post by ramesh on DELTA PLC AS228T
CODESYS Forge
talk
(Post)
I have Delta AS228T PLC. Is it possible to create a program in Structured Text using Codesys ? In other words, is DELTA AS228T PLC compatible with CODESYS ?
Last updated: 2025-03-01
wiki Discussion
lpin06
wiki
(Discussion)
Forum for wiki comments
Last updated: 2025-03-02
blog Discussion
lpin06
blog
(Discussion)
Forum for blog comments
Last updated: 2025-03-02
blog Discussion
arihu
blog
(Discussion)
Forum for blog comments
Last updated: 2025-03-02
(no subject)
lpin06
wiki
(Thread)
Last updated: 2025-03-02
Home
lpin06
wiki
(WikiPage)
Project Members: lpin06 (admin)
Last updated: 2025-03-02
wiki Discussion
arihu
wiki
(Discussion)
Forum for wiki comments
Last updated: 2025-03-02
(no subject)
arihu
wiki
(Thread)
Last updated: 2025-03-02
Home
arihu
wiki
(WikiPage)
Project Members: arihu (admin)
Last updated: 2025-03-02
Post by helcioburd on How long can a WSTRING be in CodeSys V3?
CODESYS Forge
talk
(Post)
Thank you, very useful information. I did a library for serial communication and could not understand the reason only 256 chars could be read (after sending more than 256). Following your suggestion, I can now send any number of chars and everything will be received.
Last updated: 2025-03-02
Post by bingo on PLC Shell commands via ST Code
CODESYS Forge
talk
(Post)
For a permanent change, you may need to update the PLC configuration file or set the IP at startup using retained variables.
Last updated: 2025-03-02
How long can a WSTRING be in CodeSys V3?
CODESYS Forge
talk
(Thread)
How long can a WSTRING be in CodeSys V3?
Last updated: 2025-03-02
Post by matthew on High resolution displays with 150% scaling causes CodeSys IDE to be blurry
CODESYS Forge
talk
(Post)
I have just upgraded my laptop which has a high res display 2560x1600 and I have to have scaling switch on at 150% but everything looks blurry and not crisp, It seems CodeSys IDE is the only software on my system to look this bad, if I switch to 100% it's crisp but way to small. From a bit of research this could be due to the use of old windows forms or something? I have found a temp workaround that sort of works but not great. You have to run CodeSys in compatibility mode and adjust the DPI settings, this works ok and the editor is clear and crisp again but the actual tool bars are small like running at 100% Anyone got any tips for running CodeSys on high res displays with scaling?
Last updated: 2025-03-03
Home (version 1) discussion
kmarco
wiki
(Thread)
Home (version 1) discussion
Last updated: 2025-03-02
wiki Discussion
gabrheault
wiki
(Discussion)
Forum for wiki comments
Last updated: 2025-03-02
blog Discussion
gabrheault
blog
(Discussion)
Forum for blog comments
Last updated: 2025-03-02
(no subject)
gabrheault
wiki
(Thread)
Last updated: 2025-03-02
Home
gabrheault
wiki
(WikiPage)
Project Members: gabrheault (admin)
Last updated: 2025-03-02
wiki Discussion
simonschuepbach
wiki
(Discussion)
Forum for wiki comments
Last updated: 2025-03-03
blog Discussion
simonschuepbach
blog
(Discussion)
Forum for blog comments
Last updated: 2025-03-03
Home
simonschuepbach
wiki
(WikiPage)
Project Members: simonschuepbach (admin)
Last updated: 2025-03-03
(no subject)
simonschuepbach
wiki
(Thread)
Last updated: 2025-03-03
Post by bingo on PLC Shell commands via ST Code
CODESYS Forge
talk
(Post)
Suppose you need to switch PLC IP dynamically between 192.168.1.10\192.168.2.10, First, set PLC IP to 192.16.1.10. Create a PGVL with a flag ‘xUseSecondry’ xUseSecondry : bool ; create a function that use socket to update IP: FUNCTION fSwitchIP : bool VAR_INPUT useMainIP:bool; END_VAR --------------------------------CODE------ if useMainIP then SysSockSetIPAddress(‘0’, ‘192.168.1.10’); PGVL.xUseSecondry := 0; else SysSockSetIPAddress(‘0’, ‘192.168.2.10’); PGVL.xUseSecondry := 1; end_if Now, if during execution, you need to switch IP, call the function ‘fSwitchIP()’, Set input to 1 for main IP, 0 for secondary IP. In order to set secondary IP at startup, you can do the following: in your PLC_PRG add a flag: xInit : bool := 1 ; and the code: if xInit then if PGVL.xUseSecondry then fSwitchIP(0); end_if xInit := 0 ; end_if *Alternative way is to use system events.
Last updated: 2025-03-03
Home (version 1) discussion
zsystem
wiki
(Thread)
Home (version 1) discussion
Last updated: 2025-03-03
Post by fabiodasilveira on PLC Shell commands via ST Code
CODESYS Forge
talk
(Post)
Thank you, Bingo. I have added the instructions below to the CODESYSControl.cfg file, but they haven't changed anything. [SysSocket] Adapter.0.Name="ETH0" Adapter.0.EnableSetIpAndMask=1 Adapter.1.Name="ETH1" Adapter.1.EnableSetIpAndMask=1 Regarding your second suggestion, could you please expand a bit on that?
Last updated: 2025-03-03