Several weeks ago I created project on WAGO PFC200 with several IO module and Modbus RTU communication.
Yesterday I did must change firmware in my PFC 200. After that I did must download to PLC whole project . Eveything working except for Modbus Communication, I get status : BUs is not running. I check in PLC shell serialmode - is ok RS485.... What can be wrong ? Please help me
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Exactly, I had to install firmware in PLC again (WAGO_FW0750-8xxx_V030107_IX13_r40667), because earlier I did test with firewall and I block access to PLC.
My steps:
I lost acces to WAGO PFC200, so:
I installed fresh firmware on WAGO, next I Updated PFC - from my Codesys Environment, next i installed target license and I did "download to" my project. Next I have just changed the setting in
/etc/CODESYSControl.cfg
Are you sure ?
Linux.Devicefile.4=/dev/ttyMdm0 this is for SMS Modem - Modem I use on port COM4 in CODESYS - it works.
Linux.Devicefile.1=/dev/serial this is for Modbus? - I use Modbus on port COM1 in CODESYS.....
Earlier I had have this settings and it was good.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
Several weeks ago I created project on WAGO PFC200 with several IO module and Modbus RTU communication.
Yesterday I did must change firmware in my PFC 200. After that I did must download to PLC whole project . Eveything working except for Modbus Communication, I get status : BUs is not running. I check in PLC shell serialmode - is ok RS485.... What can be wrong ? Please help me
Below I sent Error from first slave:
Hi,
BR
Edwin
Exactly, I had to install firmware in PLC again (WAGO_FW0750-8xxx_V030107_IX13_r40667), because earlier I did test with firewall and I block access to PLC.
My steps:
I lost acces to WAGO PFC200, so:
I installed fresh firmware on WAGO, next I Updated PFC - from my Codesys Environment, next i installed target license and I did "download to" my project. Next I have just changed the setting in
/etc/CODESYSControl.cfg
[SysCom]
Linux.Devicefile.1=/dev/serial
Linux.Devicefile.4=/dev/ttyMdm0
And everything works good (even SMS's) except modbus communication.
What can be wrong ?
Hi,
so you are on runtime 3.5.15.0 and FW13(Wago)?
BR
Edwin
Exactly:
Hi,
could you please check if you have:
[SysCom]Linux.Devicefile.1=/dev/serialLinux.Devicefile.4=/dev/ttyRUNTIME66
in /etc/CODESYSControl.cfg
BR
Edwin
Are you sure ?
Linux.Devicefile.4=/dev/ttyMdm0 this is for SMS Modem - Modem I use on port COM4 in CODESYS - it works.
Linux.Devicefile.1=/dev/serial this is for Modbus? - I use Modbus on port COM1 in CODESYS.....
Earlier I had have this settings and it was good.
Hi,
yes that way serial is from modbus...
BR
Edwin
I changed my CODESYSControl.cfg file , but i have the same sytuation - modbus doesn't work
I runed my project (Modbus).
I set in PLC Shell:
serialmode rs485
Very strange thing, because earlier I runed command serial mode and I get : rs485, so I didn't even think about overwriting it - but it helped.
Had the same thing and this solved my problem, Thanks!
Please allow me to clarify the procedure for people that might have the same problem...
Et voila...