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.
(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;