Uzam, Murat2024-11-072024-11-0720091365-4675https://hdl.handle.net/11480/11334The study focused on a project on a microcontroller-based PLC, describing the flip-flop based macros as r-edge (rising edge detector), f-edge (falling edge detector), latch0, latch and so on. The edge detection mechanism is required to define each macro, using 8-bit variables such as RED-Rising Edge Detector, DFF-RED-Rising Edge Detector for D flip-flop, DIFF-FED-Falling Edge Detector for T flip-flop, which are detected within the RAM data memory. The macro 'r-edge' defines eight rising edge detector functions selected with the num=0, 1.7, having a Boolean input variable, as IN passed into the macro 'W' and a Boolean output variable namely OUT, passed out through 'W'. The flip-flop based macros are proved in the study through four examples, including UZAM-plc-8i8o-ex.asm, N=7,8,9,10 to show the usage of flip=flop based macros. The other programs include 'UZAM-plc-8i8o-ex8.asm', 'UZAM-plc-8i8o-ex9.asm, and UZAM-plc-8i8o-ex10.asm.eninfo:eu-repo/semantics/closedAccessBoolean functionsDetectorsFlip flop circuitsData memoriesDetection mechanismsEdge detectorsFalling edgesInput variablesOutput variablesEdge detectionPLC with PIC16F648A Micrc: Controller - Part 4Article115187434402-s2.0-59349092558N/A