SC1000 Modbus Setup QR
SC1000 Modbus Setup QR
Background
Modbus data is transmitted from the SC1000 using either a Modbus expansion card, or through the Ethernet service port via Modbus TCP/IP !egard"ess of the method of output used, SC1000 interna" programming and configuration is identica"
"irtual Sla#es )nabled& 4ith the 3irtua" S"aves option enab"ed, Modbus information is transmitted direct"% from the sensor registers rather than being combined into the SC1000 address Each sensor is /3irtua""%0 addressed independent"% of the SC1000 contro""er This /3irtua"0 address is not identifiab"e in the Modbus setup screen, but can be identified b% understanding the order of sensors "isted in the Te"egram setup screen The first sensor in the Te"egram setup is /3irtua""%0 addresses one number higher than the Modbus address assigned to the SC1000, the second sensor is /3irtua""%0 t#o numbers higher than the Modbus address assigned to the SC1000, and so on5 6or examp"e$ SC1000 Modbus address 7 1 1st sensor "isted in the Te"egram 7 8 8nd sensor "isted in the Te"egram 7 9 *ote& :umbered data sets "isted under each sensor in the Te"egram are no "onger used Individua" sensor register tab"es "ocated in each sensor manua" are no# uti"i&ed #hen programming the corresponding P,C/SC-.- to accept incoming Modbus data from the SC1000
+inal note& 4hether using Te"egram mode, or 3irtua" S"aves enab"ed, net#or1s #ith mu"tip"e SC10000s ma% experience addressing conf"icts if not set up correct"% In Te"egram mode, it is important that each SC1000 on the net#or1 have a different Modbus address In 3irtua" S"aves Enab"ed mode, the s%stem administrator must 1eep trac1 of both the SC1000 address and the number of virtua" addresses in the Te"egram and address the next SC1000 at "east one number higher than the previous SC10000s primar% address p"us sensors )xample ,or "irtual Sla#es )nabled& ;1 SC1000 on net#or1$ -ddress 7 1 :umber of sensors in Te"egram 7 < -ddress of ;8 SC1000 'or other Modbus device on net#or1( 7 = or greater )xample ,or Tele ram mode !"irtual Sla#es $isabled% ;1 SC1000 on net#or1$ -ddress 7 1 :umber of sensors in Te"egram 7 < -ddress of ;8 SC1000 'or other Modbus device on net#or1( 7 8 or greater
Appendix A: Explanation why a floating point !alue can be shifted in its register position by changing the data order:
The Problem here is the nature of IEEE754 floating point numbers. If you have got 4 byte floating-point numbers of this type the Most Significant it! "MS #! $etermines the sign. The ne%t & bits $etermine the e%ponent "to basis t'o# an$ the rest of the bits $etermine the mantissa of the floating-point number. ecause of this structure the first () bits alrea$y $etermine **+ of the floating point value. , fe' e%amples(../45)7 is in he%- /0*E1)4 or *)/.&5.7 is in he%- 44710)*/ but 44711111 is alrea$y *)1.1 So if the secon$ t'o bytes of a floating-point value are set to 2ero the ne' floatingpoint value is only slightly $ifferent compare$ 'ith the original. If the configure$ telegram is set this 'ay using a 3ormal 4ata 5r$erbut /0*E1111 is alrea$y (../4/75
register meaning value (hex) 40001 error 0000 40002 status 0000 40003 measurement 064B 40004 3F9E 3F9E064B (hex) located on registers 40003 and 40004
6egisters are a$$resse$ $irectly as 4111/ for the measurement in 3ormal 4ata 5r$er string /0*E1)4 "he%#. If the configure$ telegram is set this 'ay using a S'appe$ 4ata 5r$er-
register meaning value (hex) 40001 error 0000 40002 status 0000 40003 measurement 3F9E 3F9E0000 (hex) located on registers 40002 and 40003 40004 064B
In the S'appe$ 4ata 5r$er e%ample! register a$$ressing must no' be 4111% 7 ( in or$er to shift the start point to 41114 an$ correctly ac8uire the S'appe$ 1)4 /0*E "he%# $ata string.