E556GB — 6.10.2 Up-counter to 12

Examples 6.10.1.1 Syntax examples Start forward counter to 175 with remanent current value: = C00.00:175:F:R Start down-counter with non-remanent, variable counter value (the set value is stored in BM04.06/ BM04.07) = C00.03:BM04.06:B Transfer counting pulse (count) L I02.03 ;pulse =C C00.03 Read counter output (set count complete?) L C01.00 Read count: LD C01.00 6.10.2 Up-counter to 12 L I00.00 ;start counter = C00.00:12:V L I00.01 ;counter (transfer pulse) =C C00.00 L C00.00 ;read “count complete“ = O00.12 LD C00.00 ;read current value =D BM00.00 122