[iX Developper 2.1] Modbus RTU TCP - Config Adress IP

Discussion of application development using iX Developer, including but not limited to getting started, using the functions tab, properties, objects and installation.
Post Reply
emaitre
Posts: 1
Joined: Mon Mar 30, 2015 11:11 am

[iX Developper 2.1] Modbus RTU TCP - Config Adress IP

Post by emaitre »

Hi,

I'm developing an HMI on T4A panel and I try to communicate with it from my computer with TCP Modbus.
I discovered the Beijer environment. Big project , I have only one weight value to display :shock:

Create the variable and the link to the communication , we will stand that 's fine.
Setting the Modbus adesse of the screen and IP address , so good.

But I'm not sure to understand the communication with the PLC . Normally you have to specify the IP address and Modbus address ? (Where !?)

Image

Second question, how to map the read addresses with the PLC variables ...?
First input reguster 30,000 0 means the address of the controller ?

AMitchneck
Posts: 137
Joined: Mon Jun 11, 2012 2:10 pm

Re: [iX Developper 2.1] Modbus RTU TCP - Config Adress IP

Post by AMitchneck »

The Modbus TCP driver uses the IP address of the panel.

Based on the settings you gave, the addresses are 0-based Big-Endian format. This means the first coil address is 00000, the first input status register is 10000, and so on. The Modbus driver has a limited number of registers it can support so to enable a input register range of 31000-33047 instead of 30000-32047 you set the starting address to 31000.

To address the variables, switch to the tags tab and edit the address in the modbus tcp driver's column. For example, based on your settings, if you set you weight tag to address 30000 it will be addresses as an input register (relative address 0x0000). To have values shared between drivers (i.e. PLC to Modbus) you will need to also setup the data exchange for the tag.
Adam M.
Controls Engineer
FlexEnergy

Post Reply