View
220
Download
0
Category
Preview:
DESCRIPTION
第二部分 CC-Link 的工作原理. CC-Link 的物理结构 公共数据区域的概念 数据映射表 循环数据的传送 瞬时数据的传送 数据传送时间分析. Feature of CC-Link. Complete RAS Function. ( R eliability, A vailability, S erviceability). Control by a master board for PC is available, too. SB0080 SW0080 ~0083. Master station. - PowerPoint PPT Presentation
Citation preview
第二部分CC-Link 的工作原理
CC-Link 的物理结构 公共数据区域的概念 数据映射表 循环数据的传送 瞬时数据的传送 数据传送时间分析
(Reliability, Availability, Serviceability)
Complete RAS Function
Feature of CC-Link
Stand-byMaster Auto-restore
commu- nication
On-LineExchange
Diagno-stics
MonitoringFunction
I do not want toReset Masterafter faultystation goesback working.
I want toavoid systembreak down
I want to monitorstatus ofcommunicationat Master station.
I want to checkwiring, H/Wand so on.
I hate that onefaulty stationinfluence theothers
Reliablesystem can be
realized byCC-Link
Master station
SB0080SW0080 ~ 0083
Easy
Configuration
Software
Stand By Master station(Local Station)
Optical repeater ( max.7.6km)
Repeater(T-branch)
Wireless Repeater (Infrared ray)
Rotary Joint ( 10Mbps)
Local Station
Control by a master board for PC is available, too
Control by a master board for PC is available, too
(CC-Link)
Many kinds of Partners Products
CC-Link Network System
Master StationThis controls all slave stations connected to CC-Link network.
One master station is needed for a CC-link system.
Local StationThis is the slave station that enables N:N cyclic communication with Master and / or other Local and transient communication.
Remote I/O StationOnly Input / Output (bit data) can be handled by this station.
Remote Device StationInput / Output (bit data) and numerical data
(word data) can be exchanged by this station.
Intelligent Device StationThis station can perform data exchange, such as Input /
Output (bit data) and numerical data (word data).And transient communication is also available
DownDownNetwork Network ControlControl
for SI, GI fiber cable
up to 2.5Mbps 、0 ~ 100m
full range of communication speed supported
From 3rd party
Communication Communication Speed & Total Speed & Total
Length of CC-Link Length of CC-Link CableCable
1010Mbps: 100m (4.3Km with Optical repeater)Mbps: 100m (4.3Km with Optical repeater)
5Mbps: 160m (4.48Km with Optical repeater)5Mbps: 160m (4.48Km with Optical repeater)
2.5Mbps: 400m (5.2Km with Optical repeater)2.5Mbps: 400m (5.2Km with Optical repeater)
625Kbps: 900m (6.7Km with Optical repeater)625Kbps: 900m (6.7Km with Optical repeater)
156kbps:1,200m (7.6Km with Optical repeater)156kbps:1,200m (7.6Km with Optical repeater)
64 64 stations stations (without any repeater)(without any repeater)Number of
connectable stations
ItemItem SpecificationsSpecifications
Specifications of CC-Link
Data size of Data size of TransientTransient
960 960 bytes bytes (150 bytes / packet: Master =>Slave)(150 bytes / packet: Master =>Slave) (34 bytes / packet: Slave => Master)(34 bytes / packet: Slave => Master)
Link Scan TimeLink Scan Time 3.4 3.4 ms (Remote I/O :64 stations)ms (Remote I/O :64 stations)
Data size of Data size of CyclicCyclic 24 24 bytes / 1 stationbytes / 1 station
HMI
RobotController
RobotRemote I/O
Bit
Bit
Bit
Word
Bit
Word
BitRx/y
BitRx/y
Bit
Word
Rx/yRw
Bit
Word
Rx/yRw
Rx/y
Rw
Rw
Master
Bit
Word
Bit
Word
Rx/yRw Rw
Cyclic Communication
Master Local
InverterSensorValve
Feature of CC-LinkFeature of CC-Link
Analog I/O
Remote I/O:2,048bit Remote Register : 512word
Rx/y
Rx/y
Rx/y
Rx/y
RobotController
Message
MessageMessage
150 byte / 1 Scan=>
<=34 byte / 1 Scan
Feature of CC-LinkFeature of CC-LinkTransient Communication (Max.960 bytes)
Master
Local HMI
RobotDigital I/O
Bit
Bit
Bit
Word
Bit
Word
BitRx/y
BitRx/y
Bit
WordRx/yRw
Bit
WordRx/yRw
Rx/y
Rx/y
Rx/y
Rw
Rx/y
Rw
Master
Bit
Word
Bit
WordRx/yRw
Rx/y
Rw
InverterSensorValve
Analog I/O
Remote I/O:2,048bit Remote Register : 512word
Inter-Controller Network
De-central Control system can be realized by using N:N communication between controllers with cyclic communication.
RY,RWwRY,RWw
RX,RWrRX,RWr
RX,RWrRX,RWr
RY,RWwRY,RWw
Feature of CC-LinkFeature of CC-Link
Master LocalIntelligent
Device
Analog I/OInverterSensor
Valve
RX,RWrRX,RWr
RY,RWwRY,RWw
Rough value of CC-Link Scan Time (In case cyclic communication is used under 10Mbps communication speed)
0
1
2
3
4
5
6
0 20 40 60Number of stations
Link
Sca
n T
ime[
mS
]
Only Remote I/O connected
4ms/64 Stations (2048bits Communication speed / 10Mbps)
Link Scan TimeLink Scan Time
Feature of CC-Link
Only Remote Device connected (Each one station occupied)Only Local / Intelligent Device connected (Each one station occupied)
Communication method : Protocol (Broadcast-Polling)Communication method : Protocol (Broadcast-Polling)Master Slave 1 Slave 2 ………… Slave n
(1)Polling to slave 1+ Sending data (refresh data) to all slave stations
(1)' Response (refresh data) from slave 1(Receivable at all stations)
(2) Polling to slave 2
(2)' Response (refresh data) from slave 2(Receivable at all stations)
(n)' Response (refresh data) from slave n(Receivable at all stations)
(3) Polling to slave 3
(1)Polling to slave 1+ Sending data (refresh data) to all slave stations
(1)' Response (refresh data) from slave 1(Receivable at all stations)
(2) Polling to slave 2
(2)' Response (refresh data) from slave 2(Receivable at all stations)
(n)' Response (refresh data) from slave n(Receivable at all stations)
(3) Polling to slave 3
Feature of CC-Feature of CC-LinkLink
Communication LSI (MFP)Communication LSI (MFP)
Since MFP (Mitsubishi Field network Processor) carries out communication process between master and slave stations, high speed and stable communication is realized.
Feature of CC-Feature of CC-LinkLink
RAM
S/W
(ROM)
Dual-Port
RAM
Bus I/F
CPU
CPU
RAM
S/W (Driver)
5)
Host Controller Side CC-Link Interface Side
80MHz
Oscillator
Monitoring Timer
Clock Divider circuit
HDLC
DPLL
Bus
con
trol
Station No. Switch Baud rate setting switch
Medium interface (RS485)
DMAC
I/O port (Register)
Error detecting
circuit
shutdown
Communication control
Receive buffer
Send buffer
EEPROM
MFP1
Frame Format
FF A1A1
A2A2
STST
11 STST
22FF FF CRCR
CC FF FF FFDATADATA (( Max.918byteMax.918byte
))
FF A1A1
A2A2
STST
11 STST
22FF FF CRCR
CC FF FF FFRYRY
(Max.256byte)(Max.256byte)
RWwRWw
(Max.512byte)(Max.512byte)
FF A1A1
A2A2
STST
11 STST
22FF FF CRCR
CC FF FF FFRXRX
(Max.16byte)(Max.16byte)
RWrRWr
(Max.32byte)(Max.32byte)
CRCR
CC FF FF FFMessageMessage
(Max.150byte)(Max.150byte)
CRCR
CC FF FF FFMessageMessage
(Max.34byte)(Max.34byte)
(1) (1) Standard Frame (Max.930byte)Standard Frame (Max.930byte)
(2) (2) Polling + Refresh data (Master => Local / Intelligent device station)Polling + Refresh data (Master => Local / Intelligent device station)
(3) (3) Response (refresh data) from slave (Local / Intelligent device => Master, Local => Local)Response (refresh data) from slave (Local / Intelligent device => Master, Local => Local)
Data rate in frame is 98% in maximum =>Data rate in frame is 98% in maximum => Efficient Data transfer Efficient Data transfer
Feature of CC-Feature of CC-LinkLink
远程终端的形式远程 描述 典型单元 数据形式主站 网络的主站控制单元
主站一定是一个程控器每个网络只有一个主站
PLC RX, RY
RWr, RWw
Message
远程 I /O 处理 ON-OFF 数据每个网络可以有 64个远程 I / O
Digital I/O
Pnumatic valve
RX, RY
远程设备 处理 ON-OFF 数据+字数据每个网络可以有 42个远程设备
Analog I/O
Temp. controller
RX, RY
RWr, RWw
智能设备 处理 ON-OFF 数据+字数据+信息数据每个网络可以有 26个智能设备
RS232C I/F
Local 这是主站边上的另一个 PLC
Local PLC是一种智能设备PLC
备用主站 这是一种智能设备,也是一种 Local PLC;当主站工作时,它是一个 Local PLC ;当主站出现故障时,它作为主站工作;每个网络只有 1个备用主站。
PLC
RX, RY
RWr, RWw
Message
数据形式设备 名称 描述 大小/站 大小/网络 适用的远程终端RX 远程输入 输入主站/local PLC 的位数据 32 bits 2048 bits 远程I/O
远程设备智能设备主站/Local PLC
RY 远程输出 从主站/local PLC输出的位数据 32 bits 2048 bits 远程I/O
远程设备智能设备主站/Local PLC
RWr 远程寄存器(读)
输入主站/local PLC 的字数据 4 words 256 words 远程设备智能设备主站/Local PLC
RWw 远程寄存器(写)
从主站/local PLC输出的字数据 4 words 256 words 远程设备智能设备主站/Local PLC
Message 非刷新数据。用于传送大容量的数据
智能设备主站/Local PLC
Max. logical remote devices : RX:2048 bits + RY: 2048 bits + RWr:256 words + RWw: 256 words = 768 words
远程设备 /数据形式的关系
数据形式RX RY RWr RWw Message
主站 Yes Yes Yes Yes Yes
远程 I/P Yes Yes X X X
远程设备 Yes Yes Yes Yes X
智能设备 Yes Yes Yes Yes Yes
Local Yes Yes Yes Yes Yes
远程设备的形式
备用主站 Yes Yes Yes Yes Yes
传送方法•循环数据的刷新
–刷新设备 : RX, RY, RWr, RWw–刷新范围取决于远程终端的数量和型号–刷新所有连接的站点–刷新操作无需梯形图编程 .
注:网络模块与 CPU 之间的刷新需要编程。
传送方法•信息传送
–无循环数据传送–对于主站 /就地站 /智能远程设备有效–需要在程序中添加 CC-Link命令(只对 AnSH, QnA, QnAS有效 )
–也通过 G4单元进行程序转换
循环的数据刷新RX
RY
RWr
RWw
RX
RY
RWr
RWw
RX
RY
RWr
RWw
RX
RY
RWr
RWw
主站远程 I/O ,设备,智能站 就地站 就地站
Data source Original data destination
诊断设备• SB, SW : 诊断继电器 /寄存器• 监控网络的状态和错误
SB0 to 3F位设备
CPU 设备内存 主站 /就地站的缓冲寄存器FROM/TO自动刷新参数
注; QnACPU 的 SB/SW 不能被用作 CC-Link SB/SW 的刷新区 应使用其它 CPU 设备
字设备
SB40 to 1FF
SW0 to 3F
SW40 to 1FF
内存图网络参数
RX
RY
RWr
RWw
SB
SW
自由使用的内存
远程输入区由远程 I/O ,设备,智能站以及 PLC 就地站刷新。
网络参数区由梯形图程序或 QnA 的自动刷新参数设定。只有 PLC 主站需要。
由远程输出区刷新远程 I/O ,设备,智能站和 PLC 就地站。
远程寄存器输入区由远程设备,智能站以及 PLC 就地站刷新。
由远程寄存器输出区刷新远程设备,智能站和 PLC 就地站。
CC-Link 诊断继电器
CC-Link 诊断继电器
Auxiliary memory maybe accessed from other master/local PLC by RIRD or RIWT commands
主站 /就地站模块的内存图
循环的数据刷新RX
RY
RWr
RWw
RX
RY
RWr
RWw
RX
RY
RWr
RWw
RX
RY
RWr
RWw
主站远程 I/O ,设备,智能站 就地站 就地站
Data source Original data destination
Copied data Not available
怎样访问内存
网络参数
RX
RY
RWr
RWw
SB
SW
Random accessbuffer
主站 /就地站模块的内存图
自动刷新参数
QnA/QnAS
TO
AnN/AnA/AnU/AnS
FROM/TO
FROM/TO
RLPA or TO(Note 1)
AnSH
RRPAor
FROM/TO
(Note 1)
FROM/TOFROM/TO
Note 1: 建议使用 FROM/TO
时间表Active主站
From Master输往远程终端的数据 From Stand-by master
SB70 @ 备用主站 (by system)
SB1 @ 备用主站 (by ladder)
SB43 @ 备用主站 (by system)
Local备用主站状态 Refresh data keeper Master
*1
*1 : 远程单元维持最后的状态。
T
开关时间
波特率 (bps) 开关时间(ms)
10M 大约 4 to 25
5M 大约 6 to 30
2.5M 大约 8 to 40
625k 大约 20 to 100
156k 大约 70 to 340
开关时间因波特率以及 slave 单元数 (远程站和就地站 )的不同而不同 .
Recommended