background image

Method of control via Modbus protocol

−13−

4.8  Communication timing

 

Query

Tb2

C3.5

C3.5

C3.5

Tb3 (Broadcast)

Tb1

Query

Response

Master

Slave

Character

Name

Description

Tb1

Communication 

timeout

The interval of the received query is monitored. If no query could be received after the 

time set with the "Communication timeout" parameter, a communication timeout alarm 

is generated (initial setting: not monitored).

Tb2

Transmission 

waiting time

This is the time after the slave switches its communication line to the transmission 

mode upon receiving a query from the master, until it starts sending a response. The 

transmission waiting time is set with the "Transmission waiting time" parameter (initial 

setting: 10 ms).  

The actual transmission waiting time corresponds to the silent interval (C3.5) plus 

transmission waiting time (Tb2).

Tb3

Broadcasting 

interval

This is the time until the next query is sent in broadcasting.  

A time equivalent to or longer than the silent interval (C3.5) plus 5 ms is required.

C3.5

Silent interval

Be sure to provide an interval of 3.5 characters or more as the transmission waiting time.  

If this waiting time is less than 3.5 characters long, the driver cannot respond.  

The silent interval should be 5.5 ms or more when the transmission rate is 9600 bps. The 

silent interval should be 3.5 ms or more when the transmission rate exceeds 19200 bps.

4.9  Message

The message format is shown below.

 

Slave address
Function code
Data
Error check

Slave address
Function code
Data
Error check

Master

Query

Response

Slave

„

„

Query

The query message structure is shown below.

Slave address

Function code

Data

Error check

8 bits

8 bits

4×8 to 37×8 bits

16 bits

 

Slave address

Specify the slave address (unicast mode).

If the slave address is set to “0,” the master can send a query to all slaves (broadcast mode).

 

Function code

The function codes and message lengths supported by the 

BLV

 Series driver are as follows.

Function code

Function

Message length (byte)

Broadcast

Query

Response

03h

Reading from a holding register(s)

8

7 to 37

Not possible

06h

Writing to a holding register

8

8

Possible

08h

Diagnosis

8

8

Not possible

10h

Writing to multiple holding registers

11 to 41

8

Possible

 

Data

Set data associated with the selected function code. The specific data length varies depending on the function code.

Содержание BLV Series

Страница 1: ...4 6 Setting of RS 485 communication 12 4 7 Communication mode 12 4 8 Communication timing 13 4 9 Message 13 4 10 Function code 16 Reading from a holding register s 03h 16 Writing to a holding registe...

Страница 2: ...ts primary and secondary sides Oriental Motor Co Ltd is not responsible for any compensation for damage caused through failure to observe this warning Operating manuals for the BLV Series For operatin...

Страница 3: ...rength test Accidental contact may result in electric shock Do not disassemble or modify the motor gearhead and driver Doing so may result in injury or damage to equipment Refer all such internal insp...

Страница 4: ...during operation Also make sure that the wiring for the power supply does not disconnect This may result in damage to equipment Do not touch the rotating part output shaft while operating the motor D...

Страница 5: ...itive terminal is grounded The main power supply input terminal CN1 I O signal connector CN4 communication connectors CN5 CN6 CN7 and control power supply input terminal TB1 of the driver are not elec...

Страница 6: ...ingle master multiple slave method Only the master can issue a query command Each slave executes the requested process and returns a response message 4 1 Guidance If you are new to the BLV Series prod...

Страница 7: ...et SW2 No 8 Address number Check Set the switches Check Set the switch SW3 SW2 STEP 3 Turn on the power and set the parameters Or Turn power supply on Set the following RS 485 communication parameters...

Страница 8: ...he holding register 3 Confirm that the motor rotates without problem Programmable controller or master device Or STEP 6 Were you able to operate the motor properly How did it go Were you able to opera...

Страница 9: ...e enabled Do not set No 4 and No 6 of the communication function switch SW2 to ON Address number setting switch SW3 Communication function switch SW2 SW3 SW2 No 7 Termination resistor No 1 to No 3 RS...

Страница 10: ...isabled SW2 No 7 Termination resistor 120 OFF Disabled ON Enabled 4 4 Connecting the control power supply Although all functions including the communication function can be used by using the main powe...

Страница 11: ...ower supply input terminal CN1 and control power supply input terminal TB1 not insulated CN5 CN6 pin assignments LED Pin No Signal name Description 1 8 Name Description 1 N C Not used C DAT LED Green...

Страница 12: ...munication Transmission waiting time 0 to 10000 0 1 ms 100 Sets the transmission waiting time for RS 485 communication Communication timeout 0 Not monitored 0 to 10000 ms 0 Sets the condition in which...

Страница 13: ...5 characters or more as the transmission waiting time If this waiting time is less than 3 5 characters long the driver cannot respond The silent interval should be 5 5 ms or more when the transmission...

Страница 14: ...response message structure is the same as the query message structure Slave address Function code Data Error check 8 bits 8 bits 3 8 to 33 8 bits 16 bits Normal response Upon receiving a query from th...

Страница 15: ...ss is not supported other than 0000h to 1FFFh The register address and the number of registers are 2000h or more in total 03h 8Ch Invalid data The process could not be executed because the data was in...

Страница 16: ...ss upper 04h Register address to start reading from Register address lower 80h Number of registers upper 00h Number of registers to be read from the starting register address 4 registers 0004h Number...

Страница 17: ...as query Data Register address upper 10h Same as query Register address lower ABh Value write upper 00h Same as query Value write lower 32h Error check lower 7Dh Calculation result of CRC 16 Error ch...

Страница 18: ...r 00h Number of registers to be written from the starting register address 6 registers 0006h Number of registers lower 06h Number of data bytes 0Ch Twice the number of registers in the query 6 registe...

Страница 19: ...Remote I O on p 30 for details on parameters Signal name Function Setting range Not used Set when the input terminal is not used FWD 2 wire input mode The motor rotates in the forward direction when...

Страница 20: ...START STOP input 0 START STOP OFF 1 START STOP ON RUN BRAKE_R Output in response to the RUN BRAKE input 0 RUN BRAKE OFF 1 RUN BRAKE ON FWD REV_R Output in response to the FWD REV input 0 FWD REV OFF...

Страница 21: ...tch initialization upper 2 Restores all parameters saved in the non volatile memory to their initial values Including parameters related to communication 405 0195h All data batch initialization lower...

Страница 22: ...er Monitors the warning code presently generated 00h to FFh 151 0097h Present warning lower 152 0098h Warning history 1 upper Monitors the warning history 1 to warning history 10 153 0099h Warning his...

Страница 23: ...parameter Forward Reverse 0 Stop 257 0101h Operating speed lower 258 0102h Operating speed decimal position upper Monitors the decimal position in the operating speed 1 0 No decimal point 1 1 decimal...

Страница 24: ...1160 0488h Rotation speed No 4 upper 1161 0489h Rotation speed No 4 lower 1162 048Ah Rotation speed No 5 upper 1163 048Bh Rotation speed No 5 lower 1164 048Ch Rotation speed No 6 upper 1165 048Dh Rota...

Страница 25: ...eleration time No 6 upper 1677 068Dh Deceleration time No 6 lower 1678 068Eh Deceleration time No 7 upper 1679 068Fh Deceleration time No 7 lower 1792 0700h Torque limiting No 0 upper 0 to 200 1 200 1...

Страница 26: ...eed increasing ratio relative to the rotation speed of the motor output shaft The display varies depending on the setting value When the speed increasing ratio is set to 1 the speed reduction ratio wi...

Страница 27: ...on speed Acceleration time Deceleration time Mode 3 0 Acceleration time Deceleration time Rotation speed Torque limiting value 1 Acceleration time Deceleration time Rotation speed Torque limiting valu...

Страница 28: ...259 10A3h Overload warning function lower 4264 10A8h Undervoltage warning function upper Switches whether to enable or disable the undervoltage warning function 0 Disable 1 Enable 1 4265 10A9h Undervo...

Страница 29: ...er again Parameter R W commands I O function Direct I O Register address Name Setting range Initial value Update 1 Dec Hex 4352 1100h X0 input function selection upper 0 Not used 1 FWD START STOP 2 2...

Страница 30: ...ion selection lower 4462 116Eh NET IN7 input function selection upper 20 4463 116Fh NET IN7 input function selection lower 4464 1170h NET IN8 input function selection upper 0 4465 1171h NET IN8 input...

Страница 31: ...NET OUT6 output function selection lower 4494 118Eh NET OUT7 output function selection upper 65 4495 118Fh NET OUT7 output function selection lower 4496 1190h NET OUT8 output function selection upper...

Страница 32: ...e Child slave Use a Group command to set a group address to each child slave Change the group in the unicast mode Address Setting range Initial value 0030h 1 No group specification Group send is not p...

Страница 33: ...fer to p 15 Alarms and warnings If an alarm is generated the ALARM OUT output is turned OFF to stop the motor At the same time the ALARM LED will start blinking If a warning is generated the WNG outpu...

Страница 34: ...ponse Master Slave Motor speed command Communication 4 2 3 1 A message including a query to stop operation and another to change the speed via RS 485 communication 2 Tb2 transmission waiting time C3 5...

Страница 35: ...n Check the connection between the driver and motor 42h Initial sensor error The motor sensor signal line was disconnected or the motor signal connector came off before the main power supply was turne...

Страница 36: ...ing of RS 485 communication Possible 85h RS 485 communication timeout The time set in the Communication timeout parameter has elapsed and yet the communication could not be established with the progra...

Страница 37: ...exceeded the overload warning level Decrease the load Reconsider the operating condition such as acceleration time and deceleration time 6Ch Operation prohibited When moved from the test mode to othe...

Страница 38: ...ocessing in progress The command could not be executed because the driver was under the non volatile memory processing Internal processing was in progress S BSY is ON An EEPROM error alarm was present...

Страница 39: ...used in a CC Link system MECHATROLINK system or EtherCAT system data can be sent to the driver by converting from each communication protocol to the RS 485 communication protocol Alarms and other dat...

Страница 40: ...pany names mentioned in this manual may be registered trademarks or trademarks of their respective companies and are hereby acknowledged The third party products mentioned in this manual are recommend...

Отзывы: