J.A.du Toit
Member
I'm currently working on a project were we use the Vipa PLC to communicate with a "Red-Lion G308" HMI Panel. The panel has the functionality to communicate via a RS-232<->MPI adaptor to a Siemens PLC. (Reading/Writing to DB's, etc...)
The Vipa PLC allows one to communicate on RS-232 via the GREEN CABLE. This means that the panel must be able to communicate to the PLC via the Green Cable.
I've managed to gather information about the 3964R protocol. With this knowledge I wrote a VB application which is between the Red-Lion Panel and the PLC, receiving the incoming messages from the panel and passing it onto the PLC. This application works wonderfully with the LAN<->MPI adapter from Vipa, so I'm confident that my application works correct! But as soon as I plug in the GREEN CABLE the PLC doesn't respond after the second packet (which looks like a initialize packet, it differs with the last to bytes in the reply too...).
Here follows the packets that I trapped. It would help quite a bit if I could understand the content of the data "MPI-Siemens" to see why the VIPA doesn't want to respond...
Time in [ms] : Hex bytes (First packets is at the end)
GREEN CABLE (NOT WORKING)
LAST PACKET
LAN<->MPI (WORKING)
LAST PACKET
Your help in this matter would really be appreciated!
Thanks
Augusto
The Vipa PLC allows one to communicate on RS-232 via the GREEN CABLE. This means that the panel must be able to communicate to the PLC via the Green Cable.
I've managed to gather information about the 3964R protocol. With this knowledge I wrote a VB application which is between the Red-Lion Panel and the PLC, receiving the incoming messages from the panel and passing it onto the PLC. This application works wonderfully with the LAN<->MPI adapter from Vipa, so I'm confident that my application works correct! But as soon as I plug in the GREEN CABLE the PLC doesn't respond after the second packet (which looks like a initialize packet, it differs with the last to bytes in the reply too...).
Here follows the packets that I trapped. It would help quite a bit if I could understand the content of the data "MPI-Siemens" to see why the VIPA doesn't want to respond...
Time in [ms] : Hex bytes (First packets is at the end)
GREEN CABLE (NOT WORKING)
LAST PACKET
Red-Lion -> Vipa
29256031 B>:[21][80][00][00][00][10][10][00][01][00][00][02][01][00][00][00][00][00][00][00][00][00][00][00][00][00]
29256031 A<:[21][80][00][00][00][10][00][01][00][00][02][01][00][00][00][00][00][00][00][00][00][00][00][00][00][00]
29256031 B>:[21][80][00][00][00][10][10][00][01][00][00][02][01][00][00][00][00][00][00][00][00][00][00][00][00][00]
29256031 A<:[21][80][00][00][00][10][00][01][00][00][02][01][00][00][00][00][00][00][00][00][00][00][00][00][00][00]
Red-Lion -> Vipa
29254265 B>:[21][80][00][00][00][10][00][01][00][00][02][01][00][00][00][00][00][00][00][00][00][00][00][00][00][00]
29254265 A<:[21][80][00][00][00][10][00][01][00][00][02][01][00][00][00][00][00][00][00][00][00][00][00][00][00][00]
Vipa -> Red-Lion
29254234 A>:[01][03][20][56][30][30][2E][36][30]
29254234 B<:[01][03][20][56][30][30][2E][36][30]
Red-Lion -> Vipa
29254187 B>:[01][03][02][27][00][9F][01][3C][00][90][01][14][00][00][00][02][01][1F][02][01][01][03][81]
29254187 A<:[01][03][02][27][00][9F][01][3C][00][90][01][14][00][00][00][02][01][1F][02][01][01][03][81]
Red-Lion -> Vipa
29251578 B>:[21][80][00][00][00][10][00][01][00][00][02][01][00][00][00][00][00][00][00][00][00][00][00][00][00][00]
29251578 A<:[21][80][00][00][00][10][00][01][00][00][02][01][00][00][00][00][00][00][00][00][00][00][00][00][00][00]
Red-Lion -> Vipa
29249671 B>:[21][80][00][00][00][10][00][01][00][00][02][01][00][00][00][00][00][00][00][00][00][00][00][00][00][00]
29249671 A<:[21][80][00][00][00][10][00][01][00][00][02][01][00][00][00][00][00][00][00][00][00][00][00][00][00][00]
Red-Lion -> Vipa
29248046 B>:[21][80][00][00][00][10][00][01][00][00][02][01][00][00][00][00][00][00][00][00][00][00][00][00][00][00]
29248046 A<:[21][80][00][00][00][10][00][01][00][00][02][01][00][00][00][00][00][00][00][00][00][00][00][00][00][00]
Red-Lion -> Vipa
29246281 B>:[21][80][00][00][00][10][00][01][00][00][02][01][00][00][00][00][00][00][00][00][00][00][00][00][00][00]
29246281 A<:[21][80][00][00][00][10][00][01][00][00][02][01][00][00][00][00][00][00][00][00][00][00][00][00][00][00]
Vipa -> Red-Lion
29246250 A>:[01][03][20][56][30][30][2E][36][30]
29246250 B<:[01][03][20][56][30][30][2E][36][30]
Red-Lion -> Vipa
29246203 B>:[01][03][02][27][00][9F][01][3C][00][90][01][14][00][00][00][02][01][1F][02][01][01][03][81]
29246203 A<:[01][03][02][27][00][9F][01][3C][00][90][01][14][00][00][00][02][01][1F][02][01][01][03][81]
FIRST PACKET29254265 B>:[21][80][00][00][00][10][00][01][00][00][02][01][00][00][00][00][00][00][00][00][00][00][00][00][00][00]
29254265 A<:[21][80][00][00][00][10][00][01][00][00][02][01][00][00][00][00][00][00][00][00][00][00][00][00][00][00]
Vipa -> Red-Lion
29254234 A>:[01][03][20][56][30][30][2E][36][30]
29254234 B<:[01][03][20][56][30][30][2E][36][30]
Red-Lion -> Vipa
29254187 B>:[01][03][02][27][00][9F][01][3C][00][90][01][14][00][00][00][02][01][1F][02][01][01][03][81]
29254187 A<:[01][03][02][27][00][9F][01][3C][00][90][01][14][00][00][00][02][01][1F][02][01][01][03][81]
Red-Lion -> Vipa
29251578 B>:[21][80][00][00][00][10][00][01][00][00][02][01][00][00][00][00][00][00][00][00][00][00][00][00][00][00]
29251578 A<:[21][80][00][00][00][10][00][01][00][00][02][01][00][00][00][00][00][00][00][00][00][00][00][00][00][00]
Red-Lion -> Vipa
29249671 B>:[21][80][00][00][00][10][00][01][00][00][02][01][00][00][00][00][00][00][00][00][00][00][00][00][00][00]
29249671 A<:[21][80][00][00][00][10][00][01][00][00][02][01][00][00][00][00][00][00][00][00][00][00][00][00][00][00]
Red-Lion -> Vipa
29248046 B>:[21][80][00][00][00][10][00][01][00][00][02][01][00][00][00][00][00][00][00][00][00][00][00][00][00][00]
29248046 A<:[21][80][00][00][00][10][00][01][00][00][02][01][00][00][00][00][00][00][00][00][00][00][00][00][00][00]
Red-Lion -> Vipa
29246281 B>:[21][80][00][00][00][10][00][01][00][00][02][01][00][00][00][00][00][00][00][00][00][00][00][00][00][00]
29246281 A<:[21][80][00][00][00][10][00][01][00][00][02][01][00][00][00][00][00][00][00][00][00][00][00][00][00][00]
Vipa -> Red-Lion
29246250 A>:[01][03][20][56][30][30][2E][36][30]
29246250 B<:[01][03][20][56][30][30][2E][36][30]
Red-Lion -> Vipa
29246203 B>:[01][03][02][27][00][9F][01][3C][00][90][01][14][00][00][00][02][01][1F][02][01][01][03][81]
29246203 A<:[01][03][02][27][00][9F][01][3C][00][90][01][14][00][00][00][02][01][1F][02][01][01][03][81]
LAN<->MPI (WORKING)
LAST PACKET
Vipa -> Red-Lion
29674109 A>:[21][00][00][00][00][00][01][01][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00]
29674109 B<:[21][00][00][00][00][00][01][01][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00]
Red-Lion -> Vipa
29674015 B>:[21][00][00][00][00][06][01][01][00][00][03][09][00][00][00][14]
29674015 A<:[21][00][00][00][00][06][01][01][00][00][03][09][00][00][00][14]
Vipa -> Red-Lion
29673984 A>:[21][00][00][00][00][00][01][01][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00]
29673984 B<:[21][00][00][00][00][00][01][01][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00]
Red-Lion -> Vipa
29673890 B>:[21][00][00][00][00][06][01][01][00][00][03][09][00][00][00][14]
29673890 A<:[21][00][00][00][00][06][01][01][00][00][03][09][00][00][00][14]
Vipa -> Red-Lion
29669843 A>:[21][80][00][00][00][10][10][00][01][00][00][00][07][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00]
29669843 B<:[21][80][00][00][00][10][10][00][01][00][00][00][07][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00]
Red-Lion -> Vipa
29669750 B>:[21][80][00][00][00][10][00][01][00][00][02][01][00][00][00][00][00][00][00][00][00][00][00][00][00][00]
29669750 A<:[21][80][00][00][00][10][00][01][00][00][02][01][00][00][00][00][00][00][00][00][00][00][00][00][00][00]
Vipa -> Red-Lion
29669703 A>:[01][03][20][56][30][30][2E][38][35]
29669703 B<:[01][03][20][56][30][30][2E][38][35]
Red-Lion -> Vipa
29669546 B>:[01][03][02][27][00][9F][01][3C][00][90][01][14][00][00][00][02][01][1F][02][01][01][03][81]
29669546 A<:[01][03][02][27][00][9F][01][3C][00][90][01][14][00][00][00][02][01][1F][02][01][01][03][81]
FIRST PACKET29674109 A>:[21][00][00][00][00][00][01][01][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00]
29674109 B<:[21][00][00][00][00][00][01][01][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00]
Red-Lion -> Vipa
29674015 B>:[21][00][00][00][00][06][01][01][00][00][03][09][00][00][00][14]
29674015 A<:[21][00][00][00][00][06][01][01][00][00][03][09][00][00][00][14]
Vipa -> Red-Lion
29673984 A>:[21][00][00][00][00][00][01][01][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00]
29673984 B<:[21][00][00][00][00][00][01][01][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00]
Red-Lion -> Vipa
29673890 B>:[21][00][00][00][00][06][01][01][00][00][03][09][00][00][00][14]
29673890 A<:[21][00][00][00][00][06][01][01][00][00][03][09][00][00][00][14]
Vipa -> Red-Lion
29669843 A>:[21][80][00][00][00][10][10][00][01][00][00][00][07][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00]
29669843 B<:[21][80][00][00][00][10][10][00][01][00][00][00][07][00][00][00][00][00][00][00][00][00][00][00][00][00][00][00]
Red-Lion -> Vipa
29669750 B>:[21][80][00][00][00][10][00][01][00][00][02][01][00][00][00][00][00][00][00][00][00][00][00][00][00][00]
29669750 A<:[21][80][00][00][00][10][00][01][00][00][02][01][00][00][00][00][00][00][00][00][00][00][00][00][00][00]
Vipa -> Red-Lion
29669703 A>:[01][03][20][56][30][30][2E][38][35]
29669703 B<:[01][03][20][56][30][30][2E][38][35]
Red-Lion -> Vipa
29669546 B>:[01][03][02][27][00][9F][01][3C][00][90][01][14][00][00][00][02][01][1F][02][01][01][03][81]
29669546 A<:[01][03][02][27][00][9F][01][3C][00][90][01][14][00][00][00][02][01][1F][02][01][01][03][81]
Your help in this matter would really be appreciated!
Thanks
Augusto