Using the RBE configuration and protocols, is it possible to send host PC-Initiated messages and have them read by RBE-formatted RX instructions in the PLC, when the RX is not simply reading a response to the previous WX?
I've successfully implemented the RBE example (both message and response back). I've tried formatting a non-response PC message to be read by the PLC, and I think I'm close, but not quite there.
My PC-Initiated host message:
48 41 50 2A 00 00 00 09 00 00 00 00 00 54 65 73 74 3F
The automatic response from an H0-ECOM100 (all WX/RX ladder code rungs turned off):
48 41 50 2A 00 00 00 04 00 00 00 00 00
But, when I activate the RX rung doing periodic reads, the RX instruction doesn't ever place my test message in the indicated buffer, as it does when the PLC reads a WX response message. Is it possible to make this work at all? Do I need to implement CRC when initiating a message, and/or are there any other critical header bytes (after the message length bytes) that need to be set a certain way? Any help or pointing me to the proper documents would be appreciated.
I realize that I can use the SDK DLL to initiate a message, but for the application I have in mind I like the idea of using the RBE setup with simple UDP datagrams. I would simply prefer that the PC could also be the initiator of communications. Thanks.