I would like to configure my PC as EtherCat Master and connect to a device which supports EtherCat Slave.
Is it possible to do it?
Or Do I have to purchase CoDeSys EtherCat Master SL : Order Number 230300018?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
no not needed just use 'Control Win 64' - this is the PLC which is installed with the CODESYS Developmentsystem
install WinPCap and thats it.
Control Win run's for 2h in demo mode.
( If you need a standalone setup of the plc 7 without CODESYS Development system - https://store.codesys.com/codesys-contr ... re=default)
BR
Edwin
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thank you very much Edwin.
I could communicate successfully.
Communication works fine because no error message on the HMI device.
However, I faced one issue.
Even I input a value in %QW0 in EtherCat I/O Mapping on CoDeSys, the value doesn't affect to the numerical display set with TxPD0 001.
When I checked "Process data" in EtherCat Slave on CoDeSys, the index of Output1 shows 16#2001:01 under 16#1600 Receiver PD0 1.
Our device starts from TxPD0 001, not TxPD0 000.
I also monitored from TxPD0 001 to TxPD0 060 on the HMI device.
But the value input in %QW0 doesn't affect to from TxPD0 001 to TxPD0 060.
I tried to change 16#2001:01 to 16#0000:01 or something similar to TxPD0, but all gray-out and no setting to change it.
I don't know this is CoDeSys side or our device side issue of ESI file.
Do you have any idea?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Edwin Schwellinger hat geschrieben:
Hi,
need some screenshot of this... otherwise could not follow.
BR
Edwin
Hi Edwin,
I want to ask you a question:
I try to connect Codesys and Beckhoff IPC, i installed Codesys on C6920-0060 Beckhoff IPC, I connect gateway and ipc successfully.
Add EtherCat_Master but it not running.
I attach some pictures below, please refer attachment files.
Please help me if you can.
Thank you so much
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
at the moment you are on Control Win, the non realtime capable plc
for this to use Ethercat you need to install WinPcap. Then it will work that way.
If you need realtime capabilities you need to switch the plc to https://store.codesys.com/codesys-contr ... l?___SID=U
Control RTE.
Then no winpcap is needed, you needed then to install the CODESYS network driver in the Windows device Manager and add the component to the RTE configuration.
BR
Edwin
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Edwin Schwellinger hat geschrieben:
Hi,
at the moment you are on Control Win, the non realtime capable plc
for this to use Ethercat you need to install WinPcap. Then it will work that way.
If you need realtime capabilities you need to switch the plc to https://store.codesys.com/codesys-contr ... l?___SID=U
Control RTE.
Then no winpcap is needed, you needed then to install the CODESYS network driver in the Windows device Manager and add the component to the RTE configuration.
BR
Edwin
Thank you for support, I installed winPcap but got the same issue then I try to install Npcap and now I can scan and add slave to devices tree and one more thing, the software can not update I/O status as below:
May i use Control win for update I/O status online?
when i run i got 2 error like :
Please help me if you can.
Thank you again,
Andy
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Edwin Schwellinger hat geschrieben:
Hi Andy,
Uninstall Npcap... at the moment only Winpcap is supportet then it should work.
BR
Edwin
I unistall Npcap and install Winpcap, now it run look very well but it still can not update I/O status. I do not know why, can you explain to me. (I already compare with TwinCAT3 about I/O status).
I attach some pictures.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
do the drives / ethercat slaves need distributed clock?`You need to check what AL status 1B means...
Guess if they need distributet clock enabled you need to switch the plc to Control RTE to have hard realtime.
BR
Edwin
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Edwin Schwellinger hat geschrieben:
Hi,
do the drives / ethercat slaves need distributed clock?`You need to check what AL status 1B means...
Guess if they need distributet clock enabled you need to switch the plc to Control RTE to have hard realtime.
BR
Edwin
Thank you for your help.
Andy
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I would like to configure my PC as EtherCat Master and connect to a device which supports EtherCat Slave.
Is it possible to do it?
Or Do I have to purchase CoDeSys EtherCat Master SL : Order Number 230300018?
Hi,
no not needed just use 'Control Win 64' - this is the PLC which is installed with the CODESYS Developmentsystem
install WinPCap and thats it.
Control Win run's for 2h in demo mode.
( If you need a standalone setup of the plc 7 without CODESYS Development system - https://store.codesys.com/codesys-contr ... re=default)
BR
Edwin
Thank you very much Edwin.
I could communicate successfully.
Communication works fine because no error message on the HMI device.
However, I faced one issue.
Even I input a value in %QW0 in EtherCat I/O Mapping on CoDeSys, the value doesn't affect to the numerical display set with TxPD0 001.
When I checked "Process data" in EtherCat Slave on CoDeSys, the index of Output1 shows 16#2001:01 under 16#1600 Receiver PD0 1.
Our device starts from TxPD0 001, not TxPD0 000.
I also monitored from TxPD0 001 to TxPD0 060 on the HMI device.
But the value input in %QW0 doesn't affect to from TxPD0 001 to TxPD0 060.
I tried to change 16#2001:01 to 16#0000:01 or something similar to TxPD0, but all gray-out and no setting to change it.
I don't know this is CoDeSys side or our device side issue of ESI file.
Do you have any idea?
Hi,
need some screenshot of this... otherwise could not follow.
BR
Edwin
Hi Edwin,
I want to ask you a question:
I try to connect Codesys and Beckhoff IPC, i installed Codesys on C6920-0060 Beckhoff IPC, I connect gateway and ipc successfully.
Add EtherCat_Master but it not running.
I attach some pictures below, please refer attachment files.
Please help me if you can.
Thank you so much
Hi,
at the moment you are on Control Win, the non realtime capable plc
for this to use Ethercat you need to install WinPcap. Then it will work that way.
If you need realtime capabilities you need to switch the plc to https://store.codesys.com/codesys-contr ... l?___SID=U
Control RTE.
Then no winpcap is needed, you needed then to install the CODESYS network driver in the Windows device Manager and add the component to the RTE configuration.
BR
Edwin
Thank you for support, I installed winPcap but got the same issue then I try to install Npcap and now I can scan and add slave to devices tree and one more thing, the software can not update I/O status as below:
May i use Control win for update I/O status online?
when i run i got 2 error like :
Please help me if you can.
Thank you again,
Andy
Hi Andy,
Uninstall Npcap... at the moment only Winpcap is supportet then it should work.
BR
Edwin
I unistall Npcap and install Winpcap, now it run look very well but it still can not update I/O status. I do not know why, can you explain to me. (I already compare with TwinCAT3 about I/O status).
I attach some pictures.
Hi,
do the drives / ethercat slaves need distributed clock?`You need to check what AL status 1B means...
Guess if they need distributet clock enabled you need to switch the plc to Control RTE to have hard realtime.
BR
Edwin
Thank you for your help.
Andy