9 Data Editor. Schneider Electric FTX117, Terminal
Mainos
Mainos
9
Data Editor
9.1
General
The data editor is accessed using e3 on the main editor screen. The data editor can be accessed on entering the mode, the objects displayed by default are those selected by the cursor in the program (contextual access).
The data editor offers the following debug help functions which are accessed from the sub-menu :
Data Editor Dat
• 0 Inf : Information (see Section 4.7)
• 1 Trf : Transfer of data tables
• 2 Cnv : Selection of the display base
• 3 Frc : Forcing (see Debug Function, Section 8)
• 4 Dat : Return to current adjustment screen
• 5 Dt1 : Creation/display of data table no. 1
• 6 Dt2 : Creation/display of data table no. 2
• 7 Dt3 : Creation/display of data table no. 3
• 8 Dt4 : Creation/display of data table no. 4
• 9 Clr : Re-initialization of the data tables
9.2
Principle for accessing objects to be adjusted
Whatever objects are to be adjusted, the same principle for accessing the object is used :
1 example,
I
µ
†
, etc) or v z
for
2 variables not on the keypad.
z
to display the list of variables.
accessing the data editor using e3
. The list corresponding to the selected object will be displayed.
5
∇
∇
I z
-
Err=0 .........
.........
%Q0.0
___________________________________________________________________________
9/1
C
C
9.3
Objects which can be accessed via the data editor
The notations used are : R for read, W or write, F for forcing.
Type
Bit input bits
Designation
%Ii.j
I
R, W, F objects output bits %Qi.j
Word objects internal bits system bits
Grafcet step bits word extract bits internal words constant words system words input words
%Mi
%Si
%Xi
%MWi
%KWi
%SWi
%IWi.j
µ
Q
Ò
Possibilities
R, W, F
R, W
R, W (1)
R none
R, W
R
R, W (1)
R, W
R, W output words %QWi.j
Standard Timer function • preset block objects
• current value
• output
Counter
• preset
• current value
• counter empty output
• preset output
Special function block objects
%TMi
%TMi.P
%TMi.V
%TMi.Q
%Ci
%Ci.P
%Ci.V
• counter full output
LIFO/FIFO register blk
• input word
• output word
• register empty output
%Ci.E
%Ci.D
%Ci.F
%Ri
%Ri.I
%Ri.O
%Ri.E
• register full output
Drum controller
%Ri.F
%DRi
Pulse width modulation %PWM
• preset %PWM.P
• percentage
Pulse generator
• preset
• no. of pulses
%PWM.R
%PLS
%PLS.P
%PLS.N
• current output
• ended output
Fast counter
%PLS.Q
%PLS.D
%FC
• preset
• current value
%FC.P
%FC.V
• value of threshold 0 and 1 %FC.S0 and 1
• full (overflow output) %FC.F
• threshold bit
Shift bit register
Step counter
Message
%FC.TH0 and 1
%SBRi
%SCi
%MSG
C v10 v11 R, W
R
R none (3) v5
R, W (2)
R, W
R
R, W (2)
R, W
R
R
R
R, W
R
R, W
R, W (2)
R, W
R
R
R, W
R, W v4
R, W
R
R none none none
(1) Certain bits and system words can be written
(2) Can be written if adjust option is selected at configuration
(3) Can be accessed during creation and display of data tables (functions Dt1 to Dt4)
___________________________________________________________________________
9/2
Data Editor
9
9.4
Display and modification of Boolean variables
I/O :
The upper part of the screen displays input state and the %I0.0 ......%I0.8
lower part of the screen displays output state :
• a white rectangle = state 0
-
Err=0 ...f.....
• a black rectangle = state 1
The center lines give information on each I/O :
• ! = fault on an I/O point
• f= forcing
..!...f..
%Q0.0
Example : output %Q0.2 faulty, input %I0.3 and output
%Q0.6 forced.
^
and
¨
select between inputs and outputs.
0
and
1
are used to write the I/O. I/O forcing is accessed using m3
(see Section 8.3).
%Q0.0 ....%Q0.8
>
and
<
>
.
select the address of the inputs or the outputs.
When the Err bit is at 1, it indicates that either the PLC or the I/O extension is faulty.
Other Boolean variables
In the case of other Boolean variables (example : internal bits, system bits, etc).
^
.
and
1
are used to write the variables.
¨
and
-
%M2 %M3
%M4 %M5
%M6 %M7
C
9.5
Display and modification of numeric variables
For numeric variables (example : internal words, system words, etc).
¨
.
z
.
^
and
selects the display base (decimal, hexadecimal, binary, ASCII) (see Section 8.2). In binary display, the values appear on 2 lines : MSB on the 1st line,
LSB on the 2nd line.
-
%MW11 100
%MW12 200
%MW13 200
-
01100100
%MW11 00000000
01100100
___________________________________________________________________________
9/3
C
9.6
Display and modification of function blocks
The screen displays the parameters and the outputs of the selected function block.
¨
.
value and confirm using
^
and z
. Variables followed by ":" can be modified, those followed by "=" cannot be modified.
Note : The preset values can only be modified if the Adjust option is selected (set to "Y") when the block is configured.
-
%C5.P: 100
%C5.V: 0
%C5.E= 0
-
%C5.E= 0
%C5.D= 1
%C5.F= 0
9.7
Display of Grafcet steps
The screen shows the active steps. These are indicated by "X". The 62 steps are displayed in the form of a table :
• The first line of the screen shows the units
• The first column of the screen shows the tens.
The screen to the right shows steps 0 to 29, with steps 1,
2 and 16 active.
¨ and
^
access other lines of the table.
0123456789 %X25
0 XX
1 X
0123456789 %X43
3
-
5
___________________________________________________________________________
9/4
Data Editor 9
9.8
Creation and display of data tables (5 Dt1 through 8 Dt4)
The data table functions Dt1 through Dt4 are used to display the values of an application's variables. They can be used to create up to 4 lists of 16 variables of different types, as well as to modify the values associated with these variables. These variables are animated when the FTX117 terminal is online.
The lists can be stored in the terminal internal Flash memory or on the memory card (see
Section 9.10).
The data table functions can be accessed both when the terminal is online (TSX) and offline (FTX). When offline, it is also possible to allocate values to the variables, and these values will be assigned to the PLC program variables when the data tables are m567
or
8 accesses the entry of table 1 (2, 3, or 4).
List N 1
%I0.2 1 appendices in Part G) and confirmed with z
.
%C1.F 1
%M13 0 confirm with z
.
using
^
and
¨
or, to go to the top or bottom of the
and h ¨
.
accesses selection of the display base
(Decimal, hexadecimal, binary, ASCII) (see Section 8.2) variable fields
%SW118 00000000
01100100 for the selected numeric variable.
List 1
%I0.2 1
%C1.F 1
%MW10 16#64
In binary display, values appear on 2 lines : MSB on the first line, LSB on the 2nd line.
m4
(Dat function) is used to return to the current data editor screen.
9.9
m9
(Clr function) reinitializes the 4 data tables after confirmation with z
.
___________________________________________________________________________
9/5
C
C m1
is used for archiving and retrieving application data in the data editor.
Archived data corresponds to the data tables created with the preceding Dt1 to Dt4 functions.
Archiving :
1 Select the source : FTX or TSX using
>
or
<
FTX : transfers data tables with user-defined variables.
2
3
4
5
TSX : transfers data tables with the corresponding >
or
, z
<
,.
and select the archive file number using
,
>>>>>
or
<<<<<
confirms the selection.
starts the transfer (2).
(1).
1
>
or
<
.
2 Select the FTX or TSX destination using
>
or
<
FTX : transfers data tables only (without associated values).
3
4
5
TSX : transfers data tables and replaces the zzzzz
, z
and select the archive number using
, or
confirms the selection.
starts the transfer (2).
(1).
Transfer list
Source: FTX
Dest: CARD
ARCH:
ARCH0 p ARCH4 d
-
ARCH2 d ARCH6
ARCH3 d ARCH7
Transfer list
Source: CARD
Dest: TSX
ARCH:
(1) A "d" beside each archive number shows that data has already been saved (a "p" shows that a program has already been saved). Saving data to an archive file which has already been used for data or for program storage overwrites the previous data.
(2) A "Card error" message followed by a code can appear in the cases described in
Section 6.4.
___________________________________________________________________________
9/6
Lataa
Mainos