Download Print this page

RKC INSTRUMENT VGR-B100 Operation Manual

Paperless recorder, communication function
Hide thumbs Also See for VGR-B100:

Advertisement

Quick Links

Paperless Recorder
VGR-B100
Communication Function
Operation Manual
WXPVM70mnAR002E
RKC INSTRUMENT INC.
March, 2018(Rev.7)
®

Advertisement

loading
Need help?

Need help?

Do you have a question about the VGR-B100 and is the answer not in the manual?

Questions and answers

Summary of Contents for RKC INSTRUMENT VGR-B100

  • Page 1 Paperless Recorder VGR-B100 Communication Function Operation Manual WXPVM70mnAR002E RKC INSTRUMENT INC. March, 2018(Rev.7) ®...
  • Page 2  RKC is not responsible if this instrument is repaired, modified or disassembled by other than factory-approved personnel. Malfunction can occur and warranty is void under these conditions. All Rights Reserved, Copyright  2009-2018, RKC INSTRUMENT INC. - i -...
  • Page 3 CAUTION  This product is intended for use with industrial machines, test and measuring equipment. (It is not designed for use with medical equipment and nuclear energy.)  This is a Class A instrument. In a domestic environment, this instrument may cause radio interference, in which case the user may be required to take additional measures.
  • Page 4: For Proper Disposal

    FOR PROPER DISPOSAL When disposing of each part used for this instrument, always follows the procedure for disposing of industrial wastes stipulated by the respective local community. SYMBOLS USED ON THE INSTRUMENT The symbols below are used on this instrument for the cautioning information. This shows “Caution for handling”.
  • Page 5 <CONTENTS> 1. Introduction ....................1-1 About communication protocols ......................1-1 Outline of Ethernet communication functions ..................1-1 RS-485 (option) ............................. 1-1 Preparation ............................1-1 Modbus RTU protocol ........................... 1-2 Modbus TCP protocol ........................... 1-2 Addition of new items and map version ....................1-2 Types of communication connection structures ..................
  • Page 6: Rs-485 (Option)

    1. Introduction 1.1 About communication protocols This device has Modbus protocols. The Modbus protocols are communication protocols developed by Modicon Inc. (AEG Schneider Automation International S.A.S) for PLC, which are described in the document of protocol specifications (PI-MBUS-300 Rev.J). For the Modbus protocol specifications, see the document. This document contains the Modbus protocols' function codes and data content, which can be mainly used for this device.
  • Page 7: Modbus Rtu Protocol

    1.5 Modbus RTU protocol Items Specifications Transfer mode Communication speed 9600,19200,38400 bit/sec Parity None/Even/Odd Data length 8 bits Stop bit 1 bit/2 bits Slave address 1 to 247 ("0" must not be set) Interface RS-485 1.6 Modbus TCP protocol The communication through Ethernet is available. The protocol is Modbus TCP. 1.7 Addition of new items and map version Due to the version upgrade of the main unit, the content of the Modbus map may be changed.
  • Page 8 1.8 Types of communication connection structures The communication functions of this device allow communications with various devices. 1) Ethernet connection Connect with this device via Ethernet. Real time monitoring for the measurement values (*1), acquisition of the measured files (*2), Web access, clock synchronization or other operations using the attached software are supported.
  • Page 9 (*) Version 1.60 or later 2) RS-485 connection (Slave) Connect with this device via RS-485. Through the connection with this device from devices such as PLC or PC, measurement value acquisition, starting of recording, or other operations can be carried out. In this case, only one master device can be used. Up to 48 units of this device can be connected as slave devices.
  • Page 10 3) RS-485 connection (Master: remote AI) (Version 1.50 or later) Use RS-485 to connect the separately-sold "ZE7400A remote AI unit" or this device as a slave. With one unit of this device as a master, up to six units of ZE7400A or this device can be connected under it.
  • Page 11 4) RS-485 connection (Master: general-purpose connection) (Version 1.60 or later) With RS-485, data can be obtained and recorded from the ModbusRTU-supported general-purpose devices. With this device as the master, a maximum of 12 supported devices can be connected under it. The data to be obtained are specified individually on this device side. The data obtained can be assigned to the calculating channels of the main unit.
  • Page 12: Function Code

    2. Read and write of data Communication Protocol (Modbus TCP or Modbus RTU) This product supports two types of Modbus protocols: Modbus TCP protocol that works on Ethernet and Modbus RTU that works on RS-485. Shown below are the differences between these two protocols. The function code and data sections are the same, but there are differences in the header and error check sections.
  • Page 13: Error Response

    2.3 Error Response In accordance with the communication protocol for the pertinent function code, if an error occurs during command transmission, an error response is returned in the fixed format described in this section ■ Example of slave response (function code = 06H, command error = 10H) Data length Component Data...
  • Page 14 2.4 Reading of input register area It is an area only for reading. The starting address of the read data (relative address) and the number of data (Every one word = two bytes) are specified. Function code: 04H ■ Example of transmitting master(starting address=0032H, data length=2words) Data length Component Data...
  • Page 15 【Input register area map】Function code: 04H Relative Address address Item Array Content Remarks (HEX) 30001 Production number ASCII 30002 Production number ASCII 30003 Production number ASCII 30004 Production number ASCII 30005 Production number ASCII 30006 Production number ASCII 30007 Production number ASCII 30008 Production number...
  • Page 16 Relative Address address Item Array Content Remarks (HEX) 30050 Reserve 0~99 30051 Year 1~12 30052 Month 1~31 30053 0~24 30054 Hour 0~59 30055 Minute 0~59 30056 Second State of internal memory Unit: % (one digit after the decimal 0~1000 30057 remainder point) 30058...
  • Page 17 Relative Address address Item Array Content Remarks (HEX) 30100 Reserve -32000~32000 30101 Measurements CH01 -32000~32000 30102 Measurements CH02 -32000~32000 30103 Measurements CH03 -32000~32000 30104 Measurements CH04 -32000~32000 30105 Measurements CH05 -32000~32000 30106 Measurements CH06 -32000~32000 30107 Measurements CH07 -32000~32000 30108 Measurements CH08 -32000~32000...
  • Page 18 Relative Address address Item Array Content Remarks (HEX) 30151 Reserve 30152 Reserve 30153 Reserve 30154 Reserve 30155 Reserve 30156 Reserve 30157 Reserve 30158 Reserve 30159 Reserve 30160 Reserve 30161 Reserve 30162 Reserve 30163 Reserve 30164 Reserve 30165 Reserve 30166 Reserve 30167 Reserve 30168...
  • Page 19 Relative Address address Item Array Content Remarks (HEX) 30201 State of channel CH01 Bit watch (Details are the following) 30202 State of channel CH02 00bit: Alarm1 1= generation 0= release 30203 State of channel CH03 01bit: Alarm1 1= generation 0= release 30204 State of channel CH04...
  • Page 20 Relative Address address Item Array Content Remarks (HEX) 30252 Reserve 30253 Reserve 30254 Reserve 30255 Reserve 30256 Reserve 30257 Reserve 30258 Reserve 30259 Reserve 30260 Reserve 30261 Reserve 30262 Reserve 30263 Reserve 30264 Reserve 30265 Reserve 30266 Reserve 30267 Reserve 30268 Reserve 30269...
  • Page 21 Relative Address address Item Array Content Remarks (HEX) 30301 Decimal point position CH01 0~4 30302 Decimal point position CH02 0~4 30303 Decimal point position CH03 0~4 30304 Decimal point position CH04 0~4 30305 Decimal point position CH05 0~4 30306 Decimal point position CH06 0~4 0~4...
  • Page 22 Relative Address address Item Array Content Remarks (HEX) 30352 Reserve 30353 Reserve 30354 Reserve 30355 Reserve 30356 Reserve 30357 Reserve 30358 Reserve 30359 Reserve 30360 Reserve 30361 Reserve 30362 Reserve 30363 Reserve 30364 Reserve 30365 Reserve 30366 Reserve 30367 Reserve 30368 Reserve 30369...
  • Page 23 Relative Address address Item Array Content Remarks (HEX) 30403 Unit (3/4) CH01 30404 Unit (4/4) CH01 30405 Unit (1/4) CH02 30406 Unit (2/4) CH02 30407 Unit (3/4) CH02 30408 Unit (4/4) CH02 30409 Unit (1/4) CH03 30410 Unit (2/4) CH03 30411 Unit (3/4) CH03...
  • Page 24 Relative Address address Item Array Content Remarks (HEX) 30453 Unit (1/4) CH14 30454 Unit (2/4) CH14 30455 Unit (3/4) CH14 30456 Unit (4/4) CH14 30457 Unit (1/4) CH15 30458 Unit (2/4) CH15 30459 Unit (3/4) CH15 30460 Unit (4/4) CH15 30461 Unit (1/4) CH16...
  • Page 25 Relative Address address Item Array Content Remarks (HEX) 30503 Unit(3/4) CH26 30504 Unit(4/4) CH26 30505 Unit(1/4) CH27 30506 Unit(2/4) CH27 30507 Unit(3/4) CH27 30508 Unit(4/4) CH27 30509 Unit(1/4) CH28 30510 Unit(2/4) CH28 30511 Unit(3/4) CH28 30512 Unit(4/4) CH28 30513 Unit(1/4) CH29 30514 Unit(2/4)
  • Page 26 Relative Address address Item Array Content Remarks (HEX) 30553 Unit(1/4) CH39 30554 Unit(2/4) CH39 30555 Unit(3/4) CH39 30556 Unit(4/4) CH39 30557 Unit(1/4) CH40 30558 Unit(2/4) CH40 30559 Unit(3/4) CH40 30560 Unit(4/4) CH40 30561 Unit(1/4) CH41 30562 Unit(2/4) CH41 30563 Unit(3/4) CH41 30564 Unit(4/4)
  • Page 27 2.5 Read and write of holding register area It is an area for reading and writing. The starting address of the read data (relative address) and the number of data (Every one word = two bytes) are specified. Refer item 2.6 ”Other setting range” for item of “ ”.
  • Page 28 Function code (Writing): 06H ■ Example of transmitting master(starting address=00C8H, data =5) Data length Component Data MBAP header (only for Modbus TCP) Slave address Function code Relative start address (high-order) Relative start address (low-order) Data Write data (high-order) Write data (low-order) Error check CRC (16 bits) Total number of bytes...
  • Page 29 Function code (continuous writes): 10H * It is used only when registering production information. ■ Example of master transmission (with a start address of 1b58H and a data count of 20) Data length Component Data MBAP header (only for Modbus TCP) Slave address Function code Relative start address (high-order)
  • Page 30 【Holding register area map】Function code: 03H, 06H Relative Address address Item Array Content Remarks (HEX) Communication channel -32000~32000 40001 1-value of input 0-01 -32000~32000 40002 2-value of input 0-02 -32000~32000 40003 3-value of input 0-03 -32000~32000 40004 4-value of input 0-04 -32000~32000 40005...
  • Page 31 Relative Address address Item Array Content Remarks (HEX) 0~4 40048 12-position of decimal point 0-12 0~4 40049 13-position of decimal point 0-13 0~4 40050 14-position of decimal point 0-14 0~4 40051 15-position of decimal point 0-15 0~4 40052 16-position of decimal point 0-16 0~4 40053...
  • Page 32 Relative Address address Item Array Content Remarks (HEX) 40099 Reserve 40100 Reserve AA01:start Invalid except the left AA00:stop 40101 Record start/stop "DI" is selected when invalid. AA01:Start Invalid except the left AA00:Stop 40102 Sub record start/stop When assigned to the Func key. Invalid except the left AA01:ON 40103...
  • Page 33 Relative Address address Item Array Content Remarks (HEX) 40144 Reserve 40145 Reserve 40146 Reserve 40147 Reserve 40148 Reserve 40149 Reserve 40150 Reserve 40151 Reserve 40152 Reserve 40153 Reserve 40154 Reserve 40155 Reserve 40156 Reserve 40157 Reserve 40158 Reserve 40159 Reserve 40160 Reserve 40161...
  • Page 34 Relative Address address Item Array Content Remarks (HEX) 40195 Reserve 40196 Reserve 40197 Reserve 40198 Reserve 40199 Reserve 40200 Reserve 0~33 Input channel ※1 Refer item 2.4 40201 Input type CH01 0~1 40202 Burnout 0:OFF 1:ON 0~2 40203 0:OFF 1:Internal 2:Assignment CH 40204 RJC channel 0~47...
  • Page 35 Relative Address address Item Array Content Remarks (HEX) 40246 Scale generation CH01 Now unused The position is the decimal point -32000~32000 40247 Scaling range (L) changeable. The position is the decimal point -32000~32000 40248 Scaling range (H) changeable. 40249 Scaling file (01/16) ASCII Now unused 40250...
  • Page 36 Relative Address address Item Array Content Remarks (HEX) 40292 Reserve 40293 Reserve 40294 Reserve 40295 Reserve 40296 Reserve 40297 Reserve 40298 Reserve 40299 Reserve 40300 Reserve 40301 Input type CH02 Input channel 40401 Input type CH03 Input channel 40501 Input type CH04 Input channel 40601...
  • Page 37 Relative Address address Item Array Content Remarks (HEX) 41431 Description (13/26) ASCII 41432 Description (14/26) ASCII 41433 Description (15/26) ASCII 41434 Description (16/26) ASCII 41435 Description (17/26) ASCII 41436 Description (18/26) ASCII 41437 Description (19/26) ASCII 41438 Description (20/26) ASCII 41439 Description (21/26) ASCII...
  • Page 38 Relative Address address Item Array Content Remarks (HEX) Zero digit at decimal point position 0~3600(sec) 41479 Delay fixation. 0~99(sec) 41480 Input filter 0:OFF 1:Max/Min 0~3 41481 Record type 2:Average 3:Instant value The position is the decimal point 41482 Offset -32000~32000 changeable.
  • Page 39 Relative Address address Item Array Content Remarks (HEX) 44101 1004 Input type(Input CH only) CH40 44201 1068 Input type(Input CH only) CH41 44301 10CC Input type(Input CH only) CH42 44401 1130 Input type(Input CH only) CH43 The same composition as CH13 44501 1194 Input type(Input CH only)
  • Page 40 Relative Address address Item Array Content Remarks (HEX) Record timing-Sub 0~4 ※6 Refer item 2.4 45216 145F 1~9 45217 1460 DI No. When “Record timing-sub” DI select 45218 1461 Reserve 45219 1462 Reserve 0~1 45220 1463 Schedule record ON/OFF 0:OFF 1:ON Start time-Hour 0~23 45221...
  • Page 41 Relative Address address Item Array Content Remarks (HEX) 0~5 45465 1558 Message timing Mes15 0~5 45481 1568 Message timing Mes16 45497 1578 Message timing Mes17 0~5 The same composition as Mes01 0~5 45513 1588 Message timing Mes18 0~5 45529 1598 Message timing Mes19 0~5...
  • Page 42 Relative Address address Item Array Content Remarks (HEX) 45661 161C Reserve 0~1 45901 170C Auto display group 0:OFF 1:ON 0:5 sec 1:10 sec 2:15 sec 0~4 45902 170D Change cycle 3:30 sec 4:60 sec 0~1 45903 170E Progress time 0:OFF 1:ON 0~2 45904 170F...
  • Page 43 Relative Address address Item Array Content Remarks (HEX) 46038 1795 SNTP server address (14/16) ASCII 46039 1796 SNTP server address (15/16) ASCII 46040 1797 SNTP server address (16/16) ASCII 46041 1798 FTP user(01/16) User01 ASCII Read only 46042 1799 FTP user(02/16) ASCII 46043 179A...
  • Page 44 Relative Address address Item Array Content Remarks (HEX) 46401 1900 FTP user User 10 46441 1928 FTP user User 11 46481 1950 FTP user User 12 46521 1978 FTP user User 13 46561 19A0 FTP user User 14 The same composition as User01 46601 19C8 FTP user...
  • Page 45 Relative Address address Item Array Content Remarks (HEX) ・・・ ・・・ ・・・ 47000 1B57 Reserve 47001 1B58 Product data No. 0000H ~007H Func code=10H, 20word only 47002 1B59 Reserve Reserve 47003 1B5A Product data Strings(1/15) ASCII 47004 1B5B Product data Strings(2/15) ASCII 47005 1B5C...
  • Page 46 2.6 Other setting range The setting range for each item in the case of the holding register writing is explained. 1 Input type, Measurement range ※ Data No. Input type Measurement range ※ DC voltage ±10mV (-10.00 to 10.00) 0-20mv (0.00 to 20.00) 0-50mV (0.00 to 50.00)
  • Page 47 2 Display color ※ Data No. Display color Data No. Display color Navy Green Fuchsia Blue Teal Purple Olive Yellow Gray Aqua Khaki Maroon Brown Lime Orange 3 Display channel ※ The setting range of display channels(01/12) (12/12)(Following “Channel address”:Relative ~...
  • Page 48 4 Record cycle ※ Data No. Record cycle 100ms (Sub record only) 1sec 2sec 3sec 5sec 10sec 15sec 20sec 30sec 1min 2min 3min 5min 10min 15min 20min 30min 60min 5 File record cycle ※ The "File record cycle" depends on the "Record cycle". Data No.
  • Page 49 8 Time zone (UTC) ※ Data No. Time zone (UTC) Data No. Time zone (UTC) -12:00 +04:00 -11:00 +05:00 -10:00 +06:00 -09:00 +07:00 -08:00 +08:00 -07:00 +09:00 -06:00 +10:00 -05:00 +11:00 -04:00 +12:00 -03:00 +13:00 -02:00 +14:00 -01:00 +04:30 +00:00 +05:45 +01:00 +05:30...
  • Page 50 10 Parameter save (Recorder → SD) ※ The current parameter and system state is saved to an SD card. The result of save of parameter can get by reading the same address "006F". (Status response value) (A file name is "modprm.dps" fixation. Keep the file of a same name from existing on an SD card. Moreover, it becomes an error if a file already exists.
  • Page 51 3. Modbus master function Overview This is the function for obtaining data from a general-purpose device supporting ModbusRTU such as ModbusRTU-supported controller, ModbusRTU-supported sensor and recording the data on this device. With this device as the master, a maximum of 12 supported devices can be connected under it.
  • Page 52 【Master connection image view】 Register type Slave ID Com. ID01 Number of data Address Com. ID02 Hold register Input register Register type Hold Com. ID03 Adr. Data Adr. Data Data format INT16 Com. ID04 0000 PV 0000 ・ DP position Com.
  • Page 53 Procedure of the recording data from slave devices This section describes the procedures from connecting to slave devices until displaying screens and recording data, using the Modbus master function of this device. Note that some of the procedures can be done only using the parameter loader. Main Item Description...
  • Page 54 Main Item Description Slave Loader Remarks unit Check the status of communications. See section 3.7. Check the status of communications with slave devices. Assign to calculating channels Only the loader. Assign the data acquired to the corresponding For details about the screen, channels, using the calculating formulas of the see section 3.8.
  • Page 55 Enabling the Modbus master function [Caution] To use this device, the version number of the main unit needs to be 1.60 or later. For details about how to check the version number and operate the main unit, refer to the operation manual of the main unit (WXPVM70mnAR001E).
  • Page 56 [Parameter loader] On the menu bar, select View > Engineering to open the remote AI ON/OFF screen. * Input "REMOTE" as the password for Engineering. (The Modbus master is also enabled by making the same setting.) (2) Remote AI ON/OFF (2) Remote AI/Modbus master ON/OFF Set ON/OFF for the remote AI/Modbus master functions.
  • Page 57 Setting Modbus1 (RS485 communication setting, timeout, etc.) [Description] Set the Modbus station number, reception timeout function, parity, stop bit and communication speed. Note) No settings can be changed during the recording process. [Operation] On the system setting screen, select Comm. key > Modbus1 key to open the Modbus1 setting screen.
  • Page 58 Setting Modbus2 (communication type) [Description] Set the Modbus communication type and master/slave operations. The setting items vary depending on the communication types and master/slave settings. For details about the master functions, see the COMMUNICATION FUNCTION OPERATION MANUAL. Note) No settings can be changed during the recording process. [Operation] On the system setting screen, select Comm.
  • Page 59 (1) Selection of Modbus operation Select the Modbus operation. Modbus TCP (Ethernet): Modbus TCP is used for communication protocols. Only the slave can be selected for the operation. Modbus TCP+RTU: Add RS-485 to the available communication protocols. (Enabled only if the RS-485 option is implemented) For this setting, additionally set the operation on the ModbusRTU side.
  • Page 60 Setting the Modbus master [Description] With this device as the Modbus master, carry out the settings of the device to be connected with the general-purpose Modbus slave. This is used when the communication type in section 3.5 is master (general). For details about the Modbus master specifications, see the COMMUNICATION FUNCTION OPERATION MANUAL.
  • Page 61 (4) Selection of data format Select how the acquired data is handled. INT16: Acquired as a signed 2-byte data (-32768 to 32767). UINT16: Acquired as an unsigned 2-byte data (0 to 65535). INT32 (BIG): Acquired as a signed 4-byte data (-2147483648 to 2147483647). The data is recognized as a big endian.
  • Page 62 Checking the communication status of the Modbus master [Description] Check the communication status between the Modbus master and slave devices, and retry the connection if a communication error occurs. [Operation] Select the ModbusMas. key on the menu screen to open the screen indicating the communication status of the Modbus master.
  • Page 63 【Error log to Ethernet log】 Message Parameter Description ・This error occurs when three times consecutive ommunication ID XX:C times the situation where data can not be Receive timeout CID:XX 01~12 received after the time set by reception timeout after sending data from the master. ・This error occurs when the following error occurs three times consecutively on the data received from the device.
  • Page 64 Setting of calculating channels [Description] By assigning the data acquired from slave devices to the calculating channels "CH13" to "CH48" on the master side, trend display and recording of the data can be carried out on this device. * The setting of calculating channels can be done only from the parameter loader. * For details about other setting items concerning the calculating channels, see the PARAMETER LOADER INSTRUCTION MANUAL (WXPVM70mnAR102E).