Home
Prox / RFID
Verichips
Ladder Logic
[interfacing] †
Tube Joints
Key Code From Photo
SolveSpace (3d CAD)
SketchFlat (2d CAD)
Photographs
Miscellany
Resume / Consulting
Contact Me

LDmicro Forum - to Ihor Nehrutsa

(you are viewing a thread; or go back to list of threads)

to Ihor Nehrutsa (by Boris)
What is the purpose of "github"
Wed Mar 2 2016, 07:17:24
TFT display (by smei)
HOW INTERFACE TFT DISPLAY LD MICRO .IT POSSIBLE MGP OR
Jonathan Westhues HELP ME SEND ME EXAMPLE
Wed Mar 2 2016, 08:07:42
(no subject) (by MGP)
Smei, start a new topic if you have questions.

The only TFT display I know, that you can use with LDmicro is the Nextion from iTEAD STUDIO, rs232(ttl) compatible.
Wed Mar 2 2016, 13:26:31
to Smei (by Ihor Nehrutsa)
LDmicro can cooperate with devices via UART.
Use 'Formatted String Over UART' in LDmicro.
See rtc.ld example.

Nextion:
http://support.iteadstudio.com/support/discussions/topics/1000065323
Thu Mar 3 2016, 07:05:59, download attachment rtc.ld
(no subject) (by Alex)
i have tested Ihorīs ladder, circular counter doesnīt reset, am i doing something wrong?
Wed Oct 11 2017, 23:58:12, download attachment CTC no circular.jpg
(no subject) (by MGP)
That's because the CTC instruction has not been active yet.
If the hours change after the 59 min then the Chour jumps to zero.

You must avoid manually crossing the 23, because it takes 1 hour before the CTC instruction becomes active.
A small programming error.
Thu Oct 12 2017, 02:51:19
(no subject) (by Ihor Nehrutsa)
to Alex

A counter increments (CTC, count up) or decrements (CTR, count
down) the associated internal count on every rising edge of the rung input condition (i.e. what the rung input condition goes from false to true).

CTC counter start from 'Start' and count up to 'Max' value.
CTC generate overfill(carry) impulse when Counter==Max.

CTR counter start from 'Start' and count down to 'Min' value.
CTR generate overfill(borrow) impulse when Counter==Min.


Try simulate ctc_osr.ld
Thu Oct 12 2017, 16:49:50, download attachment ctc_osr.ld
Post a reply to this comment:
Your Name:
Your Email:
Subject:
(no HTML tags; use plain text, and hit Enter for a line break)
Attached file (if you want, 5 MB max):