From 02d3305176994b7e41501548d37534a8bc4837de Mon Sep 17 00:00:00 2001 From: vaibhavkurhe27 <75834874+vaibhavkurhe27@users.noreply.github.com> Date: Mon, 28 Mar 2022 16:12:48 +0530 Subject: [PATCH] Update theory.md --- experiment/theory.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/experiment/theory.md b/experiment/theory.md index 347da05..0563744 100644 --- a/experiment/theory.md +++ b/experiment/theory.md @@ -9,12 +9,12 @@ The instruction blocks of up counter and down counter are as shown below.
-**Count Up (CU) Bit:** - The Count Up enable bit indicates the CTU instruction is enabled. The data type used is Boolean indicated as BOOL. -**Count Down (CD) Bit:** - The Count Up enable bit indicates the CTD instruction is enabled. -**Done (DN) Bit:** - The done bit changes state whenever the accumulated value reaches the preset value. The data type used is Boolean indicated as BOOL. -**Overflow (OV) Bit:** - The overflow bit indicates the counter exceeded the upper limit of 2, 147, 483, 647. The counter then roles over to -2, 147, 483, 648 and begins counting up again. The data type used is Boolean indicated as BOOL. -**Underflow (UN) Bit:** - The underflow bit indicates that the counter exceeded the lower limit of -2, 147, 483, 647. The counter then roles over to 2, 147, 483, 647 and begins counting down again. The data type used is Boolean indicated as BOOL. -**Preset (PRE) Bit:** - It specifies the value which the accumulated value must reach before the instruction sets the done bit. The data type used is Double integer indicated as DINT. +**Count Up (CU) Bit:** - The Count Up enable bit indicates the CTU instruction is enabled. The data type used is Boolean indicated as BOOL.\ +**Count Down (CD) Bit:** - The Count Up enable bit indicates the CTD instruction is enabled.\ +**Done (DN) Bit:** - The done bit changes state whenever the accumulated value reaches the preset value. The data type used is Boolean indicated as BOOL.\ +**Overflow (OV) Bit:** - The overflow bit indicates the counter exceeded the upper limit of 2, 147, 483, 647. The counter then roles over to -2, 147, 483, 648 and begins counting up again. The data type used is Boolean indicated as BOOL.\ +**Underflow (UN) Bit:** - The underflow bit indicates that the counter exceeded the lower limit of -2, 147, 483, 647. The counter then roles over to 2, 147, 483, 647 and begins counting down again. The data type used is Boolean indicated as BOOL.\ +**Preset (PRE) Bit:** - It specifies the value which the accumulated value must reach before the instruction sets the done bit. The data type used is Double integer indicated as DINT.\ **Accumulator (ACC) Bit:** - It specifies the number of transitions the instruction has counted. The timing diagram illustrates the functioning of all the bits in sequence.