Loading…
Loading…
Method Name: Window_SILSequence_SequenceMethod_1
Method ID: 0x496F
Method Label: Confirm. SIL/WHG
Method Help:
- {
- int varid[1];
- int step;
- int write;
- int tempconfirm;
- int select;
- long temp;
- _set_all_resp_code(0);
- _set_device_status(0xFF,0);
- _add_abort_method(18800);
- step = 0;
- write = 1;
- do {
- switch (step)
- {
- case 0:
- step = 0 + 1;
- send_command_trans(173,46);
- send_command_trans(173,28);
- send_command_trans(173,15);
- send_command_trans(173,29);
- send_command_trans(173,30);
- write = 1;
- if (write == 1)
- {
- _get_dev_var_value(literal_string(1587),0,16750);
- send_command_trans(178,196);
- send_command_trans(173,30);
- }
- if (write == 0)
- {
- temp = 16750;
- ACKNOWLEDGE(literal_string(1587) + literal_string(1588));
- }
- send_command_trans(173,46);
- send_command_trans(173,28);
- send_command_trans(173,15);
- send_command_trans(173,29);
- send_command_trans(173,30);
- if (SIL_SILState_1 == 0)
- {
- step = 0;
- }
- break;
- case 1:
- step = 1 + 1;
- send_command_trans(173,46);
- send_command_trans(173,28);
- send_command_trans(173,15);
- send_command_trans(173,29);
- send_command_trans(173,30);
- write = 1;
- if (write == 1)
- {
- _get_dev_var_value(literal_string(350),0,16597);
- send_command_trans(178,11793);
- send_command_trans(173,15);
- }
- if (write == 0)
- {
- temp = 16597;
- ACKNOWLEDGE(literal_string(350) + literal_string(1589));
- }
- send_command_trans(173,46);
- send_command_trans(173,28);
- send_command_trans(173,15);
- send_command_trans(173,29);
- send_command_trans(173,30);
- if (SIL_Commissioning_1 == 32989)
- {
- step = 1;
- }
- break;
- case 2:
- send_command_trans(159,72);
- send_command_trans(159,74);
- send_command_trans(159,73);
- step = 2 + 1;
- send_command_trans(173,46);
- send_command_trans(173,28);
- send_command_trans(173,15);
- send_command_trans(173,29);
- send_command_trans(173,30);
- write = 0;
- if (write == 1)
- {
- _get_dev_var_value(literal_string(1590),0,16616);
- send_command_trans(178,11803);
- send_command_trans(173,29);
- }
- if (write == 0)
- {
- temp = 16616;
- ACKNOWLEDGE(literal_string(1590) + literal_string(1591));
- }
- send_command_trans(173,46);
- send_command_trans(173,28);
- send_command_trans(173,15);
- send_command_trans(173,29);
- send_command_trans(173,30);
- if (SIL_Prepare_1 == 273)
- {
- step = 2;
- }
- break;
- case 3:
- step = 3 + 1;
- send_command_trans(173,46);
- send_command_trans(173,28);
- send_command_trans(173,15);
- send_command_trans(173,29);
- send_command_trans(173,30);
- if (SIL_Commissioning_1 == 236 && SIL_Prepare_1 != 275)
- {
- if (SB_SimulationDistanceOn_1 == 33006)
- {
- write = 1;
- if (write == 1)
- {
- _get_dev_var_value(literal_string(977),0,16939);
- send_command_trans(178,11249);
- send_command_trans(173,31);
- }
- if (write == 0)
- {
- temp = 16939;
- ACKNOWLEDGE(literal_string(977) + literal_string(1592));
- }
Please login for more