Hello,
I'm using Codesys V3.5 and Codesys Control WinV3 Version3.5.2.20 and I'm trying to use the SoftPLC provided for free when you download Codesys.
I can create an application,downloaded and run it with no problem.
The problem is that when I have an application with variables that are declared in a memory location bigger than %MX1279.0 or %MW639 (limit is 1280 bytes or 640 words)
e.g. var1 AT %MW641 :WORD; then when I try to download I get an error that "
Can I configure the Codesys Control WinV3 (SoftPLC) to have a memory allocation bigger than 1280 bytes?
Thank you.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
This is a very useful information!
Thank you very much!
The device.xml at least in my installation is located under C:\ProgramData\Codesys\Devices\4096\0000 0001\3.5.2.10\device.xml
ProgramData is a hidden folder.
After modifying it I restarted my computer and it had the new change.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
I'm using Codesys V3.5 and Codesys Control WinV3 Version3.5.2.20 and I'm trying to use the SoftPLC provided for free when you download Codesys.
I can create an application,downloaded and run it with no problem.
The problem is that when I have an application with variables that are declared in a memory location bigger than %MX1279.0 or %MW639 (limit is 1280 bytes or 640 words)
e.g. var1 AT %MW641 :WORD; then when I try to download I get an error that "
Can I configure the Codesys Control WinV3 (SoftPLC) to have a memory allocation bigger than 1280 bytes?
Thank you.
Hi,
this is a setting in the Control Win device description:
<ts:section name="memory-layout">
<ts:setting access="visible" type="integer" name="memory-size">
<ts:value>1280</ts:value>
</ts:setting>
<ts:setting access="visible" type="integer" name="input-size">
<ts:value>1280</ts:value>
</ts:setting>
<ts:setting access="visible" type="integer" name="output-size">
<ts:value>1280</ts:value>
</ts:setting>
if needed you could increase it..</ts:section>
Edwin
This is a very useful information!
Thank you very much!
The device.xml at least in my installation is located under C:\ProgramData\Codesys\Devices\4096\0000 0001\3.5.2.10\device.xml
ProgramData is a hidden folder.
After modifying it I restarted my computer and it had the new change.
Hi,
usually the procedure is:
an restart of CODESYS is not needed...!
It is not recommendet to edit in the device repository the devices!
Cheers
Edwin