video corpo

TORRIX RS485 Modbus
1 / 16ページ

{{requestButtons}}

カタログの抜粋

TORRIX RS485 Modbus - 1

Technical Documentation TORRIX RS485 with MODBUS Protocol

カタログの1ページ目を開く
TORRIX RS485 Modbus - 4

Supported MODBUS Protocol Variants TORRIX-RS485 with Modbus protocol only supports the Modbus ASCII variant as described in the Modicon Modbus Protocol Reference Guide. Wiring Connections The wiring of the level sensors TORRIX RS485 may only be carried out with the power disconnected. For wiring, proceed as follows: • If not already connected, plug the coupling of the FAFNIR connection cable onto the M12 connector of the sensor head. First tighten the union nut of the M12 connector by hand and then use an open-ended spanner to tighten the nut further 180°. The tightening torque should be...

カタログの4ページ目を開く
TORRIX RS485 Modbus - 5

2 MODBUS Register Map Supported Function Codes The following function codes are supported: • Function Code 03 - Read Holding Registers • Function Code 04 - Read Input Registers • Function Code 08 - Diagnostics (only sub-function 00 - Return Query Data) All registers are read only. Support of different output formats The following output formats are supported: 16 bit unsigned integer • Big Endian (most significant byte first): [12] • Little Endian (least significant byte first): [21] 32 bit floating point • Big Endian (straight word order, most significant byte first): [12] [34] •...

カタログの5ページ目を開く
TORRIX RS485 Modbus - 6

Values Probe type • 1 = Basic Number of discrete temperature sensors The number of discrete temperature sensors depends on the probe type. Status of probe The probe can be in one of the following states: • 0 = ok

カタログの6ページ目を開く
TORRIX RS485 Modbus - 7

2.2 Values formatted in 32 bit floating point format The values formatted according to the IEEE 754 single-precision 32 bit floating point format can be read out using the following two Function Codes: • Function Code 03 - Read Holding Registers • Function Code 04 - Read Input Registers You have to add 30001 or 40001 to the address shown in the table to get the register number. Please take into account that the address shown in the table has a hexadecimal format while the register number has a decimal format. Two consecutive 16 bit registers have to be read to get the complete 32 bit...

カタログの7ページ目を開く
TORRIX RS485 Modbus - 8

* Only available if the probe is of type Advanced or Flex. ** Only available if the probe is of type Advanced.

カタログの8ページ目を開く
TORRIX RS485 Modbus - 9

32-Bit Floating Point, Measurement Units: US (inch, °F) * Only available if the probe is of type Advanced or Flex. ** Only available if the probe is of type Advanced.

カタログの9ページ目を開く
TORRIX RS485 Modbus - 10

FAFNIR 2.3 Exception Codes The following exception codes are supported: • 01 - Illegal Function • 02 - Illegal Data Address • 03 - Illegal Data Value 01 - Illegal Function The exception code Illegal Function is returned under the following circumstances: • A function code other than 03 ,04 or 08 is used • The function code 08 is used with a sub-function code other than 0000 02 - Illegal Data Address The exception code Illegal Data Address is returned under the following circumstances: • The function code 03 or 04 is used with a starting address that is not included in the TORRIX...

カタログの10ページ目を開く
TORRIX RS485 Modbus - 11

3 Appendix3.1 Request and Response Formats Requests and Responses for Function Codes 03 and 04 Request * Number of Registers is the number of registers requested and has to be in the range of 1 to 30 ** Byte Count is the number of bytes (not registers) returned *** see Appendix LRC Calculation

カタログの11ページ目を開く
TORRIX RS485 Modbus - 12

The LRC of a message has to be calculated as follows: 1. Sum up all bytes of the message, excluding the starting character {:} and the ending characters {cr} and {lf}. The sum is build up in a one-byte field, so all carries will be discarded. 2. Calculate the ones-complement of the sum by subtracting the sum from 0xFF. 3. Calculate the twos-complement of the sum by adding 0x01 to the ones-complement of the sum. This example shows how the LRC of the complete message {:}010300200006D6{cr}{lf} has to be calculated. Note: • control characters of the message shown in brackets • LRC of the...

カタログの12ページ目を開く
TORRIX RS485 Modbus - 13

3.3 Communication Examples Read the serial number of the probe The serial number is available in the register pairs 0x0000/0x0001 (Big Endian) and 0x0100/0x0101 (Little Endian). Reading the serial number in Big Endian format from a probe with slave address 1 using Function Code 03 looks like this: Request: {:}010300000002FA{cr}{lf} Response: {:}010304000186ABC6{cr}{lf} Evaluation: Register 0x0000 = 0x0001 Register 0x0001 = 0x86AB O Serial number = 0x000186AB = 100011 Read all static values of the probe Reading all static values in Big Endian format from a probe with slave address 1 using...

カタログの13ページ目を開く
TORRIX RS485 Modbus - 14

• 0x0620/0x0621 - format [43][21], Little Endian, Bytes Swapped • 0x0720/0x0721 - format [34][12], Little Endian Reading the level of product from a probe with slave address 1 in metric units and format [43][21] (Little Endian, Bytes Swapped) using Function Code 04 looks like this: Request: {:}010402200002D7{cr}{lf} Response: {:}010404BC942B4438{cr}{lf} Evaluation: Register 0x0220 = 0xBC94 Register 0x0221 = 0x2B44 O Level of product = 0x442B94BC = 686,324 mm Read level of product, level of water and average temperature The level of product is available as 32-bit floating point...

カタログの14ページ目を開く

FAFNIR GmbHのすべてのカタログと技術パンフレット

  1. TORRIX M12 MOBILE

    2 ページ

  2. TORRIX XTS

    2 ページ

  3. TORRIX 6

    1 ページ

  4. LPG Sensors

    8 ページ

  5. SEPARIX

    8 ページ

  6. Process Automation

    28 ページ

  7. O²-PID

    4 ページ

  8. COMS Leaflet

    4 ページ

  9. QE 200

    4 ページ

  10. UM 2.1/2.2/2.3

    20 ページ

  11. TORRIX HART

    28 ページ

  12. TORRIX M12

    40 ページ

  13. FAFNIR Hart Setup

    9 ページ

  14. LS 300 / 500

    7 ページ

  15. 76 A / NB 220

    5 ページ

  16. 76 / NB 220

    2 ページ

  17. SECON-X

    4 ページ

  18. PRESSURIX

    12 ページ

  19. Insite360

    4 ページ

  20. Plugs

    12 ページ

  21. UM 2.1/UM 2.2/UM 2.3

    20 ページ

  22. TORRIX-HART

    28 ページ

  23. DIVELIX

    8 ページ

  24. CONDURIX-HART

    28 ページ

  25. CONDURIX

    24 ページ

  26. VAPORIX

    12 ページ

  27. VISY-X

    24 ページ

  28. Accessories

    3 ページ

  29. VISY-Command Web

    4 ページ

  30. VISY-Reed

    4 ページ

  31. VISY-RF

    2 ページ

  32. VISY-Stick

    15 ページ

  33. VISY-TD Display

    2 ページ

  34. VISY-View Touch

    2 ページ

  35. TORRIX

    10 ページ

  36. TORRIX CI

    1 ページ

  37. TORRIX RS485

    3 ページ

  38. UM-X Transducer

    3 ページ

  39. TEMPERIX

    8 ページ

  40. VISY-Command

    5 ページ

  41. LPG-Sensoren

    8 ページ

カタログアーカイブ

  1. HPH Ex d

    3 ページ

  2. VISY-Monitor

    2 ページ

  3. VISY-X LON

    10 ページ

  4. SEPARIX

    23 ページ

  5. VAPORIX Flow/Control

    32 ページ

  6. VISY-Setup V 3.1.0

    40 ページ

  7. VISY-Setup V2.10

    42 ページ

  8. VISY-View

    24 ページ