用户程序存储器用于存放用户载入的PLC应用程序,载入初期的用户程序因需修改与调试,所以称为用户调试程序,
存放在可以随机读写操作的随机存取存储器RAM内以方便用户修改与调试。
通过修改与调试后的程序称为用户执行程序,由于不需要再作修改与调试,所以用户执行程序就被固化到EPROM内
长期使用。
3)数据存储器
PLC运行过程中需生成或调用中间结果数据(如输入/输出元件的状态数据、定时器、计数器的预置值和当前值等)和组
态数据(如输入输出组态、设置输入滤波、脉冲捕捉、输出表配置、定义 存储区保持范围、模拟电位器设置、高速计
数器配置、高速脉冲输出配置、通信组态等), 这类数据存放在工作数据存储器中,由于工作数据与组态数据不断变
化,且不需要长期保存,所以采用随机存取存储器RAM。
RAM是一种高密度、低功耗的半导体存储器,可用锂电池作为备用电源,一 旦断电就可通过锂电池供电,保持RAM
中的内容。


2) User program memory
The user program memory is used to store the PLC application program loaded by the user. The user program at the initial stage of loading needs to be modified and debugged, so it is called user debugging program,
It is stored in random access memory RAM that can be read and written randomly to facilitate user modification and debugging.
The program after modification and debugging is called user execution program. Since there is no need to make modification and debugging, the user execution program is solidified into EPROM
Long term use.
3) Data storage
During the operation of PLC, it is necessary to generate or call intermediate result data (such as status data of input / output components, preset and current values of timers and counters, etc.) and groups
Status data (such as input and output configuration, setting input filtering, pulse capture, output meter configuration, defining storage area holding range, analog potentiometer setting, high-speed meter
Digital device configuration, high-speed pulse output configuration, communication configuration, etc.), this kind of data is stored in the working data memory, because the working data and configuration data are constantly changing
Therefore, random access memory RAM is used.
Ram is a kind of semiconductor memory with high density and low power consumption. Lithium battery can be used as backup power supply. Once power is cut off, it can be powered by lithium battery to maintain ram
Content in.







客服1