background image

Fidelix FX-RP multiDISPLAY  

Programming manual  

page 34 of 38  

Graphical look-up table editor 

The FX-RP multiDISPLAY can handle graphical look-up table editing with up to 10 points. The actual look-up 

table must be implemented inside the Modbus master. Use the #LUT definition as a part of point name in the 

graphics editor to use the look-up table function. The LUT operation is started by the FX-RP multiDISPLAY if a 

point with #LUT definition is clicked. The FX-RP multiDISPLAY writes the point number of the requested LUT to 

register 2310. The Modbus master needs to poll register 2310 to notice the LUT request. After the request, the 

Modbus master should write the correct data to registers 2311-2339 and set register 2310 to “0xAAAA” indicating 

that the data is uploaded to the FX-RP multiDISPLAY. After the user has finished the modification of the LUT 

points, the FX-RP multiDISPLAY saves the (new) values to registers 2320-2339 and register 2310 is set to value 

“ point number” indicating to the Modbus master that the process has finished. The Modbus master 

can then read out the registers again to update the actual lookup table which resides inside the Modbus master 

Reg2310 

Status register 

Reg2311 

Minimum value of x-axis 

Reg2312 

Maximum value of x-axis 

Reg2313 

Minimum value of y-axis 

Reg2314 

Maximum value of y-axis 

Reg2315 

Divider 

Reg2316 

Point count 

Reg2317 

Hairline (0=do not draw, 1=draw) 

Reg2318 

adjust buttons (0=no buttons, 1=upper left corner, 2 = upper right corner, 3=lower left 

corner, 4=lower right corner) 

Reg2319 

reserved 

Reg2320 

X value of point 1 

… 

 

Reg2329 

X value of point 10 

Reg2330 

Y value of point 1 

… 

 

Reg2339 

Y value of Point 10 

 

String Variables 

The string section (registers 2400-2911) is divided into 8 blocks with 64 registers in each block (blocks 0 to 7; 

block 0: registers 2400-2463, block 1: registers 2464-2527, block 2: registers 2528-2591, block 3: registers 2592-

2655, block 4: registers 2556-2719, block 5: registers 2720-2783, block 6: registers 2784-2847, block 7: registers 

2848-2911). Each block may contain one or more strings. The first register of each block contains the count of 

strings in that block. The following X registers contain the start register and length of the corresponding string 

where X = the number of strings in that block. As an example the register section containing strings "Hello,", 

"Fidelix" and "rules!" should be configured as follows: 

Register 

HEX value 

Decimal value 

 

2400 

0x0003 

number of strings = 3 

2401 

0x0406 

1030 

Start register of first string       = 4,   length = 6 bytes 

2402 

0x0707 

1799 

Start register of second string = 7,   length = 7 bytes 

2403 

0x0B06 

2822 

Start register of third string     = 11, length = 6 bytes 

2404 

0x4865 

18533 

‘H’            

‘e’ 

2405 

0x6C6C 

27756 

‘l’ 

‘l’ 

2406 

0x6F2C 

28460 

‘o’ 

‘,’ 

2407 

0x4669 

18025 

‘F’ 

‘i’ 

2408 

0x6465 

25701 

‘d’ 

‘e’ 

2409 

0x6C69 

27753 

‘l’ 

‘i’ 

2410 

0x7800 

30720 

‘x’ 

 

2411 

0x7275 

29301 

‘r’ 

‘u’ 

2412 

0x6C65 

27749 

‘l’ 

‘e’ 

2413 

0x7321 

29473 

‘s’ 

‘!’ 

Содержание multiDISPLAY FX-HP

Страница 1: ...ing projects on the multiDISPLAY 14 Loading projects into the FX RP multiDISPLAY s internal memory 14 With an FX controller 14 With a multi24 module and a PC 15 With a µSD memory card 15 Using graphics from a μSD Card 15 Minimizing binary file size 15 Multiple projects on one μSD Card 16 Uploading a project via Modbus 16 Detailed programming 17 Introduction 17 Visualisation customisation 18 IEEE 7...

Страница 2: ...X RP multiDISPLAY as a slave and a master device uses the Modbus RTU protocol The FX RP multiDISPLAY has 250 predefined points POINTxxx that can be freely used Each point has 6 registers containing its value unit divider etc see Input data and Output data When working with other Fidelix devices the programmer does not need to know about the Modbus registers for the multi24 all necessary code is ge...

Страница 3: ...andard European pattress box electrical socket or light switch size Both have external dimensions of 85x85mm The FX RP A is straight The FX RP B is 7 tilted upwards The FX RP C is without encasing The FX HP Fidelix Hand Panel Though the PCB for the Room Panel and Hand Panel have a different shape they have in fact the same hardware specifications and can thus be used with the exact same software ...

Страница 4: ...he second generation displays use a processor with product code STM32F405 and require firmware with version number 2 xx You can also recognise the different generation displays by their different programming connector the red plastic connector used during production capacitor the part looking like a small button battery holding time schedule settings and the clock for 10 50 hours and tamper switch...

Страница 5: ...d from a link on the multiDISPLAY After calibration the settings screen is opened Time Date Modbus address display brightness and the five internal time schedules can be adjusted from this page Also the firmware version is show here and click sounds can be en disabled the orientation of the display can be changed and the precision of the screen can be adjusted by selecting finger mode Here the fiv...

Страница 6: ... the RDFW BIN file to update several displays consecutively by naming the file RDFWKEEP BIN Basically this has the same effect as having both the RDFW BIN and the RDFW_LOADED BIN file on the μSD card Using the FX RP multiDISPLAY with the Fidelix multi24 room controller module The FX RP multiDISPLAY can be connected to the multi24 s external bus either using the RJ12 connector or via the P2 G0 EA a...

Страница 7: ...or all files The second way to achieve the same goal is by following the steps below carefully sometimes the unblocking doesn t seem to be enough and then the following method needs to be used 1 Unzip the program preserving the subfolder structure and save the folder on your local hard drive 2 Delete the downloaded zip file 3 Re zip the whole folder you just unzipped locally and save the new zip f...

Страница 8: ...asiest way to mark the available graphics area is to put an element without pointID at 320 X and 240 Y pixels like in the example files Important to know is also that the project folder and the graphics editor program folder have to be on the same logical Windows drive e g C because of the same Windows rights reasons the editor needed to be unblocked With the editor a set of htm pages can be made ...

Страница 9: ...gh the pages in your project folder Be careful when switching from page to page through the menu any unsaved changes will be lost and there is NO popup box to remind you to save changes Caution Trying to load the FXINDEX page without it being present in your working folder will cause an error like this to pop up and will cause the editor to completely freeze or get stuck in an endless loop of erro...

Страница 10: ...aphical elements have to be either bmp gif dynamic gifs don t work on the display jpg jpeg or png Display points are referenced by their pointID POINT1 through to POINT250 Modbus master points are defined by using MODBUS followed by the configuration of the point in the pointID input field If you want to use a multi stage image like the power buttons in the example pages enter the desired values t...

Страница 11: ...programming section HTML to Multi Display Room Display Converter The program s UI The Open file button is used to start the process Select the htm page that you want to use as a start page each time the display is powered on Also any links inside your project to CLOSE will direct the user to this page The converter can also be used to check how much memory a single image will take after conversion...

Страница 12: ...ackground for images The loading of images takes more time if a transparent background is used If not selected then instead of transparency the page s background colour is used The Use Transparency for Text selection defines if you want to have transparent background for text The loading of text takes more time if a transparent background is used If not selected then instead of transparency the pa...

Страница 13: ...settings and the converter The converter works in such a way that it loads each page and then takes a screenshot of your actual computer screen This means that during conversion no other windows are allowed inside or on top of the converter window as whatever is placed on top will be visible on the display Make sure to set the Microsoft Windows zoom or scale factor to 100 in the Windows settings H...

Страница 14: ...ou want to use the graphics from the FX RP multiDISPLAY s internal memory the uSD card tick box is NOT ticked When the box is not ticked the converter will generate 1 file that contains the whole project and that will be copied into the display s internal memory When the box is ticked the same file will only contain the used fonts of the project and links to the files on the µSD card With an FX co...

Страница 15: ...the FX RP multiDISPLAY A μSD card also needs to be used if more than 768 kB storage space is needed When using a µSD memory card please make sure you are using cards of good quality from a trustworthy manufacturer SDXC cards are not readable by the FX RP multiDISPLAY A good reference list for memory cards quality can be found here https elinux org RPi_SD_cards Minimizing binary file size If your p...

Страница 16: ... card can then be removed making this a very useful feature for situations where you don t know in advance with what equipment the FX RP multiDISPLAY is going to be used Uploading a project via Modbus Graphical pages stored on the FX RP multiDISPLAY s internal memory or on the µSD can be updated through Modbus registers 65278 65343 by any Modbus master 65278 65341 64 data registers 65342 statusCPU...

Страница 17: ...sed in the yellow part is to 1 define the number of decimals and the unit displayed 2 help to get the graphics correct during design Ticking Show point value will enable the displaying of the actual value of the point or register mentioned in the PointID field When not ticked the middle column needs to contain the texts that will be shown when the point has the corresponding value specified in the...

Страница 18: ... to evaluate this user entered value Showing text based on the value of a point like for instance on off day night or off startup slow fast error is done by selecting a text type element and writing the desired values and corresponding texts in the yellow box inside the EditPoint dialog box More details can be found in the Status texts section later in this document To use a multi stage image like...

Страница 19: ...aling out completely The hiding is particularly useful when your value has decimals as the Low Middle and High values are before division for example if one decimal is in use and you need to limit minimum value to 10 0 use parameter MIN 100 The Middle value can be omitted and even HAS to be omitted when using this combined with the NOEDIT tag NOEDIT makes a Bar Display element only show a value wh...

Страница 20: ...ributed to it So only the actual received value can be visualised Increment Decrease Minimum Maximum When a symbol or button is selected this can be used to increment or decrease the value of a point For this the pointID just contains the point name e g POINT145 and in the Fixed value field 3 numbers separated by spaces define the incrementation or decrementation step the minimum value and the max...

Страница 21: ... consumption to the screen show the price that needs to be paid To use math operators simply add a suffix to the pointID field POINTxx MATH POINTyy POINTzz POINTxx MATH POINTyy POINTzz POINTxx MATH POINTyy POINTzz POINTxx MATH POINTyy POINTzz This function is only available during slave mode operation Status texts By default the number of different texts for fixed values so called Status Texts is ...

Страница 22: ... for example when you are making a text input page Time and date temperature firmware version and Modbus address Time date locally measured temperature and the display s firmware version and Modbus address can be displayed in various ways pointID Further customisation in Text field of the EditPoint dialog box Result TIME n a 16 23 45 TIME2 n a 16 23 TIME3 hh HH 24h 12h without leading zero mm minu...

Страница 23: ... rest of the project layout and graphical style For this use following pointIDs Day selection 0 not active 1 active TIMESCH1_MON TIMESCH1_TUE TIMESCH1_WED TIMESCH1_THU TIMESCH1_FRI TIMESCH1_SAT TIMESCH1_SUN TIMESCH5_MON TIMESCH5_TUE TIMESCH5_WED TIMESCH5_THU TIMESCH5_FRI TIMESCH5_SAT TIMESCH5_SUN Time schedule status Any integer value from 0 15 TIMESCH1_STATE1 TIMESCH1_STATE5 TIMESCH1_STATE2 TIMES...

Страница 24: ...like it does when you trigger the calibration by pressing in the same spot on the display for 10 seconds If DISPLAY_SETTINGS is specified in the link field of the object the link will go to settings page immediately a page otherwise brought up by long pressing on the same place on the multiDISPLAY Dynamic links can be created by using the value of a display POINT to select the page to navigate to ...

Страница 25: ...pages can be force shown at any given time meaning the user doesn t have to be on the page containing the link for the linked page to pop up when instructed so by the Modbus master This function is only available during slave mode operation If HISTORY is suffixed to the pointID from which the link is called in this case the linked must be called from one of the 250 points the history graph window ...

Страница 26: ...on1 png FdxButton2 png FdxButton3 png FdxButton4 png FdxButton5 png FdxButton6 png FdxButton7 png FdxButton8 png FdxButton9 png FdxButtonBackSpace png FdxButtonPlusMinus png FdxButtonCancel png FdxButtonDot png FdxButtonOk png The multiDISPLAY demo projects folder contains an example project folder named Keypad example that will help you on your way Extended UTF 8 character support The FX RP multi...

Страница 27: ...egister order IEEE 754 dual register single precision floating point IEEE 754 dual register single precision floating point with reversed register order bitmask operation for register bitmask is presented in hex format and it can contain one or more bits set Example BITMASK 0020 means the 6th bit In addition to these settings some serial settings and other communication related settings are needed...

Страница 28: ...es are not shown on the multiDISPLAY In this case it can be used in combination with MODBUSDEVICES AUTO MODBUSDEVICE ADDRESS 10 READREG 33 WRITEREG 4 COUNT 1 TYPE HOLDING TIMEOUT 250 Affects only if MANUAL mode defined Use this to make a field that shows the value of register 33 but that writes to register 4 The slave will most likely handle the writing of the value you write into register 4 into ...

Страница 29: ...at when using a lot of Modbusdevices you calculate the actual memory used The multiDISPLAY demo projects folder contains an example project folder named Modbus master example which will help you on your way Also the folders text editing example basic example and time editing example contain example files for the master functionality An example of each of the features available in the ModbusMasterS...

Страница 30: ... 2 COUNT 1 SOURCEREG 3001 TIMEOUT 300 SENDREGISTERS ADDRESS 10 WRITEREG 5 COUNT 1 SOURCEREG 3002 TIMEOUT 300 SENDREGISTERS ADDRESS 10 WRITEREG 8 COUNT 1 SOURCEREG 3003 TIMEOUT 300 SENDREGISTERS ADDRESS 11 WRITEREG 2000 COUNT 1 SOURCEREG 3004 TIMEOUT 300 SENDREGISTERS ADDRESS 29 WRITEREG 456 COUNT 5 SOURCEREG 3007 TIMEOUT 300 local minute 0 59 SENDREGISTERS ADDRESS 12 WRITEREG 1044 COUNT 1 SOURCERE...

Страница 31: ...1 Reg00 Parameters Divider Unit Reg01 Value 16 highest bits Reg02 Value 16 lowest bits POINT2 Reg03 Reg04 Reg05 POINT3 Reg06 Reg07 Reg08 POINT250 Reg747 Parameters Divider Unit Reg748 Value 16 highest bits Reg749 Value 16 lowest bits The Parameters Divider Unit register is divided into two Parameters Divider most significant byte of the Parameters Divider Unit register and Unit least significant b...

Страница 32: ...ernal Modbus master reads from these slave display registers POINT1 Reg1000 Info Reg1001 Value 16 highest bits Reg1002 Value 16 lowest bits POINT2 Reg1003 Reg1004 Reg1005 POINT3 Reg1006 Reg1007 Reg1008 POINT250 Reg1747 Info Reg1748 Value 16 highest bits Reg1749 Value 16 lowest bits The Info register contains 0 if the value is not set from the display and 1 if the value set from the display The FX ...

Страница 33: ...e Modbus master that all points and values have been properly synchronized A 4 and a half minute video is available on Youtube to clarify this process https youtu be tEushV8ugsA This rather complex process is however not always necessary Actually in most cases we don t use it when not working with the Fidelix multi24 controller where all of these functionalities are embedded into two functions Get...

Страница 34: ...is Reg2315 Divider Reg2316 Point count Reg2317 Hairline 0 do not draw 1 draw Reg2318 adjust buttons 0 no buttons 1 upper left corner 2 upper right corner 3 lower left corner 4 lower right corner Reg2319 reserved Reg2320 X value of point 1 Reg2329 X value of point 10 Reg2330 Y value of point 1 Reg2339 Y value of Point 10 String Variables The string section registers 2400 2911 is divided into 8 bloc...

Страница 35: ...ur multi 24 module If the FX RP multiDISPLAY is connected directly to an FX controller these registers should be handled by using Modbus devices Reg Function R W Notes 3000 Internal Temperature Measurement in C R Multiplied by 10 for example 255 25 5 C 3001 Current Day R Current Day 1 31 3002 Current Month R Current Month 1 12 3003 Current Year R Current Year e g 2018 3004 Current Hour R Current H...

Страница 36: ...ction 3047 Calibration Page R W 0 normal 1 disabled also the settings page will be disabled 2 skip calibration and jump directly to settings 3048 Calibration delay R W 0 normal 7 sec all other values seconds 3049 Startup sound R W 0 normal Positive action in Quiet mode 1 or higher startup sound disabled 3050 En Disable Daylight Saving Hour Change R W 0 enabled default 1 disabled no automatic chang...

Страница 37: ...added READREG xx WRITEREG yy for master added Added feature to send fixed values from the display master depending on the internal time schedule status 1 58 1 23 Added SINGLEREG for reading writing single holding registers from the multiDISPLAY as Modbus master 1 59 1 25 Register 3053 can now be set from the local display itself also 1 60 1 27 Added dynamic links 1 63 Added free graphical interfac...

Страница 38: ...master mode Increased available memory for projects in V2 displays File table is now dynamic when more than 2 kB are needed for the internal file allocation table the converter will dynamically attribute more memory to the file table Added LOCKPATH feature to make another project start up by default Added possibility to hide on BIT or BYTE value Added UNITSPACE PointID suffix x 96 1 51 Small fix l...

Отзывы: