WATANABE WPMZ Series User manual

WPMZ series
Modbus communication
instruction manual
Supported module type
WPMZ-5/6
Ver.1.30
Instruction manual number IM-0862-02

WPMZ Series Modbus communication instruction manual
IM-0862-02
Number of pages:109
1
Table of contents
INTRODUCTION....................................................................................................................................... 2
1. OVERVIEW ............................................................................................................................................ 3
2. MODULE COMMUNICATION SPECIFICATION ................................................................................ 4
2-1. SUPPORTED MODULES ............................................................................................................................ 4
2-2. MODULE COMMUNICATION SPECIFICATION............................................................................................. 4
2-3. MODULE WIRING (RS-485 COMMUNICATION OPTION)............................................................................. 5
2-3-1. Wiring method ................................................................................................................................ 5
2-3-2. Connection terminal....................................................................................................................... 5
2-3-3. Configuration diagram example .................................................................................................... 6
2-4. MODULE WIRING (RS-232C COMMUNICATION OPTION) .......................................................................... 8
2-4-1. Connection terminal....................................................................................................................... 8
2-4-2. Configuration diagram example .................................................................................................... 8
3. MODBUS COMMUNICATION SPECIFICATION.................................................................................................... 9
3-1. COMMUNICATION PROCEDURE ................................................................................................................ 9
3-2. TRANSMISSION SWITCHING TIME............................................................................................................ 9
3-3. MESSAGE............................................................................................................................................... 10
3-3-1. Composition of messages ............................................................................................................. 10
3-3-2. Message Contents......................................................................................................................... 10
3-3-3. Types of data ................................................................................................................................. 10
3-3-4. Slave ID......................................................................................................................................... 10
3-3-5. Function code .................................................................................................................................11
3-3-6. Format Details...............................................................................................................................11
3-4. ERROR DETECTION ................................................................................................................................ 17
3-4-1. CRC-16 .......................................................................................................................................... 17
3-4-2. Calculation of CRC-16.................................................................................................................. 17
3-5. ERROR MESSAGE................................................................................................................................... 20
4. COMMUNICATION EXAMPLE .......................................................................................................... 21
4-1. WPMZ-5/6 ............................................................................................................................................ 21
4-1-1. Acquire measurement data .......................................................................................................... 21
4-1-2. Change control parameters.......................................................................................................... 22
4-1-3. Change setting parameters.......................................................................................................... 23
5. ADDRESS MAP.................................................................................................................................... 26
5-1. WPMZ-5/6 ............................................................................................................................................ 26
5-1-1. Setting and control parameters ................................................................................................... 26
5-1-2. Measurement data...................................................................................................................... 105
6. TROUBLESHOOTING........................................................................................................................108
6-1. ABOUT COMMUNICATION ..................................................................................................................... 108
6-1-1. Communication abnormal.......................................................................................................... 108
6-1-2. The acquired data is abnormal .................................................................................................. 108
Modbus is a registered trademark of Modicon Inc. (AEG Schneider Automation International S.A.S.).

WPMZ Series Modbus communication instruction manual
IM-0862-02
Number of pages:109
2
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.
○Please read this instruction manual thoroughly before use and use it properly.
○Before constructing the system, carefully read the Modbus compatible products and other equipment 's
instruction manuals to be used, and use them correctly.
○After reading, carefully keep it and read it when you need it.
Usage restrictions
●Please note that the contents of this manual may be changed without notice.
We will not be held responsible in any case for special damages, indirect
damages, losses caused by this manual.
In this operation manual, hexadecimal data is indicated by appending "H" after the numerical value. Nothing is
appended to decimal data.
Example) Hexadecimal number: 123H, decimal number: 123

WPMZ Series Modbus communication instruction manual
IM-0862-02
Number of pages:109
3
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.
As a Modbus master, it is assumed to be a PC or Programmable Logic Controller (PLC). Please
prepare equipment to be used for Modbus master in advance.
First, refer to "2. Module communication specification" and set the module (WPMZ - 5/6) connected to
the Modbus master so that it conforms to the communication specifications.
Then refer to "5. Address Map" of the corresponding module according to "3. Modbus communication
specification" and set and read the necessary items.

WPMZ Series Modbus communication instruction manual
IM-0862-02
Number of pages:109
4
2. Module communication specification
2-1. Supported Modules
The corresponding modules assumed in this manual are as follows.
WPMZ-5
WPMZ-6
2-2. Module communication specification
The communication specifications when connecting to each module are as shown in the table below.
Table 2.1 Communication specification of module (RS-485 communication option)
WPMZ-5/6
Standard
RS-485 compliant
Protocol
Modbus(RTU)
Synchronous mode
Asynchronous type
Communication method
2-wire half-duplex
Error detection method
CRC-16
communication speed
9600bps、19200bps、38400bps
Data length
8 (fixed)
Start bit
1(fixed)
Parity bit
Selection from eve, odd, none
Stop bit
1、2
(Stop bit 2 can be set only when there is no parity)
Signal name used
Non-inverted (+), inverted (-)
Terminating resistance
Approximately 120 Ω (Connected by short-circuiting TERM
terminals)
Number of connected units
31 (number of slave devices)
Configurable address
1~31 (0 can not be used)
Transmission distance (total)
1.2km
※For CE mark conformance, less than 30 m
Table 2.2 Module communication specification (RS-232C communication option)
WPMZ-5/6
Standard
RS-232C compliant
Protocol
Modbus(RTU)
Synchronous mode
Asynchronous type
Communication method
Full duplex
Error detection method
CRC-16
communication speed
9600bps、19200bps、38400bps
Data length
8 (fixed)
Start bit
1(fixed)
Parity bit
Selection from eve, odd, none
Stop bit
1、2
(Stop bit 2 can be set only when there is no parity)
Signal name used
TXD、RXD、SG
Terminating resistance
-
Number of connected units
1 (number of slave devices)
Configurable address
1 only (0 can not be used)
Transmission distance (total)
15m

WPMZ Series Modbus communication instruction manual
IM-0862-02
Number of pages:109
5
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.
2-3-2. Connection terminal
This section describes the Modbus (RS485) connection terminals of the module.
1. WPMZ-5/6
Modbus (RS485) connection terminal of WPMZ-5/6 is as shown below.
28 and 31, 29 and 32 are conducting inside the equipment respectively.
(Since the connector inside does not have continuity, communication lines and remove the connector
will be disconnected.)
Table 2.3 Connector contents
Terminal number
Symbol
Contents
28,31
RS485
+
Non-inverting signal
29,32
-
Inverting signal
30
SG
Signal ground
33,34
TERM (※)
Terminal resistance (120Ω)terminals
* Short 33 and 34 to be enable the resistance.
Figure 2.1 Wiring of Modbus communication
terminal
terminal
terminal
terminal
terminal
terminal
Correct wiring
(Daisy chain)
Incorrect wiring
(Star wiring)
Incorrect wiring
(There is a branch
on the way)
Figure 2.2 Modbus communication wiring
+
RS-485
TERM
TERM
SG
-+
RS-485
-
34
28 29 30 31 32 33
* 、 & 、 :connected internally
28 31 29 32
Suitable wire:AWG24 to 16
Master
Master
Master

WPMZ Series Modbus communication instruction manual
IM-0862-02
Number of pages:109
6
2-3-3. Configuration diagram example
The configuration example of WPMZ - 5/6 is shown below.
1. About communication cable
Please use a shielded cable that meets the following specifications.
Table 2.4 Communication cable specification
Product name
Size
Total cable extension
WPMZ-5/6
AWG24~16
1.2km or less
2. About connection of terminating resistor
Up to 31 slaves (modules) can be connected.
At that time, please set the terminating resistor for the module which becomes the terminal equipment
of the line.
In the case of WPMZ-5/6, connect the TERM terminals together.
If this product is not a terminal equipment of the line, please do not set the termination resistor.
When connecting via Modbus using the USB - RS 485 converter, even if the master is a personal
computer, set the terminating resistor in the USB - RS 485 converter. (See the figure below)
Note: Do not configure multiple masters to connect to the same slave (module).
Communication may not be performed correctly and data may not be taken.
Figure 2.3 Terminating resistance when USB-RS 485 converter is used
Master
Set the
terminating
resistance
Set the
terminating
resistance
USB-RS485
converter
Computer
Slave (module)
USB
RS485
RS485

WPMZ Series Modbus communication instruction manual
IM-0862-02
Number of pages:109
7
3. Connection diagram
The Modbus connection of WPMZ - 5/6 is shown below.
Please set the terminating resistance to the master and slave at the final end (WPMZ in the figure
below).
Table 2.5 Modbus connection terminal (WPMZ - 5/6)
Terminal
number
symbol
Contents
28,31
RS485
+
Communication plus
terminal
29,32
-
Communication minus
terminal
30
SG
Communication SG
terminal
33,34
TERM (※)
Terminal resistor terminal
(120 Ω)
※When connecting the TERM terminals to each other, the terminating resistance becomes
effective.
Figure 2.4 Modbus connection of WPMZ-5/6
With
terminating
resistance
Shield cable
Shield cable
※When WPMZ - 5/6 is
terminated, connect the
TERM terminals together.
Twisted pair wire
WPMZ-5/6:AWG24~16
Slave
Slave
WPMZ
Master
SG
SG
-
-
+
+
+
-
+
-
SG
S
G
T
T
Shield cable

WPMZ Series Modbus communication instruction manual
IM-0862-02
Number of pages:109
8
2-4. Module wiring (RS-232C communication option)
2-4-1. Connection terminal
The figure below shows the RS - 232C connection terminal of WPMZ - 5/6.
Table 2.6 Connector contents
Terminal
number
symbol
Contents
28
RXD
Receive terminal
29
TXD
Transmission terminal
30
SG
Common terminal of
communication function
31~34
NC
Not connected ※ Please
do not use as relay
terminal.
2-4-2. Configuration diagram example
The configuration example of WPMZ - 5/6 is shown below.
Master and slave (module) are connected 1: 1.
Specify "1" for the slave address of the Modbus protocol.
Figure 2.5 Wiring of RS-232C communication
Figure 2.6 When USB-RS232C converter is used
マスター
USB RS-232C
converter
computer
Slave (module)
USB
RS-232C
RXD
TXD
SG
NC
NC
NC
NC
34
28 29 30 31 32 33
Suitable wire:AWG24 to 16

WPMZ Series Modbus communication instruction manual
IM-0862-02
Number of pages:109
9
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).
3-1. Communication procedure
When the master sends a command message, the slave (module) sends a response message to the
contents of the message.
The operations of the master side message and the slave side message are as follows.
3-2. Transmission Switching Time
In communication between master and slave, idle time for 3.5 characters is required for transmission /
reception switching.
Please refer to the table below for the idle time for 3.5 characters.
In the WPMZ-5/6 series, the communication speed and parity setting can be changed.
Table 3.1 3.5 character idle time (reference value)
communication
speed
With parity
(Even number, odd
number)
No parity
9600bps
4.01ms
3.65ms
19200bps
2.01ms
1.82ms
38400bps
1.00ms
0.91ms
Master
Slave
(module)
Command
message
Response
message
Command
message
Response
message
Figure 3.1 Communication procedure
Master side message
transmission
Slave side message
response
Idle time
Idle time

WPMZ Series Modbus communication instruction manual
IM-0862-02
Number of pages:109
10
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.
Idl e 3.5
ch ara ct ers
Sla ve ID
Fun ct ion
co d e
T he d a t a
Er ror ch ec k
CRC-16
Idl e 3.5
ch ara ct ers
1by te
1by te
2~250byt e
( v ar i a bl e
le ng th )
2by te
3-3-2. Message Contents
In the structure of the above message, descriptions of data and contents that can be set are shown in
the table below.
Table 3.2 Message contents
item
Setting data
Contents
Slave ID
01~1FH
Slave ID (maximum number of connected units is 31)
Function code
03H
Read held register
04H
Read input register
(Read only address)
06H
Hold register 1 word write
08H
Diagnosis
0BH
Read event counter
0CH
Read event log
10H
Holding register Continuous write
11H
Read slave information
The data
-
Data (variable length by command)
Error check
(CRC-16)
Calculate CRC-16 from the slave ID to the last byte of the data and add CRC-16 (2
bytes) of the operation result to the data in the order of the lower byte and the
upper byte.
3-3-3. Types of data
Modbus data has two input register and holding register.
Table 3.3 Types of data
Types of data
Reading and
writing
Details
Input register
Read only
It is used to acquire the information in the slave.
Holding register
Reading and
writing
It is used to acquire and set slave control information / setting
information.
3-3-4. Slave ID
It returns a response message only when the received message matches the ID value set in the
module.
If they do not match, no response message is returned.

WPMZ Series Modbus communication instruction manual
IM-0862-02
Number of pages:109
11
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.
The function codes described in this manual are shown in the table below.
Table 3.4 Function code list
Function
code
Feature Description
03H
Read held register
04H
Read input register
(Read only address)
06H
Hold register 1 word write
08H
Diagnosis
10H
Holding register Continuous write
3-3-6. Format Details
Explain the detailed format for each function code.
Caution
Please be aware that the error checking CRC in each format is added in order of lower byte and higher byte.
1. Function code 03H (Read held register)
Read the parameter value of the specified address.
Transmission and reception format
◎Transmission data (master →slave (module))
Table 3.5 Function code 03H Transmission format
name
Tra nsmi tted da ta
Sla ve ID
01 ~FF H
Function c ode
03H
Ad d re ss
U pp e r
0000 ~27 0FH
Low er
Nu mbe r of w or ds to be
re a d( Da ta le ng t h ÷ 2 )
U pp e r
0001 ~00 7D H
Low er
Er ror ch ec k
(CRC-16)
U pp e r
0000 ~FF F FH
Low er
※Specify the number of read words in units of data length for each address.
◎Received data (slave (module) →master)
Table 3.6 Function code 03H Reception format
name
Received d ata
Sla ve ID
01 ~FF H
Function c ode
03H
N u mb e r o f b y t es r ea d
2 ×n u mb e r o f r e ad w o r ds
F ir s t w o r d d a ta
U pp e r
0000 ~FF F FH
Low er
N e xt w o r d d a t a
U pp e r
0000 ~FF F FH
Low er
~
~
~
T he l as t w or d d a ta
U pp e r
0000 ~FF F FH
Low er
Er ror ch ec k
(CRC-16)
Low er
0000 ~FF F FH
U pp e r

WPMZ Series Modbus communication instruction manual
IM-0862-02
Number of pages:109
12
2. 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 Function code 04H Transmission format
name
Tra nsmi tted da ta
Sla ve ID
01 ~FF H
Function c ode
04H
Ad d re ss
U pp e r
0000 ~27 0FH
Low er
Nu mbe r of w or ds to be
re a d( Da ta le ng t h ÷ 2 )
U pp e r
0001 ~00 7D H
Low er
Er ror ch ec k
(CRC-16)
Low er
0000 ~FF F FH
U pp e r
※Specify the number of read words in units of data length for each address.
◎Received data (slave (module) →master)
Table 3.8 Function code 04H Reception format
name
Received d ata
Sla ve ID
01 ~FF H
Function c ode
04H
N u mb e r o f b y t es r ea d
2 ×n u mb e r o f r e ad w o r ds
F ir s t w o r d d a ta
U pp e r
0000 ~FF F FH
Low er
N e xt w o r d d a t a
U pp e r
0000 ~FF F FH
Low er
~
~
~
T he l as t w or d d a ta
U pp e r
0000 ~FF F FH
Low er
Er ror ch ec k
(CRC-16)
Low er
0000 ~FF F FH
U pp e r

WPMZ Series Modbus communication instruction manual
IM-0862-02
Number of pages:109
13
3. 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 Function code 06H Transmission format
name
Tra nsmi tted da ta
Sla ve ID
01 ~FF H
Function c ode
06H
Ad d re ss
U pp e r
0000 ~27 0FH
Low er
W ri te w o rd d a ta
U pp e r
0000 ~FF F FH
Low er
Er ror ch ec k
(CRC-16)
Low er
0000 ~FF F FH
U pp e r
◎Received data (slave (module) →master)
Table 3.10 Function code 06H Reception format
name
Received d ata
Sla ve ID
01 ~FF H
Function c ode
06H
Ad d re ss
U pp e r
0000 ~27 0FH
Low er
W ri te w o rd d a ta
U pp e r
0000 ~FF F FH
Low er
Er ror ch ec k
(CRC-16)
Low er
0000 ~FF F FH
U pp e r

WPMZ Series Modbus communication instruction manual
IM-0862-02
Number of pages:109
14
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 Function code 08H Transmission format
name
Tra nsmi tted da ta
Sla ve ID
01 ~FF H
Function c ode
08 H
D ia gn os t ic s u bc o d e
U pp e r
0000 ~0012H
Low er
Da ta f ie ld
U pp e r
0000 ~FF F FH
Low er
Er ror ch ec k
(CRC-16)
Low er
0000 ~FF F FH
U pp e r
◎Received data (slave (module) →master)
Table 3.12 Function code 08H Reception format
name
Received d ata
Sla ve ID
01 ~FF H
Function c ode
08H
D ia gn os t ic s u bc o d e
U pp e r
0000 ~0015H
Low er
Da ta f ie ld
U pp e r
0000 ~FF F FH
Low er
Er ror ch ec k
(CRC-16)
Low er
0000 ~FF F FH
U pp e r
Diagnostic subcode and diagnostic content
The corresponding diagnostic subcode is shown in the table below.
Table 3.13 Corresponding diagnostic subcode
Diagnostic
subcode
Diagnostic name
Diagnosis contents
00H
Return Query Data
It returns the data of the transmitted data field as it
is.
01H
Restart Communications Option
Restart communication.
02H
Return Diagnostics Register
Returns diagnostic register (fixed as 0 because it is
not used).
04H
Force Listen Only Mode
Set the slave to receive only mode.
0AH
Clear Counters and Diagnostic Register
Clear all counters and diagnostic registers.
0BH
Return Bus Message Count
Returns the total of messages detected by the slave.
0CH
Return Bus Communication Error Count
Returns the total of CRC errors detected by the
slave.
0DH
Return Bus Exception Error Count
Returns the sum of exception responses of Modbus
returned by the specified slave.
0EH
Return Server Message Count
Returns the total of messages received by the
specified slave.
0FH
Return Server No Response Count
Returns the total of messages for which the
specified slave did not respond.
10H
Return Server NAK Count
Returns the total of messages that the specified
slave returned NAK.

WPMZ Series Modbus communication instruction manual
IM-0862-02
Number of pages:109
15
11H
Return Server Busy Count
Returns the number of times slave, busy, exception
response returned by the specified slave.
12H
Return Bus Character Overrun Count
Returns the number of times a character overrun
error occurred on the specified slave.
Diagnostic function communication example
Communication is performed with the diagnosis subcode 00H (Return Query Data) for the module
with slave ID 01H.
An example of specifying 55AAH for write word data is shown below.
・Transmission data (master →slave (module))
Table 3.14 Function code 08H Transmission data
name
Tra nsmi tted
data
Sla ve ID
01H
Function c ode
08H
D ia gn os t ic s u bc o d e
U pp e r
00H
Low er
00H
Da ta f ie ld
U pp e r
55H
Low er
AAH
Er ror ch ec k
(CRC-16)
Low er
5FH
U pp e r
24H
・Received data (slave (module) →master)
Table 3.15 Function code 08H Receive data
name
Received
data
Sla ve ID
01H
Function c ode
08H
D ia gn os t ic s u bc o d e
U pp e r
00H
Low er
00H
Da ta f ie ld
U pp e r
55H
Low er
AAH
Er ror ch ec k
(CRC-16)
Low er
5FH
U pp e r
24H

WPMZ Series Modbus communication instruction manual
IM-0862-02
Number of pages:109
16
4. 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
name
Tra nsmi tted da ta
Sla ve ID
01 ~FF H
Function c ode
10H
S ta r t a d d re s s
U pp e r
0000 ~27 0FH
Low er
T he n u m be r of d a ta
U pp e r
0002 ~01 FE H
Low er
N u mb e r o f b y t es
01 ~FF H
F ir s t w r i te w o r d d a ta
U pp e r
0000 ~FF F FH
Low er
N e xt w r i t e w o r d d a t a
U pp e r
0000 ~FF F FH
Low er
~
~
~
L as t w ri t e w o r d d a ta
U pp e r
0000 ~FF F FH
Low er
Er ror ch ec k
(CRC-16)
Low er
0000 ~FF F FH
U pp e r
◎Received data (slave (module) →master)
Table 3.17 Function code 10H Reception format
name
Received d ata
Sla ve ID
01 ~FF H
Function c ode
10H
S ta r t a d d re s s
U pp e r
0000 ~27 0FH
Low er
デー タ数
U pp e r
0002 ~01 FE H
Low er
Er ror ch ec k
(CRC-16)
Low er
0000 ~FF F FH
U pp e r

WPMZ Series Modbus communication instruction manual
IM-0862-02
Number of pages:109
17
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.
The slave (module) calculates the CRC of the received message, and if it does not match the received
CRC code, it becomes no response and the function is not executed.
3-4-2. Calculation of CRC-16
To calculate the CRC, divide the transmission data by the generator polynomial (X16 + X15 + X2 + X0)
and set the remainder in the order of the lower byte and upper byte in the error check.
The following is an example of generating with command data from the master device.
①Area initialization: Substitute FFFFH for 【CRC - 16】.
②Assign the calculated value of 【CRC - 16】XOR 【first data (here, slave ID data)】to 【CRC -
16】.
③Assign [CRC - 16] to the right by one bit shifted to [CRC - 16].
④If CF (carry flag) = 1, substitute the calculated value of [CRC - 16] XOR A 001 H into [CRC -
16] according to 3) above. (CF shifts to the right when shifting right one bit when the least
significant bit is 1).
⑤Repeat ③ and ④ above 8 times. After the end of 8 times, go to ⑥.
⑥If the last data has been completed, add [CRC - 16] as a calculation result to the message and
exit. If not finished, go to ⑦.
⑦Assign the calculated value of 【CRC - 16】XOR 【next data】to 【CRC - 16】and go to ③.

WPMZ Series Modbus communication instruction manual
IM-0862-02
Number of pages:109
18
Calculation example: Perform CRC calculation of 010400000002.
Table 3.18 Calculated data example: 010400000002 (6 bytes data)
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
CF
説明
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
-
FFFFH
(initialization)
01 (1st byte)
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
-
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
0
-
XOR top two rows
right shift 1st
0
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
0
right shift 2nd
0
0
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
CF became 1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
1
-
A001H
1
0
0
1
1
1
1
1
1
1
1
1
1
1
1
0
-
XOR top two rows
right shift 3rd
0
1
0
0
1
1
1
1
1
1
1
1
1
1
1
1
0
right shift 4th
0
0
1
0
0
1
1
1
1
1
1
1
1
1
1
1
1
CF became 1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
1
-
A001H
1
0
0
0
0
1
1
1
1
1
1
1
1
1
1
0
-
XOR top two rows
right shift 5th
0
1
0
0
0
0
1
1
1
1
1
1
1
1
1
1
0
right shift 6th
0
0
1
0
0
0
0
1
1
1
1
1
1
1
1
1
1
CF became 1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
1
-
A001H
1
0
0
0
0
0
0
1
1
1
1
1
1
1
1
0
-
XOR top two rows
right shift 7th
0
1
0
0
0
0
0
0
1
1
1
1
1
1
1
1
0
right shift 8th
0
0
1
0
0
0
0
0
0
1
1
1
1
1
1
1
1
CF became 1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
1
-
A001H
1
0
0
0
0
0
0
0
0
1
1
1
1
1
1
0
-
XOR top two rows
04 (2nd byte)
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
-
1
0
0
0
0
0
0
0
0
1
1
1
1
0
1
0
-
XOR top two rows
right shift 1st
0
1
0
0
0
0
0
0
0
0
1
1
1
1
0
1
0
right shift 2nd
0
0
1
0
0
0
0
0
0
0
0
1
1
1
1
0
1
CF became 1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
1
-
A001H
1
0
0
0
0
0
0
0
0
0
0
1
1
1
1
1
-
XOR top two rows
right shift 3rd
0
1
0
0
0
0
0
0
0
0
0
0
1
1
1
1
1
CF became 1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
1
-
A001H
1
1
1
0
0
0
0
0
0
0
0
0
1
1
1
0
-
XOR top two rows
right shift 4th
0
1
1
1
0
0
0
0
0
0
0
0
0
1
1
1
0
right shift 5th
0
0
1
1
1
0
0
0
0
0
0
0
0
0
1
1
1
CF became 1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
1
-
A001H
1
0
0
1
1
0
0
0
0
0
0
0
0
0
1
0
-
XOR top two rows
right shift 6th
0
1
0
0
1
1
0
0
0
0
0
0
0
0
0
1
0
right shift 7th
0
0
1
0
0
1
1
0
0
0
0
0
0
0
0
0
1
CF became 1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
1
-
A001H
1
0
0
0
0
1
1
0
0
0
0
0
0
0
0
1
-
XOR top two rows
right shift 8th
0
1
0
0
0
0
1
1
0
0
0
0
0
0
0
0
1
CF became 1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
1
-
A001H
1
1
1
0
0
0
1
1
0
0
0
0
0
0
0
1
-
XOR top two rows
00 (3rd byte)
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
-
1
1
1
0
0
0
1
1
0
0
0
0
0
0
0
1
-
XOR top two rows
right shift 1st
0
1
1
1
0
0
0
1
1
0
0
0
0
0
0
0
1
CF became 1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
1
-
A001H
1
1
0
1
0
0
0
1
1
0
0
0
0
0
0
1
-
XOR top two rows
right shift 2nd
0
1
1
0
1
0
0
0
1
1
0
0
0
0
0
0
1
CF became 1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
1
-
A001H
1
1
0
0
1
0
0
0
1
1
0
0
0
0
0
1
-
XOR top two rows
right shift 3rd
0
1
1
0
0
1
0
0
0
1
1
0
0
0
0
0
1
CF became 1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
1
-
A001H
1
1
0
0
0
1
0
0
0
1
1
0
0
0
0
1
-
XOR top two rows
right shift 4th
0
1
1
0
0
0
1
0
0
0
1
1
0
0
0
0
1
CF became 1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
1
-
A001H
1
1
0
0
0
0
1
0
0
0
1
1
0
0
0
1
-
XOR top two rows
right shift 5th
0
1
1
0
0
0
0
1
0
0
0
1
1
0
0
0
1
CF became 1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
1
-
A001H
1
1
0
0
0
0
0
1
0
0
0
1
1
0
0
1
-
XOR top two rows
right shift 6th
0
1
1
0
0
0
0
0
1
0
0
0
1
1
0
0
1
CF became 1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
1
-
A001H
1
1
0
0
0
0
0
0
1
0
0
0
1
1
0
1
-
XOR top two rows
right shift 7th
0
1
1
0
0
0
0
0
0
1
0
0
0
1
1
0
1
CF became 1

WPMZ Series Modbus communication instruction manual
IM-0862-02
Number of pages:109
19
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
CF
説明
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
1
-
A001H
1
1
0
0
0
0
0
0
0
1
0
0
0
1
1
1
-
XOR top two rows
right shift 8th
0
1
1
0
0
0
0
0
0
0
1
0
0
0
1
1
1
CF became 1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
1
-
A001H
1
1
0
0
0
0
0
0
0
0
1
0
0
0
1
0
-
XOR top two rows
00 (4th byte)
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
-
1
1
0
0
0
0
0
0
0
0
1
0
0
0
1
0
-
XOR top two rows
right shift 1st
0
1
1
0
0
0
0
0
0
0
0
1
0
0
0
1
0
right shift 2nd
0
0
1
1
0
0
0
0
0
0
0
0
1
0
0
0
1
CF became 1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
1
-
A001H
1
0
0
1
0
0
0
0
0
0
0
0
1
0
0
1
-
XOR top two rows
right shift 3rd
0
1
0
0
1
0
0
0
0
0
0
0
0
1
0
0
1
CF became 1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
1
-
A001H
1
1
1
0
1
0
0
0
0
0
0
0
0
1
0
1
-
XOR top two rows
right shift 4th
0
1
1
1
0
1
0
0
0
0
0
0
0
0
1
0
1
CF became 1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
1
-
A001H
1
1
0
1
0
1
0
0
0
0
0
0
0
0
1
1
-
XOR top two rows
right shift 5th
0
1
1
0
1
0
1
0
0
0
0
0
0
0
0
1
1
CF became 1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
1
-
A001H
1
1
0
0
1
0
1
0
0
0
0
0
0
0
0
0
-
XOR top two rows
right shift 6th
0
1
1
0
0
1
0
1
0
0
0
0
0
0
0
0
0
right shift 7th
0
0
1
1
0
0
1
0
1
0
0
0
0
0
0
0
0
right shift 8th
0
0
0
1
1
0
0
1
0
1
0
0
0
0
0
0
0
00 (5th byte)
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
-
0
0
0
1
1
0
0
1
0
1
0
0
0
0
0
0
-
XOR top two rows
right shift 1st
0
0
0
0
1
1
0
0
1
0
1
0
0
0
0
0
0
right shift 2nd
0
0
0
0
0
1
1
0
0
1
0
1
0
0
0
0
0
right shift 3rd
0
0
0
0
0
0
1
1
0
0
1
0
1
0
0
0
0
right shift 4th
0
0
0
0
0
0
0
1
1
0
0
1
0
1
0
0
0
right shift 5th
0
0
0
0
0
0
0
0
1
1
0
0
1
0
1
0
0
right shift 6th
0
0
0
0
0
0
0
0
0
1
1
0
0
1
0
1
0
right shift 7th
0
0
0
0
0
0
0
0
0
0
1
1
0
0
1
0
1
CF became 1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
1
-
A001H
1
0
1
0
0
0
0
0
0
0
1
1
0
0
1
1
-
XOR top two rows
right shift 8th
0
1
0
1
0
0
0
0
0
0
0
1
1
0
0
1
1
CF became 1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
1
-
A001H
1
1
1
1
0
0
0
0
0
0
0
1
1
0
0
0
-
XOR top two rows
02 (6th byte)
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
-
1
1
1
1
0
0
0
0
0
0
0
1
1
0
1
0
-
XOR top two rows
right shift 1st
0
1
1
1
1
0
0
0
0
0
0
0
1
1
0
1
0
right shift 2nd
0
0
1
1
1
1
0
0
0
0
0
0
0
1
1
0
1
CF became 1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
1
-
A001H
1
0
0
1
1
1
0
0
0
0
0
0
0
1
1
1
-
XOR top two rows
right shift 3rd
0
1
0
0
1
1
1
0
0
0
0
0
0
0
1
1
1
CF became 1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
1
-
A001H
1
1
1
0
1
1
1
0
0
0
0
0
0
0
1
0
-
XOR top two rows
right shift 4th
0
1
1
1
0
1
1
1
0
0
0
0
0
0
0
1
0
right shift 5th
0
0
1
1
1
0
1
1
1
0
0
0
0
0
0
0
1
CF became 1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
1
-
A001H
1
0
0
1
1
0
1
1
1
0
0
0
0
0
0
1
-
XOR top two rows
right shift 6th
0
1
0
0
1
1
0
1
1
1
0
0
0
0
0
0
1
CF became 1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
1
-
A001H
1
1
1
0
1
1
0
1
1
1
0
0
0
0
0
1
-
XOR top two rows
right shift 7th
0
1
1
1
0
1
1
0
1
1
1
0
0
0
0
0
1
CF became 1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
1
-
A001H
1
1
0
1
0
1
1
0
1
1
1
0
0
0
0
1
-
XOR top two rows
right shift 8th
0
1
1
0
1
0
1
1
0
1
1
1
0
0
0
0
1
CF became 1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
1
-
A001H
1
1
0
0
1
0
1
1
0
1
1
1
0
0
0
1
-
XOR top two rows
The result of this CRC calculation is 1100101101110001. (Last line)
Displayed in hexadecimal notation is CB71H. (When you incorporate it into messages, it will be in
order from lowest to highest)
Other manuals for WPMZ Series
2
This manual suits for next models
2
Table of contents
Other WATANABE Control Unit manuals