C h a p t e r 5 D e vi c e5 - 1 75_1. When X0.0=ON, the instruction RST will be executed and the current value of C0 will be reset to zero andthe output contact of the counter C0 will be FF.2. When X0.1 is from OFF to ON, the value of the counter increases by one increment.3. When the value of the counter C0 reached the setting value 5, the contact of the counter C0 will be ON (thecurrent value of C0 = the setting value = 5). After that the trigger from X0.1 will not be accepted by C0 andthe current value of C0 will stay at the value 5.X 0.0X 0.1Y 0.0 ,C0C0 ( PV )012345(SV)05.2.11 32-bit Counters (HC) Characteristics of the 32-bit counterItem 32-bit counterType Up/down counter Up counter High-speed counterNumber HC0–HC63 HC64–HC199 HC200–HC255Direction Counting up/down Counting up Counting up/downSetting value -2,147,483,648 to +2,147,483,647Specification of thesetting valueThe setting value can be either the constant or the value occupying two dataregisters (32-bit).Change of the currentvalueThe counter keeps counting even after the value of the counter matches the settingvalue.Output contactThe contact is ON when the value of the addition counter matches the setting value.The contact is reset to OFF when the value of the subtraction counter matches thesetting value.Reset When the RST instruction is executed, the current value is cleared to zero, and thecontact is reset to OFF.