Вы находитесь на странице: 1из 31

MEIDEN

AC SPEED CONTROL EQUIPMENT

THYFREC-VT240S
V24-SL3 CC-Link Interface

INSTRUCTION MANUAL

CAUTION
CAUTION

1. The V24-SL4 can be used with the general-purpose inverter VT240S. Read this manual as well as the instruction manual for the applicable inverter before starting operations. "General-purpose Inverter VT240S Series Instruction Manual (Document No.: ST-3450)" 2. Observe all warnings, cautions and ratings given in this manual. 3. Make sure that this manual is delivered to the final user.

MEIDENSHA CORPORATION
ST-3472A Jan. 2008

Contents
1. Preface............................................................................................................................................... 3 2. Specifications and Configuration ................................................................................................... 4 3. Installing onto the Inverter............................................................................................................... 3-1 Installation procedures and precautions .................................................................................. 3-2 Connecting to the transmission path........................................................................................ 3-2-1 CC-Link connector functions............................................................................................ 3-2-2 Switch settings ................................................................................................................. 3-2-3 Connecting to the transmission path ................................................................................. 6 6 8 8 9 11

4. CC-Link Transmission...................................................................................................................... 12 4-1 Outline of CC-Link transmission .............................................................................................. 12 4-1-1 CC-Link transmission functions ....................................................................................... 12 4-1-2 Basic system configuration .............................................................................................. 12 4-2 Setting the CC-Link interface functions.................................................................................... 13 4-3 Creating a profile definition file (CSP file) ................................................................................ 14 4-4 Input/output data ...................................................................................................................... 16 4-4-1 Input/output data configuration ........................................................................................ 16 4-4-2 Function code: 3 Parameter A write .............................................................................. 17 4-4-3 Function code: A Parameter A read............................................................................... 19 4-4-4 Function code: 4 Parameter B write .............................................................................. 20 4-4-5 Function code: B Parameter B read .............................................................................. 21 4-4-6 Function code: 5 Parameter C write.............................................................................. 22 4-4-7 Function code: C Parameter C read.............................................................................. 23 4-4-8 Function code: D Parameter D read.............................................................................. 24 4-5 Precautions .............................................................................................................................. 25 Appendix Table 1 CC-Link interface Parameter setting............................................................... 26 Appendix Table 1-1 <When using for VT240S> .............................................................................. 26 Appendix Table 2 List of CC-Link interface options ....................................................................... 27 Appendix Table 3 CC-Link communication data............................................................................. 28 Appendix Table 3-1 RY and RX signals occupied by station 1 ........................................................ 28 Appendix Table 3-2 RY and RX signals occupied by station 2 ........................................................ 29 Appendix Table 3-3 RWw and RWr signals occupied by station 1 .................................................. 30 Appendix Table 3-4 RWw and RWr signals occupied by station 2 .................................................. 30

-2-

1. Preface

1. Preface
Thank you for purchasing the Meiden AC Speed Control Equipment "THYFREC-VT240S". This manual explains the CC-Link interface, mounted on the THYFREC-VT240S as an option. By using the CC-Link interface, the VT240S can be connected to a network having CC-Link protocol. Always read this instruction manual before using the interface. After reading, keep this manual with the applicable inverter instruction manual where they can be easily accessed for reference. Make sure that this manual is delivered to the final user. The V24-SL3 can be used with the VT240S ROM version 9458.4 and above.

-3-

2. Specifications and Configuration

2. Specifications and Configuration


Table 2-1 V24-SL3 specifications
Item Applicable standards Transmission speed and transmission distance Communication method Synchronization method Encoding method Transmission path type Transmission format Error control method Maximum number of links Specifications Complies with CC-Link Association CC-Link Protocol Specifications Ver. 1.0. 10Mbps 5Mbps 2.5Mbps 625kbps 156kbps : : : : : 100m 160m 400m 900m 1200m

Broadcast poling method (Master slave method + broadcast) Frame synchronization method NRZI Bus type (EIA RS485 compliant) HDLC compliant CRC (X16 + X12 + X5 + 1) RX, RY : 2048 points RWw : 256 points (Master station slave station) RWr : 256 points (Slave station master station) RX, RY : 32 points RWw : 4 points RWr : 4 points Two stations Maximum 64 stations (Depends on number of occupied stations. Remote device stations: Maximum 42 units) Number of units occupied by station 1 + 2 Number of stations occupied by station 2 + Number of stations occupied by station 3 + Number of stations occupied by station 4 64 (Local station 30 points) (Master station slave station) (Slave station master station)

Number of link points per station Maximum number of occupied stations

Maximum number of connected units

16 Number of remote I/O stations + 54 Number of remote device station + 88 Number of local stations, intelligent device stations 2304 Number of remote I/O stations Number of remote device stations Number of local station and intelligent device stations Application layer Presentation layer Session layer Transport layer Network layer Data link layer Physical layer : : : : : : : Maximum 64 units Maximum 42 units Maximum 26 units

Transmission protocol

CC-Link, cyclic transmission, network control None None None None CC-Link data link protocol RS485

RAS function

Automatic return function Slave cutoff function Data link status confirmation Offline test (hardware test, line test) CC-Link dedicated cable Ver. 1.10 (Shielded 3-core twisted pair cable) 110 (Ver. 1.0/Ver. 1.10)

Transmission medium Terminator

-4-

2. Specifications and Configuration

Basic section PCB

V 2 4 - S L 3 Optional P.C.B.

CC-Link transmission section

TB1 TB2

Fig. 2-1 Option PCB configuration drawing

-5-

3. Installing onto the Inverter

3. Installing onto the Inverter


3-1 Installation procedures and precautions
The installation procedures and precautions are given below. (1) Remove the front cover of the inverter unit. CAUTION
CAUTION

1. Wait at least 10 minutes after turning the power OFF. Confirm that all displays on the operation panel have turned OFF, and then remove the front cover. 2. After removing the front cover, confirm that the "CHARGE" LED in the unit is turned OFF. Also confirm that the voltage between the L+1 or L+2 and L- terminals is 15V or less. (If the unit is not provided with the L- terminal, check with the "CHARGE" LED.) (2) Mount the CC-Link interface PCB option in the control PCB cover's option II position. If another PCB option is already mounted in the option II position, mount the PCB in the option III position. Refer to Fig. 3-1. CAUTION
CAUTION

1. Observe the section "2-4 Precautions for wiring to the control signal" in the "VT240S Instruction Manual (document No.: ST-3450)" when wiring the cables.

-6-

3. Installing onto the Inverter

V24-SL3

Fig. 3-1 Installing the option PCB

-7-

3. Installing onto the Inverter

3-2 Connecting to the transmission path


3-2-1 CC-Link connector functions
Table 3-1 CC-Link connector No. 1 2 3 4 5 I/O I/O I/O Signal name DA DB DG SLD FG
Insert cable and fix with screw PCB side Screw connector

Function DA-DB differential DA-DB differential GND Connect shield GND

Color Blue White Yellow Red

Blue White Yellow Shield

1 DA 2 DB 3 DG 4 SLD 5 FG

Fig. 3-3 CC-Link cable and connector (Option) Screw the cable and connector together as shown in Fig. 3-3. Both the cable and connector must satisfy the CC-Link Standards. Examples are given below. Refer to the CC-Link Specifications for details on the cable specifications. Table 3-2 Samples of CC-Link cables and connectors Cable Cable FANC-110SBH FANC-110SBZ-5 Ver. 1.10 compatible CC-Link cable (for fixed section) Ver. 1.10 compatible CC-Link cable Mitsubishi Electric System Service (for movable section) Phoenix Contact COMBICON socket with gold plating Phoenix Contact COMBICON socket with gold plating Mitsubishi Electric System Service

Connector MSTB2.5/5STF5.08AU Connector MSTBT2.5/5ST5.08AU CAUTION


CAUTION

1. Always observe the following precautions when removing the option PCB from the device. Always turn the power OFF before starting. Do not turn the power ON until all work is completed. The operator should wear a grounding wrist band, etc., to prevent damage from static electricity. Always follow the precautions given in the applicable inverter's Instruction Manual before turning the power OFF. CAUTION
CAUTION

1. When connecting an externally connected cable to the option PCB, make sure that the cable is connected to a compatible connector. 2. Using an incompatible connector or incorrectly connected connector, etc., could result in damage to the external device or option PCB, and could lead to fires or smoke.

-8-

3. Installing onto the Inverter

3-2-2 Switch settings


(1) General setting: W1, W2, W3, W4 Set the various operation modes for the board.Table 3-3 shows a list of settings.

Fig. 3-4 General-purpose setting switch Table 3-3 List of settings No. W1 W2 W3 W4 Explanation of functions
Software download setting switch. Because a user does not need to download the software, always set it as OFF Software download setting switch. Because a user does not need to download the software, always set it as OFF

Default OFF OFF OFF OFF

Reserved Reserved

(2) Station occupied setting: W5, W6 Set the various operation modes for the board.Table 3-4 shows a list of settings.

Fig. 3-5 Station occupied setting switch Table 3-4 List of Station occupied settings Station number occupied Station 1 occupied Station 2 occupied W5 ON OFF W6 ON ON

3)

Baud rate setting: S1 The CC-Link communication baud rate for this CC-Link interface is set with a decimal rotary switch. Table 3-5 shows a list of settings, and Fig. 3-6 shows a setting example.
S2 4 5 6
7 8 7 8 2 3 2 3

4 5 6
2 3

S1 4 5 6
7 8

<Setting example : Baud rate = 156kbps>

10

Fig. 3-6 Baud rate setting switch

-9-

9 01

9 01

9 01

3. Installing onto the Inverter Table 3-5 List of baud rate settings No. 0 1 2 3 4 5 6 7 8 9 Explanation of functions 156kbps 625kbps 2.5Mbps 5Mbps 10Mbps Do not set. An error will result. Do not set. An error will result. Do not set. An error will result. Do not set. An error will result. Do not set. An error will result. Default ON OFF OFF OFF OFF

(4) Station No. setting: S2, S3 The station numbers for this CC-Link interface are set with three decimal rotary switches.
S2 45 6 3 7 2 8 109
10th place

4 5 6 3 7 2 8 10 9

S3 45 6 3 7 2 8 1 09
1st place

<Setting example : Station No. = 50>

Fig. 3-7 Rotary switch Refer to the CC-Link specifications for details on setting the station numbers.

- 10 -

3. Installing onto the Inverter

3-2-3

Connecting to the transmission path

The network cable wiring and main circuit wiring should be separated as far as possible. When laying the wires in parallel, separate them by 30cm or more, and do not lay them in the same duct. If the network cable and main circuit wiring intersect, intersect them at a right angle. Check that the inverter power is OFF and stopped, and that the CC-Link interface PCB is installed on the inverter before connecting the network cable. The network cable and dedicated connector are options. 1. Connecting with a network cable (1) Network cable (option)
Sheath Braided partition (with grounding wire) Aluminum polyester laminated tape Conductor Insulator Intervention

Fig. 3-8 Network cable cross-section diagram (2) Connecting with a CC-Link cable and connector (option)

Network connector (female contact)

Network cable

5 FG 4 SLD 3 DG 2 DB 1 DA

Yellow White Blue

Device connector (male contact)

Fig. 3-9 Connecting the network cable to the terminal block

- 11 -

4. CC-Link Transmission

4. CC-Link Transmission
4-1 Outline of CC-Link transmission
4-1-1 CC-Link transmission functions
CC-Link interface is used to connect the CC-Link master (controller) and inverter unit. The following functions can be carried out from the master by using the CC-Link interface. (1) (2) (3) (4) (5) (6) Writing of sequence commands. Reading of the inverter status. Writing of the frequency settings, rotation speed setting (VT240S) data, etc. Reading of the output frequency, motor rotation speed data (VT240S), etc. Writing and reading of parameters A, B and C. Reading of monitor parameters (D).

4-1-2 Basic system configuration


The configuration for connecting the master (controller) and CC-Link interface is shown in Fig. 4-1. Up to 42 inverters (remote device station set to occupy one station) can be connected.

Controller

CC-Link interface Inverter

CC-Link interface Inverter

CC-Link interface Inverter

Maximum 64 nodes

Fig. 4-1 1:N transmission configuration diagram (For 1 on 3 connection)

- 12 -

4. CC-Link Transmission

4-2

Setting the CC-Link interface functions


1. Setting the speed from the CC-Link master When setting the speed from the CC-Link master and carrying out operation, make sure that the sequence command CFS is ON, and that the various setting input point selection: CO2 is fixed to serial. Example) Operation mode (1) Speed setting input point selection CFS command or, (2) Speed setting input point selection : Remote (RMT) : C02-0 = 4 (Sequence) : C04-5 = 4 (controlled by terminal block input PSI4.) : C02-0 = 2 (Serial fixed)

The contents of the input/output data will change according to the control mode selection (C30-0). Refer to section "4-4. Input/output data" for details. Refer to Fig. 5-9 to Fig. 5-17 in the "VT240S Instruction Manual (document No.: ST-3450)" for details on how the command data is reflected onto the selected operation in the VT240S. 2. Operation with sequence commands from CC-Link master When carrying out operation by sending sequence commands from the CC-Link master, make sure that the sequence command COP is ON. Example) Operation mode : Remote (RMT) COP command : C03-5 = 16 (ON fixed) (Operation is always carried out with the sequence commands from the host computer.) Refer to Fig. 5-2 in the "VT240S Instruction Manual (document No.: ST-3450)" for details on the sequence input logic. Note) When sending an auxiliary operation sequence command, make sure that the Control source switchover method (J2 setting): C00-6 is set to "Serial input". Control source switchover method (J2 setting): C00-6=2 (Serial input) 3. Confirming station No. Confirm the local station No. with D40-0. The setting is changed with the rotary switch on the CC-Link interface. Turn the power OFF and ON after changing the setting. 4. Confirming the number of occupied stations Confirm the number of stations occupied by the local station with D40-1. The setting is changed with the DIP switch on the interface. Turn the power OFF and ON after changing the setting. 5. Confirming the baud rate Confirm the baud rate with D40-2. The setting is changed with the rotary switch on the interface. Turn the power OFF and ON after changing the setting. 6. Confirming the transmission version Confirm the transmission version with C38-2. The setting is changed with the Operation panel. Turn the power OFF and ON after changing the setting. This interface is compatible only with CC-Link Version 1. Refer to Appendix Table 1-1 of details on the above settings. CAUTION
CAUTION

1. When carrying out sequence control with CC-Link transmission, automatic start and restart after instantaneous power failure may not function correctly. This is caused by a difference in the power voltage operation and the time for transmitting the command.

- 13 -

4. CC-Link Transmission

4-3 Creating a profile definition file (CSP file)


This profile is required for connecting the master (structuring the system) with the CC-Link Utility. The profile definition file for the VT240S created with a text editor, etc., can be used as the VT240S device definition file. The contents of the file are shown below.
#V24-SL3 (Occupies 1 Stations) [File] FileComment = VT240S CSP File; CreateDate = 2007/01/01; CreateTime = 12:00:00; ModDate = 2007/01/01; ModTime = 12:00:00; Version = 1.0; [Device] VendName = MEIDENSHA CORPORATION; VendID = 0x0634; StationType = 1; RemDevType = 0x20; DevModel = V24-SL3; DevVer = 1; Senyuu = 1; BmpFile = -; ErrReg = ; UpDownLoadF = 0; MasterFlg = 0;

#Vendor Name #Vendor Code #Station Type (0:I/O 1:Remote Device 2:Intelligent Device)) #Remote Device Type #Model #Version Information #Number Of Occupied Stations #Corresponds Bitmap File Name #For Error Indication #Not Correspond To Load #Impossible To Set In The Standby Master

# Name,Bit Register No.,Turn Off Name,Turn On Name [IO_Info_RX] EntryNum = 20; Bentry1 = Run, RX0, Bentry2 = Fault, RX1, Bentry3 = Charge completed, RX2, Bentry4 = Ready (1), RX3, Bentry5 = Ready (2), RX4, Bentry6 = Zero speed, RX5, Bentry7 = Reverse run, RX6, Bentry8 = Current detection, RX7, Bentry9 = Minor fault, RX8, Bentry10= IO status illegal setting, RX9, Bentry11= IO status communication error, RXA, Bentry12= Transmission selection, RXB, Bentry13= Fault code 0 to F bit0, RXC, Bentry14= Fault code 0 to F bit1, RXD, Bentry15= Fault code 0 to F bit2, RXE, Bentry16= Fault code 0 to F bit3, RXF, BEntry17= Initial data processing request flag, RX18, BEntry18= Initial data setting completion flag, RX19, BEntry19= Error status flag, RX1A, BEntry20= Remote READY, RX1B,

, ; No Fault, Fault; , ; , ; , ; , ; , ; , ; , ; , ; , ; , ; , ; , ; , ; , ; , Initial data processing request; , Initial data setting complete; No error, Error; , Ready;

(Continued on next page)

- 14 -

4. CC-Link Transmission (Continued from previous page)


[IO_Info_RY] EntryNum = 19; Bentry1 = Emergency stop, Bentry2 = Fault reset, Bentry3 = Forward run, Bentry4 = Reverse run, Bentry5 = DC brake, Bentry6 = Serial transmission selection, Bentry7 = Ramp selection, Bentry8 = Ramp bypass, Bentry9 = Pick-up, Bentry10= Pre-excitation, Bentry11= ACR, Bentry12= P Control, Bentry13= Machine time constant changeover, Bentry14= Drooping changeover, Bentry15= Dead band setting, Bentry16= Torque bias setting 1, BEntry17= Initial data processing request flag, BEntry18= Initial data setting completion flag, BEntry19= Error reset request flag,

RY0, RY1, RY2, RY3, RY4, RY5, RY6, RY7, RY8, RY9, RYA, RYB, RYC, RYD, RYE, RYF, RY18, RY19, RY1A,

, , , , , , , , , , , , , , , , , , ,

; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; Initial data setting complete; Initial data setting; Error reset;

[IO_Info_RWw] Comment = V24-SL3 (Occupies 1 Stations); #Comments EntryNum = 4; #Number of Entries # # [<Signal(Parameter) Name> <RW number><Data Type><Section Name><Initial Value><Range><Unit><Handshake RY> <Handshake RX><RWr><Interlock><RY of midterm><RX of midterm> # WEntry1 = Frequency setting/Speed setting, RWw0, 0, , 0, , %,- ,- ,,,,; WEntry2 = Torque setting, RWw1, 0, , 0, , %,- ,- ,,,,; WEntry3 = Torque bias 1 setting, RWw2, 0, , 0, , %,- ,- ,,,,; WEntry4 = Drive torque limiter reduction setting, RWw3, 0, , 0, , %,- ,- ,,,,; [IO_Info_RWr] Comment = V24-SL3 (Occupies 1 Stations); #Comments EntryNum = 4; #Number of Entries # # [<Signal(Parameter) Name> <RW number><Data Type><Section Name><Initial Value><Range><Unit><Handshake RY>< Handshake RX><RWr><Interlock><RY of midterm><RX of midterm> # WEntry1 = Output frequency/Motor speed, RWr0, 0, , 0, , %, - ,- ,,,,; WEntry2 = Ramp function output speed, RWr1, 0, , 0, , %,- ,- ,,,,; WEntry3 = Output current, RWr2, 0, , 0, , A,- ,- ,,,,; WEntry4 = Torque setting (after torque limiter limit), RWr3, 0, , 0, , %,- ,- ,,,,; #

- 15 -

4. CC-Link Transmission

4-4 Input/output data


4-4-1 Input/output data configuration
The input/output data is configured of the output (command) 6 bytes + 1 bit and input (monitor) 6 bytes + 4 bits. (The input/output uses the CC-Link master side as the reference.) The contents transmitted with each transmission data are judged by the function code. Types of function codes Function code 0 1 2 3 4 5 6 7 8 9 A B C D E F Function Parameter A write Parameter B write Parameter C write Parameter A read Parameter B read Parameter C read Parameter D read

Outline of transmission data CC-Link master VT240S (output) 0 1 2 0 D15 D12 D11 Function code Data No. Setting data MUX process request D0

VT240S CC-Link master station (input) 0 1 2 0 1 2 3 D15 D12 D11 Function code Data No. Monitor data MUX process completed MUX data corresponding No. not found MUX data locked MUX data setting incorrect D0

The details of each function code and data are given in section 4-4-2 and following.

- 16 -

4. CC-Link Transmission

4-4-2 Function code: 3

Parameter A write

This command data is used to change the parameter A setting values. CC-Link master VT240S (output) 0 1 2 0 D15 D12 D11 Function code: 3 Data No. Write data MUX process request D8 D7 Block No. D0

<Data No.>, <Block No.> Set the parameter A data No. and block No. For example, set as shown below to write to A12-3. Data No. = 3h Block No. = 12h <Write data> The write data is shown below. 1 2 Lowest order byte High-order byte Low-order byte Highest order byte

VT240S CC-Link master (input) 0 1 2 0 1 2 3 D15 D12 D11 Function code: 3 Data No. 0 Fixed Not used MUX process completed MUX data corresponding No. not found MUX data locked MUX data setting incorrect D8 D7 Block No. D0

The write information is set in the next I/O status information <Status bit> MUX data corresponding No. not found: This is set when the parameter block No. and data No. set for output is not found. MUX data locked: This is set when the data cannot be written or read. The following parameters are the target. During write: 1) A04-0 to 7 (Custom parameters) 2) A05-0 to 2 (Block B, C parameter skip) 3) C10-0 to 7 (Custom parameter register) 4) Parameters not related to selected control mode (C30-0) (Parameters not displayed on operation panel) 5) B19-0 (Automatic tuning selection) 6) C09-7 (Default value load) 7) C34-1 (Transmission error detection setting) 8) C34-2,3,6,7 (CC-Link Interface transmission setting)

- 17 -

4. CC-Link Transmission During read Same as 1) to 4) above 5) D20-0 (Error code entry) 6) D20-1 (Trace data entry) 7) D20-2 (Parameter A, B, C change list entry) 8) D22-0 (Automatic tuning progress state) 9) D30-0 (Inverter type) 10) D30-1 (Optional PCB) MUX data setting incorrect: This is set when the data to be written has an illegal value. Note) The data errors related to MUX data are detected in the following order. If there are multiple errors, the error detected first is set. Order of detection MUX data corresponding No. not found MUX data locked MUX data setting incorrect

- 18 -

4. CC-Link Transmission

4-4-3

Function code: A

Parameter A read

This command data is used to refer to the parameter A setting values. CC-Link master VT240S (output) 0 1 2 0 D15 D12 D11 Function code: A Data No. 0 Fixed Not used MUX process request D8 D7 Block No. D0

<Data No.>, <Block No.> The parameter A data No. and block No. are set. For example, set as shown below to read A12-3. Data No. = 3h Block No. = 12h VT240S CC-Link master (input) 0 1 2 0 1 2 3 D15 D12 D11 Function code: A Data No. Read data MUX process completed MUX data corresponding No. not found MUX data locked MUX data setting incorrect D8 D7 Block No. D0

The read information is set in the status bit. The status bit has the same definition as function code: 3 (parameter A write). <Read data> The following data is read. 1 2 Lowest order byte High-order byte Low-order byte Highest order byte

- 19 -

4. CC-Link Transmission

4-4-4 Function code: 4

Parameter B write

This command data is used to change the parameter B setting values. CC-Link master VT240S (output) 0 1 2 0 D15 D12 D11 Function code: 4 Data No. Write data MUX process request D8 D7 Block No. D0

<Data No.>, <Block No.> Set the parameter B data No. and block No. For example, set as shown below to write to B13-0. Data No. = 0h Block No. = 13h <Write data> The write data is shown below. 1 2 Lowest order byte High-order byte Low-order byte Highest order byte

VT240S CC-Link master (input) 0 1 2 0 1 2 3 D15 D12 D11 Function code: 4 Data No. 0 Fixed Not used MUX process completed MUX data corresponding No. not found MUX data locked MUX data setting incorrect D8 D7 Block No. D0

The write information is set in the status bit. The status bit has the same definition as function code: 3 (parameter A write).

- 20 -

4. CC-Link Transmission

4-4-5

Function code: B

Parameter B read

This command data is used to refer to the parameter B setting values. CC-Link master VT240S (output) 0 1 2 0 D15 D12 D11 Function code: B Data No. 0 Fixed Not used MUX process request D8 D7 Block No. D0

<Data No.>, <Block No.> The parameter B data No. and block No. are set. For example, set as shown below to read B13-0. Data No. = 0h Block No. = 13h VT240S CC-Link master (input) 0 1 2 0 1 2 3 D15 D12 D11 Function code: B Data No. Read data MUX process completed MUX data corresponding No. not found MUX data locked MUX data setting incorrect D8 D7 Block No. D0

The read information is set in the status bit. The status bit has the same definition as function code: 3 (parameter A write). <Read data> The following data is read. 1 2 Lowest order byte High-order byte Low-order byte Highest order byte

- 21 -

4. CC-Link Transmission

4-4-6 Function code: 5

Parameter C write

This command data is used to change the parameter C setting values. CC-Link master VT240S (output) 0 1 2 0 D15 D12 D11 Function code: 5 Data No. Write data MUX process request D8 D7 Block No. D0

<Data No.>, <Block No.> Set the parameter C data No. and block No. For example, set as shown below to write to C30-0. Data No. = 0h Block No. = 30h <Write data> The write data is shown below. 1 2 Lowest order byte High-order byte Low-order byte Highest order byte

VT240S CC-Link master (input) 0 1 2 0 1 2 3 D15 D12 D11 Function code: 5 Data No. 0 Fixed Not used MUX process completed MUX data corresponding No. not found MUX data locked MUX data setting incorrect D8 D7 Block No. D0

The write information is set in the status bit. The status bit has the same definition as function code: 3 (parameter A write).

- 22 -

4. CC-Link Transmission

4-4-7

Function code: C

Parameter C read

This command data is used to refer to the parameter C setting values. CC-Link master VT240S (output) 0 1 2 0 D15 D12 D11 Function code: C Data No. 0 Fixed Not used MUX process request D8 D7 Block No. D0

<Data No.>, <Block No.> The parameter C data No. and block No. are set. For example, set as shown below to read C30-0. Data No. = 0h Block No. = 30h VT240S CC-Link master (input) 0 1 2 0 1 2 3 D15 D12 D11 Function code: C Data No. Read data MUX process completed MUX data corresponding No. not found MUX data locked MUX data setting incorrect D8 D7 Block No. D0

The read information is set in the status bit. The status bit has the same definition as function code: 3 (parameter A write). <Read data> The following data is read. 1 2 Lowest order byte High-order byte Low-order byte Highest order byte

- 23 -

4. CC-Link Transmission

4-4-8

Function code: D

Parameter D read

This command data is used to refer to the parameter D setting values. CC-Link master VT240S (output) 0 1 2 0 D15 D12 D11 Function code: D Data No. 0 Fixed Not used MUX process request D8 D7 Block No. D0

<Data No.>, <Block No.> The parameter D data No. and block No. are set. For example, set as shown below to read D00-2. Data No. = 2h Block No. = 00h VT240S CC-Link master (input) 0 1 2 0 1 2 3 D15 D12 D11 Function code: D Data No. Read data MUX process completed MUX data corresponding No. not found MUX data locked MUX data setting incorrect D8 D7 Block No. D0

The read information is set in the status bit. The status bit has the same definition as function code: 3 (parameter A write). <Read data> The following data is read. 1 2 Lowest order byte High-order byte Low-order byte Highest order byte

- 24 -

4. CC-Link Transmission

4-5
1. 2.

Precautions
The input/output data is refreshed every 10msec with the interval process, but the parameter operations (parameter write/read) are processed in the background (BG). The response will be 100msec or more. The fault information for the CC-Link interface is shown below.

(1) Details of fault codes (Displayed on operation panel) "IO-7" fault (Starting not possible): Judged at the initialization process. This occurs if the system does not start within 3 seconds after the interface system is reset during initialization or fault reset. The inverter unit also will not start in this case. "IO-8" fault (WDT): Judged with the interval process. This fault occurs if there is no response from the inverter for 100msec during normal operation. "IO-9" fault (Transmission error): Judged with the interval process. This fault occurs if the output data is not received from the CC-Link master station for approx. 105ms or more (at 10Mbps). (2) Resetting the fault If an interface fault occurs during normal operation, the interface can be reset by resetting the fault. If "IO-7" occurs immediately after starting up, there may be an error in the interface. 3. The precautions for using the parameter write/read function are given below.

(1) Data No. The data numbers are the same as those given in the parameter setting table. Refer to Chapter 6 Control functions and parameter settings in the "VT240S Instruction Manual (document No. ST-3450)" for details. If the target data is not found in the main unit, the main unit will ignore this data. In this case, an error will be set in the IO status. (Refer to section 4-4-2 Function code: 3 Parameter A write) (2) Data processing speed The data is processed in the background (BG). The main unit's response will be extremely slow, and the response time will always be unstable. Thus, the time delay must be considered during application. (3) Application design If the same items are selected for the various setting data and multiplexed data and different output data is set, the data will ultimately be refreshed to the various setting data. However, as the operation on the main unit side will be unstable, do not design this type of application. (4) Parameter writing The multiplexed data has all functions that can be operated on the operation panel. Thus, if the application is not suitable, the inverter functions may also be changed, so take special care when setting the data.

- 25 -

Appendix

Appendix Table 1
Appendix Table 1-1

CC-Link interface

Parameter setting

Block-C parameters (H/W option function constants) list


No. Parameter Min. Max. Default( Unit) Function Application
V/f VEC PM RWE

Ref. page

C34 Field network interface (CC-Link) Select the transmission error detection =1Without detection =2Detection (fault output) =3Detection (minor fault) When set =1 or COP is Off, no fault is detected and the present operation is kept even if any transmission error is occurred. When set = 2 and COP is On, IO-8 or IO-9 is output for any transmission error. When set = 3 and COP is On, minor fault is output for any transmission error and the inverter operation follows C34-2 setting. Set HOLD / CLEAR /Emergency stop when C34-1=3 and COP is On. =0Hold (hold the set value as it is) =1Clear (clear all the set values) =2Emergency stop When emergency stop occurs, the inverter operation should be resumed after the fault reset. Set the master timeout time. [0.1 s/LSB] Select the data range for the transmission input/output data. Refer to the "Data Range Selection Table" for details. Set the version of the CC-Link transmission protocol. (For future use) (This parameter setting is invalid when using other communication options.) =1: Ver1 =2: Ver2

Transmission error detection

1.

2.

1.

HOLD/CLR/Emergency stop

0.

2.

0.

Master timeout time

0.0

10.0

5.0

Data range selection

0.

11.

0.

CC-Link transmission version selection

1.

2.

1.

Select the data range for the transmission input/output data. Data Range Selection Table.
Setting value 0 1 2 3 4 5 6 7 8 9 10 11 Data size Sign Frequency setting Data range 0d44000d 0d4400d 0d10000d -32768d32767d -4400d4400d -10000d10000d 0d44000d 0d4400d 0d10000d -44000d44000d -4400d4400d -10000d10000d Unit 0.01Hz 0.1Hz 0.01% 0.01Hz 0.1Hz 0.01% 0.01Hz 0.1Hz 0.01% 0.01Hz 0.1Hz 0.01% Speed setting Data range 0d65535d 0d7200d 0d10000d -32768d32767d -7200d7200d -10000d10000d 0d72000d 0d7200d 0d10000d -72000d72000d -7200d7200d -10000d10000d Unit 0.1min- 1min- 0.01% 0.1min- 1min- 0.01% 0.1min- 1min- 0.01% 0.1min- 1min- 0.01%

Unsigned 16bit Signed

Unsigned 32bit Signed

- 26 -

Appendix

Appendix Table 2
Name

List of CC-Link interface options


Type Maker Mitsubishi Electric System Service Mitsubishi Electric System Service Phoenix Contact Details Ver. 1.10 compatible CC-Link cable (for fixed section) Ver. 1.10 compatible CC-Link cable (for movable section) COMBICON socket with gold plating

Dedicated cable FANC-110SBH Dedicated cable FANC-110SBZ-5 Dedicated connector MSTB2,5/5-STF-5,08AU

- 27 -

Appendix

Appendix Table 3
Appendix Table 3-1

CC-Link communication data


RY and RX signals occupied by station 1
Remote device station Master station (link input) Device No. Signal name RXn0 Running RXn1 Fault RXn2 Charging completed RXn3 Ready 1 RXn4 Ready 2 RXn5 Zero speed RXn6 Reverse running RXn7 Current detection RXn8 Minor fault RXn9 IO status (incorrect setting) RXnA IO status (transmission error) RXnB Transmission selection RXnC Fault code 1 RXnD Fault code 2 RXnE Fault code 3 RXnF Fault code 4 RX (n+1) 0 RX (n+1) 1 RX (n+1) 2 RX (n+1) 3 Reserved RX (n+1) 4 RX (n+1) 5 RX (n+1) 6 RX (n+1) 7 RX (n+1) 8 Initial data processing request flag RX (n+1) 9 Initial data setting completed flag RX (n+1) A Error status flag RX (n+1) B Remote READY RX (n+1) C RX (n+1) D Reserved RX (n+1) E RX (n+1) F

Master station Remote device station (link output) Device No. Signal name RYn0 Emergency stop (output stop) RYn1 Fault return RYn2 Forward run RYn3 Reverse run RYn4 DC braking RYn5 Serial transmission selection RYn6 Cushion changeover RYn7 Cushion path RYn8 Pick-up RYn9 Pre-charging RYnA ACR RYnB P control RYnC Machine time constant changeover RYnD Regulation changeover RYnE Dead band setting RYnF Torque bias setting 1 RY (n+1) 0 RY (n+1) 1 RY (n+1) 2 RY (n+1) 3 Reserved RY (n+1) 4 RY (n+1) 5 RY (n+1) 6 RY (n+1) 7 RY (n+1) 8 Initial data processing completed flag RY (n+1) 9 Initial data setting request flag RY (n+1) A Error reset request flag RY (n+1) B Open RY (n+1) C RY (n+1) D Reserved RY (n+1) E RY (n+1) F

The initial data process request flag is not used with this device.

- 28 -

Appendix

Appendix Table 3-2

RY and RX signals occupied by station 2


Remote device station Master station (link input) Device No. Signal name RXn0 Running RXn1 Fault RXn2 Charging completed RXn3 Ready 1 RXn4 Ready 2 RXn5 Direct RXn6 Reverse running RXn7 Current detection RXn8 Frequency attained RXn9 Speed detection 1 RXnA Speed detection 2 RXnB Transmission selection RXnC Fault code EC0 RXnD Fault code EC1 RXnE Fault code EC2 RXnF Fault code EC3 RX (n+1) 0 Accelerating RX (n+1) 1 Decelerating RX (n+1) 2 Auxiliary drive selection RX (n+1) 3 Minor fault RX (n+1) 4 Fan operation command RX (n+1) 5 Waiting for automatic start RX (n+1) 6 Zero speed RX (n+1) 7 PID lower limit output RX (n+1) 8 PID upper limit output RX (n+1) 9 Spare (always 0) RX (n+1) A Spare (always 0) RX (n+1) B IO status (incorrect setting) RX (n+1) C RX (n+1) D RX (n+1) E RX (n+1) F RX (n+2) 0 RX (n+2) 1 RX (n+2) 2 RX (n+2) 3 RX (n+2) 4 RX (n+2) 5 RX (n+2) 6 RX (n+2) 7 RX (n+2) 8 RX (n+2) 9 RX (n+2) A RX (n+2) B RX (n+2) C RX (n+2) D RX (n+2) E RX (n+2) F RX (n+3) 0 RX (n+3) 1 RX (n+3) 2 RX (n+3) 3 RX (n+3) 4 RX (n+3) 5 RX (n+3) 6 RX (n+3) 7 RX (n+3) 8 RX (n+3) 9 RX (n+3) A RX (n+3) B RX (n+3) C RX (n+3) D RX (n+3) E RX (n+3) F IO status (transmission error) IO status (MUX corresponding No. not found) IO status (MUX data locked) IO status (MUX data setting incorrect) Speed deviation error External brake output Doff-End alarm output Stoppage deceleration output Run delay answer FAN control(inside) Spare (always 0) PLC 1 PLC 2 PLC 3 PLC 4 PLC 5 PLC 6 PLC 7 PLC 8 Multiplexed data process completed

Master station Remote device station (link output) Device No. Signal name RYn0 Emergency stop (output stop) RYn1 Fault return RYn2 Forward run RYn3 Reverse run RYn4 Forward run inching 1 RYn5 Reverse run inching 1 RYn6 Auxiliary drive No selection L RYn7 Auxiliary drive No selection H RYn8 Hold signal RYn9 DC braking RYnA Serial transmission selection RYnB Cushion changeover RYnC Interlock ratio path RYnD Cushion path RYnE Speed setting changeover 1 RYnF Speed setting changeover 2 RY (n+1) 0 Speed setting changeover 3 RY (n+1) 1 Program setting RY (n+1) 2 External brake answer RY (n+1) 3 Program setting selection S1 RY (n+1) 4 Program setting selection S2 RY (n+1) 5 Program setting selection S3 RY (n+1) 6 Program setting selection S4 RY (n+1) 7 Program setting selection S5 RY (n+1) 8 Frequency increment RY (n+1) 9 Frequency decrement RY (n+1) A Interlock ratio bias increment RY (n+1) B Interlock ratio bias decrement Interlock ratio bias RY (n+1) C increment/decrement selection RY (n+1) D Auxiliary drive selection RY (n+1) E Pick-up RY (n+1) F Pre-charging RY (n+2) 0 ACR RY (n+2) 1 P control RY (n+2) 2 Drive torque limiter changeover Regenerative torque limiter RY (n+2) 3 changeover RY (n+2) 4 Machine time constant changeover RY (n+2) 5 0 setting RY (n+2) 6 Regulation changeover RY (n+2) 7 Dead band setting RY (n+2) 8 Torque bias setting 1 RY (n+2) 9 Torque bias setting 2 RY (n+2) A PID control selection RY (n+2) B Digital torque bias 1 RY (n+2) C Digital torque bias 2 RY (n+2) D Digital torque bias 3 RY (n+2) E STP reset RY (n+2) F Multiplexed data process request RY (n+3) 0 RY (n+3) 1 RY (n+3) 2 RY (n+3) 3 Reserved RY (n+3) 4 RY (n+3) 5 RY (n+3) 6 RY (n+3) 7 RY (n+3) 8 Initial data processing completed flag RY (n+3) 9 Initial data setting request flag RY (n+3) A Error reset request flag RY (n+3) B Open RY (n+3) C RY (n+3) D Reserved RY (n+3) E RY (n+3) F

Reserved

Initial data processing request flag Initial data setting completed flag Error status flag Remote READY Reserved

The initial data process request flag is not used with this device. - 29 -

Appendix

Appendix Table 3-3

RWw and RWr signals occupied by station 1


Remote device station Master station Details Vector ACR mode Address V/f mode RWrn Torque setting RWr (n+1) RWr (n+2) RWr (n+3) Output frequency Not used (0) Output current Not used (0) Torque current detection Vector ASR mode Vector ACR mode Details

Master station Remote device station Address V/f mode RWwn RWw (n+2) Frequency setting

Vector ASR mode Speed setting

Motor rotation speed Set speed cushion output

RWw (n+1) Not used (Fixed to 0)

Torque bias 1 setting

RWw (n+3) Drive torque limiter reduction setting

Appendix Table 3-4

RWw and RWr signals occupied by station 2


Remote device station Master station Details Vector ACR mode Address V/f mode RWrn Torque setting RWr (n+1) RWr (n+2) RWr (n+3) RWr (n+4) RWr (n+5) RWr (n+6) RWr (n+7) Output frequency Not used (0) Output current Not used (0) Torque current detection Vector ASR mode Vector ACR mode Details

Master station Remote device station Address V/f mode RWwn Frequency setting

Vector ASR mode Speed setting

Motor rotation speed Set speed cushion output

RWw (n+1) Not used (Fixed to 0) RWw (n+2) RWw (n+3) RWw (n+4)

Torque bias 1 setting Drive torque limiter reduction setting Regenerative torque limiter reduction setting

Output voltage command Multiplexed data MUX-S Multiplexed data MUX-SD (low-order) Multiplexed data MUX-SD (high-order)

RWw (n+5) Multiplexed data MUX-C RWw (n+6) Multiplexed data MUX-CD (low-order) RWw (n+7) Multiplexed data MUX-CD (high-order)

- 30 -

Revision history

Revision history Revision A Date Revision details

Sep. 2007 First edition issued. Jan. 2008


Appendix Table 3-2 RY and RX signals occupied by station 2 : corrected

Вам также может понравиться