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 - Is this a Bug? The yPlcCycleDuty option is not reset when you start a new program

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

Is this a Bug? The yPlcCycleDuty option is not reset when you start a new program (by Greg Blackwell)
Test case to demonstrate the issue:
Start the current version of LDmicro version 4.3.3
Create a simple program that has a single rung with a single contact and a single coil:
- Menu: Instruction -> Insert Contacts: Input Pin
- Menu: Instruction -> Insert Coil: Output Pin
Examine the yPlcCycleDuty setting
- Menu: Settings -> MCU Parameters ...
The yPlcCycleDuty option is initially unset for this new program.
Enable the Plc Duty Cycle feature
- Tick the YPlcDutyCycle check box
Save the ladder program
- Menu: File -> Save
The "Save As" dialog is displayed. Choose the filename new.ld

Create a new program
- Menu: File -> New
Examine the yPlcCycleDuty setting
- Menu: Settings -> MCU Parameters ...
The yPlcCycleDuty option is still set.
Wed Jan 10 2018, 06:57:46
(no subject) (by Ihor Nehrutsa)
In next release, New ladder diagram will use

"YPlcCycleDuty":
Prog.cycleDuty = 0;

"Timer0|1:"
Prog.cycleTimer = 1;

"PIC Configuration Bits:"
Prog.configurationWord = 0;
Wed Jan 10 2018, 16:55:31
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):