====== General proceedings to program PLCs ====== Apart from creating a new Solution, which is necessary for any other activity, the order of the steps to follow is up to the user. However, the most common way is described below. - Start the engineering of one or more PLCs by [[:en:mervis-ide:35-help:010-start_ide:005-new_solution|creating a new Solution]] - Add [[:en:mervis-ide:35-help:015-plc:005-attach_plc|one or more PLCs to the Solution]] - Assign [[:en:mervis-ide:35-help:015-plc:005-attach_plc|platform parameters]] to the PLC - Add a [[:en:mervis-ide:35-help:015-plc:070-com_ch_settings|communication channel]] to the PLC and set its communication parameters - [[:en:mervis-ide:35-help:015-plc:075-hw_variable|Add communication elements]] to the channel - Add [[:en:mervis-ide:35-help:015-plc:075-hw_variable|communication parameters]] to the elements - [[:en:mervis-ide:35-help:025-new_project|Create a project, add references]] - [[:en:mervis-ide:35-help:025-new_project:010-variable_definition|Create global variables]], [[:en:mervis-ide:35-help:025-new_project:015-autogen|pam them on physical variables]] - Create a program in [[:en:mervis-ide:35-help:025-new_project:020-fupla_editor|Fupla]] ([[:en:mervis-ide:35-help:025-new_project:025-st_editor|in ST]]) - [[:en:mervis-ide:35-help:015-plc:065-plc_prog_map|Define task(s) of the controller]] - [[:en:mervis-ide:35-help:015-plc:020-upload_pgm_to_plc|Upload project to controller]] Of course, do not forget to compile the solution every time the data structure changes (new variable, variable type change, new reference etc.).