question

Lukas Buchta avatar image
0 Likes"
Lukas Buchta asked Joerg Vogel answered

Modbus emulation

We have new assembly line and I would like to read PLC with modbus TCP. video of the line and PC

modbus_test.fsm

I checked connection PLC - computer with modbus scanner - and I receive correct data from PLC.

modbus-example.png

But Flexsim read data wrong. Instead of reading 0 and 1, there are values like


values-from-plc-in-flexsim.png

It doesn't work. Please, do you know, where is the mistake?

type of our PLC:

Misthubishi melsec IQ-R


FlexSim 22.2.1
emulationplc emulationmodbus
· 1
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Jeanette F avatar image Jeanette F ♦♦ commented ·

Hello @Lukas Buchta, Was Joerg's comment helpful to you? Do you still need assistance?

0 Likes 0 ·

1 Answer

Joerg Vogel avatar image
0 Likes"
Joerg Vogel answered
48 represent a “0” in ASCII in Decimal number system. It seems 1 gets correctly interpreted.
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.