Upload
others
View
7
Download
0
Embed Size (px)
Citation preview
Par
t Num
ber
QuantumAddressing Modes Identifier eng 0
2
j3
k~>V . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
G 1 Symax I/O Modules Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7Configuration of Symax I/O Modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8
G 2 Quantum 0H;L . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11Z0 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11n60H . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .12Z70H . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .13Addressing Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .14?P I/O ¡hV . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .16
3
4
k~>V
qW
tX@[ Contents
z5G Contents
bVd3
tk_t(
]8btk_yJ Contents
¡|qP ~m.>V94qPXiNv+V}00(8V}_0(8H^[email protected]
bVV 73
1 Initial version.
t(lt !8hV
Title of related document Reference to related document
Identifier Date 5
6 Identifier Date
k~>V
Identifier Date
1
Symax I/O Modules ConfigurationAt a Glance
Purpose The purpose of this chapter is to describe how to configure Unity Pro to include Symax I/O modules in a Quantum controller system. .
>G"+v,,}
MK>G"+vvZ+OF
+O t(X
Configuration of Symax I/O Modules 8
7
Symax I/O Modules Configuration
Configuration of Symax I/O Modules
Introduction To configure a Symax I/O module under Unity you first have to configure a RIO drop which then contains your I/O modules. The following description gives you step by step instructions on how to implement and configure Symax I/O modules into a Quantum system working with Unity.
Add a RIO Bus To add a RIO Bus to a Quantum system under Unity you have to perform the following steps:
Add a Symax I/O Drop
To add a Symax I/O Drop to a Quantum system under Unity you have to perform the following steps:
Add a Symax I/O Module
To add a new I/O module to your RIO Drop you have to perform the following steps:
Step Action Comment
1 From the Project Browser "Configuration" tree open the local Quantum rack
The graphical representation of the local Quantum rack is opened.
2 Double-click an empty slot in the rack where you want to place your RIO head.
The "New Device" dialog window opens.
3 Open the "Communication" tree and double-click on the 140 CRP 93X 00 module.
The RIO head module is added to the local Quantum rack.In the Project Browser "Configuration" tree the "RIO bus" is automatically added.
Step Action Comment
1 From the Project Browser "Configuration" double-click on the "RIO bus"
The graphical representation of the RIO bus is opened.
2 Double-click an empty node of the RIO bus
The ’New Device’ dialog window opens.
3 In the "New Device" dialog window select the appropriate rack from the "Symax IO Drop" tree and an "Drop end communicator" module.Click on the OK Button.
A new Symax I/O rack containing a communication module is added to your RIO bus.
Step Action Comment
1 From the "RIO Bus" configuration window double-click an empty slot in the rack where you want to place your I/O module.
The "New Device" dialog window opens.
8 Identifier Date
Symax I/O Modules Configuration
Module Configuration
To configure an I/O module double-click on the module. The configuration window opens and you can enter the following parameters:
2 From the "New Device" window open the list of analog or discrete modules and double-click on the appropriate module.
The I/O module is added to the rack.
Step Action Comment
Parametername Description
MAPPING You can define whether the access to the module is as Bits (%I-1x, %M-0x) or Words (%IW-3x, %MW-4x)
INPUTS STARTING ADDRESS
You have to enter the starting address of the modules input data in the address type defined by the MAPPING parameter.
INPUTS ENDING ADDRESS This parameter is automatically calculated by the system
OUTPUTS STARTING ADDRESS
You have to enter the starting address of the modules output data in the address type defined by the MAPPING parameter.
OUTPUTS ENDING ADDRESS
This parameter is automatically calculated by the system
OUTPUT TYPE You can define whether the modules data is interpreted as BINARY or as BCD value.
Identifier Date 9
Symax I/O Modules Configuration
10 Identifier Date
Identifier Date
2
Quantum 0H;LZ0
j_ >G\~v Unity Pro ¡~0 Quantum I/O ;_|0H I/O ]6_XQ\k;LFn60H
Z70H
IODDT 0H
n60H-Z70HN¡~&¡ Quantum I/O ;_8A IODDT 0HVN¡~0A I/O Q5{U04P'D-yJ5_;_X
qc&9n_^k~ I/O ;_G!J}-¡1+_U0X
>G"+v,,}
MK>G"+vvZ+OF
iq: .~+._]6%8\k0H;L.p PLC K^.|tk_Yz¡aX
+O t(X
n60H 12
Z70H 13
Addressing Example 14
?P I/O ¡hV 16
11
0H
n60H
n60H Quantum ;_V)n68HO9k(X*Qu`3?/8my;_o"ozn._¡]-/[J]Xa0HGLQ5~v(R¡_XK.0H8n.0k(PZF
0x .0 %M1x .0 %I3x .0 %IW4x .0 %MW
os>;__ I/O ]683oR¡0pa%P|*;_2]_8H@[X
|^ Z6_|^m|v Unity |R¡_XK.0H- IEC 0H;D_.0k(F
000001 .0 %M1
100101 .0 %I101
301024 .0 %IW1024
400010 .0 %MW10
12 Identifier Date
0H
Z70H
Z70H Z70H9lR¡;_0(1|_Z7¡aws> I/O ]60X
s|@LPZF
%<Exchangetype><Objecttype>[\b.e\]r.m.c[.rank]
&¡_{2Fb = [p8e = r44C@58r = Li8m = ;_;v8c = Z4
zk I/O 74_;wU08L!8_Unity Pro !81%`|_pm0H]62^X
|^ P5>8Li;v 6 |;f4;__Z4 7 |_2]Q (rank = 0)F
%IW1.6.7[.0]
.~¡~ RIO [p 2 _C@ 3 |_tk;_F
%IW\2.3\1.6.7[.0]
P5>8Li;v 6 |;f4;__Z4 7 |_H4Q (rank = 1)F
%I1.6.7.1[.0]
iq: 0>8Li| [\b.e\] -}ra* \1.1\8\3o..Xiq: +V (rank) ^tk]6f4_OR4PQWyJXeW'DXe58¡~[z.W_\k4GX+V_)=:hZ8PO+V*)8SN}]a0X
Identifier Date 13
0H
Addressing Example
Analog Module The following example compares the 2 possible addressing modes. An 8-channel analog input module 8030 RIM 123 with the following configuration data is used:
mounted in slot 5 of the RIO rack #1 located at drop 4 on bus 2starting input address is 201 (input word %IW201)end input address is 208 (input word %IW208)
To access the I/O data from the module you can use the following syntax:
For comparison, the register addressing as used with Concept is added in the last column.
Module data Flat addressing Topological addressing
Concept addressing
Channel 3 %IW203 %IW\2.4\1.5.3 300203
14 Identifier Date
0H
Discrete Module The following example compares the 2 possible addressing modes. An 32-channel discrete output module 8030 ROM 441 with the following configuration data is used:
mounted in slot 4 of the RIO rack #1 located at drop 4 on bus 2starting output address is 101 (output word %MW101)end output address is 102 (output word %MW102)
To access the I/O data from the module you can use the following syntax:
For comparison, the register addressing as used with Concept is added in the last column. As Concept does not support direct addressing of a bit in a word, the bit extraction has to be performed in the user program.
The same configuration as before but data mapped into bits:mounted in slot 4 of the RIO rack #1located at drop 4 on bus 2starting output address is 1 (output %M1)end output address is 32 (output %M32)
To access the I/O data from the module you can use the following syntax:
For comparison, the register addressing as used with Concept is added in the last column.
Module data Flat addressing Topological addressing
Concept addressing
Output 5 %MW101.11 %QW\2.4\1.4.1.1.11 300101
Output17 %MW102.15 %QW\2.4\1.4.1.2.15 300102
Module data Flat addressing Topological addressing
Concept addressing
Output 5 %M5 %Q\2.4\1.4.5 000005
Output17 %M17 %Q\2.4\1.4.17 000017
Identifier Date 15
0H
?P I/O ¡hV
)\ I/O ;__Z4hVZ3_ 1 =:R*U]8pj]j&{(Z4_qT]j*_Xx^8:m(_ 0 =:hV8.0~J|_q!z5¡ (LSB)XaC8Quantum I/O ;_;DK_q!Z4O9jqUz5¡ (MSB)X
Zem| I/O Z4]J|_c¡_O9k(F
J0H]¡0H T&Y8?P I/O ;_Nvpa*R¡J1L[¡1L0An I/O ]6XxNv0pa%Ip %IW (%MW) [ %I (%M) w2$XPO3o_pa*R¡ I/O J_ I/O ;_s>ry¡8NvR¡BV %word.bitXZs9nv I/O %hV-v¡v)J0Hs|_&4 I/O 8H;D_*(X
:sm|+Li|_Oy 32 %2];_8;v 4 pa*P:8H* %I1 [ %IW1F
1 2 3 4 5 6 7 10 11 12 13 14 15 168 9
15 14 13 12 11 10 9 6 5 4 3 2 1 08 7
I/O 通道
位编号
MSB LSB
I/O Z4 ¡8H
4n60H5
¡8H
4Z70H5
¡8H
_J|D5
4n60H5
¡8H
_J|D5
4Z70H5
1 %I1 %I1.4.1[.0] %IW1.15 %IW1.4.1.1.15
2 %I2 %I1.4.2[.0] %IW1.14 %IW1.4.1.1.14
3 %I3 %I1.4.3[.0] %IW1.13 %IW1.4.1.1.13
• • •
15 %I15 %I1.4.15[.0] %IW1.1 %IW1.4.1.1.1
16 %I16 %I1.4.16[.0] %IW1.0 %IW1.4.1.1.0
17 %I17 %I1.4.17[.0] %IW2.15 %IW1.4.1.2.15
18 %I18 %I1.4.18[.0] %IW2.14 %IW1.4.1.2.14
• • •
31 %I31 %I1.4.31[.0] %IW2.1 %IW1.4.1.2.1
32 %I32 %I1.4.32[.0] %IW2.0 %IW1.4.1.2.0
16 Identifier Date
0H
Identifier Date 17
18 Identifier Date