Eager Beaver
Member
Hello,
I have recently started learning how to program PLCs using CoDeSys v 2.3 and a Wago 750-871 controller.
Thanks to a couple of forum users, I was able to get over a stumbling block last week with another issue, however, I have run into a new challenge today.
I would like to set up a simple function to send a test email and used the code which was provided by a forum user at this thread:
http://www.plctalk.net/qanda/showthread.php?t=86563&highlight=wago+email
However, I am not able to get the function to work. My experience has been with C and I am still trying to get my head around CoDeSys and I know I am either missing something or not calling the function correctly.
I believe I set up the Function Block correctly with the code above. I also created a PRG POU called Test where I am trying to call the Function but I am unable to get it to work/compile.
I have attached some screen shots of what I've got and would appreciate it if someone would tell me what I am doing incorrectly.
Thank you.
I have recently started learning how to program PLCs using CoDeSys v 2.3 and a Wago 750-871 controller.
Thanks to a couple of forum users, I was able to get over a stumbling block last week with another issue, however, I have run into a new challenge today.
I would like to set up a simple function to send a test email and used the code which was provided by a forum user at this thread:
http://www.plctalk.net/qanda/showthread.php?t=86563&highlight=wago+email
However, I am not able to get the function to work. My experience has been with C and I am still trying to get my head around CoDeSys and I know I am either missing something or not calling the function correctly.
I believe I set up the Function Block correctly with the code above. I also created a PRG POU called Test where I am trying to call the Function but I am unable to get it to work/compile.
I have attached some screen shots of what I've got and would appreciate it if someone would tell me what I am doing incorrectly.
Thank you.