1/5/2006 3:37 PM | |
Posts: 101 Rating: (11) |
Hello I am using S7-200 Free port communication, CPU 224xp. Below is the initalization STL used: LD SM0.1 MOVB 16#09, SMB30 MOVB 16#B0, SMB87 MOVB '@', SMB89 MOVW +5, SMW90 MOVB 100, SMB94 ATCH INT_0, 23 ATCH INT_2, 9 ENI RCV VB100, 0 // the rest of the interrupts are configured. Then later on in the main program i am checking if the following message is received: LDS= "11R2@", VB100 S Report, 1// set a flag S PrepPacket, 1 // set a flag NOTE that i successfully received "11R2@", and replied through the port. HOWEVER, when the sender sends only the "@" - terminiating charecter, the PLC replies. Strange. WHY? WHY does it reply if the terminating charecter is send only? although i told it not to. Regards, Husam Othman. |
Follow us on