Home » PLC Mitsubishi
Bộ đếm Counter (C) PLC Mitsubishi FX series
Bộ đếm - Counter (C)
Đếm số tín hiệu, số xung ON-OFF đầu vào X của PLC
Rơ le phụ trợ điều hướng đếm lên hoặc đếm xuống cho bộ đếm.
Phương pháp nhớ relay phụ trợ:
Ví dụ: Với bộ đếm C200 thì relay phụ trợ của nó là M8 và 200 --> M8200.
Với bộ đếm C251 thì relay phụ trợ của nó là M8251
Khi các relay phụ trợ này OFF thì bộ đếm sẽ đếm lên, và relay ON thì sẽ đếm xuống
Bộ đếm có 2 loại: Loại chung (General type) và loại chốt cố định (Latched type).
Chi tiết xem video dưới:
Tags:
Học tập, PLC cơ bản, PLC Mitsubishi
Đếm số tín hiệu, số xung ON-OFF đầu vào X của PLC
Ví dụ trên: Bộ đếm C0 đếm tín hiệu nhận đầu vào nhận từ chân X011. Hằng số giới hạn số lần đếm K = 10. Khi giá trị thực tế đếm được bằng giá trị cài đặt (K10) thì công tắc C0 sẽ cấp nguồn cho Y000.
Đặc tính của bộ đếm có 2 loại:
16 bit: Bộ đếm trong khoảng từ 0 tới 32767 đơn vị
32 bit: Bộ đếm trong khoảng từ -2.147.483.648 tới 2.147.483.647 đơn vị
Bộ đếm 32 bit có thể đếm lên và đếm xuống tùy theo rơ le phụ trợ OFF hay ON.
Phương pháp nhớ relay phụ trợ:
Ví dụ: Với bộ đếm C200 thì relay phụ trợ của nó là M8 và 200 --> M8200.
Với bộ đếm C251 thì relay phụ trợ của nó là M8251
Khi các relay phụ trợ này OFF thì bộ đếm sẽ đếm lên, và relay ON thì sẽ đếm xuống
Kiểu chung: Dữ liệu đếm sẽ không được lưu khi PLC chuyển từ STOP sang RUN hoặc mất điện
Kiểu chốt cố định: Dữ liệu đếm sẽ được lưu trong EEPROM được nuôi bằng pin, khi PLC mất điện hoặc chuyển từ STOP sang RUNChi tiết xem video dưới: