ModbusTCP控制元件使用
# PinToo之ModbusTCP控制元件使用
# 1. 說明
範例實現ModbusTCP控制元件的使用。為連線ModbusTCP設備除錯提供基礎。Modbus是工業界廣泛使用的通訊協議,使用該控制元件可用於控制工業設備,採集數據資訊等功能。在使用以下功能之前,需提前在計算機上安裝Modbus Slave或者其他Modbus模擬軟體,在模擬軟體上開啟ModbusTCP,獲取設備的IP地址。
通過範例學習,可以掌握Modbus的基本通訊功能,並結合ModbusTCP控制元件進行模擬控制功能。
# 2. 設計明細
開啟PinToo設計器,分別加入下插圖之控制元件。或者點選左上角的[打開模板Lib檔案]
選擇模板檔案來打開對應模板。
①:TfxModbusTCP元件,控制元件名稱為fxModbusTCP1
。
②:TfxMemo元件,控制元件名稱為fxMemo1
。
③:TfxEdit元件,控制元件名稱為fxEditHost
。
④:TfxEdit元件,控制元件名稱為fxEditPort
。
⑤:TfxSuperButton元件,控制元件名稱為fxSuperButtonConnect
。
⑥:TfxSuperButton元件,控制元件名稱為fxSuperButton01
。
⑦:TfxSuperButton元件,控制元件名稱為fxSuperButton02
。
⑧:TfxSuperButton元件,控制元件名稱為fxSuperButton03
。
⑨:TfxSuperButton元件,控制元件名稱為fxSuperButton04
。
⑩:TfxSuperButton元件,控制元件名稱為fxSuperButton05
。
(11):TfxSuperButton元件,控制元件名稱為fxSuperButton06
。
(12):TfxSuperButton元件,控制元件名稱為fxSuperButton15
。
(13):TfxSuperButton元件,控制元件名稱為fxSuperButton16
。
fxRunFrame屬性設定
Height
:設定頁面高度=800
。Width
:設定頁面寬度=400
。
②fxMemo1屬性設定
Height
:設定控制元件高度=295
。Width
:設定控制元件寬度=380
。
③fxEditHost屬性設定
Height
:設定控制元件高度=22
。Width
:設定控制元件寬度=135
。
④fxEditPort屬性設定
Height
:設定控制元件高度=22
。Width
:設定控制元件寬度=50
。KeyBoardType
:設定輸入法鍵盤的樣式型別=NumberPad
。
⑤fxSuperButtonConnect屬性設定
Height
:設定控制元件高度=30
。Width
:設定控制元件寬度=40
。ButtonType
:設定按鈕型別,設定為TfxSvgButton
。Name
:設定控制元件名稱=fxSuperButtonConnect
。ButtonType.SvgData
:設定SVG數據,其數據內容如下。
<path d="M13.2001781463623,16.7010040283203 L26.7997779846191,16.7010040283203 L26.7997779846191,13.301628112793 L13.2001781463623,13.301628112793 L13.2001781463623,16.7010040283203 Z M6.22977733612061,15 C6.22977733612061,11.0902280807495 9.28790855407715,8.02968883514404 13.2001781463623,8.02968883514404 L18.3003387451172,8.02968883514404 L18.3003387451172,4.79977512359619 L13.2001781463623,4.79977512359619 C7.58953809738159,4.79977512359619 3,9.3893575668335 3,15 C3,20.6105499267578 7.58953809738159,25.2002258300781 13.2001781463623,25.2002258300781 L18.3003387451172,25.2002258300781 L18.3003387451172,21.9703559875488 L13.2001781463623,21.9703559875488 C9.28790855407715,21.9703979492188 6.22977733612061,18.9074516296387 6.22977733612061,15 M26.7997779846191,4.79977416992188 L21.6996212005615,4.79977416992188 L21.6996212005615,8.02968692779541 L26.7997779846191,8.02968692779541 C30.7093696594238,8.02968692779541 33.767635345459,11.0902280807495 33.767635345459,14.9999980926514 C33.767635345459,18.9074096679688 30.709415435791,21.9703559875488 26.7997779846191,21.9703559875488 L21.6996212005615,21.9703559875488 L21.6996212005615,25.2002182006836 L26.7997779846191,25.2002182006836 C32.4103775024414,25.2002182006836 37,20.6105499267578 37,14.9999980926514 C36.9999580383301,9.38935565948486 32.4103775024414,4.79977416992188 26.7997779846191,4.79977416992188 Z" p-id="10561" fill="#FF1296DB" stroke="Null"></path>
1⑥fxSuperButton01屬性設定
Height
:設定控制元件高度=45
。Width
:設定控制元件寬度=175
。Opacity
:設定控制元件的透明度=0.9
。ButtonType
:設定按鈕型別,設定為TfxSvgButton
。Name
:設定控制元件名稱=fxSuperButton01
。ButtonType.Text
:設定按鈕文字=01 讀取線圈狀態
。ButtonType.AlgnType
:設定按鈕中影象的對齊位置,設定為aLeft
。ButtonType.SvgData
:設定SVG數據,其數據內容如下。
<path d="M37.9367218017578,30.1782665252686 C37.8750343322754,30.1741542816162 37.805118560791,30.1741542816162 37.7516555786133,30.1741542816162 C35.4568138122559,30.1906070709229 34.1819000244141,32.0495071411133 32.4710502624512,32.880256652832 C32.3846893310547,32.9254913330078 32.2942047119141,32.9625091552734 32.2078399658203,33.0036315917969 C36.9579200744629,27.8176212310791 37.7310905456543,19.876148223877 33.6184692382813,13.7894668579102 C28.8108139038086,6.66229295730591 19.1379280090332,4.78693771362305 12.0066423416138,9.5945930480957 C4.88358116149902,14.402247428894 3,24.0833587646484 7.81588077545166,31.2064228057861 C12.62353515625,38.3376998901367 22.3005352020264,40.213062286377 29.4235992431641,35.4054107666016 C30.1145191192627,34.940673828125 30.7478637695313,34.4348297119141 31.3400783538818,33.8837394714355 C31.8006935119629,33.7109985351563 32.248966217041,33.5218276977539 32.6849060058594,33.3079681396484 C34.5314788818359,32.3661727905273 35.7529220581055,30.6306552886963 37.7516593933105,30.651216506958 C37.8051223754883,30.651216506958 37.858585357666,30.651216506958 37.912052154541,30.6553268432617 C39.8408737182617,30.7540340423584 40.4577674865723,31.5683307647705 41.6422004699707,32.9172706604004 L42,32.6088256835938 C40.8525772094727,31.2804489135742 40.0300521850586,30.2646312713623 37.9367294311523,30.1782665252686 Z M24.3856353759766,24.288990020752 L24.3033809661865,24.2437534332275 C24.9038238525391,23.0305290222168 24.8544750213623,21.5417594909668 24.0442867279053,20.3408737182617 C24.0278358459473,20.3203125 24.0154972076416,20.299747467041 23.9990501403809,20.2832984924316 L24.101863861084,20.2133827209473 C24.9326152801514,21.4512825012207 25.0107536315918,23.0017414093018 24.3856353759766,24.288990020752 Z M22.7858257293701,22.3396072387695 C22.8721904754639,23.4829177856445 22.0249900817871,24.4781703948975 20.8816814422607,24.5727634429932 C19.7383728027344,24.6591262817383 18.7431182861328,23.8037014007568 18.6485271453857,22.6686191558838 C18.562162399292,21.5253105163574 19.4093627929688,20.5300559997559 20.5608978271484,20.4395771026611 C21.6959819793701,20.3408737182617 22.6994609832764,21.1962985992432 22.7858257293701,22.3396091461182 Z M20.9927215576172,26.3987655639648 L21.0009460449219,26.5632724761963 C19.7589340209961,26.6496353149414 18.5004730224609,26.1725730895996 17.6203727722168,25.16086769104 C17.5134429931641,25.0374889373779 17.4188537597656,24.9058837890625 17.3324890136719,24.778392791748 L17.5586814880371,24.6262245178223 C17.5751304626465,24.6467876434326 17.5833568572998,24.6714630126953 17.5998077392578,24.687915802002 C18.3853187561035,25.8559017181396 19.684907913208,26.4563426971436 20.9927215576172,26.3987655639648 Z M20.445743560791,18.6505851745605 C19.8206253051758,18.7081604003906 19.1996192932129,18.9179058074951 18.644416809082,19.2962684631348 C18.0480842590332,19.7034168243408 17.6039218902588,20.2380561828613 17.3160381317139,20.8385009765625 L17.0487174987793,20.7068958282471 C17.2831382751465,20.221607208252 17.6203727722168,19.7774429321289 18.0563106536865,19.4031944274902 C18.7513427734375,18.80686378479 19.5903186798096,18.4901924133301 20.4375171661377,18.4326152801514 L20.4457454681396,18.6505851745605 Z M16.9417877197266,25.0457134246826 C17.040491104126,25.1937656402588 17.1474189758301,25.3335971832275 17.2625732421875,25.4693145751953 C18.2331504821777,26.604398727417 19.6478939056396,27.1308135986328 21.0338478088379,27.0362224578857 L21.0420742034912,27.1349258422852 C19.6314449310303,27.2336311340332 18.187915802002,26.6907615661621 17.1926593780518,25.5351142883301 C17.0733947753906,25.3952827453613 16.9623527526855,25.2472305297852 16.8636493682861,25.099178314209 L16.9417877197266,25.0457134246826 Z M24.809232711792,24.4946212768555 C25.5083789825439,23.0634288787842 25.4137897491455,21.3237895965576 24.492561340332,19.9501724243164 L24.5707015991211,19.8967113494873 C25.5207176208496,21.2991161346436 25.607084274292,23.0716552734375 24.8997116088867,24.5357475280762 L24.809232711792,24.4946212768555 Z M20.396390914917,17.9596652984619 C19.4463748931885,18.0295791625977 18.5169219970703,18.3791542053223 17.7437496185303,19.0453968048096 C17.2584609985352,19.4607734680176 16.8842124938965,19.9583988189697 16.6210041046143,20.5012664794922 L16.5346393585205,20.4601402282715 C16.8019599914551,19.909049987793 17.1844329833984,19.3990821838379 17.6779479980469,18.9713706970215 C18.4675712585449,18.2927856445313 19.4216995239258,17.9308757781982 20.3881664276123,17.8609619140625 L20.396390914917,17.9596652984619 Z M16.4688377380371,25.3623847961426 C16.5798797607422,25.5268878936768 16.6991424560547,25.6913948059082 16.8307456970215,25.8394470214844 C17.9288177490234,27.1143589019775 19.5204010009766,27.7106876373291 21.0708599090576,27.6037616729736 L21.0749740600586,27.7024669647217 C19.4875011444092,27.8135089874268 17.8753547668457,27.2048377990723 16.7484931945801,25.9093647003174 C16.6127777099609,25.7530860900879 16.4935111999512,25.5885791778564 16.3824710845947,25.4199619293213 L16.4688377380371,25.3623847961426 Z M25.3233127593994,24.7413787841797 C26.1088218688965,23.1292304992676 26.0060043334961,21.1757354736328 24.9614009857178,19.6293907165527 L25.0395412445068,19.575927734375 C26.1005992889404,21.1510601043701 26.2034130096436,23.1374568939209 25.4055671691895,24.7866191864014 L25.3233127593994,24.7413806915283 Z M20.3593769073486,17.3921222686768 C19.2942085266113,17.4661483764648 18.245491027832,17.8650741577148 17.3736152648926,18.6135711669922 C16.8266334533691,19.0824127197266 16.4071464538574,19.6458396911621 16.1069259643555,20.250394821167 L16.0205612182617,20.2092685699463 C16.324893951416,19.5882625579834 16.7484970092773,19.0166091918945 17.3036994934082,18.5395431518555 C18.1920261383057,17.7787075042725 19.2613086700439,17.3715591430664 20.3470401763916,17.293420791626 L20.3593769073486,17.3921222686768 Z M15.9999980926514,25.6831703186035 C16.1233768463135,25.8682384490967 16.2549819946289,26.0450820922852 16.3989219665527,26.217809677124 C17.6203727722168,27.6366653442383 19.3805751800537,28.2946834564209 21.1160984039307,28.1754169464111 L21.1202125549316,28.2700080871582 C19.3600120544434,28.3933887481689 17.5669078826904,27.7189178466797 16.324893951416,26.2794990539551 C16.1727275848389,26.1026554107666 16.0411243438721,25.9216976165771 15.9136333465576,25.7366313934326 L15.9999980926514,25.6831684112549 Z M25.8373889923096,24.9963607788086 C26.7133769989014,23.2032585144043 26.5941123962402,21.031795501709 25.4384632110596,19.3168296813965 L25.5207176208496,19.2633666992188 C26.6969261169434,21.0071182250977 26.8120803833008,23.21559715271 25.9278678894043,25.0374889373779 L25.8373889923096,24.9963607788086 Z M20.3182525634766,16.8286933898926 C19.1338176727295,16.910945892334 17.9658317565918,17.355110168457 16.9993667602539,18.1858596801758 C16.3948097229004,18.7081642150879 15.9259719848633,19.3291683197021 15.5969619750977,20.0077514648438 L15.5105962753296,19.9625110626221 C15.8437185287476,19.2715911865234 16.3207836151123,18.6423606872559 16.9376754760742,18.1118316650391 C17.9247055053711,17.2646331787109 19.1132545471191,16.8163547515869 20.3141403198242,16.7341022491455 L20.3182525634766,16.8286933898926 Z M15.5270462036133,26.0039558410645 C15.6627626419067,26.2054748535156 15.8108177185059,26.3987655639648 15.971209526062,26.5920581817627 C17.3160362243652,28.1507415771484 19.2530822753906,28.8786754608154 21.1572246551514,28.7470722198486 L21.1613388061523,28.8416652679443 C19.2242946624756,28.9732666015625 17.2625732421875,28.2371063232422 15.8930702209473,26.6578636169434 C15.7326784133911,26.4686851501465 15.5805110931396,26.2671642303467 15.4447946548462,26.0615329742432 L15.5270462036133,26.0039558410645 Z M26.3473567962646,25.2472305297852 C27.3055973052979,23.2772827148438 27.1822166442871,20.8837394714355 25.9073047637939,18.9960441589355 L25.985445022583,18.9425811767578 C27.2768096923828,20.8590641021729 27.4042987823486,23.2813987731934 26.4296073913574,25.2842445373535 L26.3473567962646,25.2472305297852 Z M20.2812366485596,16.2570400238037 C18.9816493988037,16.3434047698975 17.6943988800049,16.8328056335449 16.6292304992676,17.7540340423584 C15.9629850387573,18.3256893157959 15.4447956085205,19.0166091918945 15.0869970321655,19.7568817138672 L15.0006322860718,19.7116432189941 C15.3666543960571,18.9549198150635 15.8889579772949,18.2598876953125 16.5634269714355,17.675895690918 C17.6450462341309,16.7464427947998 18.9487495422363,16.2529277801514 20.2730121612549,16.1624507904053 L20.2812366485596,16.2570400238037 Z M15.0540952682495,26.3206253051758 C15.2021493911743,26.5385971069336 15.3625421524048,26.7565631866455 15.5393838882446,26.962194442749 C17.0034790039063,28.6607093811035 19.1214790344238,29.4585590362549 21.1983528137207,29.3146171569824 L21.202465057373,29.4092025756836 C19.0968017578125,29.5572566986084 16.9500141143799,28.751184463501 15.4653577804565,27.0279960632324 C15.28440284729,26.8182506561279 15.1240100860596,26.604398727417 14.9759559631348,26.3782024383545 L15.0540952682495,26.3206253051758 Z M26.8614330291748,25.4939880371094 C27.9060401916504,23.3430862426758 27.774435043335,20.7356834411621 26.384370803833,18.6752605438232 L26.4625110626221,18.6217994689941 C27.8690280914307,20.7068977355957 28.0129699707031,23.3513126373291 26.9477996826172,25.5351181030273 L26.8614368438721,25.493989944458 Z M20.2401103973389,15.6894979476929 C18.8212585449219,15.788200378418 17.4188537597656,16.3187294006348 16.2590942382813,17.3222103118896 C15.5311594009399,17.9473266601563 14.9677314758301,18.6958236694336 14.5729198455811,19.5060119628906 L14.486554145813,19.4607734680176 C14.8854789733887,18.6382484436035 15.4530200958252,17.8774108886719 16.1932907104492,17.244068145752 C17.3777275085449,16.232364654541 18.7924690246582,15.6894989013672 20.2360000610352,15.5907945632935 L20.2401123046875,15.6894979476929 Z M14.5811433792114,26.6372947692871 C14.7415351867676,26.8758277893066 14.9142665863037,27.1061344146729 15.1034469604492,27.3323307037354 C16.6868057250977,29.1747856140137 18.9816513061523,30.0343265533447 21.2312545776367,29.878044128418 L21.2353668212891,29.972635269165 C18.956974029541,30.1289119720459 16.6333427429199,29.2611503601074 15.0253076553345,27.3981342315674 C14.82790184021,27.1719417572021 14.6592845916748,26.933406829834 14.4988918304443,26.6948776245117 L14.5811452865601,26.637300491333 Z M27.3755111694336,25.7448558807373 C28.5105953216553,23.4130001068115 28.3625392913818,20.5876312255859 26.8532066345215,18.3627014160156 L26.9354610443115,18.3092384338379 C28.4571304321289,20.5711784362793 28.6051826477051,23.4294509887695 27.4618759155273,25.7900981903076 L27.3755111694336,25.7448596954346 Z M20.2030982971191,15.121955871582 C18.6649780273438,15.2288846969604 17.1474189758301,15.8046522140503 15.8889579772949,16.8903846740723 C15.0993347167969,17.5689659118652 14.4906663894653,18.3750400543213 14.0629539489746,19.2551422119141 L13.9765892028809,19.209903717041 C14.4125270843506,18.3215751647949 15.0253076553345,17.4990501403809 15.8231563568115,16.8122444152832 C17.0980682373047,15.7182865142822 18.6361885070801,15.1301822662354 20.1948738098145,15.0232534408569 L20.2031002044678,15.121955871582 Z M14.1081914901733,26.962194442749 C14.2809228897095,27.2171802520752 14.4659910202026,27.4639358520508 14.6716222763062,27.7065773010254 C16.3824729919434,29.6888637542725 18.8500461578369,30.630651473999 21.2723808288574,30.4579219818115 L21.2764930725098,30.5525169372559 C18.8253707885742,30.7252426147461 16.3248958587646,29.7752285003662 14.5975952148438,27.7682666778564 C14.3878517150879,27.5256214141846 14.2027835845947,27.274751663208 14.0259408950806,27.0156593322754 L14.108193397522,26.962194442749 Z M27.8895893096924,25.9957275390625 C29.1110382080078,23.4829177856445 28.9547595977783,20.4395751953125 27.3261585235596,18.0419178009033 L27.4042987823486,17.988452911377 C29.0452365875244,20.4231262207031 29.2056274414063,23.4993686676025 27.9718399047852,26.0409698486328 L27.8895893096924,25.9957313537598 Z M20.1578598022461,14.5461893081665 C18.5004730224609,14.665454864502 16.8636493682861,15.2946863174438 15.5105962753296,16.4585571289063 C14.6592836380005,17.1864929199219 14.0053768157959,18.0624809265137 13.5447635650635,19.0083847045898 L13.4625110626221,18.9631462097168 C13.9272375106812,18.0049057006836 14.5893688201904,17.1206912994385 15.4530200958252,16.3763046264648 C16.8266334533691,15.2000951766968 18.4799098968506,14.5626401901245 20.1578598022461,14.4474859237671 L20.1578598022461,14.5461893081665 Z M13.6352405548096,27.2788696289063 C13.8203086853027,27.5544109344482 14.0218267440796,27.8217315673828 14.2397966384888,28.076717376709 C16.0740261077881,30.2029418945313 18.7143306732178,31.2023124694824 21.3176193237305,31.0295791625977 L21.3217334747314,31.1241703033447 C18.6978797912598,31.3051261901855 16.0205631256104,30.2934169769287 14.1657695770264,28.1425189971924 C13.9395761489868,27.8834209442139 13.7421703338623,27.6161003112793 13.5529890060425,27.336446762085 L13.6352424621582,27.2788696289063 Z M28.3995552062988,26.2466011047363 C29.707368850708,23.5569438934326 29.5387516021729,20.2956352233887 27.7991123199463,17.721134185791 L27.8772525787354,17.6676731109619 C29.6333446502686,20.2709617614746 29.8019599914551,23.5692844390869 28.4818096160889,26.287727355957 L28.3995571136475,26.2466011047363 Z M20.1167335510254,13.9745349884033 C18.3441925048828,14.0979137420654 16.5881042480469,14.7723827362061 15.1363477706909,16.0226211547852 C14.2274580001831,16.8040180206299 13.5241994857788,17.737585067749 13.0306854248047,18.7534027099609 L12.9484329223633,18.7122764587402 C13.4460601806641,17.6841201782227 14.1534309387207,16.7423286437988 15.0746583938599,15.9444789886475 C16.5469760894775,14.6819038391113 18.3154067993164,13.9992094039917 20.1126194000244,13.8758316040039 L20.1167335510254,13.974534034729 Z M13.1581764221191,27.5955371856689 C13.3555812835693,27.8875331878662 13.5694389343262,28.1713047027588 13.8038578033447,28.4468536376953 C15.7532415390015,30.7129058837891 18.57861328125,31.7863025665283 21.3505191802979,31.5930118560791 L21.4780120849609,33.3943328857422 C18.1632385253906,32.2510261535645 14.8525772094727,30.1453647613525 13.0389108657837,27.677791595459 L13.1581773757935,27.5955371856689 Z M32.5245132446289,14.5297393798828 C35.4691467285156,18.9014549255371 35.6706695556641,24.3177795410156 33.5197677612305,28.7388496398926 L28.9136295318604,26.4892406463623 C30.3119201660156,23.6227436065674 30.1309661865234,20.1434669494629 28.2720623016357,17.3962364196777 L32.5245132446289,14.5297393798828 Z M12.7510261535645,10.6885509490967 C14.9019260406494,9.23679447174072 17.3036994934082,8.45539665222168 19.7260322570801,8.29089164733887 L20.0879421234131,13.4069929122925 C18.192024230957,13.5385980606079 16.324893951416,14.2624187469482 14.7744359970093,15.5907955169678 C13.8038568496704,16.4256591796875 13.0553607940674,17.4250259399414 12.5248327255249,18.5025329589844 L7.9186954498291,16.2529296875 C8.97152709960938,14.0814647674561 10.6001253128052,12.144419670105 12.7510261535645,10.6885509490967 Z M8.90983772277832,30.4702644348145 L12.652322769165,27.9451103210449 C14.5934810638428,30.5730781555176 18.0521965026855,32.7568740844727 21.5150241851807,33.912525177002 L21.7124290466309,36.7132186889648 C16.8060703277588,37.0463371276855 11.854474067688,34.8378677368164 8.90983772277832,30.4702644348145 Z" p-id="3259" fill="#FF2C2C2C" stroke="Null"></path>
1⑦fxSuperButton02屬性設定
Height
:設定控制元件高度=45
。Width
:設定控制元件寬度=175
。Opacity
:設定控制元件的透明度=0.9
。ButtonType
:設定按鈕型別,設定為TfxSvgButton
。Name
:設定控制元件名稱=fxSuperButton02
。ButtonType.Text
:設定按鈕文字=02 讀取離散輸入暫存器
。ButtonType.AlgnType
:設定按鈕中影象的對齊位置,設定為aLeft
。ButtonType.SvgData
:設定SVG數據,其數據內容如下。
<path d="M5.09316921234131,12.0292444229126 C4.51405048370361,12.0292444229126 4.04535818099976,12.4979381561279 4.04535818099976,13.0770559310913 L4.04535818099976,17.2658462524414 C4.04535818099976,17.8449668884277 4.51405048370361,18.3136596679688 5.09316921234131,18.3136596679688 L23.9390544891357,18.3136596679688 C24.5181713104248,18.3136596679688 24.9868659973145,17.8449668884277 24.9868659973145,17.2658462524414 L24.9868659973145,13.0770559310913 C24.9868659973145,12.4979381561279 24.5181732177734,12.0292444229126 23.9390544891357,12.0292444229126 L5.09316921234131,12.0292444229126 Z M8.82308387756348,30.3524513244629 L4.04535818099976,30.3524513244629 L4.04535818099976,29.3046417236328 L8.82308387756348,29.3046417236328 C9.05620384216309,28.4016075134277 9.87580394744873,27.7341461181641 10.8499984741211,27.7341461181641 C12.0057821273804,27.7341461181641 12.9431676864624,28.6715354919434 12.9431676864624,29.827320098877 C12.9431676864624,30.9831008911133 12.0082349777222,31.9229431152344 10.8524503707886,31.9229431152344 C9.87580394744873,31.9229431152344 9.05620384216309,31.2554817199707 8.82308387756348,30.3524513244629 Z M8.82308387756348,23.0226783752441 L4.04535818099976,23.0226783752441 L4.04535818099976,21.9748611450195 L8.82308387756348,21.9748611450195 C9.05620384216309,21.071834564209 9.87580394744873,20.4043731689453 10.8499984741211,20.4043731689453 C12.0057821273804,20.4043731689453 12.9431676864624,21.3417625427246 12.9431676864624,22.4975433349609 C12.9431676864624,23.6533279418945 12.0057821273804,24.5907135009766 10.8499984741211,24.5907135009766 C9.87580394744873,24.5931663513184 9.0562047958374,23.925708770752 8.82308578491211,23.0226783752441 Z M3.70917463302612,26.1636581420898 C3.27483606338501,25.7808532714844 3,25.2189102172852 3,24.5931701660156 L3,20.4068298339844 C3,19.7810859680176 3.27483606338501,19.2191467285156 3.70917463302612,18.8363380432129 C3.27483606338501,18.4535331726074 3,17.8915901184082 3,17.2658462524414 L3,13.0770559310913 C3,11.921272277832 3.93738698959351,10.98388671875 5.09316921234131,10.98388671875 L23.9390544891357,10.98388671875 C25.0948352813721,10.98388671875 26.0322265625,11.921272277832 26.0322265625,13.0770559310913 L26.0322265625,17.2658462524414 C26.0322265625,17.8915901184082 25.7573852539063,18.4535331726074 25.3230495452881,18.8363380432129 C25.7573852539063,19.2191467285156 26.0322265625,19.7810859680176 26.0322265625,20.4068298339844 L26.0322265625,24.5956230163574 C26.0322265625,25.2213668823242 25.7573852539063,25.7833061218262 25.3230495452881,26.1661148071289 C25.7573852539063,26.5489196777344 26.0322265625,27.1108589172363 26.0322265625,27.7366027832031 L26.0322265625,31.9229431152344 C26.0322265625,33.0787239074707 25.0948352813721,34.01611328125 23.9390544891357,34.01611328125 L5.09316921234131,34.01611328125 C3.93738651275635,34.01611328125 3,33.0787239074707 3,31.9229431152344 L3,27.7341461181641 C3,27.1084022521973 3.27238202095032,26.5489196777344 3.70917463302612,26.1636581420898 Z M23.9390544891357,25.6409797668457 C24.5181713104248,25.6409797668457 24.9868659973145,25.1722869873047 24.9868659973145,24.5931701660156 L24.9868659973145,20.4068298339844 C24.9868659973145,19.8277130126953 24.5181732177734,19.359016418457 23.9390544891357,19.359016418457 L5.09316921234131,19.359016418457 C4.51405048370361,19.359016418457 4.04535818099976,19.8277130126953 4.04535818099976,20.4068298339844 L4.04535818099976,24.5956230163574 C4.04535818099976,25.1747398376465 4.51405048370361,25.6434326171875 5.09316921234131,25.6434326171875 L23.9390544891357,25.6434326171875 Z M5.09316921234131,26.6887893676758 C4.51405048370361,26.6887893676758 4.04535818099976,27.1574821472168 4.04535818099976,27.7366027832031 L4.04535818099976,31.9229431152344 C4.04535818099976,32.5020599365234 4.51405048370361,32.9707565307617 5.09316921234131,32.9707565307617 L23.9390544891357,32.9707565307617 C24.5181713104248,32.9707565307617 24.9868659973145,32.5020599365234 24.9868659973145,31.9229431152344 L24.9868659973145,27.7341461181641 C24.9868659973145,27.155029296875 24.5181732177734,26.686336517334 23.9390544891357,26.686336517334 L5.09316921234131,26.686336517334 Z M10.8524503707886,23.5478096008301 C11.4315719604492,23.5478096008301 11.9002647399902,23.0791206359863 11.9002647399902,22.5 C11.9002647399902,21.9208793640137 11.4315719604492,21.4521865844727 10.8524503707886,21.4521865844727 C10.2733335494995,21.4521865844727 9.8046407699585,21.9208793640137 9.8046407699585,22.5 C9.8046407699585,23.0791168212891 10.2733335494995,23.5478096008301 10.8524503707886,23.5478096008301 Z M10.8524503707886,30.875129699707 C11.4315719604492,30.875129699707 11.9002647399902,30.406436920166 11.9002647399902,29.827320098877 C11.9002647399902,29.2481994628906 11.4291162490845,28.7819595336914 10.8524503707886,28.7819595336914 C10.2757873535156,28.7819595336914 9.8046407699585,29.2506523132324 9.8046407699585,29.8297729492188 C9.8046407699585,30.4088935852051 10.2733335494995,30.875129699707 10.8524503707886,30.875129699707 Z M15.5639228820801,21.4521903991699 L16.6117343902588,21.4521903991699 L16.6117343902588,23.5453567504883 L15.5639228820801,23.5453567504883 L15.5639228820801,21.4521903991699 Z M15.5639228820801,28.7819595336914 L16.6117343902588,28.7819595336914 L16.6117343902588,30.875129699707 L15.5639228820801,30.875129699707 L15.5639228820801,28.7819595336914 Z M18.7049026489258,21.4521903991699 L19.7527160644531,21.4521903991699 L19.7527160644531,23.5453567504883 L18.7049026489258,23.5453567504883 L18.7049026489258,21.4521903991699 Z M18.7049026489258,28.7819595336914 L19.7527160644531,28.7819595336914 L19.7527160644531,30.875129699707 L18.7049026489258,30.875129699707 L18.7049026489258,28.7819595336914 Z M21.8458862304688,21.4521903991699 L22.8936977386475,21.4521903991699 L22.8936977386475,23.5453567504883 L21.8458862304688,23.5453567504883 L21.8458862304688,21.4521903991699 Z M21.8458862304688,28.7819595336914 L22.8936977386475,28.7819595336914 L22.8936977386475,30.875129699707 L21.8458862304688,30.875129699707 L21.8458862304688,28.7819595336914 Z M10.8524503707886,17.2658500671387 C9.69666862487793,17.2658500671387 8.7592830657959,16.3284645080566 8.7592830657959,15.1726808547974 C8.7592830657959,14.0168981552124 9.69666862487793,13.0795116424561 10.8524503707886,13.0795116424561 C12.0082349777222,13.0795116424561 12.9456205368042,14.0168962478638 12.9456205368042,15.1726808547974 C12.9456205368042,16.3284645080566 12.0082349777222,17.2658500671387 10.8524503707886,17.2658500671387 Z M10.8524503707886,16.2180366516113 C11.4315719604492,16.2180366516113 11.9002647399902,15.749342918396 11.9002647399902,15.1702280044556 C11.9002647399902,14.5911092758179 11.4315719604492,14.1224164962769 10.8524503707886,14.1224164962769 C10.2733335494995,14.1224164962769 9.8046407699585,14.5935621261597 9.8046407699585,15.1702280044556 C9.8046407699585,15.7468900680542 10.2733335494995,16.2180366516113 10.8524503707886,16.2180366516113 Z M4.04535818099976,15.6953573226929 L4.04535818099976,14.6475458145142 L9.29668426513672,14.6475458145142 L9.29668426513672,15.6953573226929 L4.0453577041626,15.6953573226929 Z M15.5639228820801,14.12486743927 L16.6117343902588,14.12486743927 L16.6117343902588,16.2180366516113 L15.5639228820801,16.2180366516113 L15.5639228820801,14.12486743927 Z M18.7049026489258,14.12486743927 L19.7527160644531,14.12486743927 L19.7527160644531,16.2180366516113 L18.7049026489258,16.2180366516113 L18.7049026489258,14.12486743927 Z M21.8458862304688,14.12486743927 L22.8936977386475,14.12486743927 L22.8936977386475,16.2180366516113 L21.8458862304688,16.2180366516113 L21.8458862304688,14.12486743927 Z" p-id="9674" fill="#FF2C2C2C" stroke="Null"></path>
1⑧fxSuperButton03屬性設定
Height
:設定控制元件高度=45
。Width
:設定控制元件寬度=175
。Opacity
:設定控制元件的透明度=0.9
。ButtonType
:設定按鈕型別,設定為TfxSvgButton
。Name
:設定控制元件名稱=fxSuperButton03
。ButtonType.Text
:設定按鈕文字=03 讀取保持暫存器
。ButtonType.AlgnType
:設定按鈕中影象的對齊位置,設定為aLeft
。ButtonType.SvgData
:設定SVG數據,其數據內容如下。
<path d="M6.54432106018066,4.7700834274292 C5.56371212005615,4.7700834274292 4.7700834274292,5.56371212005615 4.7700834274292,6.54432106018066 L4.7700834274292,13.6371192932129 C4.7700834274292,14.617730140686 5.56371212005615,15.4113569259644 6.54432106018066,15.4113569259644 L38.4556770324707,15.4113569259644 C39.4362831115723,15.4113569259644 40.2299156188965,14.617730140686 40.2299156188965,13.6371192932129 L40.2299156188965,6.54432106018066 C40.2299156188965,5.56371212005615 39.4362869262695,4.7700834274292 38.4556770324707,4.7700834274292 L6.54432106018066,4.7700834274292 Z M12.8601102828979,35.7963981628418 L4.7700834274292,35.7963981628418 L4.7700834274292,34.022159576416 L12.8601102828979,34.022159576416 C13.2548475265503,32.4930725097656 14.6426601409912,31.3628768920898 16.2922439575195,31.3628768920898 C18.2493076324463,31.3628768920898 19.8365650177002,32.950138092041 19.8365650177002,34.9071998596191 C19.8365650177002,36.8642616271973 18.2534618377686,38.4556770324707 16.2963962554932,38.4556770324707 C14.6426601409912,38.4556770324707 13.2548475265503,37.3254814147949 12.8601102828979,35.7963981628418 Z M12.8601102828979,23.3850402832031 L4.7700834274292,23.3850402832031 L4.7700834274292,21.6107997894287 L12.8601102828979,21.6107997894287 C13.2548475265503,20.0817165374756 14.6426601409912,18.9515209197998 16.2922439575195,18.9515209197998 C18.2493076324463,18.9515209197998 19.8365650177002,20.5387802124023 19.8365650177002,22.4958419799805 C19.8365650177002,24.4529056549072 18.2493076324463,26.0401630401611 16.2922439575195,26.0401630401611 C14.6426601409912,26.0443172454834 13.2548494338989,24.9141254425049 12.8601121902466,23.3850364685059 Z M4.20083141326904,28.7035980224609 C3.4653742313385,28.0554008483887 3.00000023841858,27.103874206543 3.00000023841858,26.0443210601807 L3.00000023841858,18.9556789398193 C3.00000023841858,17.8961200714111 3.4653742313385,16.9445972442627 4.20083141326904,16.2963962554932 C3.4653742313385,15.6481990814209 3.00000023841858,14.6966762542725 3.00000023841858,13.6371192932129 L3.00000023841858,6.54432106018066 C3.00000023841858,4.58725738525391 4.58725833892822,3 6.54432106018066,3 L38.4556770324707,3 C40.4127388000488,3 42,4.58725738525391 42,6.54432106018066 L42,13.6371192932129 C42,14.6966762542725 41.5346221923828,15.6481990814209 40.7991676330566,16.2963962554932 C41.5346221923828,16.9445972442627 42,17.8961200714111 42,18.9556789398193 L42,26.0484752655029 C42,27.1080322265625 41.5346221923828,28.0595569610596 40.7991676330566,28.7077560424805 C41.5346221923828,29.3559532165527 42,30.3074779510498 42,31.3670330047607 L42,38.4556770324707 C42,40.4127388000488 40.4127388000488,42 38.4556770324707,42 L6.54432106018066,42 C4.58725738525391,42 3,40.4127388000488 3,38.4556770324707 L3,31.3628768920898 C3,30.3033199310303 3.46121883392334,29.3559532165527 4.20083141326904,28.7035980224609 Z M38.4556770324707,27.8185558319092 C39.4362831115723,27.8185558319092 40.2299156188965,27.0249290466309 40.2299156188965,26.0443210601807 L40.2299156188965,18.9556789398193 C40.2299156188965,17.9750690460205 39.4362869262695,17.1814384460449 38.4556770324707,17.1814384460449 L6.54432106018066,17.1814384460449 C5.56371212005615,17.1814384460449 4.7700834274292,17.9750690460205 4.7700834274292,18.9556789398193 L4.7700834274292,26.0484752655029 C4.7700834274292,27.0290832519531 5.56371212005615,27.8227138519287 6.54432106018066,27.8227138519287 L38.4556770324707,27.8227138519287 Z M6.54432106018066,29.592794418335 C5.56371212005615,29.592794418335 4.7700834274292,30.3864250183105 4.7700834274292,31.3670330047607 L4.7700834274292,38.4556770324707 C4.7700834274292,39.4362831115723 5.56371212005615,40.2299156188965 6.54432106018066,40.2299156188965 L38.4556770324707,40.2299156188965 C39.4362831115723,40.2299156188965 40.2299156188965,39.4362869262695 40.2299156188965,38.4556770324707 L40.2299156188965,31.3628768920898 C40.2299156188965,30.3822689056396 39.4362869262695,29.5886383056641 38.4556770324707,29.5886383056641 L6.54432106018066,29.5886383056641 Z M16.2963962554932,24.2742385864258 C17.2770099639893,24.2742385864258 18.0706386566162,23.4806098937988 18.0706386566162,22.5 C18.0706386566162,21.5193862915039 17.2770099639893,20.7257595062256 16.2963962554932,20.7257595062256 C15.3157892227173,20.7257595062256 14.5221605300903,21.5193901062012 14.5221605300903,22.5 C14.5221605300903,23.4806060791016 15.3157892227173,24.2742385864258 16.2963962554932,24.2742385864258 Z M16.2963962554932,36.6814384460449 C17.2770099639893,36.6814384460449 18.0706386566162,35.8878135681152 18.0706386566162,34.9071998596191 C18.0706386566162,33.9265899658203 17.2728519439697,33.1371154785156 16.2963962554932,33.1371154785156 C15.3199434280396,33.1371154785156 14.5221605300903,33.9307441711426 14.5221605300903,34.9113578796387 C14.5221605300903,35.8919677734375 15.3157892227173,36.6814346313477 16.2963962554932,36.6814346313477 Z M24.2742385864258,20.7257633209229 L26.0484752655029,20.7257633209229 L26.0484752655029,24.2700843811035 L24.2742385864258,24.2700843811035 L24.2742385864258,20.7257633209229 Z M24.2742385864258,33.1371192932129 L26.0484752655029,33.1371192932129 L26.0484752655029,36.6814384460449 L24.2742385864258,36.6814384460449 L24.2742385864258,33.1371154785156 Z M29.592794418335,20.7257633209229 L31.3670330047607,20.7257633209229 L31.3670330047607,24.2700843811035 L29.592794418335,24.2700843811035 L29.592794418335,20.7257633209229 Z M29.592794418335,33.1371192932129 L31.3670330047607,33.1371192932129 L31.3670330047607,36.6814384460449 L29.592794418335,36.6814384460449 L29.592794418335,33.1371154785156 Z M34.9113578796387,20.7257633209229 L36.6855964660645,20.7257633209229 L36.6855964660645,24.2700843811035 L34.9113578796387,24.2700843811035 L34.9113578796387,20.7257633209229 Z M34.9113578796387,33.1371192932129 L36.6855964660645,33.1371192932129 L36.6855964660645,36.6814384460449 L34.9113578796387,36.6814384460449 L34.9113578796387,33.1371154785156 Z M16.2963962554932,13.6371212005615 C14.3393354415894,13.6371212005615 12.7520780563354,12.0498638153076 12.7520780563354,10.0928010940552 C12.7520780563354,8.13573837280273 14.3393354415894,6.5484790802002 16.2963962554932,6.5484790802002 C18.2534618377686,6.5484790802002 19.8407173156738,8.1357364654541 19.8407173156738,10.0928010940552 C19.8407173156738,12.0498638153076 18.2534618377686,13.6371212005615 16.2963962554932,13.6371212005615 Z M16.2963962554932,11.8628826141357 C17.2770099639893,11.8628826141357 18.0706386566162,11.0692539215088 18.0706386566162,10.0886449813843 C18.0706386566162,9.10803508758545 17.2770099639893,8.31440734863281 16.2963962554932,8.31440734863281 C15.3157892227173,8.31440734863281 14.5221605300903,9.11219024658203 14.5221605300903,10.0886449813843 C14.5221605300903,11.0650997161865 15.3157892227173,11.8628826141357 16.2963962554932,11.8628826141357 Z M4.7700834274292,10.9778394699097 L4.7700834274292,9.20360088348389 L13.6620483398438,9.20360088348389 L13.6620483398438,10.9778394699097 L4.77008247375488,10.9778394699097 Z M24.2742385864258,8.31855964660645 L26.0484752655029,8.31855964660645 L26.0484752655029,11.8628807067871 L24.2742385864258,11.8628807067871 L24.2742385864258,8.31855964660645 Z M29.592794418335,8.31855964660645 L31.3670330047607,8.31855964660645 L31.3670330047607,11.8628807067871 L29.592794418335,11.8628807067871 L29.592794418335,8.31855964660645 Z M34.9113578796387,8.31855964660645 L36.6855964660645,8.31855964660645 L36.6855964660645,11.8628807067871 L34.9113578796387,11.8628807067871 L34.9113578796387,8.31855964660645 Z" p-id="9674" fill="#FF2C2C2C" stroke="Null"></path>
1⑨fxSuperButton04屬性設定
Height
:設定控制元件高度=45
。Width
:設定控制元件寬度=175
。Opacity
:設定控制元件的透明度=0.9
。ButtonType
:設定按鈕型別,設定為TfxSvgButton
。Name
:設定控制元件名稱=fxSuperButton04
。ButtonType.Text
:設定按鈕文字=04 讀取輸入暫存器
。ButtonType.AlgnType
:設定按鈕中影象的對齊位置,設定為aLeft
。ButtonType.SvgData
:設定SVG數據,其數據內容如下。
<path d="M6.54432106018066,4.7700834274292 C5.56371212005615,4.7700834274292 4.7700834274292,5.56371212005615 4.7700834274292,6.54432106018066 L4.7700834274292,13.6371192932129 C4.7700834274292,14.617730140686 5.56371212005615,15.4113569259644 6.54432106018066,15.4113569259644 L38.4556770324707,15.4113569259644 C39.4362831115723,15.4113569259644 40.2299156188965,14.617730140686 40.2299156188965,13.6371192932129 L40.2299156188965,6.54432106018066 C40.2299156188965,5.56371212005615 39.4362869262695,4.7700834274292 38.4556770324707,4.7700834274292 L6.54432106018066,4.7700834274292 Z M12.8601102828979,35.7963981628418 L4.7700834274292,35.7963981628418 L4.7700834274292,34.022159576416 L12.8601102828979,34.022159576416 C13.2548475265503,32.4930725097656 14.6426601409912,31.3628768920898 16.2922439575195,31.3628768920898 C18.2493076324463,31.3628768920898 19.8365650177002,32.950138092041 19.8365650177002,34.9071998596191 C19.8365650177002,36.8642616271973 18.2534618377686,38.4556770324707 16.2963962554932,38.4556770324707 C14.6426601409912,38.4556770324707 13.2548475265503,37.3254814147949 12.8601102828979,35.7963981628418 Z M12.8601102828979,23.3850402832031 L4.7700834274292,23.3850402832031 L4.7700834274292,21.6107997894287 L12.8601102828979,21.6107997894287 C13.2548475265503,20.0817165374756 14.6426601409912,18.9515209197998 16.2922439575195,18.9515209197998 C18.2493076324463,18.9515209197998 19.8365650177002,20.5387802124023 19.8365650177002,22.4958419799805 C19.8365650177002,24.4529056549072 18.2493076324463,26.0401630401611 16.2922439575195,26.0401630401611 C14.6426601409912,26.0443172454834 13.2548494338989,24.9141254425049 12.8601121902466,23.3850364685059 Z M4.20083141326904,28.7035980224609 C3.4653742313385,28.0554008483887 3.00000023841858,27.103874206543 3.00000023841858,26.0443210601807 L3.00000023841858,18.9556789398193 C3.00000023841858,17.8961200714111 3.4653742313385,16.9445972442627 4.20083141326904,16.2963962554932 C3.4653742313385,15.6481990814209 3.00000023841858,14.6966762542725 3.00000023841858,13.6371192932129 L3.00000023841858,6.54432106018066 C3.00000023841858,4.58725738525391 4.58725833892822,3 6.54432106018066,3 L38.4556770324707,3 C40.4127388000488,3 42,4.58725738525391 42,6.54432106018066 L42,13.6371192932129 C42,14.6966762542725 41.5346221923828,15.6481990814209 40.7991676330566,16.2963962554932 C41.5346221923828,16.9445972442627 42,17.8961200714111 42,18.9556789398193 L42,26.0484752655029 C42,27.1080322265625 41.5346221923828,28.0595569610596 40.7991676330566,28.7077560424805 C41.5346221923828,29.3559532165527 42,30.3074779510498 42,31.3670330047607 L42,38.4556770324707 C42,40.4127388000488 40.4127388000488,42 38.4556770324707,42 L6.54432106018066,42 C4.58725738525391,42 3,40.4127388000488 3,38.4556770324707 L3,31.3628768920898 C3,30.3033199310303 3.46121883392334,29.3559532165527 4.20083141326904,28.7035980224609 Z M38.4556770324707,27.8185558319092 C39.4362831115723,27.8185558319092 40.2299156188965,27.0249290466309 40.2299156188965,26.0443210601807 L40.2299156188965,18.9556789398193 C40.2299156188965,17.9750690460205 39.4362869262695,17.1814384460449 38.4556770324707,17.1814384460449 L6.54432106018066,17.1814384460449 C5.56371212005615,17.1814384460449 4.7700834274292,17.9750690460205 4.7700834274292,18.9556789398193 L4.7700834274292,26.0484752655029 C4.7700834274292,27.0290832519531 5.56371212005615,27.8227138519287 6.54432106018066,27.8227138519287 L38.4556770324707,27.8227138519287 Z M6.54432106018066,29.592794418335 C5.56371212005615,29.592794418335 4.7700834274292,30.3864250183105 4.7700834274292,31.3670330047607 L4.7700834274292,38.4556770324707 C4.7700834274292,39.4362831115723 5.56371212005615,40.2299156188965 6.54432106018066,40.2299156188965 L38.4556770324707,40.2299156188965 C39.4362831115723,40.2299156188965 40.2299156188965,39.4362869262695 40.2299156188965,38.4556770324707 L40.2299156188965,31.3628768920898 C40.2299156188965,30.3822689056396 39.4362869262695,29.5886383056641 38.4556770324707,29.5886383056641 L6.54432106018066,29.5886383056641 Z M16.2963962554932,24.2742385864258 C17.2770099639893,24.2742385864258 18.0706386566162,23.4806098937988 18.0706386566162,22.5 C18.0706386566162,21.5193862915039 17.2770099639893,20.7257595062256 16.2963962554932,20.7257595062256 C15.3157892227173,20.7257595062256 14.5221605300903,21.5193901062012 14.5221605300903,22.5 C14.5221605300903,23.4806060791016 15.3157892227173,24.2742385864258 16.2963962554932,24.2742385864258 Z M16.2963962554932,36.6814384460449 C17.2770099639893,36.6814384460449 18.0706386566162,35.8878135681152 18.0706386566162,34.9071998596191 C18.0706386566162,33.9265899658203 17.2728519439697,33.1371154785156 16.2963962554932,33.1371154785156 C15.3199434280396,33.1371154785156 14.5221605300903,33.9307441711426 14.5221605300903,34.9113578796387 C14.5221605300903,35.8919677734375 15.3157892227173,36.6814346313477 16.2963962554932,36.6814346313477 Z M24.2742385864258,20.7257633209229 L26.0484752655029,20.7257633209229 L26.0484752655029,24.2700843811035 L24.2742385864258,24.2700843811035 L24.2742385864258,20.7257633209229 Z M24.2742385864258,33.1371192932129 L26.0484752655029,33.1371192932129 L26.0484752655029,36.6814384460449 L24.2742385864258,36.6814384460449 L24.2742385864258,33.1371154785156 Z M29.592794418335,20.7257633209229 L31.3670330047607,20.7257633209229 L31.3670330047607,24.2700843811035 L29.592794418335,24.2700843811035 L29.592794418335,20.7257633209229 Z M29.592794418335,33.1371192932129 L31.3670330047607,33.1371192932129 L31.3670330047607,36.6814384460449 L29.592794418335,36.6814384460449 L29.592794418335,33.1371154785156 Z M34.9113578796387,20.7257633209229 L36.6855964660645,20.7257633209229 L36.6855964660645,24.2700843811035 L34.9113578796387,24.2700843811035 L34.9113578796387,20.7257633209229 Z M34.9113578796387,33.1371192932129 L36.6855964660645,33.1371192932129 L36.6855964660645,36.6814384460449 L34.9113578796387,36.6814384460449 L34.9113578796387,33.1371154785156 Z M16.2963962554932,13.6371212005615 C14.3393354415894,13.6371212005615 12.7520780563354,12.0498638153076 12.7520780563354,10.0928010940552 C12.7520780563354,8.13573837280273 14.3393354415894,6.5484790802002 16.2963962554932,6.5484790802002 C18.2534618377686,6.5484790802002 19.8407173156738,8.1357364654541 19.8407173156738,10.0928010940552 C19.8407173156738,12.0498638153076 18.2534618377686,13.6371212005615 16.2963962554932,13.6371212005615 Z M16.2963962554932,11.8628826141357 C17.2770099639893,11.8628826141357 18.0706386566162,11.0692539215088 18.0706386566162,10.0886449813843 C18.0706386566162,9.10803508758545 17.2770099639893,8.31440734863281 16.2963962554932,8.31440734863281 C15.3157892227173,8.31440734863281 14.5221605300903,9.11219024658203 14.5221605300903,10.0886449813843 C14.5221605300903,11.0650997161865 15.3157892227173,11.8628826141357 16.2963962554932,11.8628826141357 Z M4.7700834274292,10.9778394699097 L4.7700834274292,9.20360088348389 L13.6620483398438,9.20360088348389 L13.6620483398438,10.9778394699097 L4.77008247375488,10.9778394699097 Z M24.2742385864258,8.31855964660645 L26.0484752655029,8.31855964660645 L26.0484752655029,11.8628807067871 L24.2742385864258,11.8628807067871 L24.2742385864258,8.31855964660645 Z M29.592794418335,8.31855964660645 L31.3670330047607,8.31855964660645 L31.3670330047607,11.8628807067871 L29.592794418335,11.8628807067871 L29.592794418335,8.31855964660645 Z M34.9113578796387,8.31855964660645 L36.6855964660645,8.31855964660645 L36.6855964660645,11.8628807067871 L34.9113578796387,11.8628807067871 L34.9113578796387,8.31855964660645 Z" p-id="9674" fill="#FF2C2C2C" stroke="Null"></path>
1⑩fxSuperButton05屬性設定
Height
:設定控制元件高度=45
。Width
:設定控制元件寬度=175
。Opacity
:設定控制元件的透明度=0.9
。ButtonType
:設定按鈕型別,設定為TfxSvgButton
。Name
:設定控制元件名稱=fxSuperButton05
。ButtonType.Text
:設定按鈕文字=05 寫入線圈
。ButtonType.AlgnType
:設定按鈕中影象的對齊位置,設定為aLeft
。ButtonType.SvgData
:設定SVG數據,其數據內容如下。
<path d="M37.9367218017578,30.1782665252686 C37.8750343322754,30.1741542816162 37.805118560791,30.1741542816162 37.7516555786133,30.1741542816162 C35.4568138122559,30.1906070709229 34.1819000244141,32.0495071411133 32.4710502624512,32.880256652832 C32.3846893310547,32.9254913330078 32.2942047119141,32.9625091552734 32.2078399658203,33.0036315917969 C36.9579200744629,27.8176212310791 37.7310905456543,19.876148223877 33.6184692382813,13.7894668579102 C28.8108139038086,6.66229295730591 19.1379280090332,4.78693771362305 12.0066423416138,9.5945930480957 C4.88358116149902,14.402247428894 3,24.0833587646484 7.81588077545166,31.2064228057861 C12.62353515625,38.3376998901367 22.3005352020264,40.213062286377 29.4235992431641,35.4054107666016 C30.1145191192627,34.940673828125 30.7478637695313,34.4348297119141 31.3400783538818,33.8837394714355 C31.8006935119629,33.7109985351563 32.248966217041,33.5218276977539 32.6849060058594,33.3079681396484 C34.5314788818359,32.3661727905273 35.7529220581055,30.6306552886963 37.7516593933105,30.651216506958 C37.8051223754883,30.651216506958 37.858585357666,30.651216506958 37.912052154541,30.6553268432617 C39.8408737182617,30.7540340423584 40.4577674865723,31.5683307647705 41.6422004699707,32.9172706604004 L42,32.6088256835938 C40.8525772094727,31.2804489135742 40.0300521850586,30.2646312713623 37.9367294311523,30.1782665252686 Z M24.3856353759766,24.288990020752 L24.3033809661865,24.2437534332275 C24.9038238525391,23.0305290222168 24.8544750213623,21.5417594909668 24.0442867279053,20.3408737182617 C24.0278358459473,20.3203125 24.0154972076416,20.299747467041 23.9990501403809,20.2832984924316 L24.101863861084,20.2133827209473 C24.9326152801514,21.4512825012207 25.0107536315918,23.0017414093018 24.3856353759766,24.288990020752 Z M22.7858257293701,22.3396072387695 C22.8721904754639,23.4829177856445 22.0249900817871,24.4781703948975 20.8816814422607,24.5727634429932 C19.7383728027344,24.6591262817383 18.7431182861328,23.8037014007568 18.6485271453857,22.6686191558838 C18.562162399292,21.5253105163574 19.4093627929688,20.5300559997559 20.5608978271484,20.4395771026611 C21.6959819793701,20.3408737182617 22.6994609832764,21.1962985992432 22.7858257293701,22.3396091461182 Z M20.9927215576172,26.3987655639648 L21.0009460449219,26.5632724761963 C19.7589340209961,26.6496353149414 18.5004730224609,26.1725730895996 17.6203727722168,25.16086769104 C17.5134429931641,25.0374889373779 17.4188537597656,24.9058837890625 17.3324890136719,24.778392791748 L17.5586814880371,24.6262245178223 C17.5751304626465,24.6467876434326 17.5833568572998,24.6714630126953 17.5998077392578,24.687915802002 C18.3853187561035,25.8559017181396 19.684907913208,26.4563426971436 20.9927215576172,26.3987655639648 Z M20.445743560791,18.6505851745605 C19.8206253051758,18.7081604003906 19.1996192932129,18.9179058074951 18.644416809082,19.2962684631348 C18.0480842590332,19.7034168243408 17.6039218902588,20.2380561828613 17.3160381317139,20.8385009765625 L17.0487174987793,20.7068958282471 C17.2831382751465,20.221607208252 17.6203727722168,19.7774429321289 18.0563106536865,19.4031944274902 C18.7513427734375,18.80686378479 19.5903186798096,18.4901924133301 20.4375171661377,18.4326152801514 L20.4457454681396,18.6505851745605 Z M16.9417877197266,25.0457134246826 C17.040491104126,25.1937656402588 17.1474189758301,25.3335971832275 17.2625732421875,25.4693145751953 C18.2331504821777,26.604398727417 19.6478939056396,27.1308135986328 21.0338478088379,27.0362224578857 L21.0420742034912,27.1349258422852 C19.6314449310303,27.2336311340332 18.187915802002,26.6907615661621 17.1926593780518,25.5351142883301 C17.0733947753906,25.3952827453613 16.9623527526855,25.2472305297852 16.8636493682861,25.099178314209 L16.9417877197266,25.0457134246826 Z M24.809232711792,24.4946212768555 C25.5083789825439,23.0634288787842 25.4137897491455,21.3237895965576 24.492561340332,19.9501724243164 L24.5707015991211,19.8967113494873 C25.5207176208496,21.2991161346436 25.607084274292,23.0716552734375 24.8997116088867,24.5357475280762 L24.809232711792,24.4946212768555 Z M20.396390914917,17.9596652984619 C19.4463748931885,18.0295791625977 18.5169219970703,18.3791542053223 17.7437496185303,19.0453968048096 C17.2584609985352,19.4607734680176 16.8842124938965,19.9583988189697 16.6210041046143,20.5012664794922 L16.5346393585205,20.4601402282715 C16.8019599914551,19.909049987793 17.1844329833984,19.3990821838379 17.6779479980469,18.9713706970215 C18.4675712585449,18.2927856445313 19.4216995239258,17.9308757781982 20.3881664276123,17.8609619140625 L20.396390914917,17.9596652984619 Z M16.4688377380371,25.3623847961426 C16.5798797607422,25.5268878936768 16.6991424560547,25.6913948059082 16.8307456970215,25.8394470214844 C17.9288177490234,27.1143589019775 19.5204010009766,27.7106876373291 21.0708599090576,27.6037616729736 L21.0749740600586,27.7024669647217 C19.4875011444092,27.8135089874268 17.8753547668457,27.2048377990723 16.7484931945801,25.9093647003174 C16.6127777099609,25.7530860900879 16.4935111999512,25.5885791778564 16.3824710845947,25.4199619293213 L16.4688377380371,25.3623847961426 Z M25.3233127593994,24.7413787841797 C26.1088218688965,23.1292304992676 26.0060043334961,21.1757354736328 24.9614009857178,19.6293907165527 L25.0395412445068,19.575927734375 C26.1005992889404,21.1510601043701 26.2034130096436,23.1374568939209 25.4055671691895,24.7866191864014 L25.3233127593994,24.7413806915283 Z M20.3593769073486,17.3921222686768 C19.2942085266113,17.4661483764648 18.245491027832,17.8650741577148 17.3736152648926,18.6135711669922 C16.8266334533691,19.0824127197266 16.4071464538574,19.6458396911621 16.1069259643555,20.250394821167 L16.0205612182617,20.2092685699463 C16.324893951416,19.5882625579834 16.7484970092773,19.0166091918945 17.3036994934082,18.5395431518555 C18.1920261383057,17.7787075042725 19.2613086700439,17.3715591430664 20.3470401763916,17.293420791626 L20.3593769073486,17.3921222686768 Z M15.9999980926514,25.6831703186035 C16.1233768463135,25.8682384490967 16.2549819946289,26.0450820922852 16.3989219665527,26.217809677124 C17.6203727722168,27.6366653442383 19.3805751800537,28.2946834564209 21.1160984039307,28.1754169464111 L21.1202125549316,28.2700080871582 C19.3600120544434,28.3933887481689 17.5669078826904,27.7189178466797 16.324893951416,26.2794990539551 C16.1727275848389,26.1026554107666 16.0411243438721,25.9216976165771 15.9136333465576,25.7366313934326 L15.9999980926514,25.6831684112549 Z M25.8373889923096,24.9963607788086 C26.7133769989014,23.2032585144043 26.5941123962402,21.031795501709 25.4384632110596,19.3168296813965 L25.5207176208496,19.2633666992188 C26.6969261169434,21.0071182250977 26.8120803833008,23.21559715271 25.9278678894043,25.0374889373779 L25.8373889923096,24.9963607788086 Z M20.3182525634766,16.8286933898926 C19.1338176727295,16.910945892334 17.9658317565918,17.355110168457 16.9993667602539,18.1858596801758 C16.3948097229004,18.7081642150879 15.9259719848633,19.3291683197021 15.5969619750977,20.0077514648438 L15.5105962753296,19.9625110626221 C15.8437185287476,19.2715911865234 16.3207836151123,18.6423606872559 16.9376754760742,18.1118316650391 C17.9247055053711,17.2646331787109 19.1132545471191,16.8163547515869 20.3141403198242,16.7341022491455 L20.3182525634766,16.8286933898926 Z M15.5270462036133,26.0039558410645 C15.6627626419067,26.2054748535156 15.8108177185059,26.3987655639648 15.971209526062,26.5920581817627 C17.3160362243652,28.1507415771484 19.2530822753906,28.8786754608154 21.1572246551514,28.7470722198486 L21.1613388061523,28.8416652679443 C19.2242946624756,28.9732666015625 17.2625732421875,28.2371063232422 15.8930702209473,26.6578636169434 C15.7326784133911,26.4686851501465 15.5805110931396,26.2671642303467 15.4447946548462,26.0615329742432 L15.5270462036133,26.0039558410645 Z M26.3473567962646,25.2472305297852 C27.3055973052979,23.2772827148438 27.1822166442871,20.8837394714355 25.9073047637939,18.9960441589355 L25.985445022583,18.9425811767578 C27.2768096923828,20.8590641021729 27.4042987823486,23.2813987731934 26.4296073913574,25.2842445373535 L26.3473567962646,25.2472305297852 Z M20.2812366485596,16.2570400238037 C18.9816493988037,16.3434047698975 17.6943988800049,16.8328056335449 16.6292304992676,17.7540340423584 C15.9629850387573,18.3256893157959 15.4447956085205,19.0166091918945 15.0869970321655,19.7568817138672 L15.0006322860718,19.7116432189941 C15.3666543960571,18.9549198150635 15.8889579772949,18.2598876953125 16.5634269714355,17.675895690918 C17.6450462341309,16.7464427947998 18.9487495422363,16.2529277801514 20.2730121612549,16.1624507904053 L20.2812366485596,16.2570400238037 Z M15.0540952682495,26.3206253051758 C15.2021493911743,26.5385971069336 15.3625421524048,26.7565631866455 15.5393838882446,26.962194442749 C17.0034790039063,28.6607093811035 19.1214790344238,29.4585590362549 21.1983528137207,29.3146171569824 L21.202465057373,29.4092025756836 C19.0968017578125,29.5572566986084 16.9500141143799,28.751184463501 15.4653577804565,27.0279960632324 C15.28440284729,26.8182506561279 15.1240100860596,26.604398727417 14.9759559631348,26.3782024383545 L15.0540952682495,26.3206253051758 Z M26.8614330291748,25.4939880371094 C27.9060401916504,23.3430862426758 27.774435043335,20.7356834411621 26.384370803833,18.6752605438232 L26.4625110626221,18.6217994689941 C27.8690280914307,20.7068977355957 28.0129699707031,23.3513126373291 26.9477996826172,25.5351181030273 L26.8614368438721,25.493989944458 Z M20.2401103973389,15.6894979476929 C18.8212585449219,15.788200378418 17.4188537597656,16.3187294006348 16.2590942382813,17.3222103118896 C15.5311594009399,17.9473266601563 14.9677314758301,18.6958236694336 14.5729198455811,19.5060119628906 L14.486554145813,19.4607734680176 C14.8854789733887,18.6382484436035 15.4530200958252,17.8774108886719 16.1932907104492,17.244068145752 C17.3777275085449,16.232364654541 18.7924690246582,15.6894989013672 20.2360000610352,15.5907945632935 L20.2401123046875,15.6894979476929 Z M14.5811433792114,26.6372947692871 C14.7415351867676,26.8758277893066 14.9142665863037,27.1061344146729 15.1034469604492,27.3323307037354 C16.6868057250977,29.1747856140137 18.9816513061523,30.0343265533447 21.2312545776367,29.878044128418 L21.2353668212891,29.972635269165 C18.956974029541,30.1289119720459 16.6333427429199,29.2611503601074 15.0253076553345,27.3981342315674 C14.82790184021,27.1719417572021 14.6592845916748,26.933406829834 14.4988918304443,26.6948776245117 L14.5811452865601,26.637300491333 Z M27.3755111694336,25.7448558807373 C28.5105953216553,23.4130001068115 28.3625392913818,20.5876312255859 26.8532066345215,18.3627014160156 L26.9354610443115,18.3092384338379 C28.4571304321289,20.5711784362793 28.6051826477051,23.4294509887695 27.4618759155273,25.7900981903076 L27.3755111694336,25.7448596954346 Z M20.2030982971191,15.121955871582 C18.6649780273438,15.2288846969604 17.1474189758301,15.8046522140503 15.8889579772949,16.8903846740723 C15.0993347167969,17.5689659118652 14.4906663894653,18.3750400543213 14.0629539489746,19.2551422119141 L13.9765892028809,19.209903717041 C14.4125270843506,18.3215751647949 15.0253076553345,17.4990501403809 15.8231563568115,16.8122444152832 C17.0980682373047,15.7182865142822 18.6361885070801,15.1301822662354 20.1948738098145,15.0232534408569 L20.2031002044678,15.121955871582 Z M14.1081914901733,26.962194442749 C14.2809228897095,27.2171802520752 14.4659910202026,27.4639358520508 14.6716222763062,27.7065773010254 C16.3824729919434,29.6888637542725 18.8500461578369,30.630651473999 21.2723808288574,30.4579219818115 L21.2764930725098,30.5525169372559 C18.8253707885742,30.7252426147461 16.3248958587646,29.7752285003662 14.5975952148438,27.7682666778564 C14.3878517150879,27.5256214141846 14.2027835845947,27.274751663208 14.0259408950806,27.0156593322754 L14.108193397522,26.962194442749 Z M27.8895893096924,25.9957275390625 C29.1110382080078,23.4829177856445 28.9547595977783,20.4395751953125 27.3261585235596,18.0419178009033 L27.4042987823486,17.988452911377 C29.0452365875244,20.4231262207031 29.2056274414063,23.4993686676025 27.9718399047852,26.0409698486328 L27.8895893096924,25.9957313537598 Z M20.1578598022461,14.5461893081665 C18.5004730224609,14.665454864502 16.8636493682861,15.2946863174438 15.5105962753296,16.4585571289063 C14.6592836380005,17.1864929199219 14.0053768157959,18.0624809265137 13.5447635650635,19.0083847045898 L13.4625110626221,18.9631462097168 C13.9272375106812,18.0049057006836 14.5893688201904,17.1206912994385 15.4530200958252,16.3763046264648 C16.8266334533691,15.2000951766968 18.4799098968506,14.5626401901245 20.1578598022461,14.4474859237671 L20.1578598022461,14.5461893081665 Z M13.6352405548096,27.2788696289063 C13.8203086853027,27.5544109344482 14.0218267440796,27.8217315673828 14.2397966384888,28.076717376709 C16.0740261077881,30.2029418945313 18.7143306732178,31.2023124694824 21.3176193237305,31.0295791625977 L21.3217334747314,31.1241703033447 C18.6978797912598,31.3051261901855 16.0205631256104,30.2934169769287 14.1657695770264,28.1425189971924 C13.9395761489868,27.8834209442139 13.7421703338623,27.6161003112793 13.5529890060425,27.336446762085 L13.6352424621582,27.2788696289063 Z M28.3995552062988,26.2466011047363 C29.707368850708,23.5569438934326 29.5387516021729,20.2956352233887 27.7991123199463,17.721134185791 L27.8772525787354,17.6676731109619 C29.6333446502686,20.2709617614746 29.8019599914551,23.5692844390869 28.4818096160889,26.287727355957 L28.3995571136475,26.2466011047363 Z M20.1167335510254,13.9745349884033 C18.3441925048828,14.0979137420654 16.5881042480469,14.7723827362061 15.1363477706909,16.0226211547852 C14.2274580001831,16.8040180206299 13.5241994857788,17.737585067749 13.0306854248047,18.7534027099609 L12.9484329223633,18.7122764587402 C13.4460601806641,17.6841201782227 14.1534309387207,16.7423286437988 15.0746583938599,15.9444789886475 C16.5469760894775,14.6819038391113 18.3154067993164,13.9992094039917 20.1126194000244,13.8758316040039 L20.1167335510254,13.974534034729 Z M13.1581764221191,27.5955371856689 C13.3555812835693,27.8875331878662 13.5694389343262,28.1713047027588 13.8038578033447,28.4468536376953 C15.7532415390015,30.7129058837891 18.57861328125,31.7863025665283 21.3505191802979,31.5930118560791 L21.4780120849609,33.3943328857422 C18.1632385253906,32.2510261535645 14.8525772094727,30.1453647613525 13.0389108657837,27.677791595459 L13.1581773757935,27.5955371856689 Z M32.5245132446289,14.5297393798828 C35.4691467285156,18.9014549255371 35.6706695556641,24.3177795410156 33.5197677612305,28.7388496398926 L28.9136295318604,26.4892406463623 C30.3119201660156,23.6227436065674 30.1309661865234,20.1434669494629 28.2720623016357,17.3962364196777 L32.5245132446289,14.5297393798828 Z M12.7510261535645,10.6885509490967 C14.9019260406494,9.23679447174072 17.3036994934082,8.45539665222168 19.7260322570801,8.29089164733887 L20.0879421234131,13.4069929122925 C18.192024230957,13.5385980606079 16.324893951416,14.2624187469482 14.7744359970093,15.5907955169678 C13.8038568496704,16.4256591796875 13.0553607940674,17.4250259399414 12.5248327255249,18.5025329589844 L7.9186954498291,16.2529296875 C8.97152709960938,14.0814647674561 10.6001253128052,12.144419670105 12.7510261535645,10.6885509490967 Z M8.90983772277832,30.4702644348145 L12.652322769165,27.9451103210449 C14.5934810638428,30.5730781555176 18.0521965026855,32.7568740844727 21.5150241851807,33.912525177002 L21.7124290466309,36.7132186889648 C16.8060703277588,37.0463371276855 11.854474067688,34.8378677368164 8.90983772277832,30.4702644348145 Z" p-id="3259" fill="#FF2C2C2C" stroke="Null"></path>
1(11)fxSuperButton06屬性設定
Height
:設定控制元件高度=45
。Width
:設定控制元件寬度=175
。Opacity
:設定控制元件的透明度=0.9
。ButtonType
:設定按鈕型別,設定為TfxSvgButton
。Name
:設定控制元件名稱=fxSuperButton06
。ButtonType.Text
:設定按鈕文字=06 寫單個保持暫存器
。ButtonType.AlgnType
:設定按鈕中影象的對齊位置,設定為aLeft
。ButtonType.SvgData
:設定SVG數據,其數據內容如下。
<path d="M6.3654899597168,5.66465950012207 C5.4343581199646,5.66465950012207 4.68077278137207,6.41824436187744 4.68077278137207,7.3493766784668 L4.68077278137207,14.0843029022217 C4.68077278137207,15.0154361724854 5.4343581199646,15.7690191268921 6.3654899597168,15.7690191268921 L36.6667404174805,15.7690191268921 C37.5978660583496,15.7690191268921 38.3514518737793,15.0154361724854 38.3514518737793,14.0843029022217 L38.3514518737793,7.3493766784668 C38.3514518737793,6.41824436187744 37.5978698730469,5.66465950012207 36.6667404174805,5.66465950012207 L6.3654899597168,5.66465950012207 Z M12.3626108169556,35.1255187988281 L4.68077278137207,35.1255187988281 L4.68077278137207,33.440803527832 L12.3626108169556,33.440803527832 C12.7374324798584,31.9888648986816 14.0552215576172,30.9156932830811 15.6215734481812,30.9156932830811 C17.4798927307129,30.9156932830811 18.9870624542236,32.4228668212891 18.9870624542236,34.2811889648438 C18.9870624542236,36.1395034790039 17.4838371276855,37.6506271362305 15.6255178451538,37.6506271362305 C14.0552215576172,37.6506271362305 12.7374324798584,36.5774536132813 12.3626108169556,35.1255187988281 Z M12.3626108169556,23.3403854370117 L4.68077278137207,23.3403854370117 L4.68077278137207,21.6556644439697 L12.3626108169556,21.6556644439697 C12.7374324798584,20.2037353515625 14.0552215576172,19.1305618286133 15.6215734481812,19.1305618286133 C17.4798927307129,19.1305618286133 18.9870624542236,20.6377372741699 18.9870624542236,22.4960517883301 C18.9870624542236,24.3543701171875 17.4798927307129,25.8615417480469 15.6215734481812,25.8615417480469 C14.0552215576172,25.8654861450195 12.7374334335327,24.7923202514648 12.3626127243042,23.3403816223145 Z M4.14024257659912,28.3905906677246 C3.4418933391571,27.7751007080078 3.00000023841858,26.8715839385986 3.00000023841858,25.8654899597168 L3.00000023841858,19.1345100402832 C3.00000023841858,18.1284141540527 3.4418933391571,17.2248992919922 4.14024257659912,16.6094055175781 C3.4418933391571,15.9939126968384 3.00000023841858,15.0903978347778 3.00000023841858,14.0843029022217 L3.00000023841858,7.3493766784668 C3.00000023841858,5.49105787277222 4.50717210769653,3.98388671875 6.3654899597168,3.98388671875 L36.6667404174805,3.98388671875 C38.5250511169434,3.98388671875 40.0322265625,5.49105787277222 40.0322265625,7.3493766784668 L40.0322265625,14.0843029022217 C40.0322265625,15.0903978347778 39.5903282165527,15.9939126968384 38.8919830322266,16.6094055175781 C39.5903282165527,17.2248992919922 40.0322265625,18.1284141540527 40.0322265625,19.1345100402832 L40.0322265625,25.8694362640381 C40.0322265625,26.8755302429199 39.5903282165527,27.7790451049805 38.8919830322266,28.3945407867432 C39.5903282165527,29.01003074646 40.0322265625,29.9135456085205 40.0322265625,30.919641494751 L40.0322265625,37.6506271362305 C40.0322265625,39.5089378356934 38.5250511169434,41.01611328125 36.6667404174805,41.01611328125 L6.3654899597168,41.01611328125 C4.50717115402222,41.01611328125 3,39.5089378356934 3,37.6506271362305 L3,30.9156932830811 C3,29.9095993041992 3.43794775009155,29.01003074646 4.14024257659912,28.3905906677246 Z M36.6667404174805,27.5502052307129 C37.5978660583496,27.5502052307129 38.3514518737793,26.7966213226318 38.3514518737793,25.8654899597168 L38.3514518737793,19.1345100402832 C38.3514518737793,18.2033767700195 37.5978698730469,17.4497890472412 36.6667404174805,17.4497890472412 L6.3654899597168,17.4497890472412 C5.4343581199646,17.4497890472412 4.68077278137207,18.2033767700195 4.68077278137207,19.1345100402832 L4.68077278137207,25.8694362640381 C4.68077278137207,26.8005657196045 5.4343581199646,27.5541515350342 6.3654899597168,27.5541515350342 L36.6667404174805,27.5541515350342 Z M6.3654899597168,29.2349224090576 C5.4343581199646,29.2349224090576 4.68077278137207,29.9885101318359 4.68077278137207,30.919641494751 L4.68077278137207,37.6506271362305 C4.68077278137207,38.5817527770996 5.4343581199646,39.3353385925293 6.3654899597168,39.3353385925293 L36.6667404174805,39.3353385925293 C37.5978660583496,39.3353385925293 38.3514518737793,38.5817565917969 38.3514518737793,37.6506271362305 L38.3514518737793,30.9156932830811 C38.3514518737793,29.9845657348633 37.5978698730469,29.230978012085 36.6667404174805,29.230978012085 L6.3654899597168,29.230978012085 Z M15.6255178451538,24.1847190856934 C16.5566520690918,24.1847190856934 17.3102378845215,23.4311332702637 17.3102378845215,22.5 C17.3102378845215,21.5688629150391 16.5566520690918,20.8152809143066 15.6255178451538,20.8152809143066 C14.6943874359131,20.8152809143066 13.9408016204834,21.568868637085 13.9408016204834,22.5 C13.9408016204834,23.4311275482178 14.6943874359131,24.1847190856934 15.6255178451538,24.1847190856934 Z M15.6255178451538,35.9659042358398 C16.5566520690918,35.9659042358398 17.3102378845215,35.2123222351074 17.3102378845215,34.2811889648438 C17.3102378845215,33.3500518798828 16.5527038574219,32.6004104614258 15.6255178451538,32.6004104614258 C14.6983318328857,32.6004104614258 13.9408016204834,33.3539962768555 13.9408016204834,34.2851333618164 C13.9408016204834,35.2162704467773 14.6943874359131,35.9658966064453 15.6255178451538,35.9658966064453 Z M23.2008323669434,20.8152847290039 L24.8855495452881,20.8152847290039 L24.8855495452881,24.1807727813721 L23.2008323669434,24.1807727813721 L23.2008323669434,20.8152847290039 Z M23.2008323669434,32.6004180908203 L24.8855495452881,32.6004180908203 L24.8855495452881,35.9659042358398 L23.2008323669434,35.9659042358398 L23.2008323669434,32.6004104614258 Z M28.2510356903076,20.8152847290039 L29.935754776001,20.8152847290039 L29.935754776001,24.1807727813721 L28.2510356903076,24.1807727813721 L28.2510356903076,20.8152847290039 Z M28.2510356903076,32.6004180908203 L29.935754776001,32.6004180908203 L29.935754776001,35.9659042358398 L28.2510356903076,35.9659042358398 L28.2510356903076,32.6004104614258 Z M33.3012466430664,20.8152847290039 L34.9859657287598,20.8152847290039 L34.9859657287598,24.1807727813721 L33.3012466430664,24.1807727813721 L33.3012466430664,20.8152847290039 Z M33.3012466430664,32.6004180908203 L34.9859657287598,32.6004180908203 L34.9859657287598,35.9659042358398 L33.3012466430664,35.9659042358398 L33.3012466430664,32.6004104614258 Z M15.6255178451538,14.0843048095703 C13.767201423645,14.0843048095703 12.2600297927856,12.5771341323853 12.2600297927856,10.7188158035278 C12.2600297927856,8.86049842834473 13.767201423645,7.35332489013672 15.6255178451538,7.35332489013672 C17.4838371276855,7.35332489013672 18.9910049438477,8.86049652099609 18.9910049438477,10.7188158035278 C18.9910049438477,12.5771341323853 17.4838371276855,14.0843048095703 15.6255178451538,14.0843048095703 Z M15.6255178451538,12.399585723877 C16.5566520690918,12.399585723877 17.3102378845215,11.6459999084473 17.3102378845215,10.7148685455322 C17.3102378845215,9.78373622894287 16.5566520690918,9.0301513671875 15.6255178451538,9.0301513671875 C14.6943874359131,9.0301513671875 13.9408016204834,9.78768253326416 13.9408016204834,10.7148685455322 C13.9408016204834,11.6420564651489 14.6943874359131,12.399585723877 15.6255178451538,12.399585723877 Z M4.68077278137207,11.5591983795166 L4.68077278137207,9.87448120117188 L13.1240873336792,9.87448120117188 L13.1240873336792,11.5591983795166 L4.68077182769775,11.5591983795166 Z M23.2008323669434,9.03409481048584 L24.8855495452881,9.03409481048584 L24.8855495452881,12.3995847702026 L23.2008323669434,12.3995847702026 L23.2008323669434,9.03409481048584 Z M28.2510356903076,9.03409481048584 L29.935754776001,9.03409481048584 L29.935754776001,12.3995847702026 L28.2510356903076,12.3995847702026 L28.2510356903076,9.03409481048584 Z M33.3012466430664,9.03409481048584 L34.9859657287598,9.03409481048584 L34.9859657287598,12.3995847702026 L33.3012466430664,12.3995847702026 L33.3012466430664,9.03409481048584 Z" p-id="9674" fill="#FF2C2C2C" stroke="Null"></path>
1(12)fxSuperButton15屬性設定
Height
:設定控制元件高度=45
。Width
:設定控制元件寬度=175
。Opacity
:設定控制元件的透明度=0.9
。ButtonType
:設定按鈕型別,設定為TfxSvgButton
。Name
:設定控制元件名稱=fxSuperButton15
。ButtonType.Text
:設定按鈕文字=15 寫多個線圈暫存器
。ButtonType.AlgnType
:設定按鈕中影象的對齊位置,設定為aLeft
。ButtonType.SvgData
:設定SVG數據,其數據內容如下。
<path d="M36.1739654541016,29.7908515930176 C36.1153907775879,29.7869472503662 36.048999786377,29.7869472503662 35.9982376098633,29.7869472503662 C33.8191833496094,29.8025703430176 32.6085968017578,31.5676765441895 30.9840679168701,32.3565139770508 C30.9020652770996,32.3994674682617 30.8161449432373,32.4346160888672 30.7341384887695,32.4736595153809 C35.2445487976074,27.5493144989014 35.9787063598633,20.0085334777832 32.0735931396484,14.2289600372314 C27.5085105895996,7.46139335632324 18.3236770629883,5.68066024780273 11.5522060394287,10.2457418441772 C4.78854370117188,14.8108224868774 3,24.0034675598145 7.57289218902588,30.7671318054199 C12.1379728317261,37.5385971069336 21.3267135620117,39.3193397521973 28.0903797149658,34.7542572021484 C28.7464370727539,34.3129692077637 29.3478260040283,33.832649230957 29.9101600646973,33.3093643188477 C30.3475341796875,33.145336151123 30.7731895446777,32.9657135009766 31.1871337890625,32.7626419067383 C32.9405364990234,31.8683662414551 34.1003494262695,30.2204151153564 35.9982414245605,30.2399387359619 C36.0490036010742,30.2399387359619 36.0997695922852,30.2399387359619 36.1505393981934,30.2438430786133 C37.9820442199707,30.3375701904297 38.5678100585938,31.1107788085938 39.6924819946289,32.3916625976563 L40.0322265625,32.0987777709961 C38.942699432373,30.8374214172363 38.1616744995117,29.872859954834 36.1739730834961,29.7908515930176 Z M23.3066082000732,24.1987228393555 L23.2285041809082,24.1557693481445 C23.7986526489258,23.0037574768066 23.7517929077148,21.5901069641113 22.9824829101563,20.4498100280762 C22.9668617248535,20.4302864074707 22.9551467895508,20.410758972168 22.9395275115967,20.3951416015625 L23.0371551513672,20.3287525177002 C23.8259906768799,21.5041942596436 23.9001865386963,22.9764232635498 23.3066082000732,24.1987228393555 Z M21.7875175476074,22.3476982116699 C21.8695259094238,23.4333209991455 21.065071105957,24.3783569335938 19.9794483184814,24.4681777954102 C18.8938274383545,24.5501842498779 17.948787689209,23.7379207611084 17.8589706420898,22.6601085662842 C17.7769622802734,21.5744876861572 18.5814170837402,20.6294479370117 19.6748504638672,20.5435352325439 C20.7526626586914,20.4498100280762 21.7055110931396,21.2620754241943 21.7875175476074,22.3477001190186 Z M20.0848865509033,26.2020473480225 L20.0926952362061,26.3582553863525 C18.9133491516113,26.4402618408203 17.7183856964111,25.987268447876 16.8826923370361,25.0266094207764 C16.7811584472656,24.9094562530518 16.6913394927979,24.7844905853271 16.6093330383301,24.6634330749512 L16.8241138458252,24.5189418792725 C16.8397331237793,24.5384674072266 16.8475437164307,24.561897277832 16.8631649017334,24.5775203704834 C17.6090431213379,25.6865749359131 18.8430595397949,26.256721496582 20.0848865509033,26.2020473480225 Z M19.5655059814453,18.8448066711426 C18.9719276428223,18.8994789123535 18.3822555541992,19.0986404418945 17.8550682067871,19.4579124450684 C17.2888221740723,19.8445167541504 16.8670711517334,20.352180480957 16.5937118530273,20.9223308563232 L16.3398780822754,20.7973670959473 C16.5624732971191,20.3365631103516 16.8826923370361,19.9148082733154 17.2966346740723,19.5594444274902 C17.9565963745117,18.9932022094727 18.7532424926758,18.6925067901611 19.5576953887939,18.6378364562988 L19.5655078887939,18.8448066711426 Z M16.2383441925049,24.9172649383545 C16.3320693969727,25.0578479766846 16.4336013793945,25.1906242370605 16.5429458618164,25.3194942474365 C17.4645500183105,26.3973064422607 18.8079128265381,26.8971614837646 20.1239376068115,26.8073406219482 L20.1317481994629,26.901065826416 C18.792293548584,26.9947910308838 17.4216003417969,26.4793128967285 16.4765586853027,25.3819732666016 C16.3633117675781,25.2491970062256 16.2578735351563,25.1086139678955 16.1641502380371,24.9680328369141 L16.2383441925049,24.9172649383545 Z M23.7088317871094,24.3939781188965 C24.3727035522461,23.0349998474121 24.282886505127,21.3831329345703 23.4081401824951,20.0788230895996 L23.4823360443115,20.0280609130859 C24.3844203948975,21.3597049713135 24.4664287567139,23.0428104400635 23.7947463989258,24.4330310821533 L23.7088317871094,24.3939781188965 Z M19.5186424255371,18.1887512207031 C18.6165618896484,18.2551345825195 17.7340049743652,18.5870723724365 16.9998435974121,19.2196998596191 C16.5390396118164,19.6141166687012 16.1836738586426,20.0866355895996 15.9337472915649,20.6021118164063 L15.8517398834229,20.563060760498 C16.1055717468262,20.0397758483887 16.4687480926514,19.5555381774902 16.9373626708984,19.1494083404541 C17.6871452331543,18.5050621032715 18.593132019043,18.1614112854004 19.5108337402344,18.0950260162354 L19.5186424255371,18.1887512207031 Z M15.7892580032349,25.2179584503174 C15.8946971893311,25.3741607666016 16.007942199707,25.5303688049316 16.1329040527344,25.6709499359131 C17.1755752563477,26.8815364837646 18.6868515014648,27.4477767944336 20.1590824127197,27.3462448120117 L20.1629886627197,27.4399700164795 C18.6556129455566,27.54541015625 17.1248092651367,26.9674491882324 16.054801940918,25.737340927124 C15.9259357452393,25.5889472961426 15.812686920166,25.4327411651611 15.7072496414185,25.2726306915283 L15.7892580032349,25.2179584503174 Z M24.1969757080078,24.6282863616943 C24.942850112915,23.0974807739258 24.8452205657959,21.2425498962402 23.8533229827881,19.774227142334 L23.9275207519531,19.723461151123 C24.9350414276123,21.2191200256348 25.0326690673828,23.1052913665771 24.2750797271729,24.6712436676025 L24.1969757080078,24.628288269043 Z M19.4834976196289,17.6498413085938 C18.4720726013184,17.7201347351074 17.4762687683105,18.0989303588867 16.6483840942383,18.8096618652344 C16.1290016174316,19.2548484802246 15.7306795120239,19.7898445129395 15.4456071853638,20.363899230957 L15.3635997772217,20.3248462677002 C15.6525774002075,19.7351741790771 16.0548076629639,19.1923637390137 16.5819969177246,18.7393684387207 C17.4255027770996,18.0169219970703 18.4408340454102,17.6303157806396 19.4717826843262,17.5561199188232 L19.4834976196289,17.6498413085938 Z M15.3440742492676,25.5225601196289 C15.4612274169922,25.6982898712158 15.5861921310425,25.8662090301514 15.7228698730469,26.0302238464355 C16.8826923370361,27.3774890899658 18.5540809631348,28.0023059844971 20.2020378112793,27.8890571594238 L20.2059459686279,27.9788761138916 C18.5345573425293,28.0960330963135 16.8319244384766,27.4555912017822 15.6525774002075,26.0888004302979 C15.5080890655518,25.9208793640137 15.3831253051758,25.7490520477295 15.2620668411255,25.5733222961426 L15.3440742492676,25.5225563049316 Z M24.6851119995117,24.8704032897949 C25.5169010162354,23.1677722930908 25.4036560058594,21.1058731079102 24.3063144683838,19.4774360656738 L24.3844203948975,19.4266700744629 C25.5012798309326,21.0824413299561 25.6106262207031,23.1794891357422 24.7710266113281,24.9094562530518 L24.6851119995117,24.8704032897949 Z M19.4444484710693,17.1148414611816 C18.3197746276855,17.192943572998 17.2107200622559,17.6146965026855 16.2930183410645,18.4035301208496 C15.7189655303955,18.8994827270508 15.2737827301025,19.4891529083252 14.9613733291626,20.1334972381592 L14.8793649673462,20.090539932251 C15.1956796646118,19.4344787597656 15.6486740112305,18.8369979858398 16.2344398498535,18.3332366943359 C17.1716690063477,17.5287857055664 18.3002490997314,17.1031246185303 19.440544128418,17.0250225067139 L19.4444484710693,17.1148414611816 Z M14.8949861526489,25.8271579742432 C15.0238542556763,26.0185108184814 15.164439201355,26.2020473480225 15.3167381286621,26.3855876922607 C16.5937118530273,27.8656272888184 18.4330215454102,28.5568313598633 20.2410888671875,28.4318695068359 L20.2449951171875,28.5216903686523 C18.4056854248047,28.6466522216797 16.5429458618164,27.9476337432861 15.2425413131714,26.4480724334717 C15.0902423858643,26.268440246582 14.9457530975342,26.0770874023438 14.8168840408325,25.8818302154541 L14.8949861526489,25.8271579742432 Z M25.1693496704102,25.1086139678955 C26.0792427062988,23.2380619049072 25.962085723877,20.9652862548828 24.751501083374,19.1728363037109 L24.8256988525391,19.1220703125 C26.0519065856934,20.9418563842773 26.1729640960693,23.2419700622559 25.2474498748779,25.1437606811523 L25.1693496704102,25.1086139678955 Z M19.4092998504639,16.5720310211182 C18.1752853393555,16.6540374755859 16.9529838562012,17.1187438964844 15.9415588378906,17.9934921264648 C15.3089294433594,18.536304473877 14.8168849945068,19.1923637390137 14.4771394729614,19.8952865600586 L14.3951320648193,19.8523292541504 C14.7426862716675,19.1337871551514 15.23863697052,18.4738235473633 15.879075050354,17.9192962646484 C16.906120300293,17.0367393493652 18.14404296875,16.5681266784668 19.4014911651611,16.482213973999 L19.4092998504639,16.5720310211182 Z M14.445897102356,26.1278514862061 C14.5864820480347,26.3348255157471 14.7387819290161,26.5417938232422 14.9067010879517,26.7370491027832 C16.2969226837158,28.3498649597168 18.3080596923828,29.107458114624 20.2801418304443,28.9707794189453 L20.2840461730957,29.0605926513672 C18.2846260070801,29.2011756896973 16.2461566925049,28.4357757568359 14.8364095687866,26.7995300292969 C14.6645851135254,26.6003684997559 14.5122852325439,26.3973064422607 14.3717002868652,26.1825218200684 L14.445897102356,26.1278514862061 Z M25.6574878692627,25.3429222106934 C26.6493892669678,23.3005447387695 26.5244235992432,20.8247013092041 25.204496383667,18.8682384490967 L25.278694152832,18.8174743652344 C26.6142425537109,20.7973670959473 26.7509231567383,23.3083572387695 25.7394962310791,25.3819770812988 L25.65749168396,25.342924118042 Z M19.3702487945557,16.0331230163574 C18.0229873657227,16.1268463134766 16.6913394927979,16.6306076049805 15.5900974273682,17.5834579467773 C14.8988914489746,18.1770324707031 14.3638916015625,18.8877639770508 13.9890003204346,19.6570739746094 L13.9069919586182,19.6141166687012 C14.2857885360718,18.8330917358398 14.8246946334839,18.1106452941895 15.5276136398315,17.5092582702637 C16.6522903442383,16.5485992431641 17.9956474304199,16.0331249237061 19.3663444519043,15.9394016265869 L19.3702507019043,16.0331230163574 Z M13.9968090057373,26.4285430908203 C14.1491079330444,26.6550407409668 14.3131246566772,26.8737258911133 14.4927587509155,27.0885105133057 C15.9962291717529,28.8380031585693 18.1752853393555,29.6541748046875 20.3113842010498,29.5057773590088 L20.3152885437012,29.5955963134766 C18.15185546875,29.7439880371094 15.945463180542,28.9200096130371 14.4185628890991,27.150993347168 C14.2311172485352,26.9362144470215 14.0710077285767,26.7097148895264 13.9187078475952,26.4832191467285 L13.9968099594116,26.4285469055176 Z M26.1456279754639,25.5811328887939 C27.2234420776367,23.3669319152832 27.0828552246094,20.6841201782227 25.6496772766113,18.5714492797852 L25.7277812957764,18.5206851959229 C27.1726722717285,20.6684970855713 27.3132553100586,23.3825531005859 26.2276363372803,25.6240901947021 L26.1456279754639,25.5811347961426 Z M19.3351039886475,15.4942178726196 C17.8745899200439,15.5957517623901 16.4336013793945,16.1424674987793 15.23863697052,17.1734199523926 C14.4888544082642,17.8177642822266 13.9108972549438,18.5831680297852 13.5047655105591,19.4188613891602 L13.422758102417,19.3759059906006 C13.8367004394531,18.532398223877 14.4185628890991,17.7513732910156 15.176155090332,17.0992221832275 C16.3867416381836,16.0604610443115 17.8472537994385,15.5020294189453 19.3272933959961,15.4004955291748 L19.3351058959961,15.4942178726196 Z M13.5477199554443,26.7370491027832 C13.7117366790771,26.9791698455811 13.8874664306641,27.2134742736816 14.0827226638794,27.4438743591309 C15.7072505950928,29.3261432647705 18.0503215789795,30.2204132080078 20.350435256958,30.0563983917236 L20.3543395996094,30.14621925354 C18.0268898010254,30.310230255127 15.6525793075562,29.4081497192383 14.01243019104,27.5024509429932 C13.8132696151733,27.2720470428467 13.6375398635864,27.0338363647461 13.4696197509766,26.7878150939941 L13.547721862793,26.7370491027832 Z M26.633768081665,25.8193473815918 C27.793586730957,23.4333209991455 27.6451950073242,20.5435333251953 26.0987644195557,18.2668514251709 L26.1729640960693,18.2160835266113 C27.7311058044434,20.5279140472412 27.8834037780762,23.4489421844482 26.7118682861328,25.8623046875 L26.633768081665,25.8193492889404 Z M19.2921485900879,14.9475021362305 C17.7183856964111,15.0607500076294 16.1641502380371,15.6582336425781 14.8793649673462,16.7633800506592 C14.071005821228,17.4545860290527 13.4500932693481,18.286376953125 13.0127210617065,19.1845550537109 L12.9346179962158,19.1415977478027 C13.3758964538574,18.2317085266113 14.0046195983887,17.3921051025391 14.8246946334839,16.6852779388428 C16.1290016174316,15.5684146881104 17.698860168457,14.9631233215332 19.2921485900879,14.8537788391113 L19.2921485900879,14.9475021362305 Z M13.0986328125,27.0377464294434 C13.2743625640869,27.2993850708008 13.4657125473022,27.5532169342041 13.6726846694946,27.795337677002 C15.4143676757813,29.814281463623 17.9214534759521,30.7632293701172 20.3933925628662,30.5992107391357 L20.3972969055176,30.6890296936035 C17.9058322906494,30.8608551025391 15.3636016845703,29.9001922607422 13.6023931503296,27.8578186035156 C13.3876123428345,27.611795425415 13.2001667022705,27.3579616546631 13.0205307006836,27.0924167633057 L13.0986337661743,27.0377464294434 Z M27.1180038452148,26.057559967041 C28.3598289489746,23.5036125183105 28.1997203826904,20.4068565368652 26.5478553771973,17.9622535705566 L26.6220531463623,17.911491394043 C28.2895412445068,20.3834266662598 28.449649810791,23.5153312683105 27.1961078643799,26.0966129302979 L27.1180057525635,26.057559967041 Z M19.2530975341797,14.4046907424927 C17.5699920654297,14.5218448638916 15.9025068283081,15.1622829437256 14.5240001678467,16.3494396209717 C13.6609687805176,17.0914115905762 12.9931936264038,17.9778747558594 12.5245800018311,18.9424381256104 L12.4464778900146,18.9033870697021 C12.9189968109131,17.9271049499512 13.5906772613525,17.0328330993652 14.4654226303101,16.275239944458 C15.8634538650513,15.0763692855835 17.5426578521729,14.4281206130981 19.2491893768311,14.3109674453735 L19.2530975341797,14.4046897888184 Z M12.6456384658813,27.338436126709 C12.833083152771,27.6156997680664 13.036150932312,27.8851528167725 13.2587413787842,28.1467990875244 C15.1097679138184,30.2985153198242 17.7925834655762,31.3177547454834 20.4246311187744,31.1342144012451 L20.545690536499,32.8446502685547 C17.3981666564941,31.759033203125 14.2545471191406,29.7596111297607 12.5323905944824,27.416540145874 L12.6456394195557,27.338436126709 Z M31.0348358154297,14.9318819046021 C33.8308944702148,19.0830192565918 34.0222473144531,24.2260589599609 31.9798717498779,28.4240608215332 L27.6061401367188,26.2879581451416 C28.9338779449463,23.5660915374756 28.7620544433594,20.2623653411865 26.9969444274902,17.6537475585938 L31.0348358154297,14.9318819046021 Z M12.2590312957764,11.2845039367676 C14.3014059066772,9.90599632263184 16.5819969177246,9.16402435302734 18.8821105957031,9.00782012939453 L19.225757598877,13.8657846450806 C17.425500869751,13.9907503128052 15.6525774002075,14.6780500411987 14.1803493499756,15.9394016265869 C13.2587413787842,16.7321434020996 12.5480108261108,17.6810836791992 12.0442504882813,18.7042255401611 L7.67051935195923,16.5681266784668 C8.67022895812988,14.5062255859375 10.2166557312012,12.6669158935547 12.2590312957764,11.2845039367676 Z M8.61165237426758,30.068115234375 L12.1653089523315,27.6703720092773 C14.00852394104,30.1657428741455 17.2927284240723,32.2393569946289 20.5808372497559,33.3367004394531 L20.7682819366455,35.9960784912109 C16.1094741821289,36.3123931884766 11.4077157974243,34.2153511047363 8.61165237426758,30.068115234375 Z" p-id="3259" fill="#FF2C2C2C" stroke="Null"></path>
1(13)fxSuperButton16屬性設定
Height
:設定控制元件高度=45
。Width
:設定控制元件寬度=175
。Opacity
:設定控制元件的透明度=0.9
。ButtonType
:設定按鈕型別,設定為TfxSvgButton
。Name
:設定控制元件名稱=fxSuperButton16
。ButtonType.Text
:設定按鈕文字=16 寫多個保持暫存器
。ButtonType.AlgnType
:設定按鈕中影象的對齊位置,設定為aLeft
。ButtonType.SvgData
:設定SVG數據,其數據內容如下。
<path d="M6.3654899597168,5.66465950012207 C5.4343581199646,5.66465950012207 4.68077278137207,6.41824436187744 4.68077278137207,7.3493766784668 L4.68077278137207,14.0843029022217 C4.68077278137207,15.0154361724854 5.4343581199646,15.7690191268921 6.3654899597168,15.7690191268921 L36.6667404174805,15.7690191268921 C37.5978660583496,15.7690191268921 38.3514518737793,15.0154361724854 38.3514518737793,14.0843029022217 L38.3514518737793,7.3493766784668 C38.3514518737793,6.41824436187744 37.5978698730469,5.66465950012207 36.6667404174805,5.66465950012207 L6.3654899597168,5.66465950012207 Z M12.3626108169556,35.1255187988281 L4.68077278137207,35.1255187988281 L4.68077278137207,33.440803527832 L12.3626108169556,33.440803527832 C12.7374324798584,31.9888648986816 14.0552215576172,30.9156932830811 15.6215734481812,30.9156932830811 C17.4798927307129,30.9156932830811 18.9870624542236,32.4228668212891 18.9870624542236,34.2811889648438 C18.9870624542236,36.1395034790039 17.4838371276855,37.6506271362305 15.6255178451538,37.6506271362305 C14.0552215576172,37.6506271362305 12.7374324798584,36.5774536132813 12.3626108169556,35.1255187988281 Z M12.3626108169556,23.3403854370117 L4.68077278137207,23.3403854370117 L4.68077278137207,21.6556644439697 L12.3626108169556,21.6556644439697 C12.7374324798584,20.2037353515625 14.0552215576172,19.1305618286133 15.6215734481812,19.1305618286133 C17.4798927307129,19.1305618286133 18.9870624542236,20.6377372741699 18.9870624542236,22.4960517883301 C18.9870624542236,24.3543701171875 17.4798927307129,25.8615417480469 15.6215734481812,25.8615417480469 C14.0552215576172,25.8654861450195 12.7374334335327,24.7923202514648 12.3626127243042,23.3403816223145 Z M4.14024257659912,28.3905906677246 C3.4418933391571,27.7751007080078 3.00000023841858,26.8715839385986 3.00000023841858,25.8654899597168 L3.00000023841858,19.1345100402832 C3.00000023841858,18.1284141540527 3.4418933391571,17.2248992919922 4.14024257659912,16.6094055175781 C3.4418933391571,15.9939126968384 3.00000023841858,15.0903978347778 3.00000023841858,14.0843029022217 L3.00000023841858,7.3493766784668 C3.00000023841858,5.49105787277222 4.50717210769653,3.98388671875 6.3654899597168,3.98388671875 L36.6667404174805,3.98388671875 C38.5250511169434,3.98388671875 40.0322265625,5.49105787277222 40.0322265625,7.3493766784668 L40.0322265625,14.0843029022217 C40.0322265625,15.0903978347778 39.5903282165527,15.9939126968384 38.8919830322266,16.6094055175781 C39.5903282165527,17.2248992919922 40.0322265625,18.1284141540527 40.0322265625,19.1345100402832 L40.0322265625,25.8694362640381 C40.0322265625,26.8755302429199 39.5903282165527,27.7790451049805 38.8919830322266,28.3945407867432 C39.5903282165527,29.01003074646 40.0322265625,29.9135456085205 40.0322265625,30.919641494751 L40.0322265625,37.6506271362305 C40.0322265625,39.5089378356934 38.5250511169434,41.01611328125 36.6667404174805,41.01611328125 L6.3654899597168,41.01611328125 C4.50717115402222,41.01611328125 3,39.5089378356934 3,37.6506271362305 L3,30.9156932830811 C3,29.9095993041992 3.43794775009155,29.01003074646 4.14024257659912,28.3905906677246 Z M36.6667404174805,27.5502052307129 C37.5978660583496,27.5502052307129 38.3514518737793,26.7966213226318 38.3514518737793,25.8654899597168 L38.3514518737793,19.1345100402832 C38.3514518737793,18.2033767700195 37.5978698730469,17.4497890472412 36.6667404174805,17.4497890472412 L6.3654899597168,17.4497890472412 C5.4343581199646,17.4497890472412 4.68077278137207,18.2033767700195 4.68077278137207,19.1345100402832 L4.68077278137207,25.8694362640381 C4.68077278137207,26.8005657196045 5.4343581199646,27.5541515350342 6.3654899597168,27.5541515350342 L36.6667404174805,27.5541515350342 Z M6.3654899597168,29.2349224090576 C5.4343581199646,29.2349224090576 4.68077278137207,29.9885101318359 4.68077278137207,30.919641494751 L4.68077278137207,37.6506271362305 C4.68077278137207,38.5817527770996 5.4343581199646,39.3353385925293 6.3654899597168,39.3353385925293 L36.6667404174805,39.3353385925293 C37.5978660583496,39.3353385925293 38.3514518737793,38.5817565917969 38.3514518737793,37.6506271362305 L38.3514518737793,30.9156932830811 C38.3514518737793,29.9845657348633 37.5978698730469,29.230978012085 36.6667404174805,29.230978012085 L6.3654899597168,29.230978012085 Z M15.6255178451538,24.1847190856934 C16.5566520690918,24.1847190856934 17.3102378845215,23.4311332702637 17.3102378845215,22.5 C17.3102378845215,21.5688629150391 16.5566520690918,20.8152809143066 15.6255178451538,20.8152809143066 C14.6943874359131,20.8152809143066 13.9408016204834,21.568868637085 13.9408016204834,22.5 C13.9408016204834,23.4311275482178 14.6943874359131,24.1847190856934 15.6255178451538,24.1847190856934 Z M15.6255178451538,35.9659042358398 C16.5566520690918,35.9659042358398 17.3102378845215,35.2123222351074 17.3102378845215,34.2811889648438 C17.3102378845215,33.3500518798828 16.5527038574219,32.6004104614258 15.6255178451538,32.6004104614258 C14.6983318328857,32.6004104614258 13.9408016204834,33.3539962768555 13.9408016204834,34.2851333618164 C13.9408016204834,35.2162704467773 14.6943874359131,35.9658966064453 15.6255178451538,35.9658966064453 Z M23.2008323669434,20.8152847290039 L24.8855495452881,20.8152847290039 L24.8855495452881,24.1807727813721 L23.2008323669434,24.1807727813721 L23.2008323669434,20.8152847290039 Z M23.2008323669434,32.6004180908203 L24.8855495452881,32.6004180908203 L24.8855495452881,35.9659042358398 L23.2008323669434,35.9659042358398 L23.2008323669434,32.6004104614258 Z M28.2510356903076,20.8152847290039 L29.935754776001,20.8152847290039 L29.935754776001,24.1807727813721 L28.2510356903076,24.1807727813721 L28.2510356903076,20.8152847290039 Z M28.2510356903076,32.6004180908203 L29.935754776001,32.6004180908203 L29.935754776001,35.9659042358398 L28.2510356903076,35.9659042358398 L28.2510356903076,32.6004104614258 Z M33.3012466430664,20.8152847290039 L34.9859657287598,20.8152847290039 L34.9859657287598,24.1807727813721 L33.3012466430664,24.1807727813721 L33.3012466430664,20.8152847290039 Z M33.3012466430664,32.6004180908203 L34.9859657287598,32.6004180908203 L34.9859657287598,35.9659042358398 L33.3012466430664,35.9659042358398 L33.3012466430664,32.6004104614258 Z M15.6255178451538,14.0843048095703 C13.767201423645,14.0843048095703 12.2600297927856,12.5771341323853 12.2600297927856,10.7188158035278 C12.2600297927856,8.86049842834473 13.767201423645,7.35332489013672 15.6255178451538,7.35332489013672 C17.4838371276855,7.35332489013672 18.9910049438477,8.86049652099609 18.9910049438477,10.7188158035278 C18.9910049438477,12.5771341323853 17.4838371276855,14.0843048095703 15.6255178451538,14.0843048095703 Z M15.6255178451538,12.399585723877 C16.5566520690918,12.399585723877 17.3102378845215,11.6459999084473 17.3102378845215,10.7148685455322 C17.3102378845215,9.78373622894287 16.5566520690918,9.0301513671875 15.6255178451538,9.0301513671875 C14.6943874359131,9.0301513671875 13.9408016204834,9.78768253326416 13.9408016204834,10.7148685455322 C13.9408016204834,11.6420564651489 14.6943874359131,12.399585723877 15.6255178451538,12.399585723877 Z M4.68077278137207,11.5591983795166 L4.68077278137207,9.87448120117188 L13.1240873336792,9.87448120117188 L13.1240873336792,11.5591983795166 L4.68077182769775,11.5591983795166 Z M23.2008323669434,9.03409481048584 L24.8855495452881,9.03409481048584 L24.8855495452881,12.3995847702026 L23.2008323669434,12.3995847702026 L23.2008323669434,9.03409481048584 Z M28.2510356903076,9.03409481048584 L29.935754776001,9.03409481048584 L29.935754776001,12.3995847702026 L28.2510356903076,12.3995847702026 L28.2510356903076,9.03409481048584 Z M33.3012466430664,9.03409481048584 L34.9859657287598,9.03409481048584 L34.9859657287598,12.3995847702026 L33.3012466430664,12.3995847702026 L33.3012466430664,9.03409481048584 Z" p-id="9674" fill="#FF2C2C2C" stroke="Null"></path>
1
# 3. 程式設計
點選程式設計界面右下角的按鈕,切換至單元選擇界面,勾選需要使用的單元。該程式需要引用uModbusTCP
單元。
# 3.1. 程式初始設定
該程式無初始設定。
# 3.2. 事件設定
- ⑤fxSuperButtonConnect-OnClick事件
點選以啟用ModbusTCP連線。
Procedure fxSuperButtonConnectOnClick(Sender: TObject);
Begin
fxModbusTCP1.Host := fxEditHost.Text;
fxModbusTCP1.Port := StrToInt(fxEditPort.Text);
fxModbusTCP1.AutoConnect := True;
End;
2
3
4
5
6
- ⑥fxSuperButton01-OnClick事件
點選按鈕執行讀取線圈數值。
Procedure fxSuperButton01OnClick(Sender: TObject);
//01 讀取線圈狀態,可以讀取一個,也可以讀取多個
var
v: Boolean;
s: String;
Begin
//讀取單個線圈暫存器數值
if fxModbusTCP1.ReadCoil(1,v) then //地址以1為開始,對應實際地址為0
begin
if v Then
fxMemo1.Lines.Add('讀取單個線圈數值:1')
else
fxMemo1.Lines.Add('讀取單個線圈數值:0');
End
else
fxMemo1.Lines.Add('讀取單個線圈數值->>> 出錯!');
//讀取多個線圈暫存器數值
if fxModbusTCP1.ReadCoils(1,2,s) then //地址以1為開始,讀取兩位暫存器值
begin
fxMemo1.Lines.Add('讀取多個線圈數值:' + s);
End
else
fxMemo1.Lines.Add('讀取多個線圈數值->>> 出錯!');
End;
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
- ⑦fxSuperButton02-OnClick事件
點選該按鈕,執行讀取離散輸入暫存器。
Procedure fxSuperButton02OnClick(Sender: TObject);
//02 讀取離散輸入暫存器,可以讀取一個,也可以讀取多個
var
s: String;
Begin
//讀取離散輸入暫存器
if fxModbusTCP1.ReadInputBits(1,2,s) Then
begin
fxMemo1.Lines.Add('讀取多個離散輸入暫存器:' + s);
End
else
fxMemo1.Lines.Add('讀取多個離散輸入暫存器->>> 出錯!');
End;
2
3
4
5
6
7
8
9
10
11
12
13
- ⑧fxSuperButton03-OnClick事件
點選該按鈕,執行讀取保持暫存器。
Procedure fxSuperButton03OnClick(Sender: TObject);
//03 讀取保持暫存器,可以讀取一個,也可以讀取多個
var
v: Word;
s: String;
Begin
//讀取單個保持暫存器
if fxModbusTCP1.ReadHoldingRegister(1,v) Then
begin
fxMemo1.Lines.Add('讀取單個保持暫存器:' + IntToStr(v));
End
else
fxMemo1.Lines.Add('讀取單個保持暫存器->>> 出錯!')
//讀取多個保持暫存器
if fxModbusTCP1.ReadHoldingRegisters(1,2,s) Then
begin
fxMemo1.Lines.Add('讀取多個保持暫存器:' + s);
End
else
fxMemo1.Lines.Add('讀取多個保持暫存器->>> 出錯!');
End;
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
- ⑨fxSuperButton04-OnClick事件
點選該按鈕,執行讀取輸入暫存器。
Procedure fxSuperButton04OnClick(Sender: TObject);
//04 讀取輸入暫存器,可以讀取一個也可以讀取多個
var
v: Word;
s: String;
Begin
//讀取單個輸入暫存器
if fxModbusTCP1.ReadInputRegister(1,v) Then
begin
fxMemo1.Lines.Add('讀取單個輸入暫存器:' + IntToStr(v));
End
else
fxMemo1.Lines.Add('讀取單個保持暫存器->>> 出錯!')
//讀取多個輸入暫存器
if fxModbusTCP1.ReadInputRegisters(1,2,s) Then
begin
fxMemo1.Lines.Add('讀取輸入暫存器:' + s);
End
else
fxMemo1.Lines.Add('讀取輸入暫存器->>> 出錯!');
End;
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
- ⑩fxSuperButton05-OnClick事件
點選該按鈕,執行寫入線圈暫存器。
Procedure fxSuperButton05OnClick(Sender: TObject);
//05 寫入線圈暫存器
Begin
if fxModbusTCP1.WriteCoil(1,1) Then
begin
fxMemo1.Lines.Add('寫入單個線圈暫存器:1');
End
else
fxMemo1.Lines.Add('寫入單個線圈暫存器->>> 出錯!');
End;
2
3
4
5
6
7
8
9
10
- (11)fxSuperButton06-OnClick事件
點選該按鈕,執行寫入單個保持暫存器。
Procedure fxSuperButton06OnClick(Sender: TObject);
//06 寫入單個保持暫存器
Begin
if fxModbusTCP1.WriteRegister(1,123) Then
begin
fxMemo1.Lines.Add('寫入單個暫存器:123');
End
else
fxMemo1.Lines.Add('寫入單個暫存器->>> 出錯!');
End;
2
3
4
5
6
7
8
9
10
- (12)fxSuperButton15-OnClick事件
點選該按鈕,執行寫入多個線圈暫存器。
Procedure fxSuperButton15OnClick(Sender: TObject);
//15 寫入多個線圈暫存器
Begin
if fxModbusTCP1.WriteCoils(1,3,'1,0,1') Then
begin
fxMemo1.Lines.Add('寫入多個線圈暫存器:1,0,1');
End
else
fxMemo1.Lines.Add('寫入多個線圈暫存器->>> 出錯!');
End;
2
3
4
5
6
7
8
9
10
- (13)fxSuperButton16-OnClick事件
點選該按鈕,執行寫入多個保持暫存器。
Procedure fxSuperButton16OnClick(Sender: TObject);
//16 寫入多個保持暫存器
Begin
if fxModbusTCP1.WriteRegisters(1,'1,123,224') Then
begin
fxMemo1.Lines.Add('寫入多個暫存器:1,123,224');
End
else
fxMemo1.Lines.Add('寫入多個暫存器->>> 出錯!');
End;
2
3
4
5
6
7
8
9
10
# 4. 運行結果
使用滑鼠在 PinToo 功能表,點選[儲存至資料庫]
按鈕,將其儲存至資料庫,點選[除錯運行]
確認能夠正常打開。
通過同步中心,將程式上傳至手機PinToo運行;同步時,請確保手機已經運行PinToo,並且已經登錄。
打開ModbusTCP模擬設備,在手機端輸入設備的IP地址以及埠號,點選連線按鈕,可點選下方的按鈕進行測試,點選時需注意將模擬設備的暫存器切換成對應的型別,否則在點選按鈕時會出現錯誤。