Advanced functions. Schneider Electric PL7 Micro/Junior/Pro - Appendices
광고
광고
Instruction times
6.4
Advanced functions
At a Glance
Aim of this section
What's in this
Section?
This section gives the amount of memory occupied by the advanced functions, and the method of calculating the number of instructions.
This Section contains the following Maps:
Topic
Description of the memory zones
Object memory size
Review of the memory usage of the modules on MIcro
Memory usage for the modules on Premium
Memory size for advanced functions
Method for calculating the number of instructions
Page
200
TLX DR PL7 xxE
Instruction times
Description of the memory zones
Recap l l
The application is divided into several memory zones: l bit memory zone: l this zone is specific to the TSX 37 PLCs and is restricted to 1280 bits l this zone is part of the data memory zone for the TSX 57 PLCs, data memory zone (words), application memory zone, comprising: l l the configuration, the program, l the constants.
The bit memory and data zones are always stored in the internal RAM while the application memory zone can be stored in the internal RAM or on the memory card.
TLX DR PL7 xxE
201
Instruction times
Object memory size
Description This table shows the memory size occupied by each type of PL7 language object.
Object type
Grafcet steps (%Xi, %Xi.T)
%Mi
Words (%MWi)
Constants (%KWi)
%NWi
%Ti
%TMi
%MNi
%Ci
%Ri (length lg)
%DRi
Bit memory (in words)
0,5
0,5
Data (in words)
1
1
5
4
1
4
3
6+lg
6
Application (in words)
1,25
2
1
2
2
2
49
Grafcet interpreter data = 355 + 2 x No. of active configured steps + (No. of valid configured transitions) / 2
202
TLX DR PL7 xxE
Instruction times
Review of the memory usage of the modules on MIcro
General
Processors
Note: This information is for a specific processor version. They can be subject to
‘slight’ variations according to how the product develops.
The tables below give the size occupied in each of the zones and a fixed size to be added to the memory usage the first time an application-specific function is used, for each module type.
The table below gives the memory usage for the TSX 37 processor modules.
Processors
TSX 37-05/08/10
TSX 37-21
TSX 37-22
Using FAST task (TSX 37)
Using first event (TSX 37)
Bit memory
(words)
70
70
70
Data
(words)
1560
1570
2110
260
520
Application zone
(words)
920
930
1280
All or nothing modules
The table below gives the memory usage for the all or nothing modules.
The all or nothing family
8 discrete inputs
16 discrete inputs
4 discrete outputs
8 discrete outputs
8I/8O discrete
16I/12O discrete
32I/32O discrete
2
4
4
16
32
4
8
Bit memory
(words)
12
12
12
20
20
Data
(words)
12
12
40
40
40
100
142
Application zone
(words)
40
50
TLX DR PL7 xxE
203
Instruction times
Analog modules The table below gives the memory usage for the analog modules.
Analog family Bit memory
(words)
Data (words) Application zone
(words)
4 analog input module
AEZ414
Additional cost for the first 4-analog input family module
8 analog input module
AEZ801/AEZ802
Additional cost for the first 8-analog input family module
Analog output module
ASZ200
ASZ401
Additional cost for the first analog output family module
0
0
0
0
156
212
52
100
56
120
72
120
40
59
120
Counting modules
The table below gives the memory usage for the counting modules.
Counting family
CTY1A
CTY2A
Additional cost for the first counting channel
Additional cost for the first down counting channel
Additional cost for the first channel in
CPT/DCPT
Bit memory
(words)
16
32
Data (words) Application zone
(words)
108
212
64
106
144
144
144
204
TLX DR PL7 xxE
Instruction times
Communication modules
The table below gives the memory usage for the communication modules.
Communication family
STZ010
SCP111/SCP112/SCP114
(on UC UTW)
FPP 20 on UC (Channel 0 UTW)
MDM 10
0
0
0
0
Bit memory
(words)
Data (words) Application zone (words)
36
40
168
763
40
2528
755
12880
TLX DR PL7 xxE
205
Instruction times
Memory usage for the modules on Premium
General
Processors
Note: This information is for a specific processor version. They can be subject to
«slight» variations according to product developments.
The tables below give the size occupied in each of the zones and a fixed size to be added to the memory usage the first time an application-specific function is used, for each module type.
The table below gives the memory usage for the TSX 57 processor modules.
Processors
P 57-1•
P 57-2•/3•/4•
Using FAST task (TSX 57)
Additional cost for first module in configuration
P 57-1•: per process control loop
Additional cost for first loop
P 57-2•/3•/4•: per process control loop
Additional cost for first loop
Bit memory
(words)
70
70
Data (words) Application zone (words)
4714
4714
1720
1784
520
600
500
500
25000
5000
206
TLX DR PL7 xxE
Discrete modules
Instruction times
The table below gives the memory usage for the all or nothing modules.
Discrete family Bit memory
(words)
Single discrete input family
8 discrete inputs
16 discrete inputs
32 discrete inputs
64 discrete inputs
Additional cost for the first input family module
Single discrete output family
8 discrete outputs
16 discrete outputs
32 discrete outputs
64 discrete outputs
Additional cost for the first output family module
Discrete event input family
16 discrete inputs (DEY 16FK)
Additional cost for the first input family module
Discrete Input/Output family safety
12I/4O or 12I/4O(PAY)
Additional cost for the first DIS EVT input family module
Mixed discrete input/output family
16 inputs/12 outputs (DMY 28FK)
Additional cost for the first family module
Mixed discrete
Reflex 16 I/12 O (DMY 28RFK)
Additional cost for the first reflex mixed discrete family module
4
8
16
32
4
8
16
32
8
16
16
32
Data (words) Application zone (words)
110
160
280
550
100
130
230
430
220
128
304
976
100
110
120
190
570
100
110
120
190
610
130
680
200
1320
152
1432
656
5596
TLX DR PL7 xxE
207
Instruction times
Analog modules The table below gives the memory usage for the analog modules.
Analog family Bit memory
(words)
Data (words) Application zone (words)
Analog input families
AEY414
AEY800
AEY1600
Additional cost for the first analog input family module (AEY 414/800/1600)
AEY810
AEY1614
Additional cost for the first analog input family module (AEY 810/1614)
AEY420
Additional cost for the first analog input family module (AEY 810/1614)
Analog output family
ASY410
Additional cost for the first ASY410 analog output module
ASY800
Additional cost for the first ASY800 analog output module
4
8
16
8
16
4
4
8
430
840
1670
888
1768
476
430
744
160
240
430
2990
248
432
3056
168
2080
160
1700
248
1760
Counting modules
The table below gives the memory usage for the counting modules.
Counting family
CTY2A module
CTY4A module
Additional cost for the first configured counting channel
CTY2C module
Additional cost for the first configured counting channel
Bit memory
(words)
32
64
48
Data (words) Application zone (words)
410
800
170
250
1740
672 184
1992
208
TLX DR PL7 xxE
Servo-motor modules
Step by step modules
Instruction times
The table below gives the memory usage for the servo-motor modules.
Servo-motor family (words) (words)
CAY•1
CAY•2
CAY33 channel 3
Additional cost for the first CAY•1 configured channel
Additional cost for the first CAY•2/33 configured channel
Additional cost for the first CAY•33 configured channel 3
Bit memory
(words)
78
78
78
520
376
264
140
232
170
2130
3600
3600
The table below gives the memory used for the step by step modules.
Step by step family Bit memory
(words)
Data
(words)
CFY11
CFY21
Additional cost for the first configured step by step channel
29
58
323
646
Application zone
(words)
104
152
2368
TLX DR PL7 xxE
209
Instruction times
Communication modules
The table below gives the memory usage for the communication modules.
Communication module family
SCY21600 (Channel 0 UTW) on SCY21600 (Channel 1 UTW)
Additional cost for the first channel configured in UTW
ETY 110
Additional cost for the first ETY 110 configured channel
ETY 120
Additional cost for the first ETY 120 configured channel
ETY 210
Additional cost for the first ETY 210 configured channel
IBY 100
1
1
Bit memory
(words)
1
1
1
1
Data
(words)
230
450
431
48
434
450
Application zone
(words)
80
40
1280
256
1984
136
1368
400
3424
40
Communication sub-modules
The table below gives the memory usage for the communication sub-modules.
Communication sub-module Bit memory
(words)
1
Data
(words)
60
Application zone
(words)
580 SCP111/ SCP112/ SCP114 (UTW) on UC (Channel 0 UTW)
FPP 20 on UC (Channel 0 UTW)
FPP 10 on UC (Channel 0 UTW)
1
1
60
40
580
870
AS-i module The table below gives the memory usage for the AS-i module.
AS-i family Bit memory
(words)
Data
(words)
SAY
Additional cost for the first ASi channel
3 373
Application zone
(words)
176
2272
210
TLX DR PL7 xxE
Weighing modules
TBX remote input/output modules
Instruction times
The table below gives the memory usage for the weighing modules.
Weighing family
AWY001
Additional cost for the first configured weighing channel
Bit memory
(words)
1
Data (words) Application zone (words)
170 120
3920
The table below gives the memory usage for the TBX remote input/output modules.
Remote input/output family
Discrete inputs
Additional cost for the first configured base
Discrete outputs
Additional cost for the first configured base
Programmable
Additional cost for the first configured base
Latch'state
Additional cost for the first configured base
AES 400
ASS 200
AMS 620
Additional cost for the first configured base
8
8
8
2
2
4
Bit memory
(words)
8
Data (words) Application zone (words)
152 88
1400
176
160
160
270
270
508
88
1320
88
2304
88
1400
104
104
112
3968
TLX DR PL7 xxE
211
Instruction times
Momentum modules
Remote X bus modules
The table below gives the memory usage for the Momentum modules
Momentum family
Inputs
Additional cost for the first configured base
Output
Additional cost for the first configured base
Mixed
Additional cost for the first configured base
Bit memory
(words)
16
16
16
Data (words) Application zone (words)
96 72
1384
112
104
72
1256
72
1424
The table below gives the memory usage for the remote X bus module.
Remote X bus
TSX REY 200 module
Bit memory
(words)
0
Data (words) Application zone (words)
0 56
212
TLX DR PL7 xxE
Instruction times
Memory size for advanced functions
Description
Example
Numerical conversions
The tables below show the size of the code taken into the application (application zone) for each advanced function (OF) when one is called.
Functions in the same family share code (shared code). This shared code is taken into the PLC the first time a function from this family is called. The code specific to a function is taken in the first time this function is called.
l l
The first time a function of the numerical conversion family is called, with the case of DBCD_TO_DINT, the code is taken into the application zone: l Shared code = 154 words l OF DBCD_TO_INT code = 149 words
When another function of the numerical conversion family is called, in the case of l l
DINT_TO_DBCD, the code is taken into the application zone:
OF DINT_TO_DBCD code = 203 words
If a function in the digital conversion family already called is called
(DBCD_TO_DINT or DINT_TO_DBCD): no code taken in
The table below gives the memory usage for advanced conversion functions.
Numerical conversions OF
Converting a 32 bit BCD number into a 32 bit integer
Converting a 32 bit BCD number into a 16 bit integer
Converting a 32 bit integer into a BCD 32 bit number
Converting a 16 bit integer into a BCD 32 bit number
DBCD_TO_DINT
DBCD_TO_INT
DINT_TO_DBCD
INT_TO_DBCD
Extracting the least significant word from'a double word LW
Extracting the most significant word from'a double word HW
Forming 'a double word with 2 words CONCATW shared code
203
75
33
33
Code size
(in words)
203
149
33
154
TLX DR PL7 xxE
213
Instruction times
Instructions for bit strings
The table below gives the memory used for advanced bit string functions.
Bit strings
Logic AND between two tables
Copying a bit table into a double word table
Copying a bit table into a word table
Copying a bit table into a bit table
Copying a double word table into a bit table
Add-in at one of a table
Logic OR between two tables
Copying a word table into a bit table
Exclusive OR between two tables
Length in number of'elements
OF
AND_ARX
BIT_D
BIT_W
COPY_BIT
D_BIT
NOT_ARX
OR_ARX
W_BIT
XOR_ARX
LENGTH_ARX shared code
157
209
195
209
20
427
Code size
209
248
205
146
196
214
TLX DR PL7 xxE
Instruction times
Instructions for
Word table
The table below gives the memory usage for advanced conversion functions on word tables.
Instructions for word tables OF Code size
(in words)
75 Searching for the first element in a table equal to one value
Searching for the first element in a table greater than one value
Searching for the first element in a table less than one value
Searching for the highest value in a table
Searching for the smallest value in a table
Number of times a value occurs in a table
Rotate shift on the left of a table
Rotate shift on the right of a table
Table sorting (ascending or descending)
Partial search for the first element of'a table equal to one value
Length in number of'elements
FIND_EQW
FIND_GTW
FIND_LTW
MAX_ARW
MIN_ARW
OCCUR_ARW
ROL_ARW
ROR_ARW
SORT_ARW
FIND_EQWP
LENGTH_ARW shared code
75
78
78
74
145
150
144
164
77
20
162
TLX DR PL7 xxE
215
Instruction times
Instructions for tables of double words
The table below gives the memory used for advanced conversion functions on tables of double words
Instructions for double word tables OF Code size
(in words)
79 Searching for the first element in a table equal to one value
Searching for the first element in a table greater than one value
Searching for the first element in a table less than one value
Searching for the highest value in a table
Searching for the smallest value in a table
Number of times a value occurs in a table
Rotate shift on the left of a table
Rotate shift on the right of a table
Table sorting(ascending or descending)
Partial search for the first element of'a table equal to one value
Length in number of'elements
FIND_EQD
FIND_GTD
FIND_LTD
MAX_ARD
MIN_ARD
OCCUR_ARD
ROL_ARD
ROR_ARD
SORT_ARD
FIND_EQWP
LENGTH_ARW shared code
80
95
95
78
163
170
178
77
20
162
216
TLX DR PL7 xxE
Instruction times
Instructions for floating point tables
The table below gives the memory usage for advanced conversion functions on floating point tables.
Instructions for floating point tables OF Code size
(in words)
152
134
Sum of the elements of'a table of real values
Searching for the first element equal to one value in a table
SUM_ARR
FIND_EQR
Searching for the first element equal to one a value in a table starting from'a row
Searching for the first element greater than a value in a table
FIND_EQRP
FIND_GTR
Searching for the first element less than a value in a table FIND_LTR
Searching for the greatest value in a table MAX_ARR
Searching for the smallest value in a table
Number of times a value occurs in a table
Rotate shift on the left of a table
Rotate shift on the right of a table
Table sorting (ascending or descending) comparing 2 tables of real values
Table sorting (ascending or descending)
MIN_ARR
OCCUR_ARR
ROL_ARR
ROR_ARR
SORT_ARR
EQUAL_ARR
LENGTH_ARR shared code
135
134
167
173
271
173
134
161
162
132
20
124
TLX DR PL7 xxE
217
Instruction times
Time management instructions
The table below gives the memory usage for advanced time management functions.
Dates, hours and periods
Adding a period to a complete date
Adding a period to a time of day
Converting a date into a string
Day of the week
Deviation between two dates
Deviation between two complete dates
Deviation between two times of day
Converting data completely into a string
Subtracting a period from a complete date
Subtracting a period from a time of day
Converting a period into a string
Converting a time of day into a string
Transferring a period into the form of hours-mins-secs
Real-time clock function
OF
ADD_DT
ADD_TOD
Code size
519
188
DATE_TO_STRING 150
DAY_OF_WEEK
DELTA_D
99
374
DELTA_DT
DELTA_TOD
DT_TO_STRING
547
110
266
SUB_DT 548
SUB_TOD 186
TIME_TO_STRING 413
TOD_TO_STRING 156
TRANS_TIME
SCHEDULE
211
700 shared code 1703
Instructions for character strings
The table below gives the memory usage for advanced character string functions.
Dates, hours and periods
Instructions for character strings
OF Code size code size
Concatenating two strings
Deleting a sub-string
Searching for the first different character
Finding a sub-string
Inserting a sub-string
Extracting from the left of a string
String length
Extracting a sub-string
Replacing a sub-string
Extracting from the right of a string
CONCAT
DELETE
EQUAL_STR
FIND
INSERT
LEFT
LEN
MID
REPLACE
RIGHT shared code
38
70
44
365
279
212
225
287
55
418
218
TLX DR PL7 xxE
Orphee functions
The table below gives the memory usage for Orphee functions.
Orphee functions
Move to the left on 32, recovering moved bits
Move to the right on 32 with sign extension, recov. moved bits
Move to the right on 32 with 0 filling, recov. moved bits
Move to the left on 16, with moved bit recovery
Move to the right on 16 with sign extension, recov. moved bits
Move to the right on 16 with 0 filling, recov. moved bits
OF
DSHL_RBIT
DSHR_RBIT
DSHRZ_C
WSHL_RBIT
WSHR_RBIT
WSHRZ_C shared code
Up/down counting with overshoot signaling
Rotating to the left of'a word
Rotating to the right of a word
Rotating to the left of a double word
Rotating to the left of a double word
SCOUNT
ROLW
RORW
ROLD
RORD
Instruction times
617
41
49
49
Code size
152
152
133
91
103
90
173
Time delay functions
The table below gives the memory usage for the time delay functions.
Time delay functions OF
Pulse output
Trigger time delay
Time delay trigger
Time delay pulse
FPULSOR
FTOF
FTON
FTP
Code size
(in words)
215
272
217
245
TLX DR PL7 xxE
219
Instruction times
Logarithmic, exponential and trigonometric functions
The table below gives the memory usage for logarithmic, exponential and trigonometric functions.
OF Logarithmic, exponential and trigonometric functions
Natural logarithm
Decimal logarithm
Exponential
Exponentiation of'a real by an integer
Whole part
Cosine of an angle in radians
Sine of an angle in radians
Tangent of an angle in radians
Arc cosine (result between 0 and pi)
Arc sine (result between -pi/2 and pi/2)
Arc tangent (result between -pi/2 and pi/2)
Converting degrees into radians
Converting radians into degrees
NL
LOG
EXP
EXPT
TRUNC
COS
SIN
TAN
ACOS
ASIN
ATAN
DEG_TO_RAD
RAD_TO_DEG shared code
0
0
257
247
392
0
0
0
523
128
0
0
0
0
Code size
(in words)
Process control functions
The table below gives the memory usage for process control functions.
Process control functions OF
Mixed PID regulator
Pulse width modulation of a numerical value
PID output stage for discrete valve command
Dedicated operator dialog management on CCX17 of the PID
PID
PWM
SERVO
PID_MMI
Code size
(in words)
1800
600
1200
4400 shared code 573
220
TLX DR PL7 xxE
Instruction times
Dialog operator functions
The table below gives the memory usage for the operator dialog functions.
Operator dialog functions OF
Blocking entry of a variable on CCX17 Ask_msg,
Blocking entry of a variable on msg contained in CCX17 Ask_value,
Dynamic command key assigning
Command of LED control
Assign_keyS,
Control_leds,
Displaying an alarm contained in the CCX17 Display_alarm,
Displaying a group of messages contained in the CCX17 Display_GRP,
Displaying a message contained in the CCX17
Multiple entry of a variable on CCX17
Display_MSG,
GET_MSG,
Multiple entry of a variable on msg contained in CCX17 GET_VALUE,
Sending a command to the CCX17 PANEL_CMD,
Displaying an alarm msg contained in the PLC memory SEND_alarm,
Displaying a message contained in the PLC memory Send_msg shared code
46,5
46,5
46,5
46,5
46,5
46,5
573
Code size
(in words)
46,5
46,5
46,5
46,5
46,5
46,5
TLX DR PL7 xxE
221
Instruction times
Communication functions
The table below gives the memory usage for the communication functions.
Communication functions OF
Reading standard language objects
Writing standard language objects
Sending/receiving UNI-TE requests
Sending and/or receiving data
Sending a character string
Reading request for a character string
Sending and/or receiving a character string
Sending a telegram
Receiving a telegram
Request to stop a function in progress
Right shift of 1 octet in a table of octets
Immediate server
Write 1K of message handling
Read 1K of message handling
READ_VAR
WRITE_VAR
SEND_REQ
DATA_EXCH
PRINT_CHAR
INPUT_CHAR
OUT_IN_CHAR
SEND_TLG
RCV_TLG
CANCEL shared code
ROR1_ARB
SERVER shared code shared code
READ_ASYN shared code
32
936
32
920
506
235
32
648
438
375
476
625
Code size
(in words)
617
500
531
219
172
Movement command functions
The table below gives the memory usage for advanced movement functions.
Movement command functions OF
1 axis automatic movement command
Multi-axis automatic movement command
SMOVE
XMOVE
Code size
(words)
24
32
222
TLX DR PL7 xxE
Data storage
User-defined exchange function
Instruction times
The table below gives the memory usage for the data storage functions.
Data storage OF
Initializing the zone for'storage on the PCMCIA card
Write data on the PCMCIA card
Read data on the PCMCIA card
SET_PCMCIA
WRITE_PCMCIA
READ_PCMCIA shared code
Code size
(words)
24
24
24
288
The table below gives the memory usageage for the user-defined exchange functions.
User-defined exchanges OF
Read status parameters
Read adjustment parameters
Update adjustment parameters
Save adjustment parameters
Restore adjustment parameters
READ_STS
READ_PARAM
WRITE_PARAM
Update command parameters WRITE_CMD
(1) OF specific, the code is counted in the volume of the I/O module.
0
SAVE_PARAM 0
RESTORE_PARAM 0
0
0
0
Code size
(words)
TLX DR PL7 xxE
223
Instruction times
DFB of diagnostics
The first time one of the diagnostics’ DFBs is programmed, 200 words are reserved in the application program zone.
The table below shows the size of the code taken into the application for each type of diagnostics’ DFB (in the program zone) and the size occupied per instance in the data and program zones.
Diagnostics’ DFB (sizes in words) DFB type size DFB type code size
IO_DIA
ALRM_DIA
800
608
64
40
NEPO_DIA
TEPO_DIA
EV_DIA
MV_DIA
ASI_DIA
15184
10896
1144
2616
7912
128
128
48
80
304
Data size per instance
72
48
136
136
56
88
312
224
TLX DR PL7 xxE
Instruction times
Method for calculating the number of instructions
General This method is used to calculate the number of basic (assembler level) Boolean or numeric instructions.
Calculating the number of
Boolean instructions l l l
The number of the following elements is taken into account in this calculation: unitary Boolean operations: load (LD), AND, OR, XOR,ST,etc closing brackets (or ladder convergences: vertical convergence links) comparison (AND[...], OR[...]...) blocks and operate ([...])
The operators NOT, RE and FE should not be counted as a boolean instruction.
Example:
LD %M0
AND (%M1
OR %M2
)
ST %M3
= 5 boolean instructions
Calculating the number of
Numeric instructions l l l l l l
The number of the following elements is taken into account in this calculation: assignments (:=) load of the first value after:= arithmetic instructions (+, -, *, /, <, =,...), operations on words or tables of words, double words, floating points) logic instructions on words functions(OF, EQUAL,…) irrespective of the number of parameters function blocks (or function block instruction)
Example:
%MW0:=(%MW1+%MW2)*%MW3; counted instructions:
:=
%MW1 (corresponds to the load instruction in the accumulator )
+
* i.e. 4 instructions.
TLX DR PL7 xxE
225
Instruction times
Example Example of program comprising 65% boolean and 35% numeric:
%M0
%M1
%M2
%M3 %M4
%M10 %M11 %M12 %M13
%M14 %M15 %M16
%M20 %M21
%M22 %M23
%M5
%M6
%M17
%M10 %M11 %M12
%M18
%M30 %M31 %M32 %M33
%M13 %M14 %M15
%M16
%M34
%M0
%M7
%M1
%M8
%M2 %M3
%M10 %M11 %M12
%M15 %M16
%M13
%M4 %M5 %M6
%M17 %M18 %M19
%M20
%M35
%M30
226
TLX DR PL7 xxE
Instruction times
%M0 %M1
Example (continued)
%M5 %M6 %M7 %M8
%M11 %M12 %M13 %M14
%M9
%M15 %M16
%M0 %M1
%M2
%M3 %M4 %M5 %M6
%M7
%M8
%M9
%M10
R
%M11
R
%M0 %M1 %M2
%M20 %M21 %M22
%M3
%M23
%M24
%M26
%M25
%M27
%M4 %M5 %M6
%M28
%M29
%M7 %M8 %M9 %M10
%M40
%M41
%M42
%M3
%M4
%M10
%M17
TLX DR PL7 xxE
227
Instruction times
Example (continued)
%M0
%M2
%M4
%M6
%M8 %M10 %M11
%M9 %M12
%M1
%M3
%M6
%M2
%M4
%M7
%M8
%M9
%M5
%M1
%M3
%M5
%M7
%M13
%M10
%M11
228
TLX DR PL7 xxE
Example (continued)
%M1
%M3
%M6
%M2
%M4
%M12
%M13 %M7
%M8
%M9
%M5 %M14
%M15
%M0
%M3
%M1
P
%M2
N
%M4
P
%M5
%M10 %M11 %M12
P
%M13 %M14
%M6
%M7
%M8 %M9
Instruction times
%M10
%M11
%M20
%M21
S
%M22
TLX DR PL7 xxE
229
Instruction times
Example (continued)
COMPARE
%MW3:=%MW5+1
COMPARE
%MW3< =1000
COMPARE
%MW3:=%MW5+1
COMPARE
%MW3<>%MW4
OPERATE
%MW2:=%MW3+%MW5+%KW0/2
OPERATE
%MW100:=%MW18-%KW10
OPERATE
INC%MW10
OPERATE
%MW2[%MW100]:=%MW3+%MW50*1
OPERATE
%MW100:=%MW78+SHL[%MW3,4]
OPERATE
%MW2:=%MW3*%MW5-%KW0
OPERATE
%MW2[%MW200]:=%MW3+%MW50*1
OPERATE
%MW100:=%MW78+ABS[%MW3]
230
TLX DR PL7 xxE
TLX DR PL7 xxE
Example (continued)
Instruction times
OPERATE
%MW0:=16#FFFF
OPERATE
%MW2:=2
OPERATE
%TM0.P:%MW88+%MW89-1
OPERATE
%MW4:=%KW0+4
OPERATE
%MW5:=%KW0+5
OPERATE
%MW6:=%MW10/1024
OPERATE
%MW10[%MW0]:=%KW10[%MW0]+1
OPERATE
%MW11:=%MW10+1
OPERATE
%MW12:=%MW0*3+4
OPERATE
%MW13:=%KW13+%MW2+%MW3-1
OPERATE
%MW15:=15
OPERATE
%MW16:=1+%MW70+%MW71+%MW72
231
Instruction times
232
Example (continued)
OPERATE
%MW20:=%SW10-1
OPERATE
%MW21:=ROL[%MW0.7]
OPERATE
%MW22:=%MW0+3*%MW1-1
OPERATE
%MW23:=0
OPERATE
%MW24:=1
OPERATE
%MW25:=%MW87/1024+22
OPERATE
%MW26:=%MW0+%MW25+1
%M0
OPERATE
%MW0:=%MW1+%MW2+%MW3+%MW
(1)
R
%C0
C E
%MN0
S M
MODE: TON
TB: 1min
R
MN.P: 9999
MODIF: Y
S
C.P: 9999
CU
MODIF: Y
CD
D
F
%TM0
IN TM
MODE: TON
TB: 1min
Q
TM.P: 9999
MODIF: Y
(1):%MW0:=%MW1+%MW2+%MW3+%MW4+%MW5+%MW6+%MW7+%MW8+
%MW9+%MW10+1
Memory Usage
Boolean without edge
Boolean with edge
Operate block
Function block
Simple arithmetic (+,-
,:=,AND,etc)
Indexed arithmetic
*, /
Immediate values
Total
4
6
24
346
Number of instructions
187
4
31
3
111
%
54,05%
1,16%
8,96%
0,87%
32,08%
1,16%
1,73%
64,16%
35,84%
100,00%
TLX DR PL7 xxE
Index
C
D
E
ExportFefFileWithConfiguration, 93
G
I
TLX DR PL7 43F
A C
O
S
U
233
Index
234
TLX DR PL7 43F
다운로드
광고