130 likes | 148 Views
Learn how to configure your PLC hardware for efficient IO processing according to developer-defined policies. Understand point-to-IO setup, symbol table usage, and OPC server settings for streamlined automation.
E N D
PLC OS sequence INPUTS Watch status and values of HD inputs PROCESS Inputs are processed according to a Policy defined by the developer OUTPUTS HD outputs assignment IT/CO E. Mazel J. Rochez
Code Code O U T I N PLC cycle Watchdog delay PLC cycle t Code I N O U T Fetch all IO informations Collect all IO informations Execute the code : sequential ladder, structured instruction list state level Grafcet; IT/CO E. Mazel J. Rochez
Memories IO memory Point to IO Input :%IW4.0 Output :%Qw4.0 Input %I1.0 Output %Q1.16 Data memory saved values %M123 %MB10 %MW4 %MF100 Constant memory fixed values %KB1 %KW100 %KF1032 IT/CO E. Mazel J. Rochez
PLC hardware configuration • This is where you configure the hardware settings of your PLC platform: • CPU choice • Power supply choice • Communication protocols choice • Physical Inputs/Outputs configuration IT/CO E. Mazel J. Rochez
Adding a new physical input (1/) example with a temperature sensor: pt100 A rack, a power supply and a CPU have already been chosen: IT/CO E. Mazel J. Rochez
Adding a new physical input (1/) example with a temperature sensor: pt100 Select an analog input module for your temperature input: IT/CO E. Mazel J. Rochez
Adding a new physical input (1/) example with a temperature sensor: pt100 Configure the module you have selected to fit the sensor device: IT/CO E. Mazel J. Rochez
Adding a new physical input (1/) example with a temperature sensor: pt100 Hardware configuration is now OK IT/CO E. Mazel J. Rochez
Adding a new physical input (1/) example with a temperature sensor: pt100 The hardware configuration is updated The temperature value can be accessed at the memory cell referenced by: %IW4.0 because: IT/CO E. Mazel J. Rochez
Simple coding Temperature is in 1/10 of degree Voltage is in microVolt Through the use of symbols table we have : IT/CO E. Mazel J. Rochez
OPC access All symbols are exported to a Flat file *.scy The import is also possible IT/CO E. Mazel J. Rochez
OPC server setting IT/CO E. Mazel J. Rochez
OPC client access IT/CO E. Mazel J. Rochez