Author Topic: Connecting T100MD888 to microcontroller  (Read 4740 times)

ccdubs

  • Full Member
  • Posts: 116
    • View Profile
Connecting T100MD888 to microcontroller
« on: November 26, 2009, 11:25:14 AM »
I want to be able to communicate between a T100MD888 to a single PICAXE microcontroller via RS485.

Does anyone have experience with doing this or can perhaps give me some idea of how this would be done?

Cheers

support

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3171
    • View Profile
    • Internet Programmable PLCs
Re:Connecting T100MD888 to microcontroller
« Reply #1 on: November 27, 2009, 06:12:41 PM »
First you need to know if PICAXE microcontroller has a predefined set of communication protocol (i.e. it expect certain incoming command format and will respond in a certain format). If it does have a communication protocol and if it is non-standard protocol then you will need to use TBASIC to write a formatted string and send it out of RS485, then expect a certain return string from PICAXE. One example you can follow is using the T100MD+ PLC with the I-70xx analog module. This is produced by a third party and it has its own simple ASCII command protocol. We provide sample programs showing how to use TBASIC NETCMD$ command to write the custom protocol to the I-70xx and get a return string and how to interpret the response string. You can find examples in your "samples\I-7000" folder in your i-TRiLOGI installation.

If PICAXE does not have a communication protocol, then you will have to design and implement a protocol in the PICAXE using some low level routine.  In this case you have the freedom to design your own protocol and this is beyond the scope of this support forum.
Email: support@triplc.com
Tel: 1-877-TRI-PLCS