WATANABE WPMZ Series Instruction Manual

Modbus communication
Hide thumbs Also See for WPMZ Series:

Advertisement

Quick Links

WPMZ series
Modbus communication
instruction manual
Supported module type
WPMZ-1/3
Ver.1.00
Instruction manual number IM-0887-01

Advertisement

Table of Contents
loading

Summary of Contents for WATANABE WPMZ Series

  • Page 1 WPMZ series Modbus communication instruction manual Supported module type WPMZ-1/3 Ver.1.00 Instruction manual number IM-0887-01...
  • Page 2: Table Of Contents

    WPMZ Series Modbus communication instruction manual IM-0887-01 Number of pages:58 Table of contents INTRODUCTION ............................2 1. OVERVIEW ............................3 1-1. W ? .................... 3 HAT CAN BE DONE WITH THIS FUNCTION 2. MODULE COMMUNICATION SPECIFICATION ................4 2-1. S ..........................
  • Page 3: Introduction

    WPMZ Series Modbus communication instruction manual IM-0887-01 Number of pages:58 Introduction This instruction manual explains notes, information and setting method when using Modbus communication of WPMZ series. Please observe the following in order to use the product correctly and safely.
  • Page 4: Overview

    IM-0887-01 Number of pages:58 1. Overview We will explain the specification of Modbus communication of WPMZ series. This manual is intended for engineers who connect from Modbus Master to Modbus compatible products and create processing to collect settings and data.
  • Page 5: Module Communication Specification

    WPMZ Series Modbus communication instruction manual IM-0887-01 Number of pages:58 2. Module communication specification 2-1. Supported Modules The corresponding modules assumed in this manual are as follows. WPMZ-1 WPMZ-3 2-2. Module communication specification The communication specifications when connecting to each module are as shown in the table below.
  • Page 6: Module Wiring (Rs-485 Communication Option)

    WPMZ Series Modbus communication instruction manual IM-0887-01 Number of pages:58 2-3. Module wiring (RS-485 communication option) 2-3-1. Wiring method The Modbus communication wiring is wired in a daisy chain (daisy chaining). If there are multiple branches from the star wiring or module, it may not be able to communicate properly.
  • Page 7: Configuration Diagram Example

    WPMZ Series Modbus communication instruction manual IM-0887-01 Number of pages:58 2-3-3. Configuration diagram example The configuration example of WPMZ - 1/3 is shown below. About communication cable Please use a shielded cable that meets the following specifications. Table 2.4 Communication cable specification...
  • Page 8 WPMZ Series Modbus communication instruction manual IM-0887-01 Number of pages:58 Connection diagram The Modbus connection of WPMZ - 1/3 is shown below. Please set the terminating resistance to the master and slave at the final end (WPMZ in the figure below).
  • Page 9: Module Wiring (Rs-232C Communication Option)

    WPMZ Series Modbus communication instruction manual IM-0887-01 Number of pages:58 2-4. Module wiring (RS-232C communication option) 2-4-1. Connection terminal The figure below shows the RS - 232C connection terminal of WPMZ - 1/3. 28 29 30 31 32 33 Suitable wire:AWG24 to 16 Figure 2.5...
  • Page 10: Modbus Communication Specification

    WPMZ Series Modbus communication instruction manual IM-0887-01 Number of pages:58 3. Modbus communication specification Modbus is a single master / multislave system. A message is sent from one Modbus master to the slave (module). The message is sent to the specified slave (module).
  • Page 11: Message

    WPMZ Series Modbus communication instruction manual IM-0887-01 Number of pages:58 3-3. Message 3-3-1. Composition of messages After securing an idle interval of 3.5 character transmission time or longer, it transmits a communication message and ends after an idle time of 3.5 character transmission time or more.
  • Page 12: Function Code

    WPMZ Series Modbus communication instruction manual IM-0887-01 Number of pages:58 3-3-5. Function code The function code is a code that specifies the operation to be made slave, and it is included in the message sent from the master to the slave.
  • Page 13 WPMZ Series Modbus communication instruction manual IM-0887-01 Number of pages:58 Function code 04H (Read input register [Read only address]) Read the measurement value of the specified read-only address. Transmission and reception format ◎Transmission data (master → slave (module)) Table 3.7...
  • Page 14 WPMZ Series Modbus communication instruction manual IM-0887-01 Number of pages:58 Function code 06H (Write 1 word of holding register) Writes 1 word (2 bytes) of data to the specified writable address. Transmission and reception format ◎Transmission data (master → slave (module)) Table 3.9...
  • Page 15 WPMZ Series Modbus communication instruction manual IM-0887-01 Number of pages:58 Function code 08H (diagnosis) It is a communication that diagnoses the communication between the master and the slave and diagnoses the module. Transmission and reception format ◎ Transmission data (master → slave (module)) Table 3.11...
  • Page 16 WPMZ Series Modbus communication instruction manual IM-0887-01 Number of pages:58 Returns the number of times slave, busy, Return Server Busy Count exception response returned by the specified slave. Return Bus Character Overrun Returns the number of times a character Count overrun error occurred on the specified slave.
  • Page 17 WPMZ Series Modbus communication instruction manual IM-0887-01 Number of pages:58 Function code 10H (hold register consecutive write) Writes contiguous data to the specified writable address. Transmission and reception format ◎ Transmission data (master → slave (module)) Table 3.16 Function code 10H Transmission format...
  • Page 18: Error Detection

    WPMZ Series Modbus communication instruction manual IM-0887-01 Number of pages:58 3-4. Error detection 3-4-1. CRC-16 CRC - 16 is 2 - byte error check data. The calculation range is from the slave ID at the head of the message to the end of the data part.
  • Page 19 WPMZ Series Modbus communication instruction manual IM-0887-01 Number of pages:58 Calculation example: Perform CRC calculation of 010400000002. 3.18 Calculated data example: 010400000002 (6 bytes data) Table Description FFFFH - (initialization) 01 (1st byte) - XOR top two - rows right shift 1st...
  • Page 20 WPMZ Series Modbus communication instruction manual IM-0887-01 Number of pages:58 Description rows right shift 4th CF became 1 - A001H XOR top two - rows right shift 5th CF became 1 - A001H XOR top two - rows right shift 6th...
  • Page 21: Error Message

    WPMZ Series Modbus communication instruction manual IM-0887-01 Number of pages:58 Description right shift 3rd CF became 1 A001H - XOR top two - rows right shift 4th right shift 5th CF became 1 - A001H XOR top two - rows...
  • Page 22: Communication Example

    WPMZ Series Modbus communication instruction manual IM-0887-01 Number of pages:58 4. Communication example The actual communication example of each message is shown below. 4-1. WPMZ-1/3 4-1-1. Acquire measurement data When acquiring measurement data, it is as follows. Data acquisition communication Here is an example of obtaining display value of Ach.
  • Page 23: Change Control Parameters

    WPMZ Series Modbus communication instruction manual IM-0887-01 Number of pages:58 4-1-2. Change control parameters The simulation input / output control of the module is as follows. Control parameter change communication This example shows simulated output of the comparison output AL1.
  • Page 24: Change Setting Parameters

    WPMZ Series Modbus communication instruction manual IM-0887-01 Number of pages:58 4-1-3. Change setting parameters To change the setting parameters, follow the steps below. Setting permission communication To change the setting value (address 0BC2H or later of the holding register), first specify setting permission.
  • Page 25 WPMZ Series Modbus communication instruction manual IM-0887-01 Number of pages:58 Setting value write communication An example of changing "pulse input A pattern 1 input type" is shown below. The function code is 06H (1-word holding register hold) or 10H (hold register continuous write).
  • Page 26 WPMZ Series Modbus communication instruction manual IM-0887-01 Number of pages:58 Setting save communication When saving the changed setting value, it instructs save setting. Function code is 10H (hold register consecutive writing) is used. Setting save instruction (address: 0BB8H) First, send a message from the master to the slave (module).
  • Page 27: Address Map

    WPMZ Series Modbus communication instruction manual IM-0887-01 Number of pages:58 5. Address Map Write the address map of each model. 5-1. WPMZ-1/3 This section describes the WPMZ-1/3 of the address map. 5-1-1. Setting and control parameters Holding register The hold register command is shown in the table below.
  • Page 28 WPMZ Series Modbus communication instruction manual IM-0887-01 Number of pages:58 0000H:Disable, 0001H:Enable *2 40118 0075H MinHold A instruction *2 It works only when measure mode is “Default”. 0000H:Disable, 0001H:Enable *1, 2 *1 It works only when 2 input 40119 0076H MinHold B instruction product.
  • Page 29 WPMZ Series Modbus communication instruction manual IM-0887-01 Number of pages:58 40135 0086H HoldReset A insruction 0000H:Disable, 0001H:Enable 0000H:Disable, 0001H:Enable *1 40136 0087H HoldReset B insruction *1 It works only when 2 input product. 0000H:Disable, 0001H:Enable *1 40137 0088H HoldReset A&B insruction *1 It works only when 2 input product.
  • Page 30 WPMZ Series Modbus communication instruction manual IM-0887-01 Number of pages:58 ●CompareAL1 0000H:Disable, 0001H:Enable 41001 03E8H OutputTest instruction 41002 03E9H OutputTest instruction value 0000H:OFF, 0001H:ON 41003 03EAH Reserved ~ ~ ~ ~ ~ 41050 0419H ●CompareAL2 41051 041AH OutputTest instruction * Please refer to AL1.
  • Page 31: Setting Parameters

    WPMZ Series Modbus communication instruction manual IM-0887-01 Number of pages:58 Setting parameters Setting parameters are shown below. Please refer to"4-1-3. Change setting parameters" when changing setting parameters. Table 5.3 Setting parameters Absolute Commu address nication Size (Decimal address Contents The data...
  • Page 32 WPMZ Series Modbus communication instruction manual IM-0887-01 Number of pages:58 Offset: Input 43820 0EEB H / AutoAdjust: NowDisp ±99999 / ManuAdjust: RateOutput Offset: Disp 43822 0EED H / AutoAdjust: SettingDisp ±99999 / ManuAdjust: SettingDisp 0000H: ##### 0001H: ####.# 43824 0EEF H DecPoint 0002H: ###.##...
  • Page 33 WPMZ Series Modbus communication instruction manual IM-0887-01 Number of pages:58 0034H:Z, 0035H:[, 0036H:], 0037H:(, 0038H:), 0039H: 003AH: 003BH: 003CH: 003DH: 003EH: 003FH: 0040H:µ, 0041H:Ω, 0042H:g, 0043H:・, 0044H:/, 0045H:ℓ, 0046H:%, 0047H:‰, 0048H:°, 0049H:’, 004AH:” 43827 0EF2 H letter of custom unit Same as 1st letter.
  • Page 34 WPMZ Series Modbus communication instruction manual IM-0887-01 Number of pages:58 ±99999[xdigit] With range check 43877 0F24 H LinearizePoint: 9thInput before saving. 43879 0F26 H LinearizePoint: 9thOutput ±99999[xdigit] ±99999[xdigit] With range check 43881 0F28 H LinearizePoint: 10thInput before saving. 43883 0F2A H LinearizePoint: 10thOutput ±99999[xdigit]...
  • Page 35 WPMZ Series Modbus communication instruction manual IM-0887-01 Number of pages:58 ●Calculation setting Pattern1 0000H: None 0001H: Add 0002H: Sub 0003H: Mul 0004H: Div 0005H: Ave 0006H: HiSelect 0007H: LoSelect 45891 1702 H Expression 0008H: DifAbs 0009H: ErrRatio 000AH: Dens 000BH: Add2...
  • Page 36 WPMZ Series Modbus communication instruction manual IM-0887-01 Number of pages:58 0010H:p, 0011H:q, 0012H:r, 0013H:s, 0014H:t, 0015H:u, 0016H:v, 0017H:w, 0018H:x, 0019H:y, 001AH:z, 001BH:A, 001CH:B, 001DH:C, 001EH:D, 001FH:E, 0020H:F, 0021H:G, 0022H:H, 0023H:I, 0024H:J, 0025H:K, 0026H:L, 0027H:M, 0028H:N, 0029H:O 002AH:P, 002BH:Q, 002CH:R, 002DH:S, 002EH:T,...
  • Page 37 WPMZ Series Modbus communication instruction manual IM-0887-01 Number of pages:58 0008H: MaxHold A *2 0009H: MaxHold B *2 000AH: MaxHold A&B *2 000BH: MinHold A *2 000CH: MinHold B *2 000DH: MinHold A&B *2 000EH: AmpHold A *2 000FH: AmpHold B *2 0010H: AmpHold A&B *2...
  • Page 38 WPMZ Series Modbus communication instruction manual IM-0887-01 Number of pages:58 0000H:InTheZone, 46148 1803H OnConditions (ZoneJudge) 0001H:OutsideTheZone ±99999 46149 1804H Threshold: ZoneLowerLimit (ZoneJudge) * It works only when measure mode is “Default”. ±99999 46151 1806H Threshold: ZoneUpperLimit (ZoneJudge) * It works only when measure mode is “Default”.
  • Page 39 WPMZ Series Modbus communication instruction manual IM-0887-01 Number of pages:58 ●Compare output AL2 setting Pattern1:Communication address is absolute address of pattern1of AL1+240 , and the data is same. Pattern2:Communication address is absolute address of pattern1of AL1+270 , and the data is same.
  • Page 40 WPMZ Series Modbus communication instruction manual IM-0887-01 Number of pages:58 ●BCD output setting Pattern1 0000H: None 0001H: Ach 0002H: Bch *1 0003H: Calc *1,2 47341 1CACH OutputDispValue (BCD output) *1: It works only 2ch product. *2: It works only when measure mode is “Default”.
  • Page 41 WPMZ Series Modbus communication instruction manual IM-0887-01 Number of pages:58 ●DispSelect setting 0000H:Disable, 0001H:Enable 47441 1D10H 0000H:Disable, 0001H:Enable 47442 1D11H * It works only when measure mode is “Default 0000H:Disable, 0001H:Enable *1, 2 *1: It works only 2ch product. 47443...
  • Page 42 WPMZ Series Modbus communication instruction manual IM-0887-01 Number of pages:58 ●LevelDisp setting Pattern1 47501 1D4CH Ach Scale: LowerLimit (LevelDisp) ±99,999 47503 1D4EH Ach Scale: UpperLimit (LevelDisp) ±99,999 47505 1D50H Bch Scale: LowerLimit (LevelDisp) ±99,999 47507 1D52H Bch Scale: UpperLimit (LevelDisp) ±99,999...
  • Page 43 WPMZ Series Modbus communication instruction manual IM-0887-01 Number of pages:58 ●System setting 0000H:5 Bright, 0001H:4, 47981 1F2CH Brightness 0002H:3, 0003H:2, 0004H:1 Dark, 0005H:Off 0000H:None, 0001H:2sec, 0002H:5sec, 0003H:10sec, 47982 1F2DH PowerOnDelay 0004H:20sec, 0005H:30sec, 0006H:60sec 0000H:None, 0001H:1min, 0002H:2min, 0003H:5min, 47983 1F2EH PowerSavingTime 0004H:10min, 0005H:30min,...
  • Page 44 WPMZ Series Modbus communication instruction manual IM-0887-01 Number of pages:58 0022H: WaveCompare B *4 0023H:ManuAdjust A *5 0024H:ManuAdjust B *5 0025H:AutoAdjust A *5 0026H:AutoAdjust B *5 *1: Commands that are like [xxxB] or [xxxA&B] are settable when 2 input product.
  • Page 45 WPMZ Series Modbus communication instruction manual IM-0887-01 Number of pages:58 Pattern2:Communication address is absolute address of pattern1 +30 , and the data is same as pattern1. Pattern3:Communication address is absolute address of pattern1 +60 , and the data is same as pattern1.
  • Page 46 WPMZ Series Modbus communication instruction manual IM-0887-01 Number of pages:58 Pattern5:Communication address is absolute address of pattern1 +120 , and the data is same as pattern1. Pattern6:Communication address is absolute address of pattern1 +150 , and the data is same as pattern1.
  • Page 47 WPMZ Series Modbus communication instruction manual IM-0887-01 Number of pages:58 51126 2B75H Reserved ~ ~ ~ ~ ~ 51140 2B83H Pattern2:Communication address is absolute address of pattern1 +40 , and the data is same as pattern1. Pattern3:Communication address is absolute address of pattern1 +80 , and the data is same as pattern1.
  • Page 48 WPMZ Series Modbus communication instruction manual IM-0887-01 Number of pages:58 ●Multi A S4 setting Pattern1:Communication address is absolute address of pattern1 +1920, and the data is same as pattern1 of S1. Pattern2:Communication address is absolute address of pattern1 +1960, and the data is same as pattern1 of S1.
  • Page 49 WPMZ Series Modbus communication instruction manual IM-0887-01 Number of pages:58 ●WaveCompare B setting Pattern1:Communication address is absolute address of pattern1 +240, and the data is same as pattern1 of Ach. Pattern2:Communication address is absolute address of pattern1 +270, and the data is same as pattern1 of Ach.
  • Page 50 WPMZ Series Modbus communication instruction manual IM-0887-01 Number of pages:58 bit: AL1 alarmed ( 0: No, 1: Yes) bit: AL2 alarmed ( 0: No, 1: Yes) 55013 3AA4 H Alarm status of acquisition target log bit: AL3 alarmed ( 0: No, 1: Yes) bit: AL4 alarmed( 0: No, 1: Yes) Upper 8bits indicate status.
  • Page 51: Error Code

    WPMZ Series Modbus communication instruction manual IM-0887-01 Number of pages:58 Error code When setting is saved, checking the following range is executed. If an error exists, the error code is stored in communication address 0 BBAH and the settings are not saved.
  • Page 52 WPMZ Series Modbus communication instruction manual IM-0887-01 Number of pages:58 Pattern2 Same as above. 0051H Pattern3 Same as above. 0052H Pattern4 Same as above. 0053H Pattern5 Same as above. 0054H Pattern6 Same as above. 0055H Pattern7 Same as above. 0056H Pattern8 Same as above.
  • Page 53: Measurement Data

    WPMZ Series Modbus communication instruction manual IM-0887-01 Number of pages:58 Pattern7 Same as above. 00ECH Pattern8 Same as above. 00EDH WaveCompare B settings Pattern1 ・Scale: LowerLimit Same as above. 00F0H ・Scale: UpperLimit Pattern2 Same as above. 00F1H Pattern3 Same as above.
  • Page 54 WPMZ Series Modbus communication instruction manual IM-0887-01 Number of pages:58 0000H:Pattern1, 0001H:Pattern2, 0002H:Pattern3, 0003H:Pattern4, 30103 0066H Pattern number in use 0004H:Pattern5, 0005H:Pattern6, 0006H:Pattern7, 0007H:Pattern8 30104 0067H Reserved ~ ~ ~ ~ ~ 30200 018FH 1bit: Display value is disable 2bit: +Over...
  • Page 55 WPMZ Series Modbus communication instruction manual IM-0887-01 Number of pages:58 30301 012CH Display value status (Bch) Same as Ach. 30303 012E H Display value (Bch) Same as Ach. 30305 0130 H Dec point (Bch) Same as Ach. 30306 0131H Reserved ~...
  • Page 56 WPMZ Series Modbus communication instruction manual IM-0887-01 Number of pages:58 5bit: DigitalZero 6bit: TrackingZero 7bit: Stable 8bit: NearZero 9~16bit: Reserved (R: 0, W: Disable) 17bit: HoldReset 18bit: Holding is not detected 19bit: DispHold 20bit: PeakHold 21bit: BottomHold 22bit: AmpHold 23bit: DevHold...
  • Page 57 WPMZ Series Modbus communication instruction manual IM-0887-01 Number of pages:58 31102 044DH Compare output AL3 *Please refer to AL1. 31103 044EH Reserved ~ ~ ~ ~ ~ 31150 047DH 31151 047EH Compare output status AL4 *Please refer to AL1. 31152...
  • Page 58: Troubleshooting

    WPMZ Series Modbus communication instruction manual IM-0887-01 Number of pages:58 6. Troubleshooting 6-1. About communication 6-1-1. Communication abnormal If the communication isn’t possible、please check the following items. Are all the devices related to communication turned on?  Is the wiring correct? ...
  • Page 59 WPMZ Series Modbus communication instruction manual IM-0887-01 Number of pages:58 The contents of this instruction manual are subject to change without prior notice. http://www.watanabe-electric.co.jp/en/ WATANABE ELECTRIC INDUSTRY CO.,LTD. Central Office 6-16-19,JINGUMAE,SHIBUYA-KU,TOKYO 150-0001,JAPAN TEL +81-3-3400-6147 FAX +81-3-3409-3156 February ,2019 IM-0887-01...

This manual is also suitable for:

Wpmz-1Wpmz-3

Table of Contents