Vega PLICSRADIO C62 Supplementary Instructions Manual

Manual is about: Modbus-TCP, VEGA ASCII protocol

Summary of PLICSRADIO C62

  • Page 1

    Supplementary instructions manual modbus-tcp, vega ascii protocol vegamet 624/625, vegascan 693, plicsradio ® c 62 signal conditioning instruments and communication in out.

  • Page 2: Contents

    Contents 1 function as modbus-tcp server 1.1 modbus-tcp - general description . . . . . . . . . . 3 1.2 filing of the measured value as 2 byte short . . . 3 1.3 filing of measured value as 4 byte float. . . . . . 6 2 vega ascii protocol 2.1 measured value enquiry via ascii protocol . . . . 10 2.2 ov...

  • Page 3

    1 function as modbus-tcp server 1.1 modbus-tcp - general description vegamet 624/625, vegascan 693 and plicsradio ® c 62 signal conditioning instruments work as modbus-tcp server and provide the existing pc/dcs value and relay switching conditions in a temporary storage for collection via modbus-tcp...

  • Page 4

    Dcs value is represented by two words. The first word contains the real pc/dcs value, the next higher word the corresponding status information. In the specification the term register word is also used instead of word. The filing of measured values in the temporary memory is always sorted according to ...

  • Page 5

    Register address in modicon temporary memory of vegascan (1 word = 2 byte) 30012 pc/dcs output 6: status … … 30057 pc/dcs output 29: measured value 30058 pc/dcs output 29: status 30059 pc/dcs output 30: measured value 30060 pc/dcs output 30: status aa an alternative, register address 40001 is also a...

  • Page 6

    Note: when transmitting the pc/dcs value in modbus-tcp protocol (measured value filing as 2 byte short), the decimal point is not transmitted, the value -0,5 bar is transmitted as -50. If the data format was selected in such a way that values outside the value range can be caused, limitation to the h...

  • Page 7

    Always sorted according to pc/dcs output number. The following chart shows the addressing of the temporary memory via modbus. The values are accessed via fc 3 and 4. The status information is also transmitted as float value. 8 byte are needed for one output, corresponding to 4 registers. Information:...

  • Page 8

    Register address in modicon temporary memory of vegascan (2 words = 4 byte) 31023 pc/dcs output 6: status … … 31113 pc/dcs output 29: measured value 31115 pc/dcs output 29: status 31117 pc/dcs output 30: measured value 31119 pc/dcs output 30: status as an alternative, register address 41001 is also ...

  • Page 9

    Status measured val- ue meaning 0 xxxx valid measured value 0 0 an error number is transmitted in the status corresponding to the error codes exx (e.G. 29 = e 29 = simulation). 0 xx 0xx an error number is transmitted in the status and in the measured value which corresponds to the error codes exx. M...

  • Page 10: 2 Vega Ascii Protocol

    2 vega ascii protocol 2.1 measured value enquiry via ascii protocol with the vega ascii protocol you have the ability to enquire pc/dcs values via the ethernet or rs232 interface. By using ascii characters, a measured value enquiry is possible with easy terminal programs such as hyperterminal. The p...

  • Page 11

    Fig. 1: connection via hyperterminal the setting of "telnet:\\192.168.200.200:503" in the address field of the internet explorers starts the terminal program hyperterminal automatically. Max. Four simultaneous con- nections are possible. 2.2 overview of the commands and options the following ascii si...

  • Page 12

    Command description $ measured value enquiry with 11 places as floating point and with unit note: with the switching inputs of plicsradio ® c 62 (measure- ment loops 4 … 6) the value 0 (switch open) and 100 (switch closed) are transmitted as measured values, the units are deleted. The above commands ...

  • Page 13

    2.5 delete the settings with the command clearstore with the command clearstore, the settings of the option store are deleted in the eeprom and the automatic repetition of the measured values is stopped. 2.6 measured value enquiry with command % 2.6.1 % individual enquiry as answer on the individual...

  • Page 14

    Sign meaning 1 " - ": minus with negative numbers " " : space with positive numbers 2 … 4 3-digit number 5 " .": decimal point 6 1-digit number (after the decimal point) l t 3: "%" (1 character) l end identification: carriage return cr (1 sign) total length of the telegram: 12 … 13 signs note: the % ...

  • Page 15

    Number of bytes sign t 3 1 % end identification 1 cr l t 1: "=" (1 sign) l dcs no.: no. Of the pc/dcs output as 3-digit decimal number l t 2: "#" (1 character) l value: numerical value of the pc/dcs output or in case of faulty measured value the text "fault" formatting of the value: sign meaning 1 " ...

  • Page 16

    Number of bytes sign identifier 1 % begin 1 … 3 001 … 030 or 1 … 30 separator 1 l or i quantity 1 … 3 001 … 030 or 1 … 30 end identification 1 cr l identifier: "%" (1 character) l start: no. Of the requested pc/dcs output (1 … 3 signs) l separator: "l" or "i" (1 sign) l quantity: number of requested pc...

  • Page 17

    L t 3: "%" (1 character) l end identification: carriage return cr (1 sign) total length of the telegram: "number"*12 … 13 signs note: the % sign is a separator, not the unit % enquiry: % 001l003 answer: = 001# 067.3% = 002# 824.6% = 003#-067.3% 2.6.1 % block enquiry with range as answer to the range ...

  • Page 18

    Number of bytes sign t 2 1 # value 5 … 6 -067.3 t 3 1 % end identification 1 cr l t 1: "=" (1 sign) l dcs no.: no. Of the pc/dcs output as 3-digit decimal number l t 2: "#" (1 character) l value: numerical value of the pc/dcs output or in case of faulty measured value the text "fault" formatting of t...

  • Page 19

    With six decimal places without decimal point and unit. Number of bytes sign identifier 1 & begin 1 … 3 001 … 030 or 1 … 30 end identification 1 cr l identifier: "&" (1 sign) l start: no. Of the requested pc/dcs output (1 … 3 characters) l end identification: carriage return cr (1 sign) total length of ...

  • Page 20

    Note: the % sign is a separator, not the unit % enquiry: & 001 answer: = 001#-000673% 2.7.1 & block enquiry as answer to the block enquiry, all assigned pc/dcs values in the instrument are delivered. The measured value is trans- mitted with six decimal places without decimal point and unit. Number o...

  • Page 21

    Sign meaning 1 " - ": minus with negative numbers " " : space with positive numbers 2 … 7 6-digit number after the decimal point l t 3: "%" (1 character) l end identification: carriage return cr (1 sign) total length of the telegram: n*14 characters note: the % sign is a separator, not the unit % enq...

  • Page 22

    " quantity"-times repetition of the following telegram number of bytes sign t 1 1 = dcs no. 3 001 … 030 t 2 1 # value 5 … 6 -000673 t 3 1 % end identification 1 cr l t 1: "=" (1 sign) l dcs no.: no. Of the pc/dcs output as 3-digit decimal number l t 2: "#" (1 character) l value: numerical value of th...

  • Page 23

    And unit. Number of bytes sign identifier 1 & begin 1 … 3 001 … 030 or 1 … 30 separator 1 - end 1 … 3 001 … 030 or 1 … 30 end identification 1 cr l identifier: "&" (1 sign) l start: start no. Of the requested pc/dcs output (1 … 3 characters) l separator: "-" (1 sign) l end: end no. Of the requested pc/...

  • Page 24

    L t 3: "%" (1 character) l end identification: carriage return cr (1 sign) total length of the telegram: (end-start+1)*14 note: the % sign is a separator, not the unit % enquiry: & 001-003 answer: = 001# 000673% = 002# 008246% = 003#-000673% 2.8 measured value enquiry with command? 2.8.1 ? Individual...

  • Page 25

    L t 1: "=" (1 sign) l dcs no.: no. Of the pc/dcs output as 3-digit decimal number l t 2: "#" (1 character) l value: numerical value of the pc/dcs output or in case of faulty measured value the text "fault" formatting of the value: sign meaning 1 " - ": minus with negative numbers " " : space with po...

  • Page 26

    Number of bytes sign t 2 1 # value 7 -000673 t 3 1 # unit 0 … n xxx end identification 1 cr l t 1: "=" (1 sign) l dcs no.: no. Of the pc/dcs output as 3-digit decimal number l t 2: "#" (1 character) l value: numerical value of the pc/dcs output or in case of faulty measured value the text "fault" for...

  • Page 27

    Number of bytes sign identifier 1 ? Begin 1 … 3 001 … 030 or 1 … 30 separator 1 l or i quantity 1 … 3 001 … 030 or 1 … 30 end identification 1 cr l identifier: "?" (1 character) l start: no. Of the requested pc/dcs output (1 … 3 characters) l separator: "l" or "i" (1 sign) l quantity: number of request...

  • Page 28

    L t 3: "#" (1 character) l unit: unit as text (0 … n unit) l end identification: carriage return cr (1 sign) total length of the telegram: quantity*(14 characters+unit character) enquiry: ?001l003 answer: = 001# 000673#% = 002# 008246#kg = 003#-000673#m 2.8.1 ? Block enquiry with range as an answer t...

  • Page 29

    Number of bytes sign value 7 -000673 t 3 1 # unit 0 … n xxx end identification 1 cr l t 1: "=" (1 sign) l dcs no.: no. Of the pc/dcs output as 3-digit decimal number l t 2: "#" (1 character) l value: numerical value of the pc/dcs output or in case of faulty measured value the text "fault" formatting ...

  • Page 30

    Number of bytes sign identifier 1 $ begin 1 … 3 001 … 030 or 1 … 30 end identification 1 cr l identifier: "$" (1 character) l start: no. Of the requested pc/dcs output (1 … 3 characters) l end identification: carriage return cr (1 sign) total length of the telegram: 3 … 5 characters number of bytes sign...

  • Page 31

    Answer: = 001# 824.6 #kg 2.9.1 $ block enquiry as answer to the block enquiry, all assigned pc/dcs values in the instrument are delivered. The measured value is trans- mitted with 11 decimal places as floating point and with unit. Number of bytes sign identifier 1 $ end identification 1 cr l identifier:...

  • Page 32

    L t 3: "#" (1 character) l unit: unit as text (0 … n unit) l end identification: carriage return cr (1 sign) total length of the telegram: n*(18 characters+unit character) enquiry: $ answer: = 001# 824.6 #kg = 002# 67.3 #% = 003#-824.6 #% = 004#-67.3 #m 2.9.1 $ block enquiry with length as answer to ...

  • Page 33

    Number of bytes sign value 11 -824.6 t 3 1 # unit 0 … n xxx end identification 1 cr l t 1: "=" (1 sign) l dcs no.: no. Of the pc/dcs output as 3-digit decimal number l t 2: "#" (1 character) l value: numerical value of the pc/dcs output or in case of faulty measured value the error code "exxx" format...

  • Page 34

    Number of bytes sign end identification 1 cr l identifier: "$" (1 character) l start: start no. Of the requested pc/dcs output (1 … 3 characters) l separator: "-" (1 sign) l end: end no. Of the requested pc/dcs output (1 … 3 signs) l end identification: carriage return cr (1 sign) total length of the t...

  • Page 35

    Enquiry: $001-003 answer: = 001# 67.3 #kg = 002# 824.3 #% = 003#-67.3 #m 2.10 option time by adding the attribute time, the current time will be transmitted before the answer. The transmission of date/time information is carried out in the format "@yyyy/mm/dd hh:mm:ss". The character string contains...

  • Page 36

    @2005/04/07 09:02:39 = 001# 28.44 #% enquiry: (terminates the repetition) $001 time repeat 0 2.12 option store by adding the attribute store, the enquiry is stored in the eeprom memory up to the option store. After switching on the instrument again, this enquiry will be used as input telegram and an...

  • Page 37

    Modbus-tcp, vega ascii protocol - vegamet 624/625, vegascan 693, plicsradio 37 vega ascii protocol 30768 - en -070730

  • Page 38

    38 modbus-tcp, vega ascii protocol - vegamet 624/625, vegascan 693, plicsradio vega ascii protocol 30768 -en -070730

  • Page 39

    Modbus-tcp, vega ascii protocol - vegamet 624/625, vegascan 693, plicsradio 39 vega ascii protocol 30768 - en -070730

  • Page 40

    Vega grieshaber kg am hohenstein 113 77761 schiltach germany phone +49 7836 50-0 fax +49 7836 50-201 e-mail: info@de.Vega.Com www.Vega.Com iso 9001 all statements concerning scope of delivery, application, practical use and operating conditions of the sensors and processing systems correspond to the...