Programmable Logic Controller
- Memory Map - By Eugene Kowch, P.I.D. Consultants Inc.
The memory is divided into three parts: program, word and
discrete registers. The program (ladder logic) and word registers are
usually stored in FLASH memory, while the discrete registers are stored in
RAM memory.
|
|
To demonstrate a typical memory map, let us assume that the micro PLC we are working with has a total of 16K words of memory. The first 8K words are reserved for word data, with register addresses ranging from 0 to 17777 (octal). These are read/write registers which the ladder logic retrieves or stores internal data. The next 8K words are set aside for the ladder logic, with register addresses ranging from 20000 to 37777 (octal). These registers are not accessible to the programmer. The program is usually written in ladder logic with a PC, compiled and stored in flash memory. |
Tidak ada komentar:
Posting Komentar