Loading…
Loading…
Method Name: FieldCommunicator_SILSequence_SequenceMethod_1
Method ID: 0x4779
Method Label: SIL/WHG confirm.
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(18298);
- step = 0;
- write = 1;
- do {
- switch (step)
- {
- case 0:
- step = 0 + 1;
- send_command_trans(173,36);
- send_command_trans(173,31);
- send_command_trans(173,17);
- send_command_trans(173,31);
- send_command_trans(173,16);
- write = 1;
- _get_dev_var_value(literal_string(610),0,16750);
- if (write == 1)
- {
- send_command_trans(178,196);
- send_command_trans(173,16);
- }
- send_command_trans(173,36);
- send_command_trans(173,31);
- send_command_trans(173,17);
- send_command_trans(173,31);
- send_command_trans(173,16);
- if (SIL_SILState_1 == 0)
- {
- step = 0;
- }
- break;
- case 1:
- step = 1 + 1;
- send_command_trans(173,36);
- send_command_trans(173,31);
- send_command_trans(173,17);
- send_command_trans(173,31);
- send_command_trans(173,16);
- write = 1;
- _get_dev_var_value(literal_string(295),0,16597);
- if (write == 1)
- {
- send_command_trans(178,11793);
- send_command_trans(173,17);
- }
- send_command_trans(173,36);
- send_command_trans(173,31);
- send_command_trans(173,17);
- send_command_trans(173,31);
- send_command_trans(173,16);
- if (SIL_Commissioning_1 == 32989)
- {
- step = 1;
- }
- break;
- case 2:
- send_command_trans(159,66);
- send_command_trans(159,68);
- send_command_trans(159,66);
- send_command_trans(159,67);
- send_command_trans(159,67);
- send_command_trans(159,66);
- send_command_trans(159,66);
- send_command_trans(159,66);
- send_command_trans(159,66);
- send_command_trans(159,66);
- send_command_trans(159,66);
- send_command_trans(159,67);
- send_command_trans(159,66);
- send_command_trans(159,67);
- send_command_trans(159,66);
- send_command_trans(159,68);
- send_command_trans(159,66);
- send_command_trans(159,66);
- step = 2 + 1;
- send_command_trans(173,36);
- send_command_trans(173,31);
- send_command_trans(173,17);
- send_command_trans(173,31);
- send_command_trans(173,16);
- write = 0;
- _get_dev_var_value(literal_string(301),0,16616);
- if (write == 1)
- {
- send_command_trans(178,11803);
- send_command_trans(173,31);
- }
- send_command_trans(173,36);
- send_command_trans(173,31);
- send_command_trans(173,17);
- send_command_trans(173,31);
- send_command_trans(173,16);
- if (SIL_Prepare_1 == 273)
- {
- step = 2;
- }
- break;
- case 3:
- step = 3 + 1;
- send_command_trans(173,36);
- send_command_trans(173,31);
- send_command_trans(173,17);
- send_command_trans(173,31);
- send_command_trans(173,16);
Please login for more