I was having trouble with I/O not being mapped correctly.
The Input from EL1008 in the attached image was not working earlier. The checkboxs under EtherCAT_Task(1) etc were all grayed out. After tinkering around it showed up as it is now. Unfortunately, I'm not sure exactly what I change.
I'm now having the same problem with the grey line (Application.PLC_PRG.Output5). It's grayed out and isn't being updated by the system.
Has anyone experienced this? I expect it's something related to updating after I change the code and compile that I'm doing incorrectly.
Thanks.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am using the variable in PLC_PRG. It appears it may be related to uploading to the device. I just made some changes between which Variables are mapped to which physical IO locations and they didn't update.
When I uploaded to the PLC by selecting "Login with download" instead of "Login with online changes" it now has correctly updated the IO for EtherCAT_Task.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I was having trouble with I/O not being mapped correctly.
The Input from EL1008 in the attached image was not working earlier. The checkboxs under EtherCAT_Task(1) etc were all grayed out. After tinkering around it showed up as it is now. Unfortunately, I'm not sure exactly what I change.
I'm now having the same problem with the grey line (Application.PLC_PRG.Output5). It's grayed out and isn't being updated by the system.
Has anyone experienced this? I expect it's something related to updating after I change the code and compile that I'm doing incorrectly.
Thanks.
Hi,
it seems that Output5 is really used in the PLC_PRG ( not only declared)?
Variables are only updated if the are really used in the pou's.
BR
Edwin
Thanks Edwin.
I am using the variable in PLC_PRG. It appears it may be related to uploading to the device. I just made some changes between which Variables are mapped to which physical IO locations and they didn't update.
When I uploaded to the PLC by selecting "Login with download" instead of "Login with online changes" it now has correctly updated the IO for EtherCAT_Task.