Changes for page Управление шпинделем по Modbus на примере Sunfar E550 и платы расширения PLCM-B1-G2
Last modified by writer on 2023/02/20 13:47
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 3 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -6,10 +6,16 @@ 6 6 7 7 Example for Sunfar E500. 8 8 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 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 13 13 14 14 (% style="margin-left: 30.0px;" %) 15 15 2. Connect FC to the PLCM-B1-G2 expansion board via RS-485 interface. ... ... @@ -22,7 +22,8 @@ 22 22 23 23 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). 24 24 25 -[[image:modbus_master_en.png||alt="master_plcm.png" data-xwiki-image-style-alignment="center" height="300" width="367"]] 31 +(% style="text-align:center" %) 32 +[[image:modbus_master_en.png||alt="master_plcm.png" height="300" width="367"]] 26 26 27 27 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**. 28 28 ... ... @@ -29,7 +29,7 @@ 29 29 We recommend using exactly these names, since in the future, registers will be accessed from background operations by their names. 30 30 31 31 (% style="text-align:center" %) 32 -[[image:Modbus_Settings_example_E500.png||alt="registers_plcm.png" data-xwiki-image-style-alignment="center"height="444" width="1000"]]39 +[[image:Modbus_Settings_example_E500.png||alt="registers_plcm.png" height="444" width="1000"]] 33 33 34 34 {{success}} 35 35 Register numbers must be specified as decimal values. ... ... @@ -56,6 +56,6 @@ 56 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. 57 57 58 58 (% style="text-align:center" %) 59 -[[image:Macros_Manager_wndw.png||alt="2021-11-29 14_18_03-Управление макросами.png" data-xwiki-image-style-alignment="center"height="400" width="544"]]66 +[[image:Macros_Manager_wndw.png||alt="2021-11-29 14_18_03-Управление макросами.png" height="400" width="544"]] 60 60 61 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.
- Macros_Manager_wndw.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Knetyaga - Size
-
... ... @@ -1,0 +1,1 @@ 1 +26.0 KB - Content
- Modbus_Settings_example_E500.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Knetyaga - Size
-
... ... @@ -1,0 +1,1 @@ 1 +42.6 KB - Content
- modbus_master_en.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Knetyaga - Size
-
... ... @@ -1,0 +1,1 @@ 1 +9.1 KB - Content