S7-1200 with Modbus RTU

Who simultaneously works with a large number of brands PLC and SCADA faces sooner or later with the fact that competence is not enough. Usually something does not work, but how to understand why? Where to read? Where to look? At whom to ask?
Absolutely exactly, that all the answers are there and all the manuals on the equipment have long been written, the only difficulty is that they either have no time to search for, or there is no time to read them. It is necessary that clicked on the button and here it is the result. What can I say, please forgive and accept)
In this article I will describe how I connected the S7-1200 Siemens PLC (TIA-Portal SP1) via the CM1241 communication module with the IP320 monochrome panel
Long enough, with visits, I tried to solve the issue of connection (I will not hide, my friends helped me)
1. After we inserted the communication module in the device manager, we need to set the port parameters
tia_portal_0
tia_portal_01

2. The field of this is created by the organizational unit OB100, which in the first scan cycle of the program initiates activating the communication processor and parameterizes the port
tia_portal_1

3. In the main OB 1 (here it is not so important) do a slave library poll. Call the function for the Modbus Slave (it makes the data of the DB block in the registers on the communicator's port). Addressing with 1 or 4xxxx1.
tia_portal_2

4. Analyze the information coming into the system blocks
tia_portal_3
tia_portal_4


5. The result of these actions should be the correspondence of the data displayed on the panel and those in the data block of the PLC. Indicators Rx / TX burn almost continuously, which characterizes the exchange of data packets
tia_portal_5
tia_portal_6


# S71200, #IP320, #exchange, # data, #Modbus, #RTU, #Modbus, #RTU, #CM1241, #TIAPORTAL, #OWEN

Russian version
Array
(
    [ID] => 277
    [IBLOCK_ID] => 1
    [NAME] => S7-1200 with Modbus RTU
    [IBLOCK_SECTION_ID] => 
    [IBLOCK] => Array
        (
            [ID] => 1
            [~ID] => 1
            [TIMESTAMP_X] => 14.10.2021 23:54:30
            [~TIMESTAMP_X] => 14.10.2021 23:54:30
            [IBLOCK_TYPE_ID] => EN
            [~IBLOCK_TYPE_ID] => EN
            [LID] => s2
            [~LID] => s2
            [CODE] => articles
            [~CODE] => articles
            [API_CODE] => 
            [~API_CODE] => 
            [NAME] => Articles
            [~NAME] => Articles
            [ACTIVE] => Y
            [~ACTIVE] => Y
            [SORT] => 10
            [~SORT] => 10
            [LIST_PAGE_URL] => /articles/
            [~LIST_PAGE_URL] => /articles/
            [DETAIL_PAGE_URL] => /articles/#ELEMENT_CODE#.html
            [~DETAIL_PAGE_URL] => /articles/#ELEMENT_CODE#.html
            [SECTION_PAGE_URL] => 
            [~SECTION_PAGE_URL] => 
            [CANONICAL_PAGE_URL] => https://lapshinvr.com/articles/articles.html
            [~CANONICAL_PAGE_URL] => https://lapshinvr.com/articles/articles.html
            [PICTURE] => 
            [~PICTURE] => 
            [DESCRIPTION] => 
            [~DESCRIPTION] => 
            [DESCRIPTION_TYPE] => html
            [~DESCRIPTION_TYPE] => html
            [RSS_TTL] => 24
            [~RSS_TTL] => 24
            [RSS_ACTIVE] => Y
            [~RSS_ACTIVE] => Y
            [RSS_FILE_ACTIVE] => N
            [~RSS_FILE_ACTIVE] => N
            [RSS_FILE_LIMIT] => 
            [~RSS_FILE_LIMIT] => 
            [RSS_FILE_DAYS] => 
            [~RSS_FILE_DAYS] => 
            [RSS_YANDEX_ACTIVE] => N
            [~RSS_YANDEX_ACTIVE] => N
            [XML_ID] => 
            [~XML_ID] => 
            [TMP_ID] => 
            [~TMP_ID] => 
            [INDEX_ELEMENT] => Y
            [~INDEX_ELEMENT] => Y
            [INDEX_SECTION] => N
            [~INDEX_SECTION] => N
            [WORKFLOW] => N
            [~WORKFLOW] => N
            [BIZPROC] => N
            [~BIZPROC] => N
            [SECTION_CHOOSER] => L
            [~SECTION_CHOOSER] => L
            [LIST_MODE] => 
            [~LIST_MODE] => 
            [RIGHTS_MODE] => S
            [~RIGHTS_MODE] => S
            [SECTION_PROPERTY] => N
            [~SECTION_PROPERTY] => N
            [PROPERTY_INDEX] => N
            [~PROPERTY_INDEX] => N
            [VERSION] => 1
            [~VERSION] => 1
            [LAST_CONV_ELEMENT] => 0
            [~LAST_CONV_ELEMENT] => 0
            [SOCNET_GROUP_ID] => 
            [~SOCNET_GROUP_ID] => 
            [EDIT_FILE_BEFORE] => 
            [~EDIT_FILE_BEFORE] => 
            [EDIT_FILE_AFTER] => 
            [~EDIT_FILE_AFTER] => 
            [SECTIONS_NAME] => 
            [~SECTIONS_NAME] => 
            [SECTION_NAME] => 
            [~SECTION_NAME] => 
            [ELEMENTS_NAME] => Элементы
            [~ELEMENTS_NAME] => Элементы
            [ELEMENT_NAME] => Элемент
            [~ELEMENT_NAME] => Элемент
            [REST_ON] => N
            [~REST_ON] => N
            [EXTERNAL_ID] => 
            [~EXTERNAL_ID] => 
            [LANG_DIR] => /
            [~LANG_DIR] => /
            [SERVER_NAME] => lapshinvr.com
            [~SERVER_NAME] => lapshinvr.com
        )

    [LIST_PAGE_URL] => /articles/
    [~LIST_PAGE_URL] => /articles/
    [SECTION_URL] => 
    [CANONICAL_PAGE_URL] => https://lapshinvr.com/articles/s7-1200-with-modbus-rtu.html
    [SECTION] => Array
        (
            [PATH] => Array
                (
                )

        )

    [IPROPERTY_VALUES] => Array
        (
            [ELEMENT_PREVIEW_PICTURE_FILE_NAME] => s7-1200 with modbus rtu
            [ELEMENT_META_TITLE] => Communication module CM 1241 monochrome panel ИП320
            [ELEMENT_META_KEYWORDS] => S7-1200, Modbus RTU, IP320, Siemens, PLC, TIA, Portal, CM1241, communication, module
            [ELEMENT_META_DESCRIPTION] => Who simultaneously works with a large number of brands PLC and SCADA faces sooner or later with the fact that competence is not enough.
            [ELEMENT_PAGE_TITLE] => S7-1200 with Modbus RTU
            [SECTION_META_TITLE] => Automation articles 
            [SECTION_META_KEYWORDS] => Automation, Articles 
            [SECTION_META_DESCRIPTION] => I met something worthy of attention during the work. It is difficult to assess the necessity of posting this or that article, I tried to clean up the obvious garbage
            [SECTION_PAGE_TITLE] => Here I published articles that may be useful to someone in the production of work
        )

    [TIMESTAMP_X] => 17.10.2021 13:26:03
    [META_TAGS] => Array
        (
            [TITLE] => S7-1200 with Modbus RTU
            [BROWSER_TITLE] => Communication module CM 1241 monochrome panel ИП320
            [KEYWORDS] => S7-1200, Modbus RTU, IP320, Siemens, PLC, TIA, Portal, CM1241, communication, module
            [DESCRIPTION] => Who simultaneously works with a large number of brands PLC and SCADA faces sooner or later with the fact that competence is not enough.
        )

    [PREVIEW_TEXT] => Who simultaneously works with a large number of brands PLC and SCADA faces sooner or later with the fact that competence is not enough. Usually something does not work, but how to understand why? Where to read? Where to look? At whom to ask?
Exactly, that all the answers are there and all the manuals on the equipment have long been written, the only difficulty is that they either have no time to search for, or there is no time to read them. It is necessary that clicked on the button and here it is the result. What can I say, please forgive and accept)
In this article I will describe how I connected the S7-1200 Siemens PLC (TIA-Portal SP1) via the CM1241 communication module with the IP320 monochrome panel [PREVIEW_PICTURE] => Array ( [ID] => 405 [TIMESTAMP_X] => Bitrix\Main\Type\DateTime Object ( [value:protected] => DateTime Object ( [date] => 2021-10-17 13:26:03.000000 [timezone_type] => 3 [timezone] => Europe/Moscow ) ) [MODULE_ID] => iblock [HEIGHT] => 644 [WIDTH] => 602 [FILE_SIZE] => 824275 [CONTENT_TYPE] => image/png [SUBDIR] => iblock/690 [FILE_NAME] => s7_1200_with_modbus_rtu.png [ORIGINAL_NAME] => s7-1200-with-modbus-rtu.png [DESCRIPTION] => S7-1200 [HANDLER_ID] => [EXTERNAL_ID] => bedf25a8a73e2c710af6a07534eb20b2 [~src] => [SRC] => /upload/iblock/690/s7_1200_with_modbus_rtu.png [UNSAFE_SRC] => /upload/iblock/690/s7_1200_with_modbus_rtu.png [SAFE_SRC] => /upload/iblock/690/s7_1200_with_modbus_rtu.png [ALT] => S7-1200 with Modbus RTU [TITLE] => S7-1200 with Modbus RTU ) [DETAIL_PAGE_URL] => /articles/s7-1200-with-modbus-rtu.html )
Ваш комментарий добавлен

Возврат к списку