You are on page 1of 17

MODBUS SERIES

Technique Manual
BDⅡ -MODBUS SERIES ACTUATOR Operation Instructions

1. Introduction................................................................................................................ 2

2. BDⅡ-MODBUS Actuator Connection ...................................................................... 2

2.1 The cable for the communications.......................................................................... 2

2.2 The connection of the half duplex .......................................................................... 3

2.3 The connection of the full duplex ........................................................................... 4

2.4 The Modbus board ................................................................................................. 5

3. Programing the MODBUS module........................................................................... 6

4. BDⅡ-MODBUS technical data ............................................................................... 6

4.1 MODBUS specification(PI–MBUS–300 Rev.J) ................................................ 6

4.2 Modbus Function Code Support ............................................................................. 6

4.3 The contents of the data for Modbus communication ............................................. 7


4.3.1 The contents for the input status of the actuator.................................................................... 7
4.3.2 The contents for the coil status of the actuator...................................................................... 8
4.3.3 The contents for the input registers of the actuator ................................................................ 8
4.3.4 The contents for the output registers of the actuator............................................................. 8

4.4 Function Code Description..................................................................................... 9


4.4.1 Function F01..................................................................................................................................... 9
4.4.2 Function F02................................................................................................................................. 100
4.4.3 Function F03................................................................................................................................. 100
4.4.4 Function F04..................................................................................................................................111
4.4.5 Function F05(to broadcast possibly)....................................................................................111
4.4.6 Function F06(to broadcast possibly) ................................................................................111
4.4.7 Function F07................................................................................................................................. 122
4.4.8 Function F08................................................................................................................................. 133
4.4.9 Function F16(to broadcast possibly) ................................................................................. 14
4.4.10 Function F17(to be customized by user) ......................................................................... 14
4.4.11 Mistake Information.................................................................................................................. 144
4.4.12 Broadcasting Information....................................................................................................... 155

Appendix :Command in common use.................................................................... 155

Page 1 / 17
BDⅡ -MODBUS SERIES ACTUATOR Operation Instructions

1.Introduction
BDⅡ-MODBUS range actuators equips a Modbus board which supports the communication protocol of Modbus
RTU . The Modbus board makes use of RS485 interface and can operate in either 2(for half duplex) or 4 wire
mode(for full duplex), and supports baud rates up to 38.4 kBit/s. Master and slave devices: Max. 247 slave devices
connected to one bus, withoutrepeaters max. 32 slave devices.
If the security is required highly for the environment,a redundant connection between the actuators and the DCS can
be established by using a second fieldbus cable. And two Modbus boards must be equipped in the actuator,
respectively corresponding to bus highway1 and bus highway2. In this way , the communication can be swich to
highway2 at once when the highway1 happen trouble.
Modbu master can send the commands which make the actuator carry out OPEN, CLOSE, STOP and ESD.The
master can also read the status , setting parameter and some alarm information.

2.BDⅡ-MODBUS Actuator Connection


BDⅡ-MODBUS terminal definition in actuator’s connection box for user:
Terminal umber of actuator’s Explaination
connection box
“21” Termination resistance A of the Modbus boardⅠ
“16” Terminal A of the Modbus boardⅠ
“17” Terminal B of the Modbus boardⅠ
“24” Termination resistance B of the Modbus boardⅠ
“18” Terminal COM. of the Modbus boardⅠ
“46” Termination resistance A of the Modbus boardⅡ (See Note )
“14” Terminal A of the Modbus boardⅡ (See Note )
“15” Terminal B of the Modbus boardⅡ (See Note )
“47” Termination resistance B of the Modbus boardⅡ (See Note )
“30” Terminal COM. of the Modbus boardⅡ (See Note )
“29” Earth Terminal of the Modbus boards
Table 2.1: The terminal definition in actuator’s connection box
Note:1、Half duplex mode:Terminal 16 and terminal 14 are connected at inner . Terminal 17 and terminal 15 are
connected at inner .
2、Full duplex mode:Terminal 16 and terminal 24 send out the bus signals from the actuator, and terminal 46
and terminal 47 take in the bus signals from the actuator.
3、Redundant mode(only half duplex):Terminal 16 and terminal 17 are general chunnel. And terminal 14 and
terminal 15 are redundant chunnel.

2.1 The cable for the communications


Only cables according to the recommendations of EIA 485 standard should be used for Modbus wiring.
A maximum of up to 32 Modbus devices may be connected in one segment(refer to Fig 2.1 ).If more nodes are to be
connected to one Modbus network, several segments must be connected with repeaters.
The bus cable must be laid at a distance of at least 20 cm from other cables.It should be laid in a separate, conductive,
and earthed cable trunking.
It must be ensured that no potential differences can occur between the indi-vidual devices on the Modbus (perform a

Page 2 / 17
BDⅡ -MODBUS SERIES ACTUATOR Operation Instructions

potential equalisation).
Recommended cable specification for Modbus
Screening: CU shielding braid or shielding braid and shielding foil
Impedance: 135 to 165 Ohm, at a frequency of 3 to 20 MHz.
Cable capacity: < 30 pF per metre
Cable diameter: >0.64mm
Cross section: >0.34 mm², conforms to AWG 22
Loop resistance: <110Ω per km

Controls (master)
2-wire cable
Bus termination switched on

MODBUS board Bus termination switched on

Connection
box
Fig 2.1:BDⅡ-Modbus with one segment

2.2 The connection of the half duplex


Please refer to Fig. 2.2 and Table 2.1 for Bus connection in the half duplex mode.
Please refer to Table 2.2 for the connection Earth Terminal and Terminal COM. of the Modbus boards.
Environmental condition Recommendatory connection
Lightining strike(cable in air) and strong To use Shielded three wires, one wire connects with the terminal 18/30 in
common model signal ( very long actuator’s connection box. The shield connects with the terminal 29 in
distance to communicate)can exist. actuator’s connection box. And actuator’s trunk connect swith the earth.
Strong common model signal(very long To use Shielded Twisted Pair, the shield connects with the terminal 18/30
distance to communicate)can exist. in actuator’s connection box.
To use Shielded Twisted Pair, the shield connects with the terminal 29 in
Lightining strike(cable in air) can exist.
actuator’s connection box. And actuator’s trunk connect with the earth.
Smallish distance to communicate and
To use Twisted Pair.
the cable is not in air.
Table 2.2:Recommendatory connection for the connection Earth Terminal and Terminal COM.
If half duplex mode must be changed from ever full duplex mode to the actuator, user must remove out the control
cover on the actuator and take out the short piece at the JUMP3 and dials the SW1 to ON on the MODBUS board in
the actuator. See fig.2.4. The termination resistance value on the MODBUS board in the actuator are 510Ω-120Ω
-510Ω.

Page 3 / 17
BDⅡ -MODBUS SERIES ACTUATOR Operation Instructions

The actuator in middle position in half duplex mode

21 16 14 17 15 24

A
A
B
B
from previous device to next device

The actuator in end position in half duplex mode

21 14 16 17 15 24

A
B
from previous device connecting termination resistance

Fig.2.2 Bus connection for the half duplex mode

2.3 The connection of the full duplex


Please refer to Fig. 2.3 and Table 2.1 for Bus connection in the half duplex mode.

The actuator in middle position in full duplex mode


Bus sending for master Bus receiving for master
21 16 17 24 46 14 15 47

A A A A
B B B B
from previous device to next device from previous device to next device

The actuator in end position in full duplex mode


Bus sending for master Bus receiving for master
21 16 17 24 46 14 15 47

A A
B B
connecting termination connecting termination
from previous device resistance from previous device resistance

Fig. 2.3 Bus connection for the full duplex mode


If full duplex mode must be changed from ever half duplex mode to the actuator, user must remove out the control
cover on the actuator and connects terminal 1 with terminal 2 at the JUMP3 dials the SW1 to OFF on the MODBUS
board in the actuator. See fig.2.4.
Work on the electrical system or equipment must only be carried out by a skilled electrician
himself or by specially instructed personnel under the control and supervision of such an
electrician and in accordance with the applicable electrical engineering rules.
Page 4 / 17
BDⅡ -MODBUS SERIES ACTUATOR Operation Instructions

Note: Before opening the control cover or the connection box, ensure that there is no explosive gas and no
voltage.

2.4 The Modbus board


The bus communication ports, the auxiliary ESD input port, and the auxiliary REMOTE OPN, REMOTE CLOSE
and REMOTE MAINTAIN input ports on the Modbus board.

JP5
MODBUS BOARD
JP

1
1
4

JUMP4
JUMP5
1

1 2
SW1
JUMP3

3
3

ON
JP1

1
JUMP1

JUMP2

Fig.2.4 Modbus board aspect

Page 5 / 17
BDⅡ -MODBUS SERIES ACTUATOR Operation Instructions

3.Programing the MODBUS module


Please refer to 2.4.3.5 NETWORK SETUP in the《BDII_TC_Modbus_Operation_Manual》.

4.BDⅡ-MODBUS technical data

4.1 MODBUS specification:(PI–MBUS–300 Rev.J)


4.1.1 Electrical Specification RS485 - (2 or 4 wire)
4.1.2 Outer Protocol
Modbus transmission mode RTU (8 bit binary data)
Baud rate 110, 300, 600, 1200, 2400, 4800, 9600, 19200 or 38400
Number of bits per character
start bits 1
data bits, (LSB first) 8
Parity Odd, Even or None - (no parity bits sent if none is selected)
Stop bits 1 or 2
Error checking CRC
Message timeouts 110 - 382 ms
300 - 140 ms
600 - 70 ms
1200 - 35 ms
2400 - 17.5 ms
4800 - 8.75 ms
9600 - 4.375 ms
19200 - 2.2 ms
38400 - 1.1 ms
The slave Address:0 = broadcast address, 247 = default address of the slave, 1-247 = The slave address
Whilst only 32 physical nodes can be present on any single segment, addresses up to 247 can be used.
Address 0 is reserved for broadcast messages. If more than 32 nodes are to be used on a single highway, external
repeaters will have to be used.

4.2 Modbus Function Code Support:


The Modbus codes supported by the Modbus Module are listed in the table below;
Function
Function Description
Code
Read Coil Status 01 Reads out the status of individual output bit information from the slave
Read Input Status 02 Reads out the status of individual input bit information from the slave
Page 6 / 17
BDⅡ -MODBUS SERIES ACTUATOR Operation Instructions

Read Output Registers 03 Reads out the content of output registers from the slave
Read Input Registers 04 Reads out the content of input registers from the slave on
Force Single Coil 05 Sets an individual bit in the slave to ON or OFF
Pre-set Single Register 06 Writes data to individual output Registers of the slave.
Read Exception Status 07 Reads out the content of the AUX input or controls.
Loop back Test 08 The tests are provided for verifying that the interface is working satisfactorily
Pre-set Multiple Registers 16 Writes data to consecutive Output Registers
Report Slave ID 17 Reads out the Slave ID and the software version number.
Table 4.1: Modbus Codes Supported
In all cases feedback data is considered to flow from the actuator to the host PLC and command data is considered to
flow in the reverse direction, i.e. inputs are feedback signals and outputs are commands.

4.3 The contents of the data for Modbus communication

4.3.1 The contents of the input status from the actuator (For F02 )

Bit Address Meanings


00 =1:Centre column moving
01 =1:At the Close limit
02 =1:At the Open limit
03 =1:Thermostat tripped
04 Reserved
05 =1:Local selected
06 =1:Remote selected
07 Reserved
08 =1:Clockwise contactor on
09 =1:Anti-clockwise contactor on
10 =1:Interrupter timer
11 =1:Positionning
12 Reserved
13 Reserved
14 =1:Position control enabled
15 =1:Communication error inside
16 Reserved
17 Reserved
18 Reserved
19 Reserved
20 AUX input 3 =1:Remote maintain; =0:No remote maintain command
21 AUX input 2 =1:Remote close; =0:No remote close command
22 AUX input 1 =1:Remote open; =0:No remote open command
23 AUX input 4 =1:Remote ESD; =0:No remote ESD command
Table 4.2: Digital Inputs
Page 7 / 17
BDⅡ -MODBUS SERIES ACTUATOR Operation Instructions

4.3.2 The contents for the coil status of the actuator (For F01、F05 )

Bit Address Meanings


00 Remote stop
01 Remote close
02 Remote open
03 Remote ESD
04 Reserved
05 Reserved
06 Reserved
07 Reserved

Table 4.3: Digital Outputs


Note: These coil outputs are maintained and must be
removed by a serial data command before another energise coil command is sent. They are not removed by
putting the actuator into Local or Local Stop or Thermostat Trip for example. They can be removed only by no
power supply or using the clean commande of function F05/F15.

4.3.3 The contents for the input registers from the actuator(For F04 )

Registers Address Meanings Value bound (HEX)


0 Reserved 00~FF
1 Physical position Feedback (FF=100%) 00~FF
2 Regulative position Feedback 00~FF
3~1023 Reserved ------
Table 4.4: Input Registers

4.3.4 The contents for the output registers of the actuator (For F03、F06、F16 )

Registers Address Meanings Value bound (HEX)


0 Actuator control 0-3,10xx,20xx
1 Position demand 0-FF (0-100%)
2 Dead band 0-FF (0-25.5%)
3 Reserved
4 Minimum position 0-FF (0-100%)
5 Maximum position 0-FF (0-100%)

Table 4.5: Output Registers


Note: Actuator control using this command to register 0,1 or 6 is different to the coil write command in that
the outputs are not held active but are pulsed once only. This allows the operation to be cancelled by a Local
Stop or Thermostat Trip for example.

The actuator control register, (register 0), can be pre-set to one of six values using function code 6 or 16, for
STOP, CLOSE, OPEN, ESD, Tiny Close or Tiny Open to the actuator. When reading this register, either the
most recently received value is returned or zero is returned if this register has not been previously pre-set.

The 4 valid values for the actuator control register, (register 0), are as shown in table 4.6:

Page 8 / 17
BDⅡ -MODBUS SERIES ACTUATOR Operation Instructions

Registers Content(value) Function


00 Stop
01 Close
02 Open
03 ESD
10xx Tiny Close xx S
20xx Tiny Open xx S

Table 4.6: Actuator Control Register

The position demand register, (register 1) can be pre-set to a certain point to the positioner. This means the actuator
moves the position set point to which the value in High Byte for Data shows , if the value in Low Byte for Data is
00. This means the actuator goes the value in High Byte for Data in close, if the value in Low Byte for Data is 01.
This means the actuator goes the value in High Byte for Data in open, if the value in Low Byte for Data is 02.
The deadband is used when controlling the actuator via the position demand register. The deadband effects the
positional accuracy in that it determines how close to the set point the actuator will travel before the motor is stopped.
This aspect of position control must be borne in mind when attempting to open or close a valve, i.e. attempting to
fully close an valve with a 0% position command will be subject the same deadband tolerance as any other position
command.
It is possible to make the position data reported relate to a reduced span of actual valve travel. In this mode the
position data relates to a reduced portion of the valve stroke. This is sometimes used where the valve is required to
have a 0% position (or 100% position) that is not the same as fully closed and fully open, e.g. see fig 14 below). To
make the actuator take note of limited range position reporting it is necessary to set the Position-Minimum and
Position-Maximum range using a Setting Tool, Communicator or host system. The default is always 100%
reporting of position from fully open to fully closed limit switch positions.
0% ------ Reported Position -------- 100%

CLOSED OPEN

VALVE STROKE VALVE STROKE


Position-Minimum Setting Position-Maximum Setting
Fig 14: Limited Range Position Reporting

To guarantee complete opening or closing of a valve a register write to the actuator control register must be used.

4.4 Function Code Description

4.4.1 Function Code F01

This function allows the user ( host ) to obtain the ON/OFF status ( refor to Table 4.3 ) of the digital outputs of the
actuator.
A typical host query to read coils 0 to 3 from slave address 06 would be as follows;
Function High Byte for Low Byte for High Byte for Low Byte for
Address Check
Code Start Address Start Address Data’ Length Data’ Length
Page 9 / 17
BDⅡ -MODBUS SERIES ACTUATOR Operation Instructions

06 01 00 00 00 04 CRC
The reply, assuming that the remote close and remote maintain were logic 1 would be;

Address Function Code Data ‘ Byte Count Data Check


06 01 01 03 CRC

The data is packed with 1 bit for each coil. In the case of coils 0 - 3 a logic 1 indicates a signal applied .

4.4.2 Function Code F02

This function allows the user to obtain the ON/OFF status of digital inputs. All of the digital inputs to the controller
are mapped into this database, including the optional 4 isolated inputs from the remote board. The inputs are mapped
as shown in table 4.2.
To read the status of all of the digital inputs of slave address 06, the following command would be issued by the host:
High Byte Low Byte
Functio High Byte for Low Byte for Chec
Address for Start for Start
n Code Data’ Length Data’ Length k
Address Address
06 02 00 00 00 18 CRC
As with function code 01, the data is packed one bit for each input, with the addressed data in the least significant bit
position. However, the byte order is returned as most significant byte first, i.e. least significant byte last. The reply to
the above command would be in the following format:
Data Data Data
Function Data’ Byte Chec
Address L.S.Byte M.S.Byte
Code Count k
bits 7 - 0 bits 15 - 8 bits 23 - 16
06 02 03 xx xx xx CRC
Any number of bits can be selected starting from anywhere within the data area, provided that attempts are not made
to read beyond bit 23, (as this will return an error code). e.g. if, data in the range bit 3 to 14, from actuator address
06, were required, the request would be;
Function High Byte for Low Byte for High Byte for Low Byte for
Address Check
Code Start Address Start Address Data’ Length Data’ Length
06 02 00 03 00 0C CRC
And the response wouild have the following format;
Function Data’ Byte Data L.S.Byte Data M.S.Byte
Address Check
Code Count Bit 10-3 bits 14-11
06 02 02 xx xx CRC
N.B. The data requested will be in the least significant data byte and the least 4 significant bits in the most
significant data byte. The most significant 4 bits of the most significant data byte will have no relevance.

4.4.3 Function Code F03

This command provides access to the Actuator Control, the Position demand desired value, (set point), Deadband,
and Maximum and Minimum position registers used within the Local Positioner Function as shown in table 4.5.
Note: The value returned will NOT reflect whether will it reflect any actions carried out since the previous pre-set
register command, due to force coils commands or the actuator local or remote controls for example.
Page 10 / 17
BDⅡ -MODBUS SERIES ACTUATOR Operation Instructions

As an example, to read the current value of the Deadband setting with actuator address 06, the following command
would be used;
Function High Byte for Low Byte for High Byte for Low Byte for
Address Check
Code Start Address Start Address Data’ Length Data’ Length
06 03 00 02 00 01 CRC

And the reply would be in the following format;


Address Function Code Data’ Byte Count Data Check
06 03 01 0C CRC
In this case the reply indicates a Deadband setting of 5% (0CH/0FFH=5% ).

4.4.4 Function Code F04

This command provides access to the position feedback information. Position data are returned as a scaled 8 bit
number. As such 100% position is always reported as 255. The data is mapped as shown in table 4.4.
To read the position feedback of actuator address 06, the following command would be used;
Function High Byte for Low Byte for High Byte for Low Byte for
Address Check
Code Start Address Start Address Data’ Length Data’ Length
06 04 00 01 00 01 CRC
And the following reply generated;
Address Function Code Data’ Byte Count Data Check
06 04 1 35 CRC
This would correspond to a position of approximately 21%.

4.4.5 Function Code F05(to broadcast possibly)

Using this command, the actuator can be requested to operate. A data value of FF00 (HEX) will act the required
command. A data value of 0000 will remove the control signal. A data value other than 0 or FF00 will return an error
code response.
As an example, to energize and maintain the remote close input to actuator 06, the following command should be
generated by the host;
Function High Byte for Low Byte for High Byte for Low Byte for
Address Check
Code Start Address Start Address Data’ Length Data’ Length
06 05 00 01 FF 00 CRC
In response to this message, the actuator will change the state of the selected output and then return the
message to the host as confirmation. It should be noted that writing to any of the 4 control bits will cause the
actuator to drop out of positioning mode if that mode had previously been selected.
Function High Byte for Low Byte for High Byte for Low Byte for
Address Check
Code Start Address Start Address Data’ Length Data’ Length
06 05 00 01 FF 00 CRC

4.4.6 Function Code F06(to broadcast possibly)

This command is used to perform STOP, CLOSE, OPEN, ESD, Tiny Close or Tiny Open actions, or to update the

Page 11 / 17
BDⅡ -MODBUS SERIES ACTUATOR Operation Instructions

position demand. In addition, deadband and the minimum and maximum positions can also be programmed. The
data is mapped as shown in table 4.5.
The actuator control register accepts one of six values to perform the actions shown in table 4.6.
Broadcast mode is supported by this command, however only the STOP and ESD commands will be acted with
OPEN and CLOSE commands being suppressed. On receipt of any of these commands the actuator will cancel
positioning mode.
As an example1, to transmit a 50% set point to the positioner, the following command should be sent. The host
query:
Function High Byte for Low Byte for High Byte Low Byte
Address Check
Code Start Address Start Address for Data for Data
06 06 00 01 80 00 CRC
Following receipt of a position set point, the actuator will enter positioning mode where it will remain until cancelled
by using a force coil or pre-set control register command. The pre-set single register command is returned back to
the host as the Modbus module reply.
The slave reply:
Function High Byte for Low Byte for High Byte Low Byte
Address Check
Code Start Address Start Address for Data for Data
06 06 00 01 80 00 CRC
As an example2, to go in close, a 10% position value in situ, the following command should be sent.
The host query:
Function High Byte for Low Byte for High Byte Low Byte
Address Check
Code Start Address Start Address for Data for Data
06 06 00 01 1A 01 CRC

The slave reply:

Function High Byte for Low Byte for High Byte Low Byte
Address Check
Code Start Address Start Address for Data for Data
06 06 00 01 1A 01 CRC

As an example3, to open until 5 seconds, the following command should be sent.


The host query:
Function High Byte for Low Byte for High Byte Low Byte
Address Check
Code Start Address Start Address for Data for Data
06 06 00 00 20 05 CRC
The slave reply:
Function High Byte for Low Byte for High Byte Low Byte
Address Check
Code Start Address Start Address for Data for Data
06 06 00 00 20 05 CRC

4.4.7 Function Code F07

This function allows the user to obtain the especial status of actuator, as follow table.
Data bit Meanings
Page 12 / 17
BDⅡ -MODBUS SERIES ACTUATOR Operation Instructions

0 Motor block up
1 Loss of the power phase
2 Torque fault in OPEN direction
3 Torque fault in CLOSE direction
4 Physical position error
5 Aux remote close,open and sop/maintain control enabled
6 Reserved
7 Reserved

For example, the host query:

Address Function Code Check


06 07 CRC
The slave reply:
Address Function Code Coil Data Check
06 07 XX CRC

4.4.8 Function Code F08

A number of tests are provided for verifying that the interface is working satisfactorily. These range in complexity
from simple loopback tests to accessing a number of performance registers. Performance registers are initialised to
zero on power up. All performance registers contain unsigned 16 bit integers.
Different diagnostic functions are selected by modifying the data in the diagnostic code field. The diagnostic codes
supported are shown below in table 4.7;
Diagnostic code Function
00 Return query data
01 Restart communications
02 Reserved
04 Force slave listen only
Table 4.7: Loopback Test Codes
Restart communications(01):when slave listen only, the slave quits the listening only mode after Restart
communications,and no informations are replied to the host, and the communication event counter of slave is cleared.
Force slave listen only(04):The host sends the Data is 0000h, and the slave enters listening only mode.

The basic loopback test command is as follows; The host query:

Function High Byte for Low Byte for High Byte Low Byte
Address Check
Code Start Diag code Start Diag code for Data for Data
06 08 00 00 A5 37 CRC
The slave reply:
Function High Byte for Low Byte for High Byte Low Byte
Address Check
Code Start Diag code Start Diag code for Data for Data
06 08 00 00 A5 37 CRC
The Modbus module will keep diagnostic counts for Bus Messages and Slave Busy events. The diagnostic register
Page 13 / 17
BDⅡ -MODBUS SERIES ACTUATOR Operation Instructions

contains bits indicating, watchdog recovery, main board interface error, RS 485 highway ESD active, etc. as outlined
in table 4.8 .

4.4.9 Function Code F16(to broadcast possibly)

This command is used for actuator control and for downloading configuration information. Currently only the
parameters specified in table 4.5 are available, limiting the maximum number of registers to 6.
For example, the command to pre-set the position demand and deadband simultaneously in actuator 06 would be:
High Byte Low Byte High Byte Low Byte Byte Data 1 Data 2
Function Chec
Address for Address for Address for Quantity for Quantity count
Code k

06 10 00 01 00 02 02 FF 0C CRC
Position Dead
band
The above command would set the demand to 100% and the deadband to 5%. The reply would be the same as the
message but with the byte count and data fields omitted, e.g.;
Function High Byte for Low Byte for High Byte Low Byte for
Address Check
Code Address Address for Quantity Quantity
06 10 00 01 00 02 CRC

4.4.10 Function Code F17(to be customized by user)

Report Slave ID permits the user to obtain information that identifies the type of Modbus slave and its issue level.
The command for extracting this information, (from actuator 06), is as follows;
The host query:
Address Function Code Check
06 11 CRC
The reply would have the following format;
Function Byte Device
Address Check
Code count Dependent
06 11 08 8 Bytes CRC
As the interface does not support a Run light, this byte will always be returned as 00 as will Slave ID.
The format of the 48 bytes is as follows;
Device dependent:8 Bytes format
Bytes1:identification code,such as:BR Mbus (each digit is ASCII code);
Bytes2-5:blank;
Bytes6-8:software version number,such as:MXX。

4.4.11 Mistake Information

If the Modbus module detects an error such that the message cannot be correctly decoded, e.g. a CRC error exists, no
reply is produced. If the slave is able to correctly decode the message but for example does not support the
requested operation or the data is outside allowable limits, an exception message is generated. A list of the
exception response codes are shown in table 4.9.

Page 14 / 17
BDⅡ -MODBUS SERIES ACTUATOR Operation Instructions

Mistake Code(YY) Meanings


01 Illegal function
02 Illegal data address
03 Illegal data value
Table 4.9: Mistake Codes
The host query:The any host query of former mention.
The format of the exception report is as follows;
Function Code Mistake
Address Check
( see Note) Code
Slave Address XX YY CRC

Note: Function Code XX = 80H + the Function Code of host query。

4.4.12 Broadcasting Information

Within the Modbus protocol specification, only function codes 5, 6, 8 and 16 are recognized as valid for broadcast.
In order to minimize the possibility of erroneous actuator operation, further restrictions have been added within the
Modbus Module software such that only an ESD operation or a STOP, using function code 5 or 6, are valid broadcast
messages, i.e. OPEN and CLOSED are disabled. Global commands to the other registers are permitted.

Appendix:Command in common use


The general demands can be satisfied from using the demands in below table.
Note:The data is hex for the frame.
Operation Send frame by host(include CRC) Respond frame possibly by slave
Stop command 06050000FF008D8D (enacting frame) 06050000FF008D8D
(maintain) 060500000000CC7D (clear frame) 060500000000CC7D
Close command 06050001FF00DC4D (enacting frame) 06050001FF00DC4D
(maintain) 0605000100009DBD (clear frame) 0605000100009DBD
Open command 06050002FF002C4D (enacting frame) 06050002FF002C4D
(maintain) 0605000200006DBD (clear frame) 0605000200006DBD
ESD command 06050003FF007D8D (enacting frame) 06050003FF007D8D
(maintain) 0605000300003C7D (clear frame) 0605000300003C7D

Stop command
060600000000887D 060600000000887D
(once)
Close command
06060000010089ED 06060000010089ED
(once)
Open command
060600000200891D 060600000200891D
(once)
ESD command
060600000300888D 060600000300888D
(once)
Tiny open xx S
0606000020xxCRC (0≤xx≤255) 0606000020xxCRC(0≤xx≤255)
(once)
Tiny close xx S
0606000010xxCRC (0≤xx≤255) 0606000010xxCRC(0≤xx≤255)
(once)

Page 15 / 17
BDⅡ -MODBUS SERIES ACTUATOR Operation Instructions

060600018000B87D (Move to 50 %) 060600018000B87D


Move to the position
060600011000D47D (Move to6 %) 060600011000D47D
(once)
06060001C00089BD(Move to 75 %) 06060001C00089BD
Inquire about status
0~15 bit of ON/OFF 0602000000107871 060202xxxxCRC
status
Inquire about physics 060402xxxxCRC,
position and
06040001000221BC
positionning position
(2 Bytes)
Inquire about especial
060743D2 0607xxCRC
bits
Diagnose message Communication is right if the reply is
06080000xxxxCRC
(host—slave) same data from the slave.
06100002000404200340B0A3D0
Setting parameter 06100002000461BD
Dead band =2%,position minimum =
(4 Bytes)
25%,position maximum =69%
Note:The difference of F16 and F06 is reading one parameter or multi-parameters. The commandes below may be
used at some situation.
Pre-set Multiple Register commandes:
------------061000000001010081B0 Stop
------------06100000000101014070 Close
------------06100000000101020071 Open
------------0610000000010103C1B1 ESD
------------0610000100010180BDD0 Move to 80
------------0610000100010110BDBC Move to 10
------------06100001000101C0BC20 Move to C0
------------0610000400020200FFC1E0 Position-Minimum = 00 and Position-Maximum = FF(default)

Page 16 / 17

You might also like