Internet PLC Forum

General => Technical support => Topic started by: Melin on September 18, 2003, 08:44:41 AM

Title: Wiring diagrams
Post by: Melin 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
Title: Re: Wiring diagrams
Post by: support 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.