Jump to content

Ravi

Members
  • Posts

    11
  • Joined

  • Last visited

Everything posted by Ravi

  1. Dear Joe Here is the code Written for above Logic written to Find row containing Invoice Number which Already exists in DataTable or not Ex If ML10 = contains Invoice No=40625 ML9 and ML8 Should retrun the no How many times it occured in Data Table that is 0 for No Row contains 40625 ,1 For 1 Row Contains but i am Getting Some other number may be 3 or 4 and some times 0 if it exists request your help to diagnose the cause test with herculs_R1.vlp
  2. Dear Joe, Can I get a Sample coding for Data Table find in Visi Logic. My requirement is as follows. I get Invoice number from Scanner. I should search for this number either Exists in Data Table or Not. If record does not exists in Data table then I should proceed further operation The DataTable is as attached The Invoice number Stored in Column 2 ,and it is unique Please send me Sample Vlp File to My email ID/Whatsup "anravindranatha@yahoo.com",My whatsup no is +91-9945323817 else i should reject the operation
  3. Dear Joy Good Morning Thanks for the Reply, OK I Got it. and How to Calculate SUM 8 Check SUM For The String Example : I sent "9901029999FF" From Terminal Program Simulator & Received IN V700 PLC in HEX Format as follows MI1310=3939;MI1311=3130;MI1312=3230;MI1313=3939;MI1314=3939; & MI1315=4646; Should I Split Each Byte & SUM it, Like{39+39+31+30+32+30+39+39+39+39+46+46},If Yes How Should I Split into Separate Bytes in Visilogic Ladder OR Should I SUM all My Integer Variables Like {MI1310+MI1311+MI1312+MI1313+MI1314+MI1315=MI1316}
  4. Dear Joe Good Morning to you I am Waiting for Reply for above as well Sample Serial Communication Program with how to use Checksum in both Send & Receive Situations may be SUM8 /CRC. Thanks
  5. Dear Joe Good Morning to you I got to Implement RS485 Communication Using FB Protocol /PCOM Protocol in Binary Format for the following Receive and Send Messages Command to Receive { address of the machine: command : MSB of Command :LSB of Command: checksum} STX><UnitID><CommandCode><Command parameters><CheckSum><ETX> {byte1:byte2:byte3:byte4:byte5} Command to Send {Address Of the M/C +Echo of Command :MSB:LSB:%POWER:Temperature:FAULT/Healthy:Request To Respond:Power Applied} {byte1+byte2+byte3+byte4+(byte5+byte2:byte6)+(byte7+byte8)+(byte9+byte10)+(byte11)+(byte12+byte13)}
  6. Dear Joe Good Morning to you I Got to Implement RS485 Communication Using FB Protocol /PCOM Protocol in Binary Format for the following Messages Command to Receive { address of the machine: command : MSB of Command :LSB of Command: checksum} STX><UnitID><CommandCode><Command parameters><CheckSum><ETX> {byte1:byte2:byte3:byte4:byte5} Command to Send {Address Of the M/C +Echo of Command :MSB:LSB:%POWER:Temperature:FAULT/Healthy:Request To Respond:Power Applied} {byte1+byte2+byte3+byte4+(byte5+byte2:byte6)+(byte7+byte8)+(byte9+byte10)+(byte11)+(byte12+byte13)}
  7. Also Please send me sample program for PCOM Protocol Both in Binary/ASCII Format On RS 485 Link
  8. Dear Joe Can You Please Re Post The File "RS232COMMANDJT1.vlp" or on anravindranatha@yahoo.com
  9. Hi Ausman Good Morning , I Tried to Download "PID Codes" & "PIDall.pdf" but files does not exists on Form page. Kindly request you to forward them on anravindranatha@yahoo.com & an.ravindranatha@gmail.com Regards
×
×
  • Create New...