This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| noise_book:single_board_plc [2026/06/10 20:43] – created admin | noise_book:single_board_plc [2026/06/10 20:56] (current) – admin | ||
|---|---|---|---|
| Line 10: | Line 10: | ||
| An engineering company is hired, a microcontroller is selected, and the PLC logic is rewritten in C. The prototype works, production begins, and everything seems fine. | An engineering company is hired, a microcontroller is selected, and the PLC logic is rewritten in C. The prototype works, production begins, and everything seems fine. | ||
| + | |||
| + | {{ : | ||
| Then the problems start. | Then the problems start. | ||
| Line 22: | Line 24: | ||
| If a noise event temporarily changes the state of an input or output, the next scan often corrects the problem automatically. | If a noise event temporarily changes the state of an input or output, the next scan often corrects the problem automatically. | ||
| + | |||
| + | {{ : | ||
| Many embedded programmers do not write software this way. Instead, they may change an output and assume it will stay that way forever. | Many embedded programmers do not write software this way. Instead, they may change an output and assume it will stay that way forever. | ||
| Line 36: | Line 40: | ||
| Many engineers discover that copying the PLC's logic is easy. Matching the PLC's reliability is the hard part. | Many engineers discover that copying the PLC's logic is easy. Matching the PLC's reliability is the hard part. | ||
| + | |||
| + | ---- | ||
| + | |||
| + | This is one reason CUBLOC was originally developed. | ||
| + | |||
| + | {{ : | ||
| + | |||
| + | If you build a custom board using a CUBLOC module, some of these challenges become much easier to manage. | ||
| + | |||
| + | Because CUBLOC uses ladder logic, you keep the PLC-style scan cycle and behavior that many industrial systems rely on. This helps avoid some of the software-related issues that can appear when a PLC is replaced with a conventional microcontroller program. | ||
| + | |||
| + | Field maintenance is also easier. Logic changes can often be made without redesigning hardware or rewriting large portions of firmware. | ||
| + | |||
| + | However, the hardware is still your responsibility. | ||
| + | |||
| + | Noise protection, surge protection, PCB layout, grounding, and power supply design must still be done correctly. A CUBLOC module can simplify the control side of the design, but it cannot compensate for poor hardware design. | ||
| + | |||
| + | If you have limited experience designing industrial control hardware, getting help from an experienced PCB designer can save a great deal of time and frustration later. | ||
| + | |||
| + | |||
| [[index|←Noise Is My Friend]] | [[index|←Noise Is My Friend]] | ||