ternoob.blogg.se

Cx programmer commands
Cx programmer commands











cx programmer commands cx programmer commands

Thanks Porge for the link - that got me found out the problem. Hope someone here with FINS programming or PLC experience can offer me some help. I have no idea where and how I can troubleshoot. I suspect I may not be parsing the hexadecimal correctly, but again, I have no exception to guide me. I suspect there is mistake in the fins_cmnd array, but as seen in my code, I have commented as detail as possible on each value I can't possibly find myself missing anything. I transfered the ladder to PLC and test out by Work Online in Monitor mode and setting D100 a value manually.

CX PROGRAMMER COMMANDS CODE

The UdpClient code is valid since I wrote a very simple server / client code that successfully send and receive packets.I have also ping each IP to make sure nodes are connected. Port, node and address configured correctly as confirmed by "Work Online" in CX-Programmer.The output 101.00 did not get triggered, nor I receive any exception. The C# code should write a value of # 0001 to PLC's D100 area to trigger ON on 101.00. Then I wrote a piece of C# that performs FINS command of "Memory Area Write" which has command code of 01 02, followed by beginning address, number of items to be written, and the data. (Here, "Trigger" is just a symbol name for memory area D100, and "Output" is a symbol for output 101.00) If DM100 has value of #0001, then trigger on output 101.00. PLC has a very simple ladder logic as follow: I try to send FINS commands through UDP from PC (C#.NET) to PLC Ethernet module (Omron), but is not getting any responds from the PLC and have no clue where I can start troubleshooting.













Cx programmer commands