Author Topic: NMC protocol  (Read 11682 times)

dan

  • Newbie
  • Posts: 47
    • View Profile
NMC protocol
« on: February 20, 2005, 02:14:48 PM »
Hi,

I'm planning to use T100MD to controll some slave devices using RS485.
Slaves are only capable to use Networked Modular Control protocol.
There is a NMC protocol implemented?
If not can I use Setprotocol ch,10 to create a protocol?
Do you have an example how to develop a protocol (NMC)?

Problem is that I have no experience in this so I realy need help

Thank you,

Dan

support

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3174
    • View Profile
    • Internet Programmable PLCs
Re:NMC protocol
« Reply #1 on: February 21, 2005, 02:30:28 PM »
T100MD+ does not support the NMC protocol that you mentioned. However, to a certain extent you can use the TBASIC language to implement your own protocol since TBASIC allows you to read serial input and write to serial output. If your custom protocol is ASCII based usually it is quite simple to implement.  In fact, we use the TBASIC NETCMD$ to interface to the I-70xx analog module which is a third party product that uses a proprietary ASCII protocol.

For binary protocol, if the error checking is no more complex than CRC16 then you can use the INCOMM and OUTCOMM commands to implement the protocol. An examples can be found at:

 http://www.tri-plc.com/trilogi/modbusFunction04.zip

In the above example the PLC uses the INCOMM and OUTCOMM to implement a MODBUS Function 04 which is not supported by the PLC built-in MODBUS command so we implemented it using TBASIC language.
« Last Edit: February 21, 2005, 02:31:10 PM by support »
Email: support@triplc.com
Tel: 1-877-TRI-PLCS

AlbertMartinez

  • Newbie
  • Posts: 10
  • PLC-SCADA Engineering Consultant
    • View Profile
Re:NMC protocol
« Reply #2 on: February 24, 2005, 08:28:24 AM »
Dan:

If you need additional assistance developing your TRi-PLC Networked Modular Control protocol driver, please let me know.

I provide affordable technical support for PLC-SCADA based system.

Sincerely;

Albert Martinez
almaralbertmartinez@gmail.com
50 La Cruz Avenue
Benicia, CA 94510
Albert Martinez
Instrumentation & Controls Systems Integrator
50 La Cruz Avenue, Benicia, California 94510
almaralbertmartinez@gmail.com