Commit a17f1d02 authored by Claes Sjofors's avatar Claes Sjofors

Sim server bugfix for step with long scantime

parent d070f186
......@@ -632,6 +632,21 @@ void rt_sim::scan()
{
pwr_tStatus sts;
if ( !ioconf->IOSimulFlag) {
conf->Message = SIM__SIMULFLAG;
conf->PlcHalt = 0;
conf->PlcContinue = 0;
conf->PlcStep = 0;
conf->Load = 0;
conf->Store = 0;
conf->PlcPgmScanOn = 0;
conf->PlcPgmScanOff = 0;
conf->Reset = 0;
return;
}
if ( conf->Message == SIM__SIMULFLAG)
conf->Message = 0;
// Set PlcPgm thread and plcpgm status
for ( unsigned int i = 0; i < plcpgm_cnt; i++) {
conf->PlcPgmThreadStatus[i] = conf->ThreadStatus[plcpgm_thread_idx[i]];
......@@ -775,6 +790,7 @@ void rt_sim::scan()
else {
conf->Message = SIM__NOHALTED;
}
conf->PlcStepOrder = 0;
}
if ( continue_order_active) {
......@@ -791,20 +807,26 @@ void rt_sim::scan()
if ( !state_stored)
store_state();
// Count selected threads
select_thread_cnt = 0;
for ( unsigned int i = 0; i < thread_cnt; i++) {
if ( conf->ThreadSelected[i] && conf->ThreadStatus[i] == SIM__THREAD_HALT)
select_thread_cnt++;
}
if ( select_thread_cnt > 0) {
conf->PlcStepOrder = select_thread_cnt;
step_order_active = true;
conf->Message = SIM__THREADRESPOND;
if ( conf->PlcStepOrder > 0) {
// Previous step not ready yet
conf->Message = SIM__NOTREADY;
}
else {
conf->Message = SIM__NOHALTED;
// Count selected threads
select_thread_cnt = 0;
for ( unsigned int i = 0; i < thread_cnt; i++) {
if ( conf->ThreadSelected[i] && conf->ThreadStatus[i] == SIM__THREAD_HALT)
select_thread_cnt++;
}
if ( select_thread_cnt > 0) {
conf->PlcStepOrder = select_thread_cnt * 2;
step_order_active = true;
conf->Message = SIM__THREADRESPOND;
}
else {
conf->Message = SIM__NOHALTED;
}
}
}
......@@ -1002,6 +1024,18 @@ void rt_sim::open()
exit(0);
}
// Find IOHandler
sts = gdh_GetClassList( pwr_cClass_IOHandler, &oid);
if ( ODD(sts)) {
sts = gdh_ObjidToPointer( oid, (void **)&ioconf);
if ( EVEN(sts)) throw co_error( sts);
}
else {
errh_Fatal( "Unable to find IOHandler object, %m", sts);
errh_SetStatus( PWR__SRVTERM);
exit(0);
}
// Get all plc threads and insert into array
thread_cnt = 0;
for ( sts = gdh_GetClassList( pwr_cClass_PlcThread, &oid);
......
......@@ -57,7 +57,7 @@ typedef enum {
class rt_sim {
public:
rt_sim() : scan_time(0.5), thread_cnt(0), select_thread_cnt(0), state_stored(false),
rt_sim() : scan_time(0.5), ioconf(0), thread_cnt(0), select_thread_cnt(0), state_stored(false),
halt_order_active(false), load_order_active(false), disable_old(0) {
memset(plcpgm_stored_scanoff,0,sizeof(plcpgm_stored_scanoff));}
void init( qcom_sQid *qid);
......@@ -79,6 +79,7 @@ class rt_sim {
double scan_time;
pwr_sClass_SimulateConfig *conf;
pwr_sClass_IOHandler *ioconf;
unsigned int thread_cnt;
pwr_sClass_PlcThread *threadp[30];
pwr_tDlid thread_dlid[30];
......
......@@ -226,6 +226,7 @@ static int sim_scan( plc_sThread *tp)
{
pwr_sClass_SimulateConfig *sp = tp->pp->SimConfig;
unsigned int i;
int select_thread_cnt;
if ( !tp->sim_initdone_old && sp->InitDone) {
......@@ -278,15 +279,28 @@ static int sim_scan( plc_sThread *tp)
time_Asub( &tp->one_before_scan_abs, &current, &tp->scan_time);
}
}
if ( tp->sim_singlestep && sp->PlcStepOrder == 0)
select_thread_cnt = 0;
for ( i = 0; i < sizeof(sp->ThreadSelected)/sizeof(sp->ThreadSelected[0]); i++) {
if ( sp->ThreadSelected[i] && sp->ThreadStatus[i] == SIM__THREAD_HALT)
select_thread_cnt++;
}
if ( tp->sim_singlestep && (sp->PlcStepOrder <= select_thread_cnt)) {
tp->sim_singlestep = 0;
sp->PlcStepOrder--;
}
if ( sp->PlcStepOrder && sp->ThreadSelected[tp->sim_idx] && !tp->sim_singlestep) {
if ( sp->PlcStepOrder > select_thread_cnt &&
sp->ThreadSelected[tp->sim_idx] && !tp->sim_singlestep) {
if ( tp->sim_halted) {
pwr_tTime current;
tp->sim_singlestep = 1;
sp->PlcStepOrder--;
if ( sp->PlcStepOrder <= select_thread_cnt)
sp->PlcStepOrder--;
else
tp->sim_singlestep = 1;
/* Use nominal scantime as time since last scan */
time_GetTimeMonotonic( &current);
......@@ -317,7 +331,7 @@ scan (
time_GetTime(&tp->before_scan_abs);
pp->Node->SystemTime = tp->before_scan_abs;
if ( pp->SimConfig) {
if ( pp->IOHandler->IOSimulFlag && pp->SimConfig) {
if ( !pp->SimConfig->Disable || !tp->sim_disable_old) {
if ( sim_scan( tp)) {
pwr_tDeltaTime delta;
......
......@@ -59,6 +59,8 @@ scanoff <PlcPgm scan off> /error
scanon_set <Scan on set on selected PlcPgms> /info
scanoff_set <Scan off set on selected PlgPgms> /info
noselplcpgm <No PlcPgm selected> /error
notready <Not ready for request> /error
simulflag <Simulation not active, IOHandler.IOSimulFlag is not set> /error
.end
......
......@@ -43,6 +43,19 @@ SObject pwrb:Class
! Configuration of the simulation server.
!
! The simulation server handles simulation of the database and plc.
! The IOHandler.IOSimulFlag has to be set to activate the simulation server.
!
! Simulate sever functions
!
! Plc threads can be halted and single scans can be executed.
! The execution of individual PlcPgm can be disabled.
! The current state of the database can be stored on file, and the file can be
! loaded at a later occasion.
!
! The server is operated from the object graph of the SimulateConfig object.
!
! @b Object graph
! @image orm_simulateconfig_og.png
!*/
Object SimulateConfig $ClassDef 602
Body SysBody
......
......@@ -4,21 +4,21 @@
100 20
135 20
101 20
102 310
103 -24
104 3.7377
136 3.7377
102 546
103 -6
104 3.24881
136 3.24881
105 100
106 2
107 -4
108 62.5004
107 0
108 62.7004
109 0.649995
110 28.6409
110 25.528
111 1.2
116 55
116 86
117 0
118 183
119 113
118 205
119 97
120 0
121 Claes context
122 0
......@@ -33,10 +33,11 @@
137 4510
138 3
139 2
140 2
134
22
2200 0
2201 271
2201 272
2202 pwr_c_simulateconfig
2203 51
2205 0
......@@ -55,7 +56,9 @@ pwrp_exe:
ssab_exe:
pwr_exe:
2215 0
2246 0
2236 0
2247 0
2216 0
2221 0
2237 0
......@@ -83,6 +86,7 @@ pwr_exe:
2234 3
2235 1
2243 0
2248 0
2245 0
2244
99
......@@ -179,7 +183,9 @@ pwr_exe:
306
307
308 0
330 0
321 16
331 0
309 0
313 0
322 0
......@@ -199,10 +205,13 @@ pwr_exe:
319 0
320 0
328 0
332 0
329
1
100 1
105 0
101 1
106 0
102 33619964
103 0
99
......@@ -270,7 +279,9 @@ pwr_exe:
306
307
308 4
330 0
321 0
331 0
309 29
313 0
322 0
......@@ -290,6 +301,7 @@ pwr_exe:
319 0
320 0
328 0
332 0
99
3
300 pwr_valuelong
......@@ -382,7 +394,9 @@ pwr_exe:
306
307
308 1024
330 0
321 0
331 0
309 0
313 0
322 0
......@@ -402,6 +416,7 @@ pwr_exe:
319 0
320 0
328 0
332 0
99
99
124
......@@ -462,10 +477,10 @@ pwr_exe:
99
19
1904 O254
1900 62.5005
1901 31.6
1902 28.6408
1903 7.2
1900 62.7004
1901 31.7497
1902 25.4868
1903 4.0459
1908 0
1909 32
1910 32
......@@ -502,12 +517,12 @@ pwr_exe:
99
1912
28
2800 3.32263
2800 3.32803
2801 0
2802 29.108
2802 29.2537
2803 0
2804 4.20409
2805 -16.3429
2805 -19.497
2806 0
99
99
......@@ -575,7 +590,9 @@ pwr_exe:
4002
1
100 1
105 0
101 1
106 0
102 33619964
103 0
99
......@@ -722,13 +739,13 @@ pwr_exe:
0
0
0
1006 9.03873
1006 9.63314
1007 5.25
1008 2.81378
1008 2.81377
1009 1.85
1013 9.03873
1013 9.63314
1014 5.25
1015 2.81378
1015 2.81377
1016 1.85
1003
0
......@@ -767,9 +784,9 @@ pwr_exe:
99
2707
28
2800 1.72215
2800 1.99233
2801 0
2802 4.90557
2802 4.85153
2803 0
2804 1.13385
2805 1.62323
......@@ -786,9 +803,14 @@ pwr_exe:
2721
1
100 1
101 64
102 33619964
105 0
101 8256
106 0
102 33554436
103 0
62
6200 Store current database state to file
99
55
5500 open fileview/type=save/file="$pwrp_load/*.rtdbs"/target=$object.LoadFile/trigg=$object.Store
99
......@@ -851,14 +873,14 @@ pwr_exe:
0
0
0
1006 26.4387
1007 22.65
1008 5.4138
1009 4.45
1013 26.4387
1014 22.65
1015 5.4138
1016 4.45
1006 25.76
1007 20.9881
1008 5.41374
1009 4.44997
1013 25.76
1014 20.9881
1015 5.41374
1016 4.44997
1003
0
11
......@@ -896,9 +918,9 @@ pwr_exe:
99
2707
28
2800 1.72215
2800 2.16904
2801 0
2802 22.3056
2802 20.5543
2803 0
2804 1.13385
2805 4.2232
......@@ -915,8 +937,10 @@ pwr_exe:
2721
1
100 1
105 0
101 4
102 33619964
106 0
102 4
103 0
51
5100 $object.SelectAllThreads##Boolean
......@@ -983,13 +1007,13 @@ pwr_exe:
0
0
1006 30.7887
1007 27
1008 5.4138
1009 4.45
1007 26.0169
1008 5.41374
1009 4.44997
1013 30.7887
1014 27
1015 5.4138
1016 4.45
1014 26.0169
1015 5.41374
1016 4.44997
1003
0
11
......@@ -1027,9 +1051,9 @@ pwr_exe:
99
2707
28
2800 1.72215
2800 2.16904
2801 0
2802 26.6556
2802 25.5831
2803 0
2804 1.13385
2805 4.2232
......@@ -1046,8 +1070,10 @@ pwr_exe:
2721
1
100 1
105 0
101 4
102 33619964
106 0
102 4
103 0
51
5100 $object.ClearAllThreads##Boolean
......@@ -1113,12 +1139,12 @@ pwr_exe:
0
0
0
1006 9.0388
1007 5.25
1006 9.66011
1007 5.25003
1008 5.36377
1009 4.4
1013 9.0388
1014 5.25
1013 9.66011
1014 5.25003
1015 5.36377
1016 4.4
1003
......@@ -1158,9 +1184,9 @@ pwr_exe:
99
2707
28
2800 1.72215
2800 2.00458
2801 0
2802 4.9056
2802 4.84911
2803 0
2804 1.13385
2805 4.17323
......@@ -1177,14 +1203,19 @@ pwr_exe:
2721
1
100 1
101 4
102 33619964
105 0
101 8196
106 0
102 33554436
103 0
51
5100 $object.PlcHalt##Boolean
5101 1
5102 1
99
62
6200 Halt selected PlcThreads
99
99
99
27
......@@ -1244,12 +1275,12 @@ pwr_exe:
0
0
0
1006 13.4888
1007 9.7
1006 14.3846
1007 9.97453
1008 5.36377
1009 4.4
1013 13.4888
1014 9.7
1013 14.3846
1014 9.97453
1015 5.36377
1016 4.4
1003
......@@ -1289,9 +1320,9 @@ pwr_exe:
99
2707
28
2800 1.72215
2800 2.00458
2801 0
2802 9.3556
2802 9.57362
2803 0
2804 1.13385
2805 4.17323
......@@ -1308,14 +1339,19 @@ pwr_exe:
2721
1
100 1
101 4
102 33619964
105 0
101 8196
106 0
102 33554436
103 0
51
5100 $object.PlcStep##Boolean
5101 1
5102 1
99
62
6200 Execute selected PlcThreads one scan
99
99
99
27
......@@ -1375,14 +1411,14 @@ pwr_exe:
0
0
0
1006 17.8887
1007 14.1
1008 5.3638
1009 4.4
1013 17.8887
1014 14.1
1015 5.3638
1016 4.4
1006 19.0615
1007 14.6514
1008 5.36374
1009 4.39997
1013 19.0615
1014 14.6514
1015 5.36374
1016 4.39997
1003
0
9
......@@ -1420,9 +1456,9 @@ pwr_exe:
99
2707
28
2800 1.72215
2800 2.00458
2801 0
2802 13.7556
2802 14.2505
2803 0
2804 1.13385
2805 4.1732
......@@ -1439,14 +1475,19 @@ pwr_exe:
2721
1
100 1
101 4
102 33619964
105 0
101 8196
106 0
102 33554436
103 0
51
5100 $object.PlcContinue##Boolean
5101 1
5102 1
99
62
6200 Start normal execution of selected PlcThreads
99
99
99
27
......@@ -1569,7 +1610,9 @@ pwr_exe:
2721
1
100 1
105 0
101 1
106 0
102 65532
103 0
12
......@@ -1701,7 +1744,9 @@ pwr_exe:
2721
1
100 33554432
105 0
101 0
106 0
102 65532
103 0
31
......@@ -1835,12 +1880,12 @@ pwr_exe:
0
0
0
1006 13.4387
1007 9.65
1006 14.2491
1007 9.97453
1008 2.81377
1009 1.85
1013 13.4387
1014 9.65
1013 14.2491
1014 9.97453
1015 2.81377
1016 1.85
1003
......@@ -1880,9 +1925,9 @@ pwr_exe:
99
2707
28
2800 1.72215
2800 1.943
2801 0
2802 9.30557
2802 9.58593
2803 0
2804 1.13385
2805 1.62323
......@@ -1899,9 +1944,14 @@ pwr_exe:
2721
1
100 1
101 64
102 33619964
105 0
101 8256
106 0
102 33554436
103 0
62
6200 Load stored database state from file
99
55
5500 open fileview/type=open/file="$pwrp_load/*.rtdbs"/target=$object.LoadFile/trigg=$object.Load
99
......@@ -2028,8 +2078,10 @@ pwr_exe:
2721
1
100 1
105 0
101 64
102 33619964
106 0
102 33619967
103 0
55
5500 open graph pwr_c_simulateconfig_server/inst=$object
......@@ -2100,7 +2152,9 @@ pwr_exe:
4002
1
100 1
105 0
101 1
106 0
102 33619964
103 0
99
......@@ -2162,12 +2216,12 @@ pwr_exe:
0
0
0
1006 57.5851
1007 53.7963
1006 56.8329
1007 51.789
1008 5.41377
1009 4.45
1013 57.5851
1014 53.7963
1013 56.8329
1014 51.789
1015 5.41377
1016 4.45
1003
......@@ -2207,9 +2261,9 @@ pwr_exe:
99
2707
28
2800 1.72215
2800 2.29268
2801 0
2802 53.4519
2802 51.3304
2803 0
2804 1.13385
2805 4.22323
......@@ -2226,8 +2280,10 @@ pwr_exe:
2721
1
100 1
105 0
101 4
102 33619964
106 0
102 33554436
103 0
51
5100 $object.SelectAllPlcPgm##Boolean
......@@ -2293,12 +2349,12 @@ pwr_exe:
0
0
0
1006 62.0806
1007 58.2918
1006 62.1939
1007 57.15
1008 5.41377
1009 4.45
1013 62.0806
1014 58.2918
1013 62.1939
1014 57.15
1015 5.41377
1016 4.45
1003
......@@ -2338,9 +2394,9 @@ pwr_exe:
99
2707
28
2800 1.72215
2800 2.29268
2801 0
2802 57.9474
2802 56.6915
2803 0
2804 1.13385
2805 4.22323
......@@ -2357,8 +2413,10 @@ pwr_exe:
2721
1
100 1
105 0
101 4
102 33619964
106 0
102 33554436
103 0
51
5100 $object.ClearAllPlcPgm##Boolean
......@@ -2424,11 +2482,11 @@ pwr_exe:
0
0
0
1006 39.4888
1006 40.5274
1007 35.7
1008 5.41377
1009 4.45
1013 39.4888
1013 40.5274
1014 35.7
1015 5.41377
1016 4.45
......@@ -2469,9 +2527,9 @@ pwr_exe:
99
2707
28
2800 1.72215
2800 2.19425
2801 0
2802 35.3556
2802 35.2612
2803 0
2804 1.13385
2805 4.22323
......@@ -2488,14 +2546,19 @@ pwr_exe:
2721
1
100 1
101 4
102 33619964
105 0
101 8196
106 0
102 33554436
103 0
51
5100 $object.PlcPgmScanOn##Boolean
5101 1
5102 1
99
62
6200 Enable scan on selected PlcPgm
99
99
99
27
......@@ -2555,12 +2618,12 @@ pwr_exe:
0
0
0
1006 43.8888
1007 40.1
1006 45.6687
1007 40.8413
1008 5.41377
1009 4.45
1013 43.8888
1014 40.1
1013 45.6687
1014 40.8413
1015 5.41377
1016 4.45
1003
......@@ -2600,9 +2663,9 @@ pwr_exe:
99
2707
28
2800 1.72215
2800 2.19425
2801 0
2802 39.7556
2802 40.4025
2803 0
2804 1.13385
2805 4.22323
......@@ -2619,14 +2682,19 @@ pwr_exe:
2721
1
100 1
101 4
102 33619964
105 0
101 8196
106 0
102 33554436
103 0
51
5100 $object.PlcPgmScanOff##Boolean
5101 1
5102 1
99
62
6200 Disable scan on selected PlcPgm
99
99
99
30
......@@ -2924,12 +2992,12 @@ pwr_exe:
0
0
0
1006 56.4246
1007 53.7963
1006 56.8329
1007 51.7573
1008 2.81377
1009 1.85
1013 56.4246
1014 53.7963
1013 56.8329
1014 51.7573
1015 2.81377
1016 1.85
1003
......@@ -2969,9 +3037,9 @@ pwr_exe:
99
2707
28
2800 1.19469
2800 2.30706
2801 0
2802 53.5573
2802 51.2959
2803 0
2804 1.13385
2805 1.62323
......@@ -2988,8 +3056,10 @@ pwr_exe:
2721
1
100 1
105 0
101 260
102 33619964
106 0
102 33554436
103 0
57
5700 Do you want to reset
......
......@@ -6,8 +6,8 @@
101 20
102 0
103 -30
104 3.7377
136 3.7377
104 3.711
136 3.711
105 100
106 0
107 -5
......@@ -17,9 +17,9 @@
111 -0.05
116 0
117 0
118 127
119 113
120 0
118 135
119 112
120 1
121 Claes context
122 0
126 1
......@@ -33,6 +33,7 @@
137 4510
138 3
139 2
140 2
134
22
2200 0
......@@ -55,7 +56,9 @@ pwrp_exe:
ssab_exe:
pwr_exe:
2215 0
2246 0
2236 0
2247 0
2216 0
2221 0
2237 0
......@@ -83,6 +86,7 @@ pwr_exe:
2234 1
2235 0
2243 0
2248 0
2245 0
2244
99
......@@ -221,7 +225,9 @@ pwr_exe:
306
307
308 0
330 0
321 0
331 0
309 0
313 0
322 0
......@@ -241,10 +247,13 @@ pwr_exe:
319 0
320 0
328 0
332 0
329
1
100 1
105 0
101 1
106 0
102 33619964
103 0
99
......@@ -312,7 +321,9 @@ pwr_exe:
306
307
308 32768
330 0
321 16
331 0
309 0
313 0
322 0
......@@ -332,10 +343,13 @@ pwr_exe:
319 0
320 0
328 0
332 0
329
1
100 1
105 0
101 1
106 0
102 33619964
103 0
99
......@@ -403,7 +417,9 @@ pwr_exe:
306
307
308 4
330 0
321 0
331 0
309 29
313 0
322 0
......@@ -423,10 +439,13 @@ pwr_exe:
319 0
320 0
328 0
332 0
329
1
100 1
105 0
101 1
106 0
102 33619964
103 0
99
......@@ -551,7 +570,9 @@ pwr_exe:
4202
1
100 16777216
105 0
101 0
106 0
102 65532
103 1
30
......@@ -714,8 +735,10 @@ pwr_exe:
2721
1
100 1
105 0
101 1
102 33619964
106 0
102 33554436
103 0
18
1800 $object.ThreadSelected[0]##Boolean
......@@ -845,8 +868,10 @@ pwr_exe:
2721
1
100 1
105 0
101 1
102 33619964
106 0
102 33554436
103 0
18
1800 $object.ThreadSelected[1]##Boolean
......@@ -976,8 +1001,10 @@ pwr_exe:
2721
1
100 1
105 0
101 1
102 33619964
106 0
102 33554436
103 0
18
1800 $object.ThreadSelected[2]##Boolean
......@@ -1107,8 +1134,10 @@ pwr_exe:
2721
1
100 1
105 0
101 1
102 33619964
106 0
102 33554436
103 0
18
1800 $object.ThreadSelected[3]##Boolean
......@@ -1238,8 +1267,10 @@ pwr_exe:
2721
1
100 1
105 0
101 1
102 33619964
106 0
102 33554436
103 0
18
1800 $object.ThreadSelected[4]##Boolean
......@@ -1369,8 +1400,10 @@ pwr_exe:
2721
1
100 1
105 0
101 1
102 33619964
106 0
102 33554436
103 0
18
1800 $object.ThreadSelected[5]##Boolean
......@@ -1500,8 +1533,10 @@ pwr_exe:
2721
1
100 1
105 0
101 1
102 33619964
106 0
102 33554436
103 0
18
1800 $object.ThreadSelected[6]##Boolean
......@@ -1631,8 +1666,10 @@ pwr_exe:
2721
1
100 1
105 0
101 1
102 33619964
106 0
102 33554436
103 0
18
1800 $object.ThreadSelected[7]##Boolean
......@@ -1762,8 +1799,10 @@ pwr_exe:
2721
1
100 1
105 0
101 1
102 33619964
106 0
102 33554436
103 0
18
1800 $object.ThreadSelected[8]##Boolean
......@@ -1893,8 +1932,10 @@ pwr_exe:
2721
1
100 1
105 0
101 1
102 33619964
106 0
102 33554436
103 0
18
1800 $object.ThreadSelected[9]##Boolean
......@@ -2024,8 +2065,10 @@ pwr_exe:
2721
1
100 1
105 0
101 1
102 33619964
106 0
102 33554436
103 0
18
1800 $object.ThreadSelected[10]##Boolean
......@@ -2155,8 +2198,10 @@ pwr_exe:
2721
1
100 1
105 0
101 1
102 33619964
106 0
102 33554436
103 0
18
1800 $object.ThreadSelected[11]##Boolean
......@@ -2286,8 +2331,10 @@ pwr_exe:
2721
1
100 1
105 0
101 1
102 33619964
106 0
102 33554436
103 0
18
1800 $object.ThreadSelected[12]##Boolean
......@@ -2417,8 +2464,10 @@ pwr_exe:
2721
1
100 1
105 0
101 1
102 33619964
106 0
102 33554436
103 0
18
1800 $object.ThreadSelected[13]##Boolean
......@@ -2548,8 +2597,10 @@ pwr_exe:
2721
1
100 1
105 0
101 1
102 33619964
106 0
102 33554436
103 0
18
1800 $object.ThreadSelected[14]##Boolean
......@@ -2679,8 +2730,10 @@ pwr_exe:
2721
1
100 1
105 0
101 1
102 33619964
106 0
102 33554436
103 0
18
1800 $object.ThreadSelected[15]##Boolean
......@@ -2810,8 +2863,10 @@ pwr_exe:
2721
1
100 1
105 0
101 1
102 33619964
106 0
102 33554436
103 0
18
1800 $object.ThreadSelected[16]##Boolean
......@@ -2941,8 +2996,10 @@ pwr_exe:
2721
1
100 1
105 0
101 1
102 33619964
106 0
102 4
103 0
18
1800 $object.ThreadSelected[17]##Boolean
......@@ -3072,8 +3129,10 @@ pwr_exe:
2721
1
100 1
105 0
101 1
102 33619964
106 0
102 4
103 0
18
1800 $object.ThreadSelected[18]##Boolean
......@@ -3203,8 +3262,10 @@ pwr_exe:
2721
1
100 1
105 0
101 1
102 33619964
106 0
102 4
103 0
18
1800 $object.ThreadSelected[19]##Boolean
......@@ -3334,8 +3395,10 @@ pwr_exe:
2721
1
100 1
105 0
101 1
102 33619964
106 0
102 4
103 0
18
1800 $object.ThreadSelected[20]##Boolean
......@@ -3465,8 +3528,10 @@ pwr_exe:
2721
1
100 1
105 0
101 1
102 33619964
106 0
102 4
103 0
18
1800 $object.ThreadSelected[21]##Boolean
......@@ -3596,8 +3661,10 @@ pwr_exe:
2721
1
100 1
105 0
101 1
102 33619964
106 0
102 4
103 0
18
1800 $object.ThreadSelected[22]##Boolean
......@@ -3727,8 +3794,10 @@ pwr_exe:
2721
1
100 1
105 0
101 1
102 33619964
106 0
102 4
103 0
18
1800 $object.ThreadSelected[23]##Boolean
......@@ -3858,8 +3927,10 @@ pwr_exe:
2721
1
100 1
105 0
101 1
102 33619964
106 0
102 4
103 0
18
1800 $object.ThreadSelected[24]##Boolean
......@@ -3989,8 +4060,10 @@ pwr_exe:
2721
1
100 1
105 0
101 1
102 33619964
106 0
102 4
103 0
18
1800 $object.ThreadSelected[25]##Boolean
......@@ -4120,8 +4193,10 @@ pwr_exe:
2721
1
100 1
105 0
101 1
102 33619964
106 0
102 4
103 0
18
1800 $object.ThreadSelected[26]##Boolean
......@@ -4251,8 +4326,10 @@ pwr_exe:
2721
1
100 1
105 0
101 1
102 33619964
106 0
102 4
103 0
18
1800 $object.ThreadSelected[27]##Boolean
......@@ -4382,8 +4459,10 @@ pwr_exe:
2721
1
100 1
105 0
101 1
102 33619964
106 0
102 4
103 0
18
1800 $object.ThreadSelected[28]##Boolean
......@@ -4513,8 +4592,10 @@ pwr_exe:
2721
1
100 1
105 0
101 1
102 33619964
106 0
102 4
103 0
18
1800 $object.ThreadSelected[29]##Boolean
......@@ -4644,7 +4725,9 @@ pwr_exe:
2721
1
100 33554432
105 0
101 0
106 0
102 33619964
103 0
31
......@@ -4773,7 +4856,9 @@ pwr_exe:
2721
1
100 33554432
105 0
101 0
106 0
102 33619964
103 0
31
......@@ -4902,7 +4987,9 @@ pwr_exe:
2721
1
100 33554432
105 0
101 0
106 0
102 33619964
103 0
31
......@@ -4970,12 +5057,12 @@ pwr_exe:
0
1006 2.53486
1007 1.8
1008 3.45127
1009 2.65517
1008 3.45128
1009 2.65518
1013 2.53486
1014 1.8
1015 3.45127
1016 2.65517
1015 3.45128
1016 2.65518
1003
0
0
......@@ -5031,7 +5118,9 @@ pwr_exe:
2721
1
100 33554432
105 0
101 0
106 0
102 33619964
103 0
31
......@@ -5160,7 +5249,9 @@ pwr_exe:
2721
1
100 33554432
105 0
101 0
106 0
102 33619964
103 0
31
......@@ -5289,7 +5380,9 @@ pwr_exe:
2721
1
100 33554432
105 0
101 0
106 0
102 33619964
103 0
31
......@@ -5357,12 +5450,12 @@ pwr_exe:
0
1006 2.53486
1007 1.8
1008 6.15644
1009 5.36034
1008 6.15645
1009 5.36035
1013 2.53486
1014 1.8
1015 6.15644
1016 5.36034
1015 6.15645
1016 5.36035
1003
0
0
......@@ -5418,7 +5511,9 @@ pwr_exe:
2721
1
100 33554432
105 0
101 0
106 0
102 33619964
103 0
31
......@@ -5547,7 +5642,9 @@ pwr_exe:
2721
1
100 33554432
105 0
101 0
106 0
102 33619964
103 0
31
......@@ -5615,12 +5712,12 @@ pwr_exe:
0
1006 2.53486
1007 1.8
1008 7.95989
1009 7.16379
1008 7.9599
1009 7.1638
1013 2.53486
1014 1.8
1015 7.95989
1016 7.16379
1015 7.9599
1016 7.1638
1003
0
0
......@@ -5676,7 +5773,9 @@ pwr_exe:
2721
1
100 33554432
105 0
101 0
106 0
102 33619964
103 0
31
......@@ -5805,7 +5904,9 @@ pwr_exe:
2721
1
100 33554432
105 0
101 0
106 0
102 33619964
103 0
31
......@@ -5934,7 +6035,9 @@ pwr_exe:
2721
1
100 33554432
105 0
101 0
106 0
102 33619964
103 0
31
......@@ -6063,7 +6166,9 @@ pwr_exe:
2721
1
100 33554432
105 0
101 0
106 0
102 33619964
103 0
31
......@@ -6192,7 +6297,9 @@ pwr_exe:
2721
1
100 33554432
105 0
101 0
106 0
102 33619964
103 0
31
......@@ -6321,7 +6428,9 @@ pwr_exe:
2721
1
100 33554432
105 0
101 0
106 0
102 33619964
103 0
31
......@@ -6450,7 +6559,9 @@ pwr_exe:
2721
1
100 33554432
105 0
101 0
106 0
102 33619964
103 0
31
......@@ -6579,7 +6690,9 @@ pwr_exe:
2721
1
100 33554432
105 0
101 0
106 0
102 33619964
103 0
31
......@@ -6708,7 +6821,9 @@ pwr_exe:
2721
1
100 33554432
105 0
101 0
106 0
102 33619964
103 0
31
......@@ -6837,7 +6952,9 @@ pwr_exe:
2721
1
100 33554432
105 0
101 0
106 0
102 33619964
103 0
31
......@@ -6966,7 +7083,9 @@ pwr_exe:
2721
1
100 33554432
105 0
101 0
106 0
102 33619964
103 0
31
......@@ -7095,7 +7214,9 @@ pwr_exe:
2721
1
100 33554432
105 0
101 0
106 0
102 33619964
103 0
31
......@@ -7224,7 +7345,9 @@ pwr_exe:
2721
1
100 33554432
105 0
101 0
106 0
102 33619964
103 0
31
......@@ -7353,7 +7476,9 @@ pwr_exe:
2721
1
100 33554432
105 0
101 0
106 0
102 33619964
103 0
31
......@@ -7482,7 +7607,9 @@ pwr_exe:
2721
1
100 33554432
105 0
101 0
106 0
102 33619964
103 0
31
......@@ -7611,7 +7738,9 @@ pwr_exe:
2721
1
100 33554432
105 0
101 0
106 0
102 33619964
103 0
31
......@@ -7740,7 +7869,9 @@ pwr_exe:
2721
1
100 33554432
105 0
101 0
106 0
102 33619964
103 0
31
......@@ -7869,7 +8000,9 @@ pwr_exe:
2721
1
100 33554432
105 0
101 0
106 0
102 33619964
103 0
31
......@@ -7998,7 +8131,9 @@ pwr_exe:
2721
1
100 33554432
105 0
101 0
106 0
102 33619964
103 0
31
......@@ -8127,7 +8262,9 @@ pwr_exe:
2721
1
100 33554432
105 0
101 0
106 0
102 33619964
103 0
31
......@@ -8256,7 +8393,9 @@ pwr_exe:
2721
1
100 33554432
105 0
101 0
106 0
102 33619964
103 0
31
......@@ -8385,7 +8524,9 @@ pwr_exe:
2721
1
100 33554432
105 0
101 0
106 0
102 33619964
103 0
31
......
......@@ -496,6 +496,26 @@ E 3.3.2 "Signals"
E 3.3.3 "Methods"
E 3.3.4 "Print"
#
# SimulateConfig
E 3.4.1 "Store..."
E 3.4.2 "Load..."
E 3.4.3 "Halt"
E 3.4.4 "Step"
E 3.4.5 "Continue"
E 3.4.6 "Select all"
E 3.4.7 "Clear all"
E 3.4.8 "Scan On"
E 3.4.9 "Scan Off"
E 3.4.10 "Show Server"
E 3.4.11 "Count"
E 3.4.12 "Store current database state to file"
E 3.4.13 "Load stored database state from file"
E 3.4.14 "Halt selected PlcThreads"
E 3.4.15 "Execute selected PlcThreads one scan"
E 3.4.16 "Start normal execution of selected PlcThreads"
E 3.4.17 "Enable scan on selected PlcPgm"
E 3.4.18 "Disable scan on selected PlcPgm"
#
# Basecomponent
E 4.1.1 "On"
E 4.1.2 "Off"
......
......@@ -481,6 +481,26 @@ E 3.3.2 "Signaler"
E 3.3.3 "Metoder"
E 3.3.4 "Skriv ut"
#
# SimulateConfig
E 3.4.1 "Lagra..."
E 3.4.2 "Ladda..."
E 3.4.3 "Halta"
E 3.4.4 "Stega"
E 3.4.5 "Fortstt"
E 3.4.6 "Markera alla"
E 3.4.7 "Avmarkera alla"
E 3.4.8 "Skanna till"
E 3.4.9 "Skanna frn"
E 3.4.10 "Visa server"
E 3.4.11 "Rknare"
E 3.4.12 "Lagra nuvarande databas-tillstnd till fil"
E 3.4.13 "Ladda lagrat databas-tillstnd frn fil"
E 3.4.14 "Halta markerade plctrdar"
E 3.4.15 "Exekvera markerade plctrdar ett varv"
E 3.4.16 "Starta normal exkvering av markerade plctrdar"
E 3.4.17 "Aktivera exekvering av markerade PlcPgm"
E 3.4.18 "Stoppa exekvering av markerade PlcPgm"
#
# Basecomponent
E 4.1.1 "Till"
E 4.1.2 "Frn"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment