Industry Automation and Control Forum
This forum is addressing industrial automation design & engineering, operations, asset performance, cyber security and digital transformation for Plants & Machines.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2024-01-25 07:11 PM
Hi guys,
I am new working on EcoStruxure Control Expert Classic. I just trying to create a rung dedicated to move a value to a variable with the MOVE instruction. I have the following issue: e1053 input variable ' Cfg_OnDelay ' must not be assigned. I don't understand why is this error showing up. Should be fine to move a value (zero in this case) to a INT variable. If somebody could help me I would appreciate it so much. Please see attached.
Thanks in advance,
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2024-01-30 07:58 AM
If this variable is assigned or aliased to an input module, or if it is assigned a %IW address, it is a read only variable. You cannot directly write to it, but you can insert a value using the WRITE_INPUT_INT instruction. This is in Control Expert's I/O Management library, Simulation family.
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2024-01-31 06:54 AM
Hi Jerry,
Thanks for your quick response. I am creating a DFB and I assigned my variable as INPUT. I created a variable called Simulated_INT as INP in the 'Write_Input_Int' block and I have the same issue(e1053 input variable 'Cfg_OnDelay' must not be assigned). If I try to put the variable on both side( input and output) it's still the same error. Please see attached
Reidel
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2024-02-02 08:01 AM
Hi Reidel, you're still trying to write directly to Cfg_OnDelay. You can only write to that as the output of the WRITE_INPUT_INT instruction.
What is the address of the variable that is flagging it as an input?
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2024-02-05 05:49 AM
Hi Jerry,
I am just trying to move a value of zero to an input variable that I have already created in my DFB AOI_Alarm(please see attached). It is very easy what I want to do but I think I am doing something wrong. If you can share with me a picture on how to do a Move operation i will appreciate it. Thanks. Have a good day!
Reidel
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2024-02-08 07:54 AM
Now I understand, Reidel. You can put a literal value on an input pin instead of a variable. Just double click on the pin and type the value you want there. In this case it could be any integer value.
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2024-04-01 09:21 AM
Hi Jerry,
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2024-10-09 09:20 AM
Hi, could you solve it?
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2024-10-11 06:27 AM
Hi,
Yes, I did it. I was using my variable as an input (read only). I changed it to <inputs/outputs> (read/write) in my DFB. That was my easy solution, but it is possible that we have other ways to avoid this error message.
Link copied. Please paste this link to share this article on your social media post.
You have two options to continue your visit.
OR