Escolar Documentos
Profissional Documentos
Cultura Documentos
Issue no
Language
Date
Page
6159935751
01
English
04/2008
1 / 22
Part no
Issue no
Language
Date
Page
6159935751
01
English
04/2008
2 / 22
TABLE OF CONTENTS
GLOSSARY ..........................................................................................................................................3
1 - MODBUS .............................................................................................................................................. 4
1.1 - Introduction ............................................................................................................................................ 4
1.1.1 - Communication over RS232 networks ....................................................................................................... 4
1.1.2 - Communication over RS485 networks ........................................................................................................ 4
1.2 - Description ............................................................................................................................................. 5
1.2.1 - Technical features ....................................................................................................................................... 5
1.2.2 - Peripheral Address in the Network .............................................................................................................. 5
1.2.3 - Wiring ........................................................................................................................................................... 5
1.3 - Settings................................................................................................................................................... 6
1.3.1 - Configuring the CVI ..................................................................................................................................... 6
1.3.2 - Configuration with the CVIPC2000 software: .............................................................................................. 7
GLOSSARY
PLC. Programmable logic controller
Field bus network. An industrial communications network
Byte. 8 bits
Word. 16-bit value
Long word. 32-bit value
CVI. Tightening controller
Floating. Real value whose decimal point has a variable position
SCY command. Tightening command: start cycle
RxD. Received data on RS232 serial link
TxD. Transmitted data on RS232 serial link
RT+. Received and transmitted data polarised '+' on RS485 serial link
RT-. Received and transmitted data polarised '-' on RS485 serial link
GND. Ground
Part no
Issue no
Language
Date
Page
6159935751
01
English
04/2008
3 / 22
Part no
Issue no
Language
Date
Page
6159935751
01
English
04/2008
4 / 22
1 - MODBUS
1.1 - Introduction
MODBUS is a data exchange protocol for field bus networks. This protocol is used between a master unit and several slave
units. The master and slaves communicate using RS232 or RS485.
Answer
Master
Question
Slave 2
Slave 1
Slave 3
RS232
RS232
RS-B
RS-B
Slave 2
Slave 1
RS-B
Slave 3
RS485i
RS485f
RS-B
Slave 1
RS-B
Slave 2
RS-B
Slave X
Part no
Issue no
Language
Date
Page
6159935751
01
English
04/2008
5 / 22
1.2 - Description
Example RS845:
Connector with 2
cable inputs
Connector with 1
cable input
SUBD25
SUBD25
SUBD25
Station A
Station B
Station C
Master
Master/Slave
Interface
CVI socket
Speed
Length
RS232
RS485
SUBD25 contact socket
300 > 115,200 Mbaud
Max. 15 m
Max. 1,000 m
RS232
Mapping between the wiring paths from the PLC to the RS-B port of the CVI controller.
RxD
Master
TxD
0V
Rx (3)
Tx (2)
RS485
Mapping between the wiring paths from the PLC to the RS-B port of the CVI controller. The 0 V link between
the different peripherals is optional.
RT+
Master
0V
RT-
RT- (19)
RT- (19)
Part no
Issue no
Language
Date
Page
6159935751
01
English
04/2008
6 / 22
1.3 - Settings
The tightening controller must be configured to be included in the MODBUS network.
Caution: to use MODBUS, the field bus network daughterboard (Modbus+, Profibus, InterbusS, Devicenet) in the
controller must not be connected. If there is an ETHERNET board in the controller, check that SOCKET 3 is not used.
1.3.1 - Configuring the CVI
Initial status: the machine is powered up and running.
Serial ports:
1. Press
Slave number
(1 to 253)
K.
Part no
Issue no
Language
Date
Page
6159935751
01
English
04/2008
7 / 22
Serial ports:
1. Click on "Serial ports" to enter the settings of the link(s) between the controller and the master.
Part no
Issue no
Language
Date
Page
6159935751
01
English
04/2008
8 / 22
Master
CVI
Network address
(1 to 253)
Part no
Issue no
Language
Date
Page
6159935751
01
English
04/2008
9 / 22
2 - MODBUS TCP
2.1 - Introduction
MODBUS TCP is a data exchange protocol for field bus networks. This protocol is used between a server unit and one
or several client units. The server and the client communicate over ETHERNET.
Answer
Server
Question
Client 1
Client 2
Client 3
This means of communication is faster and more reliable than MODBUS for field bus networks.
2.2 - Description
Switch / Hub
Server
RJ45 Connector
RJ45
Client A
RJ45
RJ45
Client B
Client C
Server/Client
TCP/IP
RJ45
10 - 100 Mb/s
Max. 100 m
Part no
Issue no
Language
Date
Page
6159935751
01
English
04/2008
10 / 22
2.3 - Settings
The tightening controller must be configured to be included in the MODBUS TCP network.
Caution: to use MODBUS TCP, the field bus network daughterboard (Modbus+, Profibus, InterbusS,
Devicenet) in the controller must not be connected. Check that the RSB is not configured as Controller / Slave.
2.3.1 - Configuring the CVI
Initial status: the machine is powered up and running.
Client IP
K.
Server IP
K.
Part no
Issue no
Language
Date
Page
Ethernet:
1. Click on "Ethernet" to enter the settings of the link(s) between the client and the server.
6159935751
01
English
04/2008
11 / 22
Part no
Issue no
Language
Date
Page
6159935751
01
English
04/2008
12 / 22
4. Select Socket 3.
Example: 192.168.5.167
(IP - Controller/PC)
IP address of the PC
5. Transfer the data from the PC to the controller using the "Transfer > PC-Station" menu.
Part no
Issue no
Language
Date
Page
6159935751
01
English
04/2008
13 / 22
Part no
Issue no
Language
Date
Page
6159935751
01
English
04/2008
14 / 22
Type
Max.()
Word
Word
100
100
0
128
0x0000
0x0040
0
64
0x0100
0x0102
0x0104
0x0106
0x0108
0x010A
0x010C
0x010E
256
258
260
262
264
266
268
270
0x0080
0x0081
0x0082
0x0083
0x0084
0x0085
0x0086
0x0087
128
130
132
134
136
138
140
142
0x0200
0x0202
0x0206
0x0208
512
514
518
520
0x0100
0x0101
0x0103
0x0104
256
257
259
260
0x0400
0x0402
0x0406
0x0408
0x0600
1024
1026
1030
1032
1536
0x0200
0x0201
0x0203
0x0204
0x0300
512
513
515
516
768
0x1000
0x1002
0x1020
0x1024
0x1028
0x102C
0x102E
0x1030
0x1032
0x1034
0x1036
0x1038
0x103A
4096
4098
4128
4132
4136
4140
4142
4144
4146
4148
4150
4152
4154
0x0800
0x0801
0x0810
0x0812
0x0814
0x0816
0x0817
0x0818
0x0819
0x081A
0x081B
0x081C
0x081D
2048
2049
2064
2066
2068
2070
2071
2072
2073
2074
2075
2076
2077
Reserved
Date programming zone
Input / output zone
24-volt outputs, port 1
24-volt outputs, port 2
24-volt inputs, port 1
24-volt inputs, port 2
Network inputs, port 1
Network inputs, port 2
24-volt input mask 1
24-volt input mask 2
Machine 1 write zone
Cycle number selection (cycle n)
Spindle validation
Specific code length
Specific code (write bar code)
Machine 2 write zone
Cycle number selection (cycle n)
Spindle validation
Specific code length
Specific code (write bar code)
Reserved
Machine 1 read zone
Bar code
List of OK spindles
List of NOK spindles
List of ready spindles
Number of spindles
Selected cycle (cycle acknowledge)
Number of programmed OK cycles
Number of executed OK cycles
Number of results
General report
Simple report (spindle 1)
Simple report (spindle 2)
Access
x
R/W
R/W
R
R
R
R
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
x
R
R
R
R
R
R
R
R
R
R
R
R
R
R
Size
Value
(bytes)
128
128
16
2
2
2
2
2
2
2
2
36
2
4
2
30
36
2
4
2
30
2560
120
2
30
4
4
4
2
2
2
2
2
2
2
2
0 - 250
0 - 30
0 - 250
0 - 30
1 - 32
0 - 250
0 to 999
0 to 999
0-65535
0/1/2
0/1/2
0/1/2
Page
17
17
17
18
18
18
18
18
18
18
18
18
18
19
19
18
18
18
19
19
19
19
19
19
19
19
19
19
19
19
19
19
19
Part no
Issue no
Language
Date
Page
Address
bytes
words
Description
Hexa. Deci. Hexa. Deci.
0x103C
0x103E
0x1040
0x1042
0x1044
0x1046
0x1048
0x104A
0x104C
0x104E
0x1050
0x1052
0x1054
0x1056
0x1058
0x105A
0x105C
0x105E
0x1060
0x1062
0x1064
0x1066
0x1068
0x106A
0x106C
0x106E
0x1070
0x1072
0x1074
0x1076
4156
4158
4160
4162
4164
4166
4168
4170
4172
4174
4176
4178
4180
4182
4184
4186
4188
4190
4192
4194
4196
4198
4200
4202
4204
4206
4208
4210
4212
4214
0x081E
0x081F
0x0820
0x0821
0x0822
0x0823
0x0824
0x0825
0x0826
0x0827
0x0828
0x0829
0x082A
0x082B
0x082C
0x082D
0x082E
0x082F
0x0830
0x0831
0x0832
0x0833
0x0834
0x0835
0x0836
0x0837
0x0838
0x0839
0x083A
0x083B
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
0x2000
0x2002
0x2020
0x2024
0x2028
0x202C
0x202E
0x2030
0x2032
0x2034
0x2036
0x2038
0x203A
0x203C
0x203E
0x2040
0x2042
0x2044
0x2046
0x2048
0x204A
0x204C
0x204E
8192
8194
8224
8228
8232
8236
8238
8240
8242
8244
8246
8248
8250
8252
8254
8256
8258
8260
8262
8264
8266
8268
8270
0x1000
0x1001
0x1010
0x1012
0x1014
0x1016
0x1017
0x1018
0x1019
0x101A
0x101B
0x101C
0x101D
0x101E
0x101F
0x1020
0x1021
0x1022
0x1023
0x1024
0x1025
0x1026
0x1027
4096
4097
4112
4114
4116
4118
4119
4120
4121
4122
4123
4124
4125
4126
4127
4128
4129
4130
4131
4132
4133
4134
4135
Access
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
6159935751
01
English
04/2008
15 / 22
Size
Value
(bytes)
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
120
2
30
4
4
4
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
0/1/2
0/1/2
0/1/2
0/1/2
0/1/2
0/1/2
0/1/2
0/1/2
0/1/2
0/1/2
0/1/2
0/1/2
0/1/2
0/1/2
0/1/2
0/1/2
0/1/2
0/1/2
0/1/2
0/1/2
0/1/2
0/1/2
0/1/2
0/1/2
0/1/2
0/1/2
0/1/2
0/1/2
0/1/2
0/1/2
1 - 32
0 - 250
0 to 999
0 to 999
0-65535
0/1/2
0/1/2
0/1/2
0/1/2
0/1/2
0/1/2
0/1/2
0/1/2
0/1/2
0/1/2
0/1/2
0/1/2
0/1/2
Page
19
19
19
19
19
19
19
19
19
19
19
19
19
19
19
19
19
19
19
19
19
19
19
19
19
19
19
19
19
19
19
19
19
19
19
19
19
19
19
19
19
19
19
19
19
19
19
19
19
19
19
19
19
Part no
Issue no
Language
Date
Page
6159935751
01
English
04/2008
16 / 22
Address
bytes
words
Description
Hexa. Deci. Hexa. Deci.
0x2050
0x2052
0x2054
0x2056
0x2058
0x205A
0x205C
0x205E
0x2060
0x2062
0x2064
0x2066
0x2068
0x206A
0x206C
0x206E
0x2070
0x2072
0x2074
0x2076
0x3000
0x5000
0x7000
0xEFFF
8272
8274
8276
8278
8280
8282
8284
8286
8288
8290
8292
8294
8296
8298
8300
8302
8304
8306
8308
8310
12288
60481
28672
61439
0x1028
0x1029
0x102A
0x102B
0x102C
0x102D
0x102E
0x102F
0x1030
0x1031
0x1032
0x1033
0x1034
0x1035
0x1036
0x1037
0x1038
0x1039
0x103A
0x103B
0x1800
0x2800
0x3800
0x77FF
4136
4137
4138
4139
4140
4141
4142
4143
4143
4144
4145
4146
4147
4148
4150
4151
4152
4153
4154
4155
6144
50241
14336
30719
0xF000
0xF040
0xF0C0
61440
61504
61632
0x7800
0x7820
0x7860
30720
30752
30816
Access
Size
Value
(bytes)
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R/W
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
Srv
Srv
Srv
R
R
R
R
320
64x1
64x2
32x4
0/1/2
0/1/2
0/1/2
0/1/2
0/1/2
0/1/2
0/1/2
0/1/2
0/1/2
0/1/2
0/1/2
0/1/2
0/1/2
0/1/2
0/1/2
0/1/2
0/1/2
0/1/2
0/1/2
0/1/2
Page
19
19
19
19
19
19
19
19
19
19
19
19
19
19
19
19
19
19
19
19
20
20
21
21
Part no
Issue no
Language
Date
Page
6159935751
01
English
04/2008
17 / 22
Access Size
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Type
1
1
1
1
1
1
2
Integer
Integer
Integer
Integer
Integer
Integer
Integer
When the PLC accesses the date, it must reset the acknowledge flag (least significant byte) and set the most significant
byte.
Example: Control word for access to the date
Action (PLC)
Write
40
00
Read
00
80
80
00
Read
00
80
When the CVI has finished programming or reading the date, it resets the most significant byte and provides a report in
the least significant byte:
Bit7
Bit6
Bit6
Completed
NOK
Year error
1
0
Yes
No
1
0
NOK
OK
1
0
Error
OK
Bit4
Month
error
1
0
Error
OK
Bit3
Bit2
Error
OK
1
0
Error
OK
Bit1
Minutes
error
1
0
Error
OK
Bit0
Seconds
error
1
0
Error
OK
Part no
Issue no
Language
Date
Page
6159935751
01
English
04/2008
18 / 22
4.2.1 - 24 V Inputs/Outputs
This zone represents the 24 Volt inputs/outputs of the tightening controller. They can be accessed in read-only
mode.
Input Description
Bit
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Maskable
9
9
9
9
9
9
Output Description
Cycle 1 acknowledge
Cycle 2 acknowledge
Cycle 4 acknowledge
Cycle 8 acknowledge
Cycle 16 acknowledge
Report OK
Report NOK
N of cycles OK
Running
Ready
Reverse run detected
Reverse run detected
Synchro out
-
Spindles
1st byte
2nd byte
3rd byte
4th byte
Spindles 25 to 32
Spindles 17 to 24
Spindles 9 to 16
Spindles 1 to 8
Part no
Issue no
Language
Date
Page
6159935751
01
English
04/2008
19 / 22
Spindles
1st byte
2nd byte
3rd byte
4th byte
Spindles 25 to 32
Spindles 17 to 24
Spindles 9 to 16
Spindles 1 to 8
No general report
General report OK
Torque rate
X
Torque
X
Angle
X
Part no
Issue no
Language
Date
Page
6159935751
01
English
04/2008
20 / 22
(binary)
Min.
11
(binary)
OK
10
(binary)
Max.
00
(binary)
The spindle did not rotate or was stopped during the cycle.
Torque
Bit 1
Angle
Bit 2
Torque rate
ASCII
floating MOTOROLA
floating INTEL
- The type of saved values is used to select the following data for each type of data saved: tolerance, final
value and report.
The type of values is programmed in word N 12 as follows:
0
Report
These three options are used to adapt the size and presentation of a result per spindle to the user's requirements.
Remark: these options can be accessed through an option configuration utility.
Part no
Issue no
Language
Date
Page
6159935751
01
English
04/2008
21 / 22
Description
ASCII type
General report
Min. torque
Torque
-6.x
Max. torque
-6.x
Torque pattern
Min. angle
Angle
-6.1
Max. angle
-6.1
" "
"A"
"R"
"49.97"
"100.2"
"49.97"
"100.2"
"49.97"
"100.2"
"9999.1"
"25.2"
"9999.1"
"25.2"
"9999.1"
"25.2"
Angle pattern
"10.158"
"10.158"
"10.158"
Size
2
0x0000 : no report
0x0001: report OK
0x0002: report NOK
Floating
Floating
Floating
0x0000: no result
0x0001: value is too low
0x0010: value is too high
0x0011: result OK
Floating
Floating
Floating
0x0000: no result
0x0001: value is too low
0x0010: value is too high
0x0011: result OK
Floating
Floating
Floating
0x0000: no result
0x0001: value is too low
0x0010: value is too high
0x0011: result OK
6
6
6
2
4
4
4
2
Format 0 (full)
Tolerance, final, pattern
ASCII
Natural
20
(6x3 + 2)
40
((6x3 + 2)x2)
60
((6x3 + 2)x3)
14
(4x3 + 2)
28
(4x3 + 2)x2
42
(4x3 + 2)x3
Format 1 (partial)
Final, pattern
ASCII
Natural
8
(6 + 2)
16
((6 + 2)x2)
24
((6 + 2)x3)
6
(4 + 2)
12
(4 + 2)x2
18
(4 + 2)x3
Format 2 (reduced)
Pattern
ASCII
Natural
2
4
(2x2)
6
(2x3)
4
(2x2)
6
(2x3)
Part no
Issue no
Language
Date
Page
6159935751
01
English
04/2008
22 / 22
4.8 - Example
Sequence of a complete tightening cycle by MODBUS.
Select cycle N
(1 to 250)
Address = 256
Read cycle
acknowledge
Address = 2071
echo = 0
Cycle in progress = 0
Read input
Cycle in progress = 1
Address = 0128
Cycle in progress = 1
YES
Cycle in progress = 1
Read input
Cycle in progress = 0
Address = 0128
Cycle in progress = 0
Write SCY command =1
Address = 0132
Read results
Address = 6144
22