Sunday, August 16, 2009

Definition Function Counter for PLC Programming





1. Counter for PLC Omron :

CNT - Counter
Diagram Counter PLC Omron

Purpose:
CNT is used to count down from SV when the execution condition on the count pulse, CP, goes from OFF to ON, that is, the present value (PV) will be decremented by one whenever CNT is executed with an ON execution condition for CP and the execution condition was OFF for the last execution. If the execution condition has not changed or has changed from ON to OFF, the PV of CNT will not be changed. The Completion Flag for a counter is turned ON when the PV reaches zero and will remain ON until the counter is reset.

CNT is reset with a reset input, R. When R goes from OFF to ON, the PV is reset to SV. The PV will not be decremented while R is ON. Counting down from SV will begin again when R goes OFF. The PV for CNT will not be reset in interlocked program sections or by power interruptions.

Ranges:

N: TC Number 000 - 511
SV: Set value (word, BCD) --> IO, AR, DM, HR, #

2. Counter for PLC Mitsubishi :

C - Counter
Diagram Counter PLC Mitsubishi

Purpose:
C is used to count up to SV when the execution condition on the count pulse CP, goes form OFF to ON , that is , The Present Value (PV) = Set Value (SV). Whenever C is executed with an ON execution condition for CP and execution condition was OFF for the last execution. If the execution condition has not changed or has changed from ON to OFF, the PV of C will not be changed

C is reset with a reset input, R. When R goes from OFF to ON, the PV is reset to 0.

Ranges:

N: C Number 000 - 199
SV: Set value --> k0 - k9999

3. Counter for PLC Keyence :

C - Counter
Diagram Counter PLC Keyence

Purpose:
C is used to count up to S1 when the execution condition on the Count input S2, goes form OFF to ON , that is , The Present Value (PV) = Set Value (S1). Whenever C is executed with an ON execution condition for S2 and execution condition was OFF for the last execution. If the execution condition has not changed or has changed from ON to OFF, the PV of C will not be changed

C is reset with a reset input, R. When R goes from ON to OFF, the PV is reset to 0.

Ranges:

n: C Number --> 000 - 249
S1: Set value --> #0 to #65535
S2 : Input Bit --> 0000 to 17915

See : Simulation How to Work Counter for PLC Omron

See : Simulation How to Work Counter PLC Mitsubishi

See : Simulation How to Work Counter PLC Keyence



Newer Post Older Post Home

You may also like these ebook:

Get Free PLC eBook directly sent to your email,
and email subscription to program-plc.blogspot.com




We hate SPAM. Your information is never sold or shared with anyone.

Your Email Will Be 100% Secured !