¡@

MMICON 002

back

 Q. Application:   

     1 pc. 7188XC + X105.  8 DInputs.   

     2 pc. MMICON.

     When one of the inputs is active we like to show a text on the MMICON display. So the 7188XC+X105 will 
     be a master who sends command to the MMICON units by using a RS485 messages. Can we use from de 
     demo programms the X105 and the ECHO485 examples and rebuild their source to a new C++ source?

Ans:

     If you want to control the MMICON from 7188XC, refer to the following code:

     InstallCom2(9600L,8,0);// 7188xc's 485 port
     strcpy(buf,"$00P10");//show a blank page
     k=strlen(buf);
     buf[k]=0x0d;//add a Cr char. to the end of command
     ToCom2Bufn(buf,k+1);//Send command to MMICON from 7188xc's COM2
     strcpy(buf,"$00T000Hello");//Command for showing "Hello" string
     k=strlen(buf);
     buf[k]=0x0d;
     ToCom2Bufn(buf,k+1);//Send command to MMICON from 7188xc's COM2

¡@

back

Written by Tony Lee 

Date:2002/12/17