background image

 

 

23 

The bit-interpretation of the Input Register 0x01 error register is shown below, the bits 0 to 14 are not 

used, but it can be read without limitation, while .bit15 shows  the Watchdog MODBUS error. 

 

9.

 

BASIC MODBUS-RTU REGISTER MAP 

The  table  shown  in  this  chapter  is  our  exclusive  and  original  register  map  with  the  name  of  the 

function and their address. 

Furthermore to the register map itself, it is important to understand the relationship between Error 

words (Holding Register 0x20) and Instantaneous alarms (Input Register 0x01). 

There  is  also  a  direct  relationship  between  Holding  Register  0x20  and  Input  Register  0x01.  While 

Holding Register  0x20 is the total alarms latched, the Input Register 0x01 is the current alarm.  This 

relationship  also  applies  to  the  bit-to-bit  relation  between  registers.  Only  the  Watchdog  alarm  has 

been implemented, which means that the Latched alarms and instantaneous alarms, always match. 

To reset the alarm errors, it is necessary to reset it from the Holding Register 0x20 and not from Input 

Register 0x01, due to, the Input Register 0x01 will reset when the current error alarm disappears. To 

reset all the alarms, it is necessary to set to 0 from Coil 0x200 to 0x20F. Note: a disconnection of the 

power supply will reset all the latched alarms. 

Содержание 57434

Страница 1: ...SA and its licensors will own all right title and interest to the manual technology and information including all portions copies or modifications thereof Every effort has been made to ensure that the information given is correct However due to continuous product improvement Fluidra reserves the right to make changes to products and technical data without prior notice ...

Страница 2: ...ess setting 10 7 3 2 Baud rate selection 10 7 4 Broadcasting 11 7 5 Watchdog 11 7 5 1 Watchdog Triggering 11 7 5 2 Watchdog SETUP 12 7 5 3 Watchdog predefined Color Sequence 13 8 OPERATION MODES 14 8 1 Basic mode 14 8 1 1 Start Predefined Color Sequence 14 8 1 2 Checking current state 15 8 1 3 Actuator Change Request 16 8 1 4 Request ON 16 8 1 5 Request OFF 17 8 1 6 Changing Color 17 8 1 7 Changin...

Страница 3: ...3 ...

Страница 4: ... as traditionally done without using the MODBUS layer However we expect that the implementation of MODBUS RTU in the Lumiplus will open to our advanced customers and partners a wide range of new opportunities and implementation scenarios thanks to the simplicity and flexibility of the MODBUS RTU layer Using a MODBUS RTU message the Lumiplus can change to a specific color sequence or velocity repor...

Страница 5: ...is based in a linear structure active bus with termination at both ends Is possible coupling and uncoupling of devices during operation without affecting other devices The wire shall be twisted and shielded according to EN 50 170 The values of transmission rate supported for the device allow maximum cable length of 1 200 m without repeaters or up to 10 km using repeaters when installation is accor...

Страница 6: ...r immunity to electromagnetic interference longer life higher reliability more stability over the range of temperatures Whenever single or multiple devices are connected sharing a bus physical connection it is recommended to use terminating resistors at the ends of the bus even more when use large cable length or high speed data rates The terminating resistor is used to prevent an RF signal from b...

Страница 7: ...us org docs Modbus_Application_Protocol_V1_1b pdf 0x01 READ COILS 0x0F WRITE MULTIPLE COILS 0x05 WRITE SINGLE COIL This function is not implemented in the Lumiplus Since they can be work rounded with the functions Write Multiple Coils to the special case where the number of coils to be written is one 0x02 READ DISCRETE INPUTS REGISTER ACCESS MODE Functions in register access mode are implemented a...

Страница 8: ...bus it is because the unidirectionality between Modbus module and the Lumiplus modulator controlled trough remote control When a simultaneous request is made through Modbus and remote control and there is no conflict the last request will take effect In general there is not check on the constancy of the values sent to specific registers Therefore is the operator responsibility to check that consis...

Страница 9: ...entation It is possible to change the Start Predefined Color Sequence and Speed allso is possible to configure the Start mode with all the Lights OFF From Start is possible to go to Request Color State trough requesting an Update Predefined Color is possible to go to Request Sequence Speed State through requesting an Update Sequence Speed or go to the Watchdog State if it triggers Diagram 1 State ...

Страница 10: ... the number of bytes of data to be sent 00 31 is the new ID address 3E 15 is the CRC 7 3 2 BAUD RATE SELECTION The Baud Rate selection of the serial communications with the Lumiplus set through the 0x01 Holding Register By default 9600 bps and 8E1 8 data bits Even Parity 1 stop bit is implemented However 19200 bps and 2 stop bits are also supported when NO parity is implemented The reason for supp...

Страница 11: ... activated any request through Modbus will not be made In this State the Lumiplus only can be read and will not accept changes The alarm of the watchdog in holding register 0x20 will be at 1 only setting this alarm to 0 through Modbus or switching OFF the power supply Lumiplus will allow changes or requests To allow correct errors if a bad configuration of the watchdog has been done the first 30 s...

Страница 12: ... registers 02 is the number of bytes of data to be read 00 1E is the time configured 30 in decimal 45 88 is the CRC 7 5 2 WATCHDOG SETUP The Watchdog Setup register 0x11 must be setup in conjunction with the Watchdog triggering register and the watchdog predefined color sequence The High Byte of the register defines how to proceed when the Watchdog is triggered If it is set to 0 then the Watchdog ...

Страница 13: ...umiplus has no lights turned ON If the register is configured like 0xFFFF the luminaries remain with the color sequence previous of the alarm state Example Set watchdog predefined color sequence in case that watchdog is triggered in this example the Lumiplus will has all the lights turned OFF and the Status when triggers will be Watchdog Transmit Message 30 10 00 14 00 01 02 00 00 FC D5 Where 30 i...

Страница 14: ...ferent value of 0 is set in the High Byte The Low byte can take values from 0 to 12 these are 12 configured colors or 8 sequences If it is set to 0 any light will be ON when the Lumiplus powers ON If the register is configured like 0xFFFF the luminaries remain with the color sequence previous of the last OFF The way to setting this parameter is the same that the Watchdog predefined color sequence ...

Страница 15: ...rent state of the Lumiplus The codes for the different states implemented in the high byte are shown in the following table 0x00 Start 0x01 Watchdog 0x02 Request Color 0x03 Request Sequence Mind the unidirectionality described in chapter 7 1 General Description Coding Examples High byte first 0x0002 2 Start State ON No error 0x0101 257 Watchdog State Alarm Light OFF Reset needed This casuistic is ...

Страница 16: ...or change request can be sent to the Lumiplus through the Holding Register 0x21 However these requests can also be sent using a bit address mode starting on coil bit 0x210 Mind that you can choose either register address mode or bit address mode However for clarification purposes and to avoid misunderstandings you should not mix both approaches as far as you do not have a clear idea on what are yo...

Страница 17: ...02 11 is the address of the first coil to set 00 01 is the number of coils to be set 1 in this case 01 is the number of bytes of data sent 01 is to set the request and then turn OFF the lights D0 6E is the CRC Also is possible to make a Request OFF by setting the Holding Register 0x21 to 0x02 8 1 6 CHANGING COLOR To change the color of the Lumiplus through Modbus is necessary to complete two steps...

Страница 18: ... Color A way to request an Update Predefined Color is using the bit address mode on the Requests Holding Register 0x21 The simplest way is setting to 1 the coil 0x213 Transmitting message 30 0F 02 13 00 01 01 01 A9 AE Where 30 is the slave address 0F is the function used Write multiple coils 02 13 is the address of the first Coil to be set 00 01 is the number of Coils to be set 1 in this case 01 i...

Страница 19: ...ng Register to be set 00 01 is the number of Holding Registers to be set 1 in this case 02 is the number of bytes of data to be sent 00 08 is the sequence to be send the sequence 8 F9 01 is the CRC Request Update Predefined Sequence Speed A way to request an Update Predefined sequence speed is using the bit address mode on the Requests Holding Register 0x21 setting to 1 the coil 0x214 Transmitting...

Страница 20: ...r to be set 00 01 is the number of Holding Registers to be set 1 in this case 02 is the number of bytes of data sent 00 08 is the speed send speed 8 F8 D0 is the CRC Request Update Predefined Sequence Speed A way to request an Update Predefined sequence speed is using the bit address mode on the Requests Holding Register 0x21 The simplest way is setting to 1 the coil 0x214 Transmitting message 30 ...

Страница 21: ...0 28 is the address of the first Holding Register to be set 00 01 is the number of Holding Registers to be set 1 in this case 02 is the number of bytes of data sent 00 01 is the time send time 1 5 minutes 38 29 is the CRC 8 1 10 CHECKING LATCHED ALARMS REGISTER It is possible to check which alarm has been activated since last alimentation disconnection or since last Alarm reset Only the Watchdog a...

Страница 22: ...CRC The way to reset the alarms is setting by 0 the holding register 0x20 Example reset all the alarms Transmitting message 30 10 00 20 00 01 02 00 00 F8 A1 Where 30 is the slave address 10 is the function used Write multiple registers 00 20 is the address of the first Holding Register to be set 00 01 is the number of Holding Register to be set 1 in this case 02 is the number of bytes of data sent...

Страница 23: ...is also a direct relationship between Holding Register 0x20 and Input Register 0x01 While Holding Register 0x20 is the total alarms latched the Input Register 0x01 is the current alarm This relationship also applies to the bit to bit relation between registers Only the Watchdog alarm has been implemented which means that the Latched alarms and instantaneous alarms always match To reset the alarm e...

Страница 24: ...ufacturer_lo 0x03 This parameter indicates the low byte that represents the Manufacturer code ID_Product_code_hi 0x04 This parameter indicates the high byte that represents the Product code ID_Product_code_lo 0x05 This parameter indicates the low byte that represents the Product code Reserved 0x06 Reserved HW_Version 0x07 This parameter indicates the Hardware Version of the Lumiplus SW_Version 0x0...

Страница 25: ...atchdog predefined color sequence 1 module reset WDT predefined color sequence 0x14 This parameter defines the color or sequence that will be activated when the Watchdog triggers 0xFFFF remains with the color sequence previous to the alarm state Color Sequence low byte The Low Byte is the color if Speed 0 or sequence if Speed is different of 0 Speed high byte The High Byte Speed 0 Color Fixed 1 to...

Страница 26: ...he High Byte indicates the actual State 1 Watchdog state 2 Request Update Predefined Color 3 Request Update Sequence Speed Latched Alarm 0x20 This parameter indicates which alarm has been activated bit1 14 Not Used Watchdog bit 15 0x20F Instantaneous Alarm 0x01 This parameter indicates the instantaneous alarms bit1 14 Not Used Watchdog bit 15 0x01F Actuators 0x00 0x21 These parameters are the poss...

Страница 27: ...nates the sequence of the light Once chosen a request update sequence speed is necessary to see the sequence change The sequence are from 1 to 8 Sequence speed 0x27 This parameter determinates the speed of the variation of the light Once chosen a request update sequence speed is necessary to see the speed change The speeds are from 1 to 8 Sleep 0x28 This parameter determinates the time in which th...

Страница 28: ...nnection between Master and Slave c With a long bus cable check the termination resistors according with the chapter 4 of this manual d Make sure than the baudrate and the bit settings are the same on Master and Slaves e Make sure that the Master is including the CRC in the sending according with Modbus standard Check the calculation of CRC f Verify that the function requested is supported by the ...

Страница 29: ...ages in this case the time between two messages to the same Slave could be bigger that the WatchDog time configured in the Slave Increase the WatchDog time in the Slave or increase the baudrate of the bus Master and Slaves 11 PRODUCT REVISION Manual v 2 0 All the information of this manual describes the behavior of the Hardware Version 1 and Software Version 1 Includes a troubleshooting guide ...

Отзывы:

Похожие инструкции для 57434