New Flexy 205 locks up on script error


I entered code into the INIT section of the Flexy. No errors. I added an IO tag to set, similar to code I have working in another unit, and the GUI locked up. I couldn’t get anywhere without power cycling. I deleted the newest code and everything was fine. Is this normal? I didn’t have an error message or anything.

Thanks in advance for any help.



Could you send us a copy of the code and a backup from eBuddy with support files attached.


Hi Zach,

I think I might have figured out what is happening. I keep losing connection with the eWON. It wasn’t coming back last week unless I rebooted, or maybe I wasn’t patient enough. Today, and the other day, the screen grays out and an orange “Device unreachable” message shows up. Not sure why that would happen. I thought it was the code I had entered, but it doesn’t appear to be that at all.

Also, how do I get the console to give me messages on what a script is doing? On the older GUI it would do that.

Thank you.

Best regards



Hey Zach,

I got the console to show the error so I made a backup. Please see attached. Any insight to what I have wrong would be greatly appreciated.

Thank you.

Best regards,



Hi Lisa,

for the SENDMAIL try use " instead of $ like the following example:

Sendmail "email" , "cc email" , "subject" , "&[export block descriptor]"


Hi Zach,

That works much better. So here’s the next iteration and the error message I got:

I don’t know what that means. Email1_Sent is a tag in the PLC and I also have it in the Flexy.

Thank you.


It seems you have added lines 12 and 18 to the code. what are you trying to do with these lines?


Just trying to verify that the email occurred.


The tag is being called but the 1 afterwards is causing an error. If you need to verify an email has been sent out that shows up in the real time event logs on the device.