[?]: sample of exchange 1746-BAS-T & Modbus RTU

RSLinx, RSLogix, RSView, LogixPro ...
shadow77
Posts: 1
Joined: Wed Sep 16, 2009 4:53 am
Location: Russia

[?]: sample of exchange 1746-BAS-T & Modbus RTU

Post by shadow77 » Wed Sep 16, 2009 5:02 am

Hello!

Please give me some examples of solving of the following problems for the realization of exchange Modbus (9600,8,N,1). Module 1746-BAS-T. Processor: SLC 5/05: 1747-L553C:

1.It's necessary to read a number of the slave from the 1st register of CPU Output Image Table. Next, read 4 registers from this slave (number of the 1st register of modbus is, for example, 1234).The received data are to be added to CPU Input Image Table, beginning from the 1st register.
2.It's necessary to read a number of the slave from the 1st register of CPU Output Image Table and the meaning from the second register of CPU Input Image Table.Further on, you are to write down the meaning read from the 2nd register of CPU Input Image Table to register 1234 by the number of the slave.

Thanks beforehand! P.S.Has read the manual, but can't understand it well.
in Russian wrote:Здравствуйте!

Прошу поделиться примерами решения следующих задач для реализации обмена по протоколу Modbus (9600,8,N,1) по средствам модуля 1746-BAS-T, установленного в 6 слот шасси (модуль ЦП контроллера SLC 5/05: 1747-L553C):

1. Необходимо считать номер слейва из первого регистра CPU Output Image Table. Далее по этому номеру слейва считать 4 регистра, начиная например с адреса 1234. Полученные данные сложить CPU Input Image Table, начиная с первого регистра.

2.Необходимо считать номер слейва из первого регистра CPU Output Image Table и значение из второго регистра CPU Output Image Table. Далее записать по номеру слейва в регистр 1234 значение считанное из второго регистра CPU Output Image Table.

Заранее спасибо!


PS: Мануалы читал, пока разобраться не смог.