Author Topic: Wiring diagrams  (Read 11746 times)

Melin

  • Guest
Wiring diagrams
« on: September 18, 2003, 08:44:41 AM »
I'm searching wiring diagram to connect T100MD-888+ using Modbus by COM1 and the same using Omron.

How I configure the COM1 to use with Omron Protocol?

Thanks
« Last Edit: December 31, 1969, 04:00:00 PM by 1076562000 »

support

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3174
    • View Profile
    • Internet Programmable PLCs
Re: Wiring diagrams
« Reply #1 on: September 18, 2003, 10:52:24 AM »
COMM1 is just a RS232 port that uses only Tx, Rx and GND (2,3,5). You need to make a cable to connect to your MODBUS or OMRON slave. It is either:

2 - 2
3 - 3
5 - 5

or

2 - 3
3 - 2
5 - 5

The next thing to do is to use the SETBAUD function to set the baudrate of COMM1 to the same as your slave. (Alternatively, you can also set your slave's baud rate and communication to that of the PLC, which is by default 38,400, 8, 1, noparity.

To talk to a MODBUS slave, use the READMODBUS (11, x,x) or WRITEMODBUS ?11, x, x, x

To talk to OMRON slave, use the NETCMD$.

Please read the documentation on how to use the NETCMD$, READMODBUS and WRITEMODUS commands in your programmer's reference.


« Last Edit: December 31, 1969, 04:00:09 PM by -1 »
Email: support@triplc.com
Tel: 1-877-TRI-PLCS