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

www.infoPLC.

net

FACTORY AUTOMATION DIVISION - Departamento de Ingeniería Nota Técnica


Fecha: 6-4-2012 Página 1 / 14

CC-Link: LJ61BT11 y estaciones FR-A7NC

Objetivo.
Esta nota técnica proporciona las líneas de programa y los ajustes necesarios para
configurar la siguiente red CC-Link.

Master
LJ61BT11
Nº estación: 0

Esclavo 1 Esclavo 2
FR-A7NC FR-A7NC
Nº estación: 1 Nº estación: 2
Estaciones ocupadas: 1 Estaciones ocupadas: 1

OBSERVACIÓN: Las líneas de código presentadas son aplicables a los esclavos


FR-A7NC y FR-A5NC.

MITSUBISHI ELECTRIC EUROPE, B.V. Sucursal en España Factory Automation Division


Carretera de Rubí, 76-80
08190 - Sant Cugat del Vallès - Barcelona – (España) www.mitsubishi-electric.es
Tel. +34 93 565 3160 - Fax. +34 93 589 15 79 industrial@sp.mee.com
www.infoPLC.net

FACTORY AUTOMATION DIVISION - Departamento de Ingeniería Nota Técnica


Fecha: 6-4-2012 Página 2 / 14

Se pretende implementar el siguiente intercambio de datos.

Señales RX
MASTER SLAVE 1 SLAVE 2

M0 Forward running
M1 Reverse running
M2 Running (terminal RUN function)
M3 Up to frequency (terminal SU function)
M4 Overload alarm (terminal OL function)
M5 Instantaneous power failure (terminal IPF function)

M6 Frequency detection (terminal FU function)


M7 Error (terminal ABC1 function)
M8 - (terminal ABC2 function)
M9 Pr. 313 assignment function (DO0)
M10 Pr. 314 assignment function (DO1)
M11 Pr. 315 assignment function (DO2)
M12 Monitoring
M13 Frequency setting completion (RAM)
M14 Frequency setting completion (RAM, EEPROM)
M15 Instruction code execution completion
M16-M23 -
M24 Not used (initial data process request falg)
M25 Not used (initial data process completion flag)
M26 Error status flag
M27 Remote station Ready
M28-M31 -
M32 Forward running
M33 Reverse running
M34 Running (terminal RUN function)
M35 Up to frequency (terminal SU function)
M36 Overload alarm (terminal OL function)
M37 Instantaneous power failure (terminal IPF function)

M38 Frequency detection (terminal FU function)


M39 Error (terminal ABC1 function)
M40 - (terminal ABC2 function)
M41 Pr. 313 assignment function (DO0)
M42 Pr. 314 assignment function (DO1)
M43 Pr. 315 assignment function (DO2)
M44 Monitoring
M45 Frequency setting completion (RAM)
M46 Frequency setting completion (RAM, EEPROM)
M47 Instruction code execution completion
M48-M55 -
M56 Not used (initial data process request flag)
M57 Not used (initial data process completion flag)
M58 Error status flag
M59 Remote station Ready
M60-M63 -

MITSUBISHI ELECTRIC EUROPE, B.V. Sucursal en España Factory Automation Division


Carretera de Rubí, 76-80
08190 - Sant Cugat del Vallès - Barcelona – (España) www.mitsubishi-electric.es
Tel. +34 93 565 3160 - Fax. +34 93 589 15 79 industrial@sp.mee.com
www.infoPLC.net

FACTORY AUTOMATION DIVISION - Departamento de Ingeniería Nota Técnica


Fecha: 6-4-2012 Página 3 / 14

Señales RY
MASTER SLAVE 1 SLAVE 2

M64 Forward rotation command


M65 Reverse rotation command
M66 High-speed operation command (terminal RH
function)
M67 Middle-speed operation command (terminal RM
function)
M68 Low-speed operation command (terminal RL
function)
M69 Jog operation command (terminal Jog function)
M70 Second function selection (terminal RT function)
M71 Current input selection (terminal AU function)
M72 Selection of automatic restart after instantaneous
power failure (terminal CS function)
M73 Output stop
M74 Start self-holding selection (terminal STOP
function)
M75 Reset (terminal RES function)
M76 Monitor command
M77 Frequency setting command (RAM)
M78 Frequency setting command (RAM, EEPROM)
M79 Instruction code execution request
M80-M87 -
M88 Not used (initial data process completion flag)
M89 Not used (initial data process request flag)
M90 Error reset request flag
M91-M95 -
M96 Forward rotation command
M97 Reverse rotation command
M98 High-speed operation command (terminal RH
function)
M99 Middle-speed operation command (terminal RM
function)
M100 Low-speed operation command (terminal RL
function)
M101 Jog operation command (terminal Jog function)
M102 Second function selection (terminal RT function)
M103 Current input selection (terminal AU function)
M104 Selection of automatic restart after instantaneous
power failure (terminal CS function)
M105 Output stop
M106 Start self-holding selection (terminal STOP
function)
M107 Reset (terminal RES function)
M108 Monitor command
M109 Frequency setting command (RAM)
M110 Frequency setting command (RAM, EEPROM)
M111 Instruction code execution request
M112-M119 -
M120 Not used (initial data process completion flag)
M121 Not used (initial data process request flag)
M122 Error reset request flag
M123-M127 -

MITSUBISHI ELECTRIC EUROPE, B.V. Sucursal en España Factory Automation Division


Carretera de Rubí, 76-80
08190 - Sant Cugat del Vallès - Barcelona – (España) www.mitsubishi-electric.es
Tel. +34 93 565 3160 - Fax. +34 93 589 15 79 industrial@sp.mee.com
www.infoPLC.net

FACTORY AUTOMATION DIVISION - Departamento de Ingeniería Nota Técnica


Fecha: 6-4-2012 Página 4 / 14

Registros RWw
MASTER SLAVE 1 SLAVE 2

D8 Monitor code 2 (b15..b8)/Monitor code 1 (b7..b0)


D9 Set frequency (0.01Hz increments)
D10 H00/Instruction code (b7..b0)
D11 Write data
D12 Monitor code 2 (b15..b8)/Monitor code 1 (b7..b0)
D13 Set frequency (0.01Hz increments)
D14 H00/Instruction code (b7..b0)
D15 Write data

Registros RWr
MASTER SLAVE 1 SLAVE 2

D0 First monitor value


D1 Second monitor value
D2 Reply code
D3 Read data
D4 First monitor value
D5 Second monitor value
D6 Reply code
D7 Read data

OBSERVACIÓN: Para intercambiar los datos especificados configurar el Pr. 544 a 0.

Introducción.

LJ61BT11.
El módulo LJ61BT11 nos permite integrar una CPU de la familia L como estación
master de una red CC-Link. El módulo LJ61BT11 permite la instalación de hasta 42
estaciones remotas de tipo dispositivo en una misma red.

MITSUBISHI ELECTRIC EUROPE, B.V. Sucursal en España Factory Automation Division


Carretera de Rubí, 76-80
08190 - Sant Cugat del Vallès - Barcelona – (España) www.mitsubishi-electric.es
Tel. +34 93 565 3160 - Fax. +34 93 589 15 79 industrial@sp.mee.com
www.infoPLC.net

FACTORY AUTOMATION DIVISION - Departamento de Ingeniería Nota Técnica


Fecha: 6-4-2012 Página 5 / 14

FR-A7NC. Estación remota de tipo dispositivo.


El modulo FR-A7NC nos permite integrar variadores de frecuencia de las familias
FR-E700, FR-F700 y FR-A700, en una red CC-Link como estación remota de tipo
dispositivo de versión 2 (también versión 1).

La cantidad de datos a intercambiar con la estación master es función de la cantidad


de estaciones ocupadas por el modulo (ver tabla).

Estaciones ocupadas Tipo Compatible con Área de memoria RX RY RWr RWw

1 estación Usuario 32 32 4 4

2 estaciones Usuario - - - -
Single CC-Link ver. 1
3 estaciones Usuario - - - -

4 estaciones Usuario - - - -

1 estación Usuario 32 32 8 8

2 estaciones Usuario - - - -
Double
3 estaciones Usuario - - - -

4 estaciones Usuario - - - -

1 estación Usuario 32 32 16 16

2 estaciones Usuario - - - -
Quadruple CC-Link ver. 2
3 estaciones Usuario - - - -

4 estaciones Usuario - - - -

1 estación Usuario 32 32 32 32

2 estaciones Usuario - - - -
Octuple
3 estaciones Usuario - - - -

4 estaciones Usuario - - - -

Parámetro Pr. 544


El parámetro Pr. 544 permite la configuración del tipo de estación.

Parámetro Ajuste Versión de CC-Link Descripción

0 1 estación Single (compatible con FR-A5NC)


1
1 1 estación Single
Pr. 544
12 1 estación Double
(CC-Link extended setting)
14 2 1 estación Quadruple

18 1 estación Octuple

MITSUBISHI ELECTRIC EUROPE, B.V. Sucursal en España Factory Automation Division


Carretera de Rubí, 76-80
08190 - Sant Cugat del Vallès - Barcelona – (España) www.mitsubishi-electric.es
Tel. +34 93 565 3160 - Fax. +34 93 589 15 79 industrial@sp.mee.com
www.infoPLC.net

FACTORY AUTOMATION DIVISION - Departamento de Ingeniería Nota Técnica


Fecha: 6-4-2012 Página 6 / 14

OBSERVACIÓN: Se parte de la condición de que el lector tiene nociones de GX


Works2.

CONFIGURACIÓN de la red mediante GX Works2.


Para las configuraciones que se adjuntan, el modulo LJ61BT11 debe conectarse en la
posición 2 (slot 0, posición XY H10), esto es inmediatamente después de las I/O
integradas de la CPU.

MITSUBISHI ELECTRIC EUROPE, B.V. Sucursal en España Factory Automation Division


Carretera de Rubí, 76-80
08190 - Sant Cugat del Vallès - Barcelona – (España) www.mitsubishi-electric.es
Tel. +34 93 565 3160 - Fax. +34 93 589 15 79 industrial@sp.mee.com
www.infoPLC.net

FACTORY AUTOMATION DIVISION - Departamento de Ingeniería Nota Técnica


Fecha: 6-4-2012 Página 7 / 14

Numero de
estación
Tipo de red
(según
esclavos)
Velocidad de
comunicación
Bits/registros
para el auto
refresco

Bits/registros
para el control
de la red

Definición de
las estaciones
esclavas
3

Auto refresco
La estación master de CC-Link de la serie L permite mapear los esclavos conectados
directamente en variables de CPU, con lo que no es necesario programar las líneas de
código encargadas de transferir los datos entre ambos módulos.

MITSUBISHI ELECTRIC EUROPE, B.V. Sucursal en España Factory Automation Division


Carretera de Rubí, 76-80
08190 - Sant Cugat del Vallès - Barcelona – (España) www.mitsubishi-electric.es
Tel. +34 93 565 3160 - Fax. +34 93 589 15 79 industrial@sp.mee.com
www.infoPLC.net

FACTORY AUTOMATION DIVISION - Departamento de Ingeniería Nota Técnica


Fecha: 6-4-2012 Página 8 / 14

PROGRAMANDO…
A continuación se detallan las líneas de código necesarias y suficientes para una
conexión básica. No se han contemplado otras opciones tales como el tratamiento de
errores.

Master
Para las líneas de código que se adjuntan, el modulo LJ61BT11 debe conectarse en la
posición 2 (slot 0, posición XY H10), esto es inmediatamente después de las I/O
integradas de la CPU.

si com OK y esclavo 1 OK…

Observaciones: Para modo NETWORK poner w_user1 a 0. Para modo EXTERNAL


poner w_user1 a 1.

MITSUBISHI ELECTRIC EUROPE, B.V. Sucursal en España Factory Automation Division


Carretera de Rubí, 76-80
08190 - Sant Cugat del Vallès - Barcelona – (España) www.mitsubishi-electric.es
Tel. +34 93 565 3160 - Fax. +34 93 589 15 79 industrial@sp.mee.com
www.infoPLC.net

FACTORY AUTOMATION DIVISION - Departamento de Ingeniería Nota Técnica


Fecha: 6-4-2012 Página 9 / 14

Observaciones: Para MARCHA poner M64 o M65 (según sentido de giro) a ON. Para
PARO poner M64 y M65 a OFF o a ON.

MITSUBISHI ELECTRIC EUROPE, B.V. Sucursal en España Factory Automation Division


Carretera de Rubí, 76-80
08190 - Sant Cugat del Vallès - Barcelona – (España) www.mitsubishi-electric.es
Tel. +34 93 565 3160 - Fax. +34 93 589 15 79 industrial@sp.mee.com
www.infoPLC.net

FACTORY AUTOMATION DIVISION - Departamento de Ingeniería Nota Técnica


Fecha: 6-4-2012 Página 10 / 14

Observaciones: Para el “instruction code” asociado al parámetro referirse al manual


del variador.

Observaciones: El formato de los datos (consigna y parámetros) en el variador es del


tipo ###,# (también ##,##). El formato del dato a escribir o del dato leído es ####.

MITSUBISHI ELECTRIC EUROPE, B.V. Sucursal en España Factory Automation Division


Carretera de Rubí, 76-80
08190 - Sant Cugat del Vallès - Barcelona – (España) www.mitsubishi-electric.es
Tel. +34 93 565 3160 - Fax. +34 93 589 15 79 industrial@sp.mee.com
www.infoPLC.net

FACTORY AUTOMATION DIVISION - Departamento de Ingeniería Nota Técnica


Fecha: 6-4-2012 Página 11 / 14

Observaciones: La última alarma se almacena en el byte bajo de w_user8 y la


penúltima en el byte alto.

si com OK y esclavo 2 OK…

MITSUBISHI ELECTRIC EUROPE, B.V. Sucursal en España Factory Automation Division


Carretera de Rubí, 76-80
08190 - Sant Cugat del Vallès - Barcelona – (España) www.mitsubishi-electric.es
Tel. +34 93 565 3160 - Fax. +34 93 589 15 79 industrial@sp.mee.com
www.infoPLC.net

FACTORY AUTOMATION DIVISION - Departamento de Ingeniería Nota Técnica


Fecha: 6-4-2012 Página 12 / 14

Para implementar la comunicación con la estación número 2, basta con repetir las
líneas de código presentadas con las señales RX y RY y los registros RWw y RWr
correspondientes a dicha estación.

OBSERVACIÓN: Para una correcta interpretación de los programas presentados


es recomendable dirigirse al manual de programación del módulo
correspondiente.

AJUSTANDO… (las estaciones FR-A7NC)


EL NÚMERO DE ESTACIÓN
El parámetro Pr. 542 permite la configuración del número de estación.

LA VELOCIDAD DE COMUNICACIÓN
El parámetro Pr. 543 permite la configuración de la velocidad de comunicación.

Parámetro Ajuste Descripción

0 156kbps

1 625kbps
Pr. 543
2 2.5Mbps
(Baud rate selection)
3 5Mbps

4 10Mbps

OBSERVACIÓN: Resetear la alimentación del variador para


validar los cambios realizados en los parámetros Pr. 542,
Pr. 543 y Pr. 544.

MITSUBISHI ELECTRIC EUROPE, B.V. Sucursal en España Factory Automation Division


Carretera de Rubí, 76-80
08190 - Sant Cugat del Vallès - Barcelona – (España) www.mitsubishi-electric.es
Tel. +34 93 565 3160 - Fax. +34 93 589 15 79 industrial@sp.mee.com
www.infoPLC.net

FACTORY AUTOMATION DIVISION - Departamento de Ingeniería Nota Técnica


Fecha: 6-4-2012 Página 13 / 14

ANEXO PARAMETROS COMPLEMENTARIOS DEL VARIADOR

Parámetros Pr. 340 y Pr. 79

Parámetro Pr. 550

MITSUBISHI ELECTRIC EUROPE, B.V. Sucursal en España Factory Automation Division


Carretera de Rubí, 76-80
08190 - Sant Cugat del Vallès - Barcelona – (España) www.mitsubishi-electric.es
Tel. +34 93 565 3160 - Fax. +34 93 589 15 79 industrial@sp.mee.com
www.infoPLC.net

FACTORY AUTOMATION DIVISION - Departamento de Ingeniería Nota Técnica


Fecha: 6-4-2012 Página 14 / 14

Parámetros Pr. 338 y Pr. 339

MITSUBISHI ELECTRIC EUROPE, B.V. Sucursal en España Factory Automation Division


Carretera de Rubí, 76-80
08190 - Sant Cugat del Vallès - Barcelona – (España) www.mitsubishi-electric.es
Tel. +34 93 565 3160 - Fax. +34 93 589 15 79 industrial@sp.mee.com

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