Author Topic: modbus and sensorad radio  (Read 5571 times)

chaliocampos

  • Newbie
  • *
  • Posts: 1
  • I'm a llama!
    • View Profile
modbus and sensorad radio
« on: November 06, 2008, 01:27:51 AM »
hello my problem is this, I need to read data from a radio model dr9050 Wilkerson, in the table of data from the radio shows me the following:
input coils (switch status, 1000x)
registers 10001-10004
array of 4 switches per addres/node
slave adress 2
function 02
starting address hi byte 00
starting address lo byte 00
no.points hi byte 00
no.of points lo byte 04
crc
crc
the configuration in my plc is setbaud 3, &h13 is same
9600 bps, 8 bits, 2 stop,1 start no parity,
how maping this adress? for read status, of these bits?
I need to map out the record in t100md1616 +,
how can read this values?
sender me please information.

support

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3171
    • View Profile
    • Internet Programmable PLCs
Re:modbus and sensorad radio
« Reply #1 on: November 06, 2008, 10:55:12 AM »
There is no built-in MOBDUS command to read from the 1xxxx address of the MODBUS space. The built-in READMODBUS can only read from 3xxxx or 4xxxx space.

You may need to write your own MODBUS protocol handler purely in TBASIC. We have demonstrated how this can be done for MODBUS function 04 - see example at:

http://www.tri-plc.com/yabbse/index.php?board=2;action=display;threadid=298

You can modify base on the example and implement the MODBUS function 01 in TBASIC.
Email: support@triplc.com
Tel: 1-877-TRI-PLCS