Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Ladder Logic for PIC and AVR

Status
Not open for further replies.

badboy2007

Advanced Member level 4
Joined
Feb 5, 2007
Messages
114
Helped
29
Reputation
58
Reaction score
24
Trophy points
1,298
Location
Cambodia
Activity points
1,870
ladder avr

Quick summary: I wrote a compiler that starts with a ladder diagram and generates native PIC16 or AVR code. Features include:

digital inputs and outputs
timers (TON, TOF, RTO)
counters (CTU, CTD, ‘circular counters’ for use like a sequencer)
analog inputs, analog (PWM) outputs
integer variables and arithmetic instructions
easy-to-use serial communications, to a PC, LCD, or other device
shift registers, look-up tables
EEPROM variables, whose values are not forgotten when you lose power
simulator, to test your program before you generate PIC/AVR code
https://cq.cx/dl/ldmicro.exe
https://cq.cx/ladder.pl
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top