I am nearing the end of the project, which is the Omron PLC, CJ1M series communicates via Modbus network with SCU41 map read / write, send and receive data over a network. However, I came in recently with a problem that all my work is to discover anything.

I have functional block for each type of folder on the network, whether existing or regulator circuit, it is just a block and move it vypracuje scheme plus serves as a black box, the ‘t you see what he does, just results.

But since many, many lines of comparison I Uinta mapping different data types in different network elements (aka, the program automatically inserts know weather its efforts to create UDINT, Floating Point and collect the necessary data), I had too many steps and ran from UM. I changed it from a CPU11 CPU22, and everything should be good. However, I am now the error message “Internal error. Malfunctioning block instances generated code” that prevents me from sending my program to a new CPU. Only one of my FB seems immune to this error. Any help?

Problem: Error message “Unable to degree of functional blocks of code to create”
Why: This can be caused by a defect in CX-P to remove the “default” to block some of the variables in the function.
Solution:
1st Open the Edit window for a variable, and select the “Keep” and press “OK”.
2nd Open the Edit window for the variable again, and clear and hold the “” then press “OK”.

Tags: CJ1M series, , , , , , , Fix error, Function Block, Function Block error, Function Failed, Instance code Error, PLC programming