PLC with PIC16F648A microcontroller part 2

Küçük Resim Yok

Tarih

2008

Dergi Başlığı

Dergi ISSN

Cilt Başlığı

Yayıncı

Erişim Hakkı

info:eu-repo/semantics/closedAccess

Özet

A software structure named UZAM_PLC makes use of general purpose 8-bit registers of RAM data memory of PIC 16F648A. It is fixed to run at 4MHz with P1C16F648A's internal oscillator. The watchdog timer is used to prevent user-program lock-ups. The input signals are serially taken from the related 74HC/LS165 registers and stored in the registers, in the 'get_inputs' stage of the PLC scan cycle. The output information stored in the 8-bit registers Q0, Qi, Q2, Q3 are serially sent out to and stored in the related TPIC6B595 registers, in the 'send_outputs' stage of the PLC scan cycle. This means that Q0, Qi, Q2, Q3 registers will hold output information and they will be copied into the TP1C6B595 registers at the end of each PLC scan cycle. The special memory bit 'FRST5CN' is arranged to hold the value of '1' at the first PLC scan only. The input signals are serially taken from the related 74HC/LS165 registers and stored in the registers such as b10, b11, b12, and b13.

Açıklama

Anahtar Kelimeler

Data memories, Input signals, Internal oscillators, Memory bits, Micro controllers, Software structures, Watchdog timers

Kaynak

Electronics World

WoS Q Değeri

Scopus Q Değeri

N/A

Cilt

114

Sayı

1872

Künye