user’s manual - anywire · ag22-c1 is a cc-link gateway of duplex transmission method....
TRANSCRIPT
-
AnyWire DB A20 series
CC-Link/AnyWire Bus Gateway
AG22-C1
User’s Manual
Version 1.0
26 May 2005
Anywire Corporation
R
Bit Control and Integration of Communication data
Ag22c1um0a
AnyWire DB A20 series
Wire reduction system
-
i
Caution Items
Attention for this manual
1. This manual should be sends to last user.
! Caution 2. Please go after operation of this product reads this book well, and having understood contents.
3. It is a explanation for this products of the function details included in this product, and this
manual is not a thing guaranteeing that It meet a specification purpose of a customer.
4. Don't use reprint and don't reproduce one part of this manual or everything before without
the permission
5. There is a case to change without a notice in the future about contents of this manual.
About warning indication
"Warning" indicates that the failure to follow this instruction can result in
minor injury or property damage. ! Warning
"Caution" indicates that the failure to follow this instruction can result in
minor injury or property damage. ! Caution
Precaution for your safety
! Warning An AnyWire system is not a thing having a control function aimed for safe
security。
When it seems to be next, please do special consideration about how to use
and safety measures such as a fail-safe that I had room toward for rating, a
function, and please contact us.
(1) The use how high safety is needed.
・In the case of a use predicted that it gives big influence for human life
and property
・Machinery for machinery for medical care, security
(2) In the case of usage for high reliability system
・Use to vehicle control, a combustion control unit
Please switch off of the systems power before the installation and
exchanges.
Please use an AnyWire system in a range of specifications and a condition
determined by this manual.
-
ii
! Caution Please do not put 24V power supply in condition that wiring and connection
of the whole AnyWire system are not completed.
Please use 24V stabilization direct current power supply for AnyWire
system machinery.
Transmission line and input-output cables must be kept away from high-
voltage cable or power line regardless of the high noise margin of AnyWire
system.
When at the time of wiring work, keep the unit inside or connector part
stand clear of waste metal, etc.
False wiring happen to damage for the system. In addition, please be careful
to a wiring length and placement so that a connector and an electric wire
do not come off.
When you connect a twist wire to a terminal, please do not treat solder. It
becomes cause by the fact that contact is bad.
When wiring length of a power supply line is long, there can be the thing
that the power supply voltage of a distant slave unit is drop by a voltage
descent. Connect a local power supply in this case, and please secure the
prescribed voltage.
About the installation place please avoid the following place.
・ A place under direct rays of the sun, and use environmental
temperature is places the range of over 0-55 degrees Celsius.
・ A range of use relative humidity is a place more than a thing of 10-90%,
and the place that condenses dew by a sudden temperature change.
・ A place with corrosive gas and inflammable gas.
・ The place that vibration and a shock come to directly.
Please tighten a terminal screw surely not to cause malfunction.
(Save environment temperature within from -20 degrees Celsius to 75
degrees Celsius.)
Please incorporate an emergency stop circuit for security or an interlock
circuit in an outside circuit except an AnyWire system.
-
iii
A table of contents
1 A SUMMARY ........................................................................................................................................................... 1-1 2 SPECIFICATION.................................................................................................................................................... 2-1
2.1. GENERAL SPECIFICATIONS .................................................................................................................................................. 2-1 2.2. CAPABILITY SPECIFICATIONS.............................................................................................................................................. 2-1 2.3. A DRAWING OF EXTERNAL FORM DIMENSIONS ................................................................................................................ 2-3 2.4. A NAME OF EACH PART........................................................................................................................................................ 2-3 2.5. ABOUT PUTTING ON AND TAKING OFF TO A DIN RAIL .................................................................................................. 2-4 2.6. DESORPTION OF A CONNECTOR......................................................................................................................................... 2-4
3 ABOUT SETTING OF THE SWITCH.............................................................................................................. 3-1 3.1. CC-LINK SIDE........................................................................................................................................................................ 3-1
3.1.1. Setting of an address............................................................................................................................................................................3-1 3.1.2. Setting of a baud rate ..........................................................................................................................................................................3-1 3.1.3. Reset switch.............................................................................................................................................................................................3-1
3.2. ANYWIREBUS SIDE................................................................................................................................................................ 3-2 3.2.1. Specifications choice (MODE switch) ...........................................................................................................................................3-2
4 THE MEMORY MAP ............................................................................................................................................. 4-1 5 THE PROGRAM METHOD................................................................................................................................. 5-1
5.1. SYSTEM CONSTITUTION EXAMPLE ..................................................................................................................................... 5-1 5.2. THE PROGRAM FOR PARAMETERS ..................................................................................................................................... 5-4 5.3. THE PROGRAM EXAMPLE FOR CONTACT .......................................................................................................................... 5-6
6 ABOUT THE MONITOR FUNCTION.............................................................................................................. 6-1 6.1. ADDRESS AUTOMATIC RECOGNITION ................................................................................................................................ 6-1 6.2. MONITOR MOVEMENT ........................................................................................................................................................... 6-1
7 ABOUT LED INDICATION ................................................................................................................................. 7-1 7.1. CC-LINK SIDE........................................................................................................................................................................ 7-1 7.2. ANYWIREBUS SIDE................................................................................................................................................................ 7-2
8 ABOUT CONNECTION ....................................................................................................................................... 8-1 8.1. THE TERMINATOR .................................................................................................................................................................. 8-3
9 ABOUT TRANSMISSION INDISPENSABILITY TIME.............................................................................. 9-1 9.1. IN THE CASE OF THE INPUT ................................................................................................................................................. 9-1 9.2. IN THE CASE OF THE OUTPUT ............................................................................................................................................. 9-1
10 TROUBLESHOOTING ...................................................................................................................................10-1 10.1. CC-LINK SIDE.....................................................................................................................................................................10-1 10.2. ANYWIREBUS SIDE..............................................................................................................................................................10-2
11 THE SUMMARY...............................................................................................................................................11-1
-
A summary
1-1
1 A summary
AG22-C1 is an AnyWireBus D2 gate way unit for CC-Link connection. You can connect an AnyWire
system to CC-Link by having you use this gate way.
An AnyWire system is reduction wiring system having high reliability at high speed by an original
transmission method.
Note) AnyWire is a registered
trademark of AnyWire Corporation.
AG22-C1 is a CC-Link gateway of Duplex Transmission method.
Transmission distance is total extension 3 kilometers. And there are 256 points of input and the input
output of 256 points of output by one unit.
Disconnection detection is possible even if it was branched by wiring.
・・
・・
An input slave unit
An output slave unit
An input slave unit
AnyW
ireB
us D
2 a tran
smissio
n lin
e
AG22-C1
An output slave unit
-
Specification
2-1
2 Specification
2.1. General specifications
Temperature of product using environment 0~+55℃
T h e e n v i r o n m e n t h u m i d i t y f o r s t o r a g e 10~90%RH(No condensation)
The env ironment temperature for storage -20~+75℃
Atmosphere No corrosive or flammable gas
Vibration Resistance Applies JIS C 0040
Noise Resistance 1200Vp-p (Pulse Duration 1μs)
2.2. Capability specifications
AnyWireBus side system specifications
A transmission clock signal 2kHz 7.8kHz 31.3kHz 125kHz
M a x i m u m t r a n s m i s s i o n
d i s t a n c e
(total extension distance)
3km 1km 200m 50m
Transm i s s i on cyc l e
time(1 cycle time value)
(1 cycle t ime value)
138.4ms 35.8ms 9.0ms 2.3ms
T r a n sm i s s i o n Mode Full Duplex Transmission
A c o n n ec t i o n f o rm A bus form (a multi-drop method, a T branch method, a tree branch method)
A transmission protocol An special protocol(AnyWireBus D2 protocol)
E r r o r c o n t r o l A double collation method
A connection I/O points
n u m b e r
512 points at the maximum(256 points of input / 256 points of output)
The numbe r o f t he
c o n n e c t i o n n o d e s
A 128 node at the maximum (fan in =1)
A R A S f u n c t i o n
A transmission Line disconnection position detection function, A transmission
Line short circuit detection function, A transmission power supply fall
detection function
A connect ion cab le
A general-purpose 2 Line cable / A 4 Line cable (VCTF 0.75 ~ 1.25mm2)
An exclusive flat cable(0.75mm2), A general-purpose electric wire(0.75~
1.25mm2)
(a case more than transmission distance 1km, please use more than
VCTF1.25mm2)
A p o w e r s u p p l y +24[V] +15% -0% Less than ripple 0.5Vp-p 0.4[A]
(64 slave unit connection time load electric currents do not include it)
-
Specification
2-2
CC-Link side system specifications
V e r s i o n CC-LinkVer .1.10
commun ica t i on speed 10M/5M/2.5M/625k/156kbps (a change by a switch)
A communication mode A broad-cast polling mode
A synchronization mode Frame synchronous mode
A n e n c o d i n g m e t h o d NRZI
A transmission channel
f o r m
A bus form (EIA RS485 conformity)
A transmission format HDLC conformity
Capability of connections
n u m b e r
(1×a)+(2×b)+(3×c)+(4×d)≦64 node
a : The bureau number that one station can occupy
b : The bureau number that 2 stations can occupy
c : The bureau number that 3 stations can occupy
d : The bureau number that 4 stations can occupy 4
16×A+54×B+88×C≦2304
A:Number of the remote I/O station・・・Maximum 64
B:Number of the remote device station ・・・・Maximum 42
C:Number of local station・・・・・・・・・・・・・・・・・・・・・Maximum 26
A remote exchange number Exchange number setting range 1-61(It occupies an address for 4 stations in a setting
address as the top)
E r r o r c o n t r o l CRC(X16+X12+X5+1)
A R A S f u n c t i o n Return function automatically
A function to separate the slave station
Confirmation of a state of data link
An offline test (a hardware test, A line test, Parameter confirmation test)
A c o n n e c t i o n c a b l e A cable for CC - Link (three core twist pair cables with shield)
T h e n u m b e r o f t h e
o c c u p a t i o n s t a t i o n
Remote device station 4 stations (RX/RY For each 112 points (128 points of
occupation marks) RWr / RWw 16/16)
Maximum transmission distance
Communication speed 156kbps 625kbps 2.5Mbps 5Mbps 10Mbps
Cable length between
station
0.2m以上
Maximum transmission
distance
1200m 900m 400m 160m 100m
Terminal resistance 110Ω(Be connected between DA-DB)
-
Specification
2-3
2.3. A drawing of external form dimensions
2.4. A name of each part
チ
CC-Link側 コネクタ
CC-Link side
connector
MODEスイッMode switchLED表示部LED display
AnyWireBus ボーレート設定スイッチBau
drate setting switch
s側AnyWireBuコネクタside connector
表示選択スイッチ
局番設定スイッチAddress setting switch
Address automatic
Select switch for display
アドreco
ッチレス自動認識スイgnition switch
-
Specification
2.5. About putting on and taking off to a DIN rail
This set can possess a DIN rail, and please use it.
Installation of a horizontal direction and installation of a vertical direction are possible.
In the case of installation of a horizontal direction
1.Installation to a DIN rail
① Please possess a DIN rail by a nail for fixation of
the base upper part of a set.
②You can fix fitting into by pushing this set to a
DIN rail.
2.Disassembly from a DIN rail
And you insert a minus screwdriver in a hook of right
and left, and the main body side can take off a driver
Installation of a horizontal direction
hook at once by what you defeat.
In the case of installation of a vertical direction
1.Installation to a DIN rail.
①Please possess a DIN rail by a nail for fixat
of the base lower part of a set.
②Fitting into increases on a DIN rail while pu
this device on the top from a bottom.
2.Disassembly from a DIN rail
It goes down toward you while pushing up the
this device on the top from a bottom,
and please takes it off a DIN rail.
Vertical direction set
Please do not install it in th
(worsening an arrow).
There is danger that this dev
! Caution
2.6. Desorption of a connector
On the occasion of "a CC-Link side connector",
pull off that a fixed screw of both ends loosens su
There is the situation when a device is damaged w
forcibly.
When you install it, you mount with there not bein
scattering of the wire after confirmation, and it is
lamping torque 0.5N / m)
Possess it so that
ion
shing up
upper part of
an arrow becomes
e case of vertical installation in a reverse dire
ice deviates from a DIN rail by vibration.
"AnyWire Bus side connector" disassembly, pl
rely (it comes off than a socket) after confirm
hen you pull it up as the state that you took
g a short circuit by come out of a bare line or
certain, and please close a screw of both ends
Fixed screw
2-4
Fixed nail
Spring nail
ction
ease
ation.
. ( C
-
About setting of a switch
3-1
3 About setting of the switch
3.1. CC-Link side
3.1.1. Setting of an address
Please do address setting by address setting switch "STATION NO".
A setting range of this device becomes 61 at the maximum for the 4 stations occupation.
Address setting switch Address
×10 ×1
1 0 1
2 0 2
3 0 3
4 0 4
・ ・ ・
60 6 0
61 6 1
*All the switch positions at the
time of shipment take "0".
When an address duplicate with other nodes, address duplication occurs and cannot join
communication.
"ERR" LED turns on when you set it than "0" or "62".
3.1.2. Setting of a baud rate
Set communication speed by a B.RATE switch.
B.RATE switch setting value Communication speed
0 156kbps
1 625kbps
2 2.5Mbps
3 5Mbps
4 10Mbps
5~F error
If you set it over than five, "ERR" LED turns on.
3.1.3. Reset switch
This device is reset when you push "SET" switch while pushing a "▼" sw
When you release the switch, please almost release it at the same time. It
automatic recognition when you continue pushing "SET" switch.
When this device did not do normal movement for some causes, please pu
But even if the output resets it because there is danger that it is off at on
there is not a problem, and please push it.
! Caution Please do setting of a DIP Switch after power off.
Setting of a DIP Switch adjusts it to use transmiss
and please do it by all means.
There is the situation that it cannot transmit norm
specifications of a slave unit to be connected accord
malfunction.
*All the switch positions at the
time of shipment take "0".
itch.
is working address
sh this.
e time, you confirm that
ion specifications,
ally unless transmission
with this unit and causes
-
About setting of the switch
3.2. AnyWireBus side
The slave unit please connect a thing of AnyWireBus-D2 specifications.
3.2.1. Specifications choice (MODE switch)
Please choose transmission distance with "MODE" switch (four link DIP switches).
SW-2,1 Please set transmission distance by a combination
of ON/OFF of 2 and 1.
SW-3 Please choose a Bit mode or a Word mode.
SW-4 Unused (please use it in OFF.)
MODE switch
1 2 Specifications
OFF OFF 1.95kbps 3km
OFF ON 7.8kbps 1km
ON OFF 31.3kbps 200m
ON ON 125kbps 50m
*
MODE switch
3
Movement
mode Specifications
OFF Bit mode
It does double collation of data ever
point).
The slave please use a Bit type.
ON Word mode
It does double collation of data every
points).
The slave please use a Word type.
All the switch positions at
the time of shipment become
OFF side
3-2
y bit (one
word (16
-
The memory map
4-1
4 The memory map
This device occupies 4 stations in an address set on a CC-Link system in the top.
The
address
number
The remote
input
The remote
output
The remote
register
RWr(remote →
master)
The remote
register
RWw(Master →
remote)
Remarks
0 - - - - Master
station
appointment
1 E0H~E1H 160H~161H 2E0H~2E3H 1E0H~1E3H
2 E2H~E3H 162H~163H 2E4H~2E7H 1E4H~1E7H
3 E4H~E5H 164H~165H 2E8H~2EBH 1E8H~1EBH
4 E6H~E7H 166H~167H 2ECH~2EFH 1ECH~1EFH
5 E8H~E9H 168H~169H 2F0H~2F3H 1F0H~1F3H
6 EAH~EBH 16AH~16BH 2F4H~2F7H 1F4H~1F7H
7 ECH~EDH 16CH~16DH 2F8H~2FBH 1F8H~1FBH
8 EEH~EFH 16EH~16FH 2FCH~2FFH 1FCH~1FFH
9 F0H~F1H 170H~171H 300H~303H 200H~203H
10 F2H~F3H 172H~173H 304H~307H 204H~207H
11 F4H~F5H 174H~175H 308H~30BH 208H~20BH
12 F6H~F7H 176H~177H 30CH~30FH 20CH~20FH
13 F8H~F9H 178H~179H 310H~313H 210H~213H
14 FAH~FBH 17AH~17BH 314H~317H 214H~217H
15 FCH~FDH 17CH~17DH 318H~31BH 218H~21BH
16 FEH~FFH 17EH~17FH 31CH~31FH 21CH~21FH
17 100H~101H 180H~181H 320H~323H 220H~223H
18 102H~103H 182H~183H 324H~327H 224H~227H
19 104H~105H 184H~185H 328H~32BH 228H~22BH
20 106H~107H 186H~187H 32CH~32FH 22CH~22FH
21 108H~109H 188H~189H 330H~333H 230H~233H
22 10AH~10BH 18AH~18BH 334H~337H 234H~237H
23 10CH~10DH 18CH~18DH 338H~33BH 238H~23BH
24 10EH~10FH 18EH~18FH 33CH~33FH 23CH~23FH
25 110H~111H 190H~191H 340H~343H 240H~243H
26 112H~113H 192H~193H 344H~347H 244H~247H
27 114H~115H 194H~195H 348H~34BH 248H~24BH
28 116H~117H 196H~197H 34CH~34FH 24CH~24FH
29 118H~119H 198H~199H 350H~353H 250H~253H
30 11AH~11BH 19AH~19BH 354H~357H 254H~257H
31 11CH~11DH 19CH~19DH 358H~35BH 258H~25BH
32 11EH~11FH 19EH~19FH 35CH~35FH 25CH~25FH
33 120H~121H 1A0H~1A1H 360H~363H 260H~263H
34 122H~123H 1A2H~1A3H 364H~367H 264H~267H
35 124H~125H 1A4H~1A5H 368H~36BH 268H~26BH
-
The memory map
4-2
36 126H~127H 1A6H~1A7H 36CH~36FH 26CH~26FH
37 128H~129H 1A8H~1A9H 370H~373H 270H~273H
38 12AH~12BH 1AAH~1ABH 374H~377H 274H~277H
39 12CH~12DH 1ACH~1ADH 378H~37BH 278H~27BH
40 12EH~12FH 1AEH~1AFH 37CH~37FH 27CH~27FH
41 130H~131H 1B0H~1B1H 380H~383H 280H~283H
42 132H~133H 1B2H~1B3H 384H~387H 284H~287H
43 134H~135H 1B4H~1B5H 388H~38BH 288H~28BH
44 136H~137H 1B6H~1B7H 38CH~38FH 28CH~28FH
45 138H~139H 1B8H~1B9H 390H~393H 290H~293H
46 13AH~13BH 1BAH~1BBH 394H~397H 294H~297H
47 13CH~13DH 1BCH~1BDH 398H~39BH 298H~29BH
48 13EH~13FH 1BEH~1BFH 39CH~39FH 29CH~29FH
49 140H~141H 1C0H~1C1H 3A0H~3A3H 2A0H~2A3H
50 142H~143H 1C2H~1C3H 3A4H~3A7H 2A4H~2A7H
51 144H~145H 1C4H~1C5H 3A8H~3ABH 2A8H~2ABH
52 146H~147H 1C6H~1C7H 3ACH~3AFH 2ACH~2AFH
53 148H~149H 1C8H~1C9H 3B0H~3B3H 2B0H~2B3H
54 14AH~14BH 1CAH~1CBH 3B4H~3B7H 2B4H~2B7H
55 14CH~14DH 1CCH~1CDH 3B8H~3BBH 2B8H~2BBH
56 14EH~14FH 1CEH~1CFH 3BCH~3BFH 2BCH~2BFH
57 150H~151H 1D0H~1D1H 3C0H~3C3H 2C0H~2C3H
58 152H~153H 1D2H~1D3H 3C4H~3C7H 2C4H~2C7H
59 154H~155H 1D4H~1D5H 3C8H~3CBH 2C8H~2CBH
60 156H~157H 1D6H~1D7H 3CCH~3CFH 2CCH~2CFH
61 158H~159H 1D8H~1D9H 3D0H~3D3H 2D0H~2D3H
62 15AH~15BH 1DAH~1DBH 3D4H~3D7H 2D4H~2D7H
63 15CH~15DH 1DCH~1DDH 3D8H~3DBH 2D8H~2DBH
64 15EH~15FH 1DEH~1DFH 3DCH~3DFH 2DCH~2DFH
The remote input uses only error state flag, remote station Ready flag.
The remote output uses only an error reset demand flag.
Other remote input and output does not use it.
The remote
input
Input The remote
output
Output
RX0000 RY0000
RX0001 RY0001
RX0002 RY0002
: :
RX006D RY006D
RX006E RY006E
RX006F
This does not use it
RY006F
This does not use it
RX0070 System area RY0070 System area
RX0071 RY0071
RX0072 RY0072
RX0073 RY0073
RX0074 RY0074
-
The memory map
4-3
RX0075 RY0075
RX0076 RY0076
RX0077 RY0077
RX0078 The initial data handling demand
flag
RY0078 The initial data handling completion
flag
RX0079 Initial data setting completion flag RY0079 Initial data setting demand flag
RX007A The error state flag RY007A The error reset demand flag
RX007B Remote station Ready RY007B The reservation
RX007C Reserved RY007C Reserved
RX007D Reserved RY007D Reserved
RX007E The OS definition RY007E The OS definition
RX007F RY007F
Input and output is done by a remote register.
The input and output data can use by 16 word each.
Please set an address of a slave unit at 0-255 ranges with an input unit, an output unit.
The remote register and an input number, correspondence of an output number seem to become
lists shown below.
Input bit №
Remote register 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RWr0 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RWr1 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
¦
RWr14 239 238 237 236 235 234 233 232 231 230 229 228 227 226 225 224
RWr15 255 254 253 252 251 250 249 248 247 246 245 244 243 242 241 240
Output bit №
Remote register 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RWw0 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RWw1 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
¦
RWw14 239 238 237 236 235 234 233 232 231 230 229 228 227 226 225 224
RWw15 255 254 253 252 251 250 249 248 247 246 245 244 243 242 241 240
-
The memory map
4-4
Because they do not need initial processing in this device, an initial data handling demand flag, an
initial data handling completion flag, initial data setting completion flag, initial data setting demand flag
become invalid.
• Remote station Ready becomes ON after at the time of power supply ON or reset with reset switch. • Therefore, leave a set (ON), and an error state flag can turn off error outbreak by turning on an error reset demand flag if a cause of an error is canceled.
• Remote station Ready does it as a state of OFF till It leave reset (OFF) by error outbreak, and an error reset demand flag becomes OFF from ON.
The error state flag
The error reset demand flag
Remote station Ready
ON
ON
Error outbreak
OFF
ON
OFF
OFF
-
The program method
5-1
5 The program method
Please see "CC-Link system master local unit user manuals" (details) made by Mitsubishi Electric
Corporation together.
5.1. System constitution example
Top input and output number is 0, and, as for the CC - Link master unit, AG22-C1 is as follows in the
case of exchange number 1.
CC-Link / AnyWireBus-D2 gateway AG22-C1 exchange
number 1 (It is occupied 4 stations from exchange
number 1 to 4.)
A2USCPU A1SJ61BT11
CC-Link
The master unit
X/Y00~X/Y1F
A1S62PN
-
The program method
5-2
Parameter setting is necessary to contact the master station in CC-Link between the remote I/O station,
the remote device station, local broadcasting station.
With Q CPU, QnA, Q4AR, QnAS, QnASH CPU, it can set a CC-Link parameter with a parameter setting
screen of programming software GX Developer.
(Setting by a program is possible, too.)
Setting example
Please put a check in list of "project data" by an indication menu.
A screen such as a bottom appears when you click it in order of "parameter "→" network parameter
"→ "CC-LINK" with a displayed project window.
Please set each item to specifications of a used system.
In the case of this example, each signal and correspondence of a device seem to become next.
The kind of a signal The correspondence device
The system area input(128 points) X100~X17F
The system area output(128 points) Y100~Y17F
I/0 Input(256points ) M0~M255
I/O Output(256 points) M400~M655
In this device, it does input and output by a remote register.
Therefore, the input uses M400 ~ M655 for M0 ~ M255, the output by this example.
-
The program method
5-3
X100 ~ X17F, Y100 ~ Y17F do not use it, but it is occupied.
An item of "bureau information setting" sets it in "remote device station", "4 stations occupation".
-
The program method
5-4
AnN, AnA, AnU, AnS, AnSH, AnUS, each of AnUSH CPU set it by a program.
The following is a reference program in case of this system constitution example.
5.2. The program for parameters
①The program example to use when you debug it
[RST M301]
M300
It writes in three words of D0 ~ D2 from address 1
One word writes in D3 from address 6
It is written in one word of D4 by address 20H
Only one refresh-time is ON The refresh instructions
Connection number: One set
Unit abnormality Unit ready
[PLS M300]
[SET M301]
[MOV K1 D0]
X0FX0
M301
The re-try number of times: 3 [MOV K3 D1]
Automatic return number: 1 [MOV K1 D2]
[TO H0 H1 D0 K3]
The CPU down time driving stop [MOV K0 D3]
[TO H0 H6 D3 K1]
Remote device, 4 stations occupation, exchange number 1 [MOV H1401 D4]
M301
[TO H0 H20 D4 K1]
[SET Y0] M9038
-
The program method
5-5
When it is appropriateness of the debugging end, please turn on the "registration order" input, and
register a parameter with E2PROM.
M302
Unit ready
It reads one word to D100 from address 668
The start demand by a parameter of a buffer memory At the time of data
link start normal
completion by a
parameter of a
buffer memory
At the time of data link
start abnormality
completion by a
parameter of a buffer
Unit abnormality
[PLS M302]
[SET M303]
[SET Y6]
X0F X0
M303
[FROM H0 H0668 D100 K1]
[RST Y6]
[RST M303]
X6
[RST Y6]
[RST M303]
X7
M304 Unit ready
This read one word to D101 from address 6B9
The parameter
registration demand to
E2PROM
The parameter registration demand to E2PROM
At the time of
parameter registration
demand abnormality
completion to E2PROM
Unit abnormality
[PLS M304]
[SET M305]
[SET Y0A]
X0F X0 The registration order
M305
[FROM H0 H06B9 D101 K1]
[RST Y0A]
[RST M305]
X0A
[RST Y0A]
[RST M305]
X0B
-
The program method
5-6
② The driving time business program example
It's read a parameter from E2PROM and start data link.
X0F X0 Only one refresh-time is ON
M300
リフレッシュ指示
Unit ready
It's read one word to D100 from address 668
The start demand by a parameter of a buffer memory
Unit abnormality
[PLS M300]
[SET M301]
[SET Y8] M301
[FROM H0 H0668 D100 K1]
[RST Y8]
[RST M301]
X8
[RST Y8]
[RST M301]
X9
M9038 [SET Y0]
At the time of data
link start normal
completion by a
parameter of
E2PROM
At the time of data link
start abnormality
completion by a
parameter of E2PROM
5.3. The program example for contact
The input replaces it with a FROM order for inside relay, and the output outputs inside relay by a TO
order.
always ON The system area input: It is read to inside relay M0 ~ M15 [FROM H0 H0E7 K4M0 K1]
M9036
It is read the input to data register D0 ~ D15 [FROM H0 H2E0 D0 K16]
It is output inside relay M16 ~ M31 to system area [TO H0 H167 K4M16 K1]
It is output data register D16 ~ D31
[TO H0 H1E0 D16 K16]
-
The program method
5-7
Each signal and correspondence of a device seems to become next by a program for contact.
The kind of a signal The correspondence device
The system area input (16 points) M0~M15
The system area output (16 points) M16~M31
The input (256 points) D0~D15
The output (256 points) D16~D31
The details for a device
Correspondence of inside relay and input and output of Bit-Bus seems to become a list shown below.
Inside relay
number
Input Inside relay
number
Output
M0 System area M16 System area
M1 M17
M2 M18
M3 M19
M4 M20
M5 M21
M6 M22
M7 M23
M8 The initial data handling demand flag M24 The initial data handling completion flag
M9 Initial data setting completion flag M25 Initial data setting demand flag
M10 The error state flag M26 The error reset demand flag
M11 Remote station Ready M27 The reservation
M12 The reservation (reservation
completion)
M28 The reservation (reservation
completion)
M13 The reservation (reservation
completion)
M29 The reservation (reservation
completion)
M14 The OS definition M30 The OS definition
M15 M31
-
The program method
5-8
The remote register and an input number, correspondence of an output number seem to become lists
shown below.
Input bit №
The remote register 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
D0 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
D1 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
¦
D14 239 238 237 236 235 234 233 232 231 230 229 228 227 226 225 224
D15 255 254 253 252 251 250 249 248 247 246 245 244 243 242 241 240
Output bit №
The remote register 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
D16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
D17 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
¦
D30 239 238 237 236 235 234 233 232 231 230 229 228 227 226 225 224
D31 255 254 253 252 251 250 249 248 247 246 245 244 243 242 241 240
[ Reference ]
The FROM instruction
The work: It stores data of a n3 word from a device appointed in reading, D from an address appointed
in n2 of a buffer memory in a CC - Link master unit appointed in n1.
The format [ FROM n1 n2 D n3 ]
n1 :Top input and output number of a CC - Link master unit (It's express top input and
output number with three columns of hexadecimal number and appoint it in two columns
of high ranks at that time)
n2 :Top address of the data which is begin to read
D :Top number of a device storing the data which it have begun to read
n3 :The number of the reading data
The TO instruction
The work: We write in it from an address appointed in n2 of a buffer memory in "CC - Link master
unit "appointed data of n3 point in n1 from a device appointed in S.
The format [ TO n1 n2 S n3 ]
n1 : Top input and output number of a CC - Link master unit (It's express top input and
output number with three columns of hexadecimal number and appoint it in two columns
of high ranks at that time)
n2 : Top address to write in data at
S : The device number that stores away write data
n3 : The number of the write data
-
About the monitor function
6-1
6 About the monitor function
A summary
A slave unit of AnyWireBus has a peculiar address and confirms disconnection detection and existence
of a slave unit for a sent address from this device because a slave unit to have the address returns a
reply.
This device memorizes an address of a connected slave unit in E2PROM by "address automatic
recognition" (later description) operation then.
Even if this information switches it off, it is memorized.
It send an address registered with next off sequentially and display it by "ALM" LED as disconnection
if there is not a reply for it.
In addition, it can know an address of the abnormal slave unit that there was by "INFORMATION" LED.
6.1. Address automatic recognition
It is called that it let E2PROM of this device memorize an address of a connected slave unit "address
automatic recognition".
The procedure
1 Please confirm that all the slave units work normally.
2 Please push it till "SET" LED (yellow) turns on "a STE" switch.
3 If "SET" LED turns on for a while and disappears, memory of an address is completed.
While it is recognize an address automatically, there can be the
thing that input and output cannot go away. When it does address
automatic recognition operation, it leaves program practice of PLC,
and please do it in a state without a hindrance in movement of a
device.
! Caution
It is not possible for address automatic recognition operation to
short-circuit for about 5 seconds after resetting it after abnormal
time and power supply injection of AnyWireBus again.
6.2. Monitor movement
It sent an address registered with off sequentially and display it by "ALM" LED as disconnection if
there is not a reply for it.
It is maintain whether this abnormal information switches it off till it reset an error. (Please refer to a
clause about "LED indication".)
-
About LED indication
7-1
7 About LED indication
LED indication part
7.1. CC-Link side
The LED
name
Lighting Lights out On and off light
RUN
(green) In normal contact
• A transmission cable is disconnected
• Transmission cable false wiring
• A transmission speed setting mistake
• In hardware reset
-
ERR
(red)
• A CRC error • Setting of exchange number setting SW is abnormal(it is set
than 0 or 62)
• Baud rate SW setting is abnormal
(It set it than 5)
• Normal contact • In hardware reset
When a baud rate or an
exchange number setting
switch changed from
setting at the time of reset
cancellation (0.4 second on
and off light), it is lights
out when it returns setting
SD
(yellow)
In the transmission of a
message
• A transmission cable is disconnected
• Transmission cable false wiring
• A transmission speed setting mistake
• In hardware reset
-
RD
(yellow) receiving
• A transmission cable is disconnected
• Transmission cable false wiring
• In hardware reset
-
-
About LED indication
7-2
7.2. AnyWireBus side
●The indication which shows a state of AnyWireBus
Indicatio
n
The name The
color
The meaning
Brink This unit is a movement state. LINK
Transmission
indication green
Lights out There is abnormality in this unit.
Lighting AnyWireBus transmission line D, disconnection of
G.
Late on and
off light *1
A short circuit between D-G or a short circuit
between D-24V.
Fast on and
off light *2
The voltage of 24V power supply supplied at this
device is low
(Less than about 21V.)
ALM Alarm indication Red
Lights out It is transmitting it normally.
Lighting It does it of address automatic recognition
movement. SET
An address is
automatic
Recognition
indication
Yello
w Lights out It is usually transmitting it.
1:"Slow on and off light" is on and off light of a period for about 1 second.
2:"Fast on and off light" is on and off light of about 0.2 second periods.
When lighting or a state to flash on and off occur "ALM" LED, "an error state flag" of CC-LINK
becomes on.
-
About LED indication
7-3
By three columns of LED indication of "INFORMATION" and four LED namely "C.No" and "C.ID"
and "A.No" and "A.ID", I display connection number or an abnormality address of a slave unit.
The LED name Indication contents of INFORMATION
LED
C.No. It is displaying connection number.
C.ID It is displaying a connection address
A.No. It is displaying abnormal number
A.ID It is displaying an abnormal address.
As for the indication by "INFORMATION" LED, normal time (ALM LED lights out) displays
connection number, and abnormal time (ALM LED lighting) displays a different alarm code by an
abnormal cause.
INFORMATION
Indication of LED An abnormal cause
A-1 The short circuit between D-G
A-2 A short circuit (when a supply power supply of a slave unit is same as this
device) between D-24V
A-3 The voltage of 24V power supply supplied at this device is low (less than
about 21V)
A-4 Circuit wiring is snapped.
Or trouble of a slave unit or a power supply is not supplied.
-
About LED indication
7-4
And because an abnormal state is removed, A-1, A-2, indication of A-3 return, it does not do a
save of the state.
It is maintained whether A-4 switches it off to error reset.
Normal time returns to alarm cord indication at the time of connection number indication,
abnormality if you do not operate "D.SEL" or a 「▼」 switch for about 5 seconds.
When an error of A-1 ~ A-4 mentioned above occurs, "an error state flag" of CC-Link
becomes ON.
● Choice of an indication item by "a D.SEL" switch
The information that is displayed by "INFORMATION" LED whenever you push "a D.SEL" switch
is replaced as follows.
INFORMATION
Indication of LED Abnormal contents
Normal state C.No. → C.ID
Abnormal time (in the
case of A-4)
The alarm cord A.No. → A.ID → C.No. → C.ID
Abnormal time (in the
case of other)
The alarm cord C.No. → C.ID
●A 「▼」 switch can let you display the next address by pushing it at the time of "C.ID" or "A.ID"
LED lighting
An address is displayed by hexadecimal number indication.
Two columns of low ranks show an address set in the slave unit.
The most highest figure shows classification of a slave unit.
INFORMATION
Indication of LED
Contents
000~0FF The address of an output slave unit
200~2FF The address of an input slave unit
-
About connection
8-1
8 About connection
CC-Link side
Look at "CC-Link system master local unit users manuals" (details) made by Mitsubishi Electric
Corporation about connection of CC-Link part
It becomes the connector terminal that desorption is easy.
Type : MSTB2.5/5-STF-5.08(a product made by Co., Ltd. phoenix contact)
The accessible electric wire : 0.2~2.5m㎡(AWG24~12)
Clamping torque : 0.5~0.6N・m
The terminal name Signal
classification
colored
line
DA Communication Line Blue
DB Communication Line White
DG A communication
ground
Yellow
SLD The shield of a
communication cable
-
FG The frame ground -
*SLD and FG are connected in the unit inside.
A transmission cable is a twist cable with shield for exclusive use of CC-Link..
As for the shield Line of a twist cable, reaching the ground (the third class reaching the ground)
please do both ends via SLD of each unit and FG.
AG22-C1 please add terminal resistance to be attached to a master unit to an end bureau and case
between DA-DB.
AnyWireBus side
It becomes the connector terminal that desorption is easy.
Type : MSTBT2.5/6-STF-5.08(The product made in Co., Ltd. Phoenix contact)
An accessible electric wire : 0.2~2.5m㎡(AWG24~12)
Clamping torque : 0.5~0.6Nm
24V
0V
In the case of a thing of capacity more than electric current +2A
to be necessary for load and a slave unit, please connect a
stabilization power supply of DC 24V.
D It is transmission Line.
G It is transmission Line.
LG It is connected to a neutral point of a noise filter.
When there is malfunction by a power supply noise of 24V
system, please contact it. In that case, CC-Link side FG
terminal and one point please contact it.
NC The extra terminal. Please connect anything to this terminal.
-
About connection
8-2
Please connect D, G to D of a slave unit, G each.(please refer to an instruction manual of each unit.)
The MONITOR connector
It is a connector to connect a monitor for maintenance.
Please connect anything.
! Caution
-
About connection
! Caution
Please do not send plural transmission Line (D, G) with many lines cable in a mass.
Machinery malfunctions by cross talking when you transmit it with many lines cable in a mass.
G
G
D
D
G
G
D
D
Please cost thickness of transmission Line more than 1.25mm2
Please use the bottom of the power supply voltage for 24V.
Please be careful to voltage descents with a cable. Machinery malfunctions by a voltage descent.
When a voltage descent is big, please supply a power supply in the terminal side.
(The local power supply)
You please do not do soft soldering of a line to connect to a connector terminal.
It becomes cause by the fact that a flight relaxes, and contact is bad.
8.1. The terminator
Please connect a terminator (AT 2) to an AnyWireBus-D2 transmission line edge to secure stability
transmission quality more.
Please connect AT 2 to one, the most far-off edge
to one D2 master.
Basics
■About diver
Bra
Ma
Need
■Connection of a terminator
Transmission distance 50m (total extension)
200m( 〃 )
1km( 〃 )
3km( 〃 )
This becomes a common matter for each
transmission speed.
gence (transmission distance 1km specifications) of a transmission line
【Connection example】Fixed one
nch line 200m
Basics
in line 500m
In a point of the branch
please connect AT 2 to a
In addition, please talk
branch line long 200m ab
places.
Branch line 300m
line long 200m above, one
Need
by a sys
terminal.
with our company when the
ove occurs more than three
tem
A
B
8-3
"Total extension" of transmission
distance to say in the AnyWire D2
series is A+B and is to express it.
When you diverge, please be careful not
to exceed greatest transmission
distance (total extension) that you set
■About total extension
-
About transmission indispensability time
9-1
9 About transmission indispensability time
9.1. In the case of the input
Because it does not update data of an input area unless the same data continue in this device
twice in succession (double collation), transmission cycle time needs one smallest cycle time,
transmission time of 2 cycles time at the maximum.
There is the situation that is not caught in the case of a signal equal to or less than 2 cycle time
by a timing.. Therefore, please give a long input signal from 2 cycles time to let you reply surely.
Minimum transmission cycle time
1 cycle timeThe case of minimum
transmission cycle time
Input data update The change of input data
Maximum transmission cycle time
2 cycles timeThe case of maximum
transmission cycle time
The change of input data Input data update
9.2. In the case of the output
Because it does double collation in the slave unit side, it need one minimum cycle time, transmission
time of 2 cycles time at the maximum in the case of the input equally.
Cycle time: Repetition transmission time of transmitted real
data.
The term
Maximum transmission delay time: Handling of gate way side
time + refreshment thyme + slave side signal delay time.
Reply delay time seems to become chart below.
The input-output device
AnyWire
System
⑤CC-Link System
Processing time
Maximum transmission delay time
OutputInput
⑨Output device response time
⑧Slave side signal delay time
⑥Gateway side processing time ④Gateway side processing time
Maximum transmission delay time
⑦Transmission cycle time ③Transmission cycle time
②Slave side signal delay time
①Input machinery response time
CC-Link
System
-
Troubleshooting
10-1
10 Troubleshooting
10.1. CC-Link Side
Trouble contents Check contents The confirmation method
Is not a cable snapped?
It confirms a cable state by contact or
a line test. It confirms a line state (SW0090).
Is terminal resistance (110 Ω) connected to
a bureau of both ends?
Please connect terminal resistance
attached to a master local unit to a
bureau of both ends.
Does not an error occur with sequencer
CPU of the master station?
Please work to confirm an error cord
of sequencer CPU.
Is it set a parameter at the master station? Please confirm contents of a
parameter.
Did you do on of data link start demand (Yn6
or Yn8)? Please confirm a sequence program.
Does not an error occur at the master
station?
Please confirm the following contents.
• The own station parameter state (SW0068)
• The switch setting state (SW006A) • The implementation state (SW0069) • Does "ERR" LED of the master
station flash on and off?
The whole system
cannot link data
Is not scan thyme beyond the maximum at
the time of synchronization mode use?
Please do transmission speed late
whether you make it an async mode.
Does the remote device station link data?
Please confirm it by the following
method.
• LED indication of a unit A state (SW0080 ~ SW0083) that a
bureau contacts it other than the
master station
Does it begin to read from a right address of
remote input RX (a buffer memory)? Please confirm a sequence program.
Does not it become the reservation station? Please confirm a parameter.
It cannot take in the
remote input (RX) of
AG22-C1
Does not an exchange number repeat? Please confirm an exchange number.
Does the remote device station link data?
Please confirm it by the following
method.
• LED indication of a unit A state (SW0080 ~ SW0083) that a
bureau contacts it other than the
master station
Do refresh instructions (Yn0) of the master
station do on? Please confirm a sequence program.
Does remote input RX (a buffer memory) do
reading from a right address? Please confirm a sequence program.
Does not it become the reservation station? Please confirm a parameter.
It cannot do ON-OFF of
the remote output (RY)
of AG22-C1
Does not an exchange number repeat? Please confirm an exchange number.
-
Troubleshooting
10-2
Does the remote device station link data?
Please confirm it by the following
method.
• LED indication of a unit Please confirm a bureau contact state
(SW0080 ~ SW0083) sequence
program other than the master station.
Does remote input RWr (a buffer memory) do
reading from a right address? Please confirm a sequence program.
Does not it become the reservation station? Please confirm a parameter.
Data of a remote
register (RWr) of
AG22-C1 cannot
be busy
Does not an exchange number repeat? Please confirm an exchange number.
Trouble contents Check contents A confirmation method
Please confirm whether it is not set
whether an error does not occur
whether a parameter registration
demand (YnA) to E2PROM assumes on
it by an error invalidity bureau
Please confirm a sequence program.
When you cannot
register a parameter
with E2PROM
Does not an error occur? Please confirm an E2PROM
registration state (SW00B9)
Is not it set by an error invalidity
bureau?
Please confirm a parameter. When it cannot detect
an abnormal bureau Does not an exchange number repeat? Please confirm an exchange number.
At the same time, please confirm next.
① It confirms whether wiring of a cable is right.
② Terminal resistance confirms whether it is connected to a unit of both ends justly.
③ Please confirm whether you can contact it when you do transmission speed late.
④ Please confirm whether setting of the bureau which you established matches a parameter.
⑤ Please confirm whether an exchange number does not repeat.
⑥ Please try to trade with a unit working normally, please confirm it and whether it is with
malfunction of a unit simple substance.
10.2. AnyWireBus side
At first please confirm next.
① "A RDY" lamp of all machinery turning on.
② "A LINK" lamp of all machinery flashing on and off.
③ The power supply voltage of each machinery is a thing in a range of 21.6-27.6V.
④ Wiring, connection being certain.
⑤ The address establishment being accurate, not repeating.
Look in total at a technical manual of our company making.
The check list according to a symptom
The symptom The check item
Input and output of data is
not possible
AG22-C1 Please confirm whether connection of AnyWireBus transmission
Line is right.
Please confirm whether transmission specifications (setting of a MODE
switch) accord with the slave unit side.
-
Troubleshooting
10-3
Slave unit side Please confirm whether a power supply is supplied in a slave unit.
Please confirm whether an address of a slave unit is set justly.
Please confirm whether D, a G-line is not snapped.
Please confirm whether you did address automatic recognition justly. AKM.LED (red) turns on
Please confirm whether a screw of the terminal level does not loosen.
AKM.LED (red) flashes on
and off slowly
Please confirm whether D, a G-line does not short-circuit.
Please confirm whether 24V do not come in contact with D.
AKM.LED (red) flashes on
and off fast
Please confirm whether the voltage of DC 24V power supply supplying in
AG22-C1 is normal.
-
The summary
11 The summary
The version date Change Notes
A first edition 2004/11/25 Official revision
1.0 revision 2005/05/26 2-1 pages transmission cycle time value notation
11-1
-
AnyWire Corporation
■ Headquarters
8-1 Shimoinden, Inouchi, Nagaokakyo-city,
Kyoto 617-0813
TEL: 075-956-1611/FAX:075-956-1614
■ Tokyo Branch Office
47 Kandakonya-cho, Chiyoda-ku, Tokyo 101-0035 (Shin
Koei Bldg. 8F)
TEL:03-5209-5711/FAX:03-5209-5714
URL http://www.anywire.jp
A summarySpecificationGeneral specificationsCapability specificationsA drawing of external form dimensionsA name of each partAbout putting on and taking off to a DIN railDesorption of a connector
About setting of the switchCC-Link sideSetting of an addressSetting of a baud rateReset switch
AnyWireBus sideSpecifications choice (MODE switch)
The memory mapThe program methodSystem constitution exampleThe program for parametersThe program example for contact
About the monitor functionAddress automatic recognitionMonitor movement
About LED indicationCC-Link sideAnyWireBus side
About connectionThe terminator
About transmission indispensability timeIn the case of the inputIn the case of the output
TroubleshootingCC-Link SideAnyWireBus side
The summary