Falcon-SIEMENS

Working on antiaccident site (traffic training area) originated the task of configuring communications between radar Falcon and Siemens controller. Radar had a few, and they were at a considerable distance – more than 100m from the cabinet to the controller.
The probability that someone will meet a similar problem connecting remote radar according to an arbitrary protocol to PLC Siemens CPU315-2PN / DP is quite small, but it is interesting and thus spread this article to learn.
Explanations should start with the block diagram:

Driving the radar connection to interface converter PSI-MOS-RS232 / fo850e:

Numbering schemes and the position of jumpers:

The baud rate must correspond to 9600, exhibited switch (highlighted in red), the table below describes the possible states

Treatment program:

Data from the radar without treatment in DB50. Data on 100 bytes. If everything is OK, then the first 4 bytes of each radar is the speed.

Next, the data is processed FC15 function and the output we get the velocity value in the variables in accordance with the interface PLC ARM.

If the speed is greater than 255 km / h or the radar came incorrect data, the value of the velocity at the outlet FC15 function is 0.

Also, the radar can detect the speed of approach is also distancing speed (come with a minus sign data). In this program there is no difference. The data is processed always as positive.

FC15 – here you can download the source code FC15

An important feature of the radar Falcon that he on any telegram does not answer and is the initiator of parcels telegrams in the presence of the exciting action (movement)



Array
(
    [ID] => 113
    [IBLOCK_ID] => 1
    [NAME] => Falcon-SIEMENS
    [IBLOCK_SECTION_ID] => 
    [IBLOCK] => Array
        (
            [ID] => 1
            [~ID] => 1
            [TIMESTAMP_X] => 26.03.2021 22:40:30
            [~TIMESTAMP_X] => 26.03.2021 22:40:30
            [IBLOCK_TYPE_ID] => EN
            [~IBLOCK_TYPE_ID] => EN
            [LID] => s2
            [~LID] => s2
            [CODE] => articals
            [~CODE] => articals
            [API_CODE] => 
            [~API_CODE] => 
            [NAME] => Articles
            [~NAME] => Articles
            [ACTIVE] => Y
            [~ACTIVE] => Y
            [SORT] => 10
            [~SORT] => 10
            [LIST_PAGE_URL] => /articals/
            [~LIST_PAGE_URL] => /articals/
            [DETAIL_PAGE_URL] => /articals/#ELEMENT_CODE#.html
            [~DETAIL_PAGE_URL] => /articals/#ELEMENT_CODE#.html
            [SECTION_PAGE_URL] => 
            [~SECTION_PAGE_URL] => 
            [CANONICAL_PAGE_URL] => https://lapshinvr.com/articals/articals.html
            [~CANONICAL_PAGE_URL] => https://lapshinvr.com/articals/articals.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] => /articals/
    [~LIST_PAGE_URL] => /articals/
    [SECTION_URL] => 
    [CANONICAL_PAGE_URL] => https://lapshinvr.com/articals/falcon-siemens.html
    [SECTION] => Array
        (
            [PATH] => Array
                (
                )

        )

    [IPROPERTY_VALUES] => Array
        (
            [ELEMENT_PREVIEW_PICTURE_FILE_NAME] => falcon-siemens
            [ELEMENT_META_TITLE] => Set up communication between Falcon radar and Siemens controller.
            [ELEMENT_META_KEYWORDS] => falcon, siemens, radar, controller, DB50, PLC, HMI, FC15, protocol, transmit data
            [ELEMENT_META_DESCRIPTION] => it was necessary to configure the connection between the radar Falcon and Siemens. There were several radars and they were located at a considerable distance.
            [ELEMENT_PAGE_TITLE] => Falcon-SIEMENS
            [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] => 24.03.2018 14:52:09
    [META_TAGS] => Array
        (
            [TITLE] => Falcon-SIEMENS
            [BROWSER_TITLE] => Set up communication between Falcon radar and Siemens controller.
            [KEYWORDS] => falcon, siemens, radar, controller, DB50, PLC, HMI, FC15, protocol, transmit data
            [DESCRIPTION] => it was necessary to configure the connection between the radar Falcon and Siemens. There were several radars and they were located at a considerable distance.
        )

    [PREVIEW_TEXT] => Working on antiaccident site (traffic training area) originated the task of configuring communications between radar Falcon and Siemens controller. Radar had a few, and they were at a considerable distance – more than 100m from the cabinet to the controller.
The probability that someone will meet a similar problem connecting remote radar according to an arbitrary protocol to PLC Siemens CPU315-2PN / DP is quite small, but it is interesting and thus spread this article to learn. [PREVIEW_PICTURE] => Array ( [ID] => 449 [TIMESTAMP_X] => Bitrix\Main\Type\DateTime Object ( [value:protected] => DateTime Object ( [date] => 2018-03-24 14:52:09.000000 [timezone_type] => 3 [timezone] => Europe/Moscow ) ) [MODULE_ID] => iblock [HEIGHT] => 539 [WIDTH] => 800 [FILE_SIZE] => 311364 [CONTENT_TYPE] => image/png [SUBDIR] => iblock/158 [FILE_NAME] => falcon_siemens.png [ORIGINAL_NAME] => falcon-siemens.png [DESCRIPTION] => Falcon & SIEMENS [HANDLER_ID] => [EXTERNAL_ID] => eef2bed5251d0f6b2e776b0f16766fd3 [~src] => [SRC] => /upload/iblock/158/falcon_siemens.png [UNSAFE_SRC] => /upload/iblock/158/falcon_siemens.png [SAFE_SRC] => /upload/iblock/158/falcon_siemens.png [ALT] => Falcon-SIEMENS [TITLE] => Falcon-SIEMENS ) [DETAIL_PAGE_URL] => /articals/falcon-siemens.html )
Ваш комментарий добавлен

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