gotc.bat : batch file for use TC 2.0 gomsc.bat : batch file for use MSC 5.0/6.0 modbus_s.prj : project file for TC++3.0 or BC++ 3.1 MODBUS_S.C first version [08/06/1999] Demo program for connect I-7188 to MODBUS as Slave Mode. MODBUS has two serial transmition modes, ASCII mode & RTU mode. if use ASCII mode, 1. set UseAsciiMode=1 2. 38400,E,7,1 <-- must set on InstallCom() if use RTU mode, 1. set UseAsciiMode=0 2. 38400,N,8,1 <-- must set on InstallCom() P.S. 1.RS-232 baudrate & data format must match the MODBUS device 2.The demo program do not control the RTS signal, if need, maybe just short the CTS & RTS pins, or need call SetRtsActive() & SetRtsInactive() to control RTS pin call GetCtsStatus() to get the status of CTS pin PC <---->(COM4)I-1788(COM1)<---->ModBus device RS-232 RS-232 PC is use to show message. The demo program support send/receive the message frame, but user must construct the message frame except the CRC16/LRC, and interpret the received message.