Last modified by writer on 2023/02/20 13:47

From version 1.1
edited by writer
on 2022/10/14 19:06
Change comment: There is no comment for this version
To version 4.1
edited by writer
on 2023/02/20 13:47
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -6,16 +6,10 @@
6 6  
7 7  Example for Sunfar E500.
8 8  
9 -|=(((
10 -Function code
11 -)))|=(((
12 -Value
13 -)))|=(((
14 -Description
15 -)))
16 -|F0.00 |2|Frequency reference source - external data transfer
17 -|F0.02|0002|Trigger channel selection - serial data port
18 -|(% colspan="1" %)F4.00|(% colspan="1" %)0114|(% colspan="1" %)Data transfer settings - speed selection: 9600 bps, parity check, Modbus data transfer protocol
9 +|=(% style="text-align: center; width: 150px;" %)Function code|=(% style="text-align: center; width: 100px;" %)Value|=(% style="text-align:center" %)Description
10 +|(% style="width:150px" %)F0.00|(% style="width:100px" %)2|Frequency reference source - external data transfer
11 +|(% style="width:150px" %)F0.02|(% style="width:100px" %)0002|Trigger channel selection - serial data port
12 +|(% style="width:150px" %)F4.00|(% style="width:100px" %)0114|Data transfer settings - speed selection: 9600 bps, parity check, Modbus data transfer protocol
19 19  
20 20  (% style="margin-left: 30.0px;" %)
21 21  2. Connect FC to the PLCM-B1-G2 expansion board via RS-485 interface.
... ... @@ -28,41 +28,40 @@
28 28  
29 29  Create new Modbus-master. Number of COM port is PLCM. The rest of the settings should be exactly the same as in the FC (in the screenshot, an example of a standard configuration of the COM port of Sunfar E500).
30 30  
31 -(% style="text-align:center" %)
32 -[[image:master_plcm.png||height="300" width="366"]]
25 +[[image:modbus_master_en.png||alt="master_plcm.png" data-xwiki-image-style-alignment="center" height="300" width="367"]]
33 33  
34 34  You need to add registers to control the FC and read statuses from FC. For example you need to configure registers named **SpindleMode**, **SpindleRPM** and **SpindleStatus**.
35 35  
36 -Рекомендуем использовать именно эти названия, так как в дальнейшем к регистрам будет обращение из фоновых операций по их именам.
29 +We recommend using exactly these names, since in the future, registers will be accessed from background operations by their names.
37 37  
38 38  (% style="text-align:center" %)
39 -[[image:registers_plcm.png||height="350" width="787"]]
32 +[[image:Modbus_Settings_example_E500.png||alt="registers_plcm.png" data-xwiki-image-style-alignment="center" height="444" width="1000"]]
40 40  
41 41  {{success}}
42 -Номера регистров необходимо задавать в виде десятеричных значений.
35 +Register numbers must be specified as decimal values.
43 43  {{/success}}
44 44  
45 45  {{warning}}
46 -В инструкции на частотный преобразователь данные значения могут быть указаны в HEX (шестнадцатеричном виде), например, 0x1001, 0x1002.
39 +These values ​​can be indicated in HEX (hexadecimal) in the instructions for the frequency converter. For example, 0x1001, 0x1002
47 47  {{/warning}}
48 48  
49 49  (% style="margin-left: 30.0px;" %)
50 -5. Создать новую фоновую операцию (макрос) через [[окно управления макросами>>doc:Руководство пользователя.Описание M-кодов.Управление макросами и фоновыми операциями.WebHome]].
43 +5. Create new background operation (macro) through [[the macro manager>>doc:Руководство пользователя.Описание M-кодов.Управление макросами и фоновыми операциями.WebHome]].
51 51  
52 -Основная задача фонового макроса - отслеживать текущее состояние и обороты шпинделя и отправлять значения в частотный преобразователь по Modbus.
45 +The main task of the background macro is to monitor the current state and spindle speed and send the values to the frequency converter via Modbus.
53 53  
54 -Пример [[фонового макроса>>doc:Руководство пользователя.Описание фоновых операций.Создание фоновой операции.WebHome]] **modbus_spindle.bm** для управления шпинделем по ModBus размещен во вложении. Данный файл нужно добавить в список фоновых операций.
47 +An example of [[background operation>>doc:Руководство пользователя.Описание фоновых операций.Создание фоновой операции.WebHome]] **modbus_spindle.bm** for ModBus spindle control posted in attachment. This file must be added to background operations list.
55 55  
56 -**[[Скачать фоновый макрос>>attach:modbus_spindle (1).bm]]**
49 +**[[Download background operation>>attach:modbus_spindle (1).bm]]**
57 57  
58 58  {{warning}}
59 -Обращение к регистрам Modbus из макросов осуществляется по имени Modbus-регистра с учетом регистра! Например, **SpindleRPM** и **SpindleRpm** - это разные регистры.
52 +Access to Modbus registers from macros is done by the name of the Modbus register case sensitive! For example, **SpindleRPM** and **SpindleRpm** are different registers.
60 60  {{/warning}}
61 61  
62 62  (% style="margin-left: 30.0px;" %)
63 -6. Включить фоновую операцию. Убедиться, что операция стартовала и работает нормально. Об этом будет свидетельствовать зеленый индикатор справа от названия операции.
56 +6. Enable the background operation. Make sure that the operation has started and is working properly. This will be indicated by the green indicator to the right of the operation name.
64 64  
65 65  (% style="text-align:center" %)
66 -[[image:2021-11-29 14_18_03-Управление макросами.png||height="500" width="680"]]
59 +[[image:Macros_Manager_wndw.png||alt="2021-11-29 14_18_03-Управление макросами.png" data-xwiki-image-style-alignment="center" height="400" width="544"]]
67 67  
68 -Если все настроено правильно, то шпиндель теперь должен включаться и выключаться. При изменении оборотов шпинделя в PUMOTIX они, соответственно, должны изменяться и на ЧП.
61 +The spindle should now turn on and off if everything is configured correctly. The spindle speed accordingly must also change at the FC when it changing in PUMOTIX.
Modbus_Settings_example.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Knetyaga
Size
... ... @@ -1,0 +1,1 @@
1 +43.2 KB
Content