[?]: Modbus tcp ip in premium plc

другие контроллеры
Post Reply
ELYAS_GH
Posts: 35
Joined: Mon Jan 23, 2012 11:05 am

[?]: Modbus tcp ip in premium plc

Post by ELYAS_GH » Mon Jan 20, 2014 11:34 am

hi
Which functions are used for reading/writing data on the modbus tcp ip in Premium PLC With IP Address (ETY110ws)?
i canot use {net.station} in pl7
tanks

pupena_san
Posts: 392
Joined: Fri Dec 18, 2009 3:02 pm
Location: Киев
Contact:

Re: [?]: Modbus tcp ip in premium plc

Post by pupena_san » Mon Jan 20, 2014 8:51 pm

Help System PL7
-> PL7 Junior/Pro Communication Applications - Fipway, Ethernet, Multi-Network architectures
--> Communication via ETHERNET network
---> Facilities
----> TCP/IP Messaging
-----> Modbus messaging on the TCP/IP profile
Help PL7 PRO
Show
Help PL7 PRO wrote: =============================
At a Glance
The communication functions are the same as those described in the communication functions on Modbus.  

=============================
Installation principle
Although a remote Modbus station does not have an X-WAY format address, each communication function will use an X-WAY format address to designate a remote IP station.

For each remote Modbus station you must configure the pair in the correspondence table (IP address, {network.station} X-WAY) with: network:
- network number of the local X-WAY station,
- station: 100 to 164 = logical number of the X-WAY station.
Example: the X-WAY address {2.108} is associated with the IP address 139.160.2.8. This address will only be used by the local Premium module. It is not sent over the network.

In the case of a remote Premium station configured with the Modbus protocol, it is advisable to give an X-WAY station address that is the same as the number of the local station, incremented by 100.

======================================= 
Sending the communication function
When the communication functions are being sent by the application to a remote device connected to a Modbus bus via a series linked ETHERNET/Modbus gateway, the function address must be as follows:
ADR#{network number, station number}0.0.Modbus address of destination

The network number and station number correspond to the X-WAY address of the ETHERNET/Modbus gateway. The Modbus destination address corresponds to the Modbus slave address.
Example: a READ_VAR function is sent to slave 10 on the Modbus serial bus. The gateway IP address is 139.160.2.8 and the X-WAY address {2.108}.
READ_VAR(ADR#{2.108}0.0.10, ...)

ELYAS_GH
Posts: 35
Joined: Mon Jan 23, 2012 11:05 am

Re: [?]: Modbus tcp ip in premium plc

Post by ELYAS_GH » Sun Jan 26, 2014 5:37 am

Thank you dear friend
If the IP address is defined in the Siemens PLC(CP343-1)192.168.0.5.
If you read the Premium plc to be served:
READ_VAR(ADR#{0.105}0.0.10.......
0.5===={0.105}?
If by Siemens modules is as follows:
Power Supply(slot1)--CPU(slot2)--CP343-1(slot4) with IP ADDRESS 192.168.0.5
If by Premium PLC Telemecanique modules is as follows:
Power Supply(slot1)--CPU(slot2)--ETY110(slot6) with IP ADDRESS 192.168.0.6
If you want to receive data transmitted from Siemens PLC (CP343-1).
In Premium PLC TELEMECANIQUE what is written?
READ_VAR(ADR#{?.?}?.?.?)
Thanks for your kindness

pupena_san
Posts: 392
Joined: Fri Dec 18, 2009 3:02 pm
Location: Киев
Contact:

Re: [?]: Modbus tcp ip in premium plc

Post by pupena_san » Sun Jan 26, 2014 7:46 am

Modbus - is a protocol of type client-server: the client send requests and the server responds to them. Premium need to call a function only when using it as a client. Modbus function servers are implemented at the system level and do not require the function call.

ELYAS_GH
Posts: 35
Joined: Mon Jan 23, 2012 11:05 am

Re: [?]: Modbus tcp ip in premium plc

Post by ELYAS_GH » Sun Jan 26, 2014 4:39 pm

Greetins
in your opinion
this is exactly what i want to do
data can be exchanged between siemens plc and telemecanique plc (premium).
is this communication protocol called modbus tcp ip or ethernet?
my problem is exactly
telemecanique plc (premium) how can i get the data sent from siemens plc?
and how do i send data to siemens plc?
the main problem is telemecanique plc.
hardware connection is established.
siemens plc dose not have the problem.
What should I do to send and receive data in telemecanique plc?
tanks

pupena_san
Posts: 392
Joined: Fri Dec 18, 2009 3:02 pm
Location: Киев
Contact:

Re: [?]: Modbus tcp ip in premium plc

Post by pupena_san » Sun Jan 26, 2014 7:45 pm

viewtopic.php?f=3&t=20430#p63100
pupena_san wrote:1. ETY 110 TSX Premium has a built-in Modbus/TCP Server, does not require any function call in user programm.
2. In Simatic 300 use Open Modbus TCPor implement the protocol.
P.S. Вот как бывает, когда нерусский с нерусским не по-русски разговаривают. Никак не могу объясниться.
Да простят меня модераторы за оффтоп.

Post Reply