Modbus Addressing in CHMI
Dear sir,
I have CHMI 6.0.3.2 and PM583 ETH PLC
We are using the Modbus TCP/IP for communication
I have made Modbus TCP/IP Server with 10 connections OMB time 60000 along with Modbus TCP/IP Client
Data are real type and I have attached everyone to %MD0.x as a global real variable
I have added a PLC Controller type with Modbus TCP and given the details on the communication. I have made some real signals and connected like the following address
%MD0.0 - HRA0,REAL
I am getting the data here no issue But not any other data are coming to show 0.0
I have tried with %MD0.1 - HRA1, REAL (No success) -HRA2,REAL (No success) -HRA3,REAL( No success)
Can anyone tell me how to make the addressing? Or anything I should do in the PLC side coz I am only getting the first register data
Any help will be appreciated
Regards
Amal
I have CHMI 6.0.3.2 and PM583 ETH PLC
We are using the Modbus TCP/IP for communication
I have made Modbus TCP/IP Server with 10 connections OMB time 60000 along with Modbus TCP/IP Client
Data are real type and I have attached everyone to %MD0.x as a global real variable
I have added a PLC Controller type with Modbus TCP and given the details on the communication. I have made some real signals and connected like the following address
%MD0.0 - HRA0,REAL
I am getting the data here no issue But not any other data are coming to show 0.0
I have tried with %MD0.1 - HRA1, REAL (No success) -HRA2,REAL (No success) -HRA3,REAL( No success)
Can anyone tell me how to make the addressing? Or anything I should do in the PLC side coz I am only getting the first register data
Any help will be appreciated
Regards
Amal
Voted best answer
Hi,
Are you facing issue only with real datatype? Real datatype consume 2 * 16bit registers in modbus.
Hence how are you declaring this real data in your Modbus Slave Memory registers in PM583? Usually in AC800M (MB Slave), real will be converted into two Int/words, then the same will be assigned two consecutive modbus register address in access variable.
Have you tested your communication with third party simulators?
* Modbus Moster Simulator (eg: Modscan) with PM583?
* CHMI with Modbus Slave Simulator?
Hope you might get some clue from this.
Are you facing issue only with real datatype? Real datatype consume 2 * 16bit registers in modbus.
Hence how are you declaring this real data in your Modbus Slave Memory registers in PM583? Usually in AC800M (MB Slave), real will be converted into two Int/words, then the same will be assigned two consecutive modbus register address in access variable.
Have you tested your communication with third party simulators?
* Modbus Moster Simulator (eg: Modscan) with PM583?
* CHMI with Modbus Slave Simulator?
Hope you might get some clue from this.
Add new comment