SC004MBS 0x4 Characters MODBUS RTU Slave SC004MBS is a MODBUS slave device that receives data from a Master MODBUS device and display them on the panel. The is 0 x 4 characters in size and each character place has an unique MODBUS registers address. Writing text to these registers will cause the text to be displayed on the. In addition it has 4 data fields that can be defined on each of the four s of the screen. These data fields display 6 bits signed or unsigned integers values as it representation on the screen. SC004MBS is available in RS485 or RS version. Features 0x4 Characters Standard and Large Characters Version. RS485 or RS communication port MODBUS RTU protocol 0 memory spaces for user s define messages Analog Input Ports ( 0 to 5V ) 8 Programmable I/O Ports 4 Data Fields for 6 bits Signed/Unsigned Integer or 4 Digits BCD Numbers. Programmable fixed decimal point for the data fields (dddd.d ddd.dd dd.ddd d.dddd ) Programmable Slave Address Programmable baud rate ( 9.6 9. 8.4 ) backlight control. Programmable start screen. 5 V V & 4V Input Supply Options MODBUS function code 456 and 6 SC004MBS-YG Standard Character Size. SC004MBS-B
SC004MBS 0x4 Characters MODBUS RTU Slave Standard Size Dimension (mm ) Character Size 4.75x.95 SC004MBS-LC-B Large Character Version Large Characters Version Dimension (mm) Character Size 9.75x4.48
SC004MBS 0x4 Characters MODBUS RTU Slave SC004MBS Control Board ( RS485 Version ) SC004MBS Control Board ( RS Version )
SC004MBS 0x4 Characters MODBUS RTU Slave SC004MBS-LC ( RS485 Version ) SC004MBS-LC ( RS Version ) Configure the You need to download the software MODBUSSlave from our website at www.siliconcraft.net/download.htm in order to configure the. This software is also a MODBUS master simulator which you can test the by sending the MODBUS command to it. At the configuration window you can set the address the baud rate I/O port directions the start page and the data fields parameters. To configure the install MODBUSSlave software close J jumper on the back of the connect the power and the communication port to the Computer running MODBUSSlave software. You may need the USB to RS or USB to RS485 Converter. When you turn on the power to the the first should display **SETTING MODE**.
SC004MBS 0x4 Characters MODBUS RTU Slave Select SC004MBS and the correct COM port number then click on Connect button. Then click on Configure menu to open the configuration window. At the configuration windowset your desire parameters and click Send Config Data to send the configuration data to the. If this is done correctly should display **SETTING DONE** Message on the second. Turn off the power and remove jumper on J. The should has the new setting.
SC004MBS 0x4 Characters MODBUS RTU Slave Modbus Command 05 ( Force Single Coil ) Use MODBUS command 5 to Turn on or off the backlight Turn on or off IO port at P connector. ( Note: Only pin configured as outputs can be controlled ) Register Address 0x000 0x000 0x000 0x000 0x000 0x000 0x0004 0x0004 0x0005 0x0005 0x0006 0x0006 0x0007 0x0007 0x0008 0x0008 Data Value Action Turn Off Backlight Turn On Backlight Turn Off IO Turn On IO Turn Off IO Turn On IO Turn Off IO Turn On IO Turn Off IO 4 Turn On IO 4 Turn Off IO 5 Turn On IO 5 Turn Off IO 6 Turn On IO 6 Turn Off IO 7 Turn On IO 7 Turn Off IO 8 Turn On IO 8 Each IO output is 5V and source 0mA ( max. ) Command Query [Slave ID] [ 0x05] [ Address Hi ] [ Address Lo ] [ Data Hi ] [ Data Lo ] [ CRC Hi ] [ CRC Lo ] [Slave ID] [ 0x05] [ Address Hi ] [ Address Lo ] [ Data Hi ] [ Data Lo ] [ CRC Hi ] [ CRC Lo ] Modbus Command 04 ( Read Input Registers ) When IO at connecter P is set as input port it is automatically pulled high. It is used to connect to volt free contact such as switches. The status of the input port is stored at registers 000 and read by function code 04. Both Analog Port and are 0 bits ADC ports with range of 0 to 5V. ADC representation is 0 for 0V and 0 for 5V. The value of Analog and Analog is stored at register 000 and 000 respectively Read Input Port Query [Slave ID] [ 0x04 ] [ 0x00 ] [ 0x00 ] [ 0x00 ] [ 0x0 ] [ CRC Hi ] [ CRC Lo ] [Slave ID] [ 0x04 ] [ 0x0 ] [ 0x00 ] [ Data Lo ] [ CRC Hi ] [ CRC Lo ] Each bit at Data Lo byte represent the status of the input port. i.e BIT0 represents IO etc. Read Analog Port Value [Slave ID] [ 0x04 ] [ 0x0 ] [ 0x00 ] [ 0x0 or 0x0 ] [ 0x00 ] [ 0x0 ][ CRC Hi ] [ CRC Lo ] [Slave ID ] [ 0x04 ] [ 0x0 ] [ ADC Data Hi ] [ ADC Data Lo ] [ CRC Hi ] [ CRC Lo ]
SC004MBS 0x4 Characters MODBUS RTU Slave Modbus Command 06 ( Preset Single Register ) Data Field is the area where the will displays the integer or BCD data it received. One data field is available on each. User s can configure the width of the data field it start location on each and decimal point location. Data width of the data field is the maximum digit to be displayed. For example it data field width is set to and the received data is 04 then only 04 is displayed. Start location is the number where the most significant digit to be displayed. 0 is the left most Decimal point will be inserted is configured. For example is decimal point is set to and received data is 00 then 0.0 is displayed. Trailing zeros will be automatically blanked off. There are a total of 4 data fields one on each. Displaying Text Holding registers 4000 to 40040 hold the characters to be displayed. Each registers hold two characters Modbus Command Example display at the first two locations. Query [Slave ID] [ 0x06 ] [ 0x00 ] [ 0x00 ] [ 0x ] [ 0x ] [ CRC Hi ] [ CRC Lo ] [Slave ID] [ 0x06 ] [ 0x00 ] [ 0x00 ] [ 0x ] [ 0x ] [ CRC Hi ] [ CRC Lo ] Display Integer/BCD Number Registers 4004 to 40044 hold the Unsigned integer value for data field to 4. Writing integer data to these registers will resulted the data to be displayed. Signed integer is held in registers 40045 to 40048. The - sign is inserted at the most significant digits if the value is negative 4 Digits BCD data is held in registers 40049 to 4005 Register Address Data Field 0x008 ( 4004) 0x009 ( 4004) 0x00A ( 4004 ) 0x00B ( 40044 ) 0 Unsigned Integer Unsigned Integer Unsigned Integer Unsigned Integer
SC004MBS 0x4 Characters MODBUS RTU Slave 0x00C ( 40045) 0x00D ( 40046) 0x00E ( 40047 ) 0x00F ( 40048 ) 0 Signed Integer Signed Integer Signed Integer Signed Integer 0x000 ( 40049) 0x00 ( 40050) 0x00 ( 4005 ) 0x00 ( 4005 ) 0 BCD BCD BCD BCD Display 644 ( 0x40A ) on data field 0 command example. Query [Slave ID] [ 0x06] [ 0x00][ 0x8 ] [ 0x40 ] [ 0xA ] [ CRC Hi ] [ CRC Lo ] [Slave ID] [ 0x06] [ 0x00][ 0x8 ] [ 0x40 ] [ 0xA ] [ CRC Hi ] [ CRC Lo ] Display -45 ( 0xFEB ) on data field command example. Query [Slave ID] [ 0x06] [ 0x00][ 0xD ] [ 0xFE ] [ 0xB ] [ CRC Hi ] [ CRC Lo ] [Slave ID] [ 0x06] [ 0x00][ 0xD ] [ 0xFE ] [ 0xB ] [ CRC Hi ] [ CRC Lo ] Erasing the Screen Writing to register 4005 erase the screen. Data Value Erase the whole screen. Data Value 0x000 Erase only Data Value 0x000 Erase only Data Value 0x000 Erase only Data Value 0x0004 Erase 4 only User s Defined Messages SC004MBS provides 0 memory spaces each 0 characters wide for storing user s defined messages. The messages is saved onto the EEPROM using modbus command 6 which will be explained later. The saved messages is retrieved with modbus command 06 using registers 40054 to 40057 for 0 to Data value 0 to 9 represents which saved messages to be displayed on selected. Example if message User s Message is stored in memory location. To display it on 0 send command [ Slave ID ] [ 0x06] [ 0x00 ] [ 0x5 ] [ 0x00 ] [ 0x00 ] [ CRC Hi ] [ CRC Lo ] Modbus Command 6 ( Preset Multiple Registers ) Use Modbus command 6 to send long string to the. Registers 4000 to 40040 hold the characters to be displayed. Command 6 is also used to save messages to memory location 0 to 9. Memory Location 0 4 5 6 7 Start Registers 0x008 ( 40040 ) 0x00 ( 40050 ) 0x00C ( 40060 ) 0x0046 ( 40070 ) 0x0050 ( 40080 ) 0x005A ( 40090 ) 0x0064 ( 4000 ) 0x006E ( 400 )
SC004MBS 0x4 Characters MODBUS RTU Slave 8 9 0x0078 ( 400 ) 0x008 ( 400 ) The Start Screen The saved messages can be made to be displayed at Power up using the configuration Software. Registers Summary Register Address (4000) 0x000 (4000) 0x000 (4000) 0x000 (40004) 0x0004 (40005) 0x0005 (40006) 0x0006 (40007) 0x0007 (40008) 0x0008 (40009) 0x0009 (4000) Data Value Function 0 0 0 0 0 0 0 0 0 0 0- - 4-5 6-7 8-9 0- - 4-5 6-7 8-9 0x000A (400) 0x000B (400) 0x000C (400) 0x000D (4004) 0x000E (4005) 0x000F (4006) 0x000 (4007) 0x00 (4008) 0x00 (4009) 0x00 (4000) 0- - 4-5 6-7 8-9 0- - 4-5 6-7 8-9 0x004 (400) 0x005 (400) 0x006 (400) 0x007 (4004) 0x008 (4005) 0x009 (4006) 0x00A (4007) 0x00B (4008) 0x00C (4009) 0x00D (4000) 0- - 4-5 6-7 8-9 0- - 4-5 6-7 8-9 0x00E (400) 0x00F (400) 0x000 (400) 0x00 (4004) 0x00 (4005) 0x00 (4006) 0x004 (4007) 0x005 (4008) 0x006 (4009) 0x007 (40040) 0- - 4-5 6-7 8-9 0- - 4-5 6-7 8-9
SC004MBS 0x4 Characters MODBUS RTU Slave 0x008 (4004) 0x009 (4004) 0x00A (4004) 0x00B (40044) 0x00C (40045) 0x00D (40046) 0x00E (40047) 0x00F (40048) 0x000 (40049) 0x00 (40050) 0x00 (4005) 0x00 (4005) 0x004 (4005) 0x005 0x006 0x007 0x008 (40054) (40055) (40056) (40057) Unsigned Int. Unsigned Int. Unsigned Int. Unsigned Int. Signed Int. Signed Int. Signed Int. Signed Int. BCD BCD BCD BCD 0x000 0x000 0x000 0x0004 0 to 9 0 to 9 0 to 9 0 to 9 Unsigned Integer at 0 Unsigned Integer at Unsigned Integer at Unsigned Integer at Signed Integer at 0 Signed Integer at Signed Integer at Signed Integer at 4 Digits BCD at 0 4 Digits BCD at 4 Digits BCD at 4 Digits BCD at Clear Screen Clear 0 only Clear only Clear only Clear only Predefine Message at 0 Predefine Message at Predefine Message at Predefine Message at Electrical Specifications Operating Voltage 5V Version V Version 4V Version Max 5.5V 5.0V 0.0V Nominal 5.0V.0V 4.0V Operating Temperature: Storage Temperature: Operating Humidity: 0 to 50 C -0 C to 60 C 90% RH Min 4.5V 9.0V 7.0V Operating Current SC004MBS-LC 0mA (typ ) Backlight Off 56mA (typ ) Backlight On SC004MBS 0mA (typ) Backlight Off 0mA (typ) Backlight On Other Information Mating Connector for P & P Header Dupont Connector.54mm pitch