Do you want to know, what the DPLC programmable controller capable to do with your daily programming task?

This DPLC programmable controller is a simple project, which it’s suitable for those beginners that want to involve themselves in the programmable controller projects.

This DPLC programmable controller is compatible and will be a good application for:

  1. Any projects that needs a simple and cheap brain
  2. Replace the relay logic when it’s too complex or expensive to afford
  3. The small industrial applications
  4. Any suitable application, where PLCs are needed in a project (You can trace it in the lighting application, water pumps and much more)

Firstly, this DPLC programmable controller can be programmed in a simple language, and with 65536 bytes, which is also equal to 8192 instruction (The 8 bytes instructions).

This DPLC is a PLC that has 16 inputs and 16 outputs. Since this is a piggyback module, you have to put the hardware that requires or choose from some standard HW.

The core for this project is an ATMEGA128 processor and the memory is a 24FC512. The entire program for the PLC is stored here. The main goal for this project is a cheap module, where it will be placed onto a customer defined hardware platform. Therefore, the platform itself can contain standard stuff, such as relays, optocoouplers and much more…

Below here is the code for the PLC, just copy and apply it to the programming:

set_out_to_value_using_mask FF FF 00 22
jump_point_no 0
if_in_using_mask_is_equal_skip 01 00 01 00 1
jump 1
jump 0
jump_point_no 1        comment: initiation seq
set_out_to_value_using_mask 00 FF AA AA
wait 00 00 00 1F
set_out_to_value_using_mask 00 FF 55 55
wait 00 00 00 1F
counter 0 g 0 1 1
jump 1

Hope you will enjoy the DPLC programmable controller project… [source]

Random Posts