is better:
Time to time in "byModbusError " = UNDEFINED but usually is RESPONSE_SUCCES.
I tried pooling my slave device by other master device with parameter:
9600/8/N/1 , Slave ID=2, Function=3, Offset =31, lenght =10. an I got response 12,12,22,11,33 ..
When I set above parameters in WAGO /Codesys the slave not response . When I change function code to 4 i Get response but only 0,0,0,0, like in attachment picture....
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,
you need to map variables or switch to always update for testing purpose.
We see on your values the are 'light grey' - means not updated.
BR
Edwin
thanks it works.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
Can anybody write step by step what can I do to run Modbus Master in my WAGO PFC200 ?
My slave is still : Not running as in attachment picture.
I should set RS485 interface , where ?
Hi,
use the plc shell...
BR
Edwin
Probably it is ok:
I checked and the rs485 is selected.
Only result:
Hi,
1. check wiring
2. check baudrate in CODESYS under 'Modbus_Com'
3. Check Slave Diagnosis in CODESYS see screenshot
BR
Edwin
is better:
Time to time in "byModbusError " = UNDEFINED but usually is RESPONSE_SUCCES.
I tried pooling my slave device by other master device with parameter:
9600/8/N/1 , Slave ID=2, Function=3, Offset =31, lenght =10. an I got response 12,12,22,11,33 ..
When I set above parameters in WAGO /Codesys the slave not response . When I change function code to 4 i Get response but only 0,0,0,0, like in attachment picture....
Hi,
you need to map variables or switch to always update for testing purpose.
We see on your values the are 'light grey' - means not updated.
BR
Edwin
thanks it works.