Loading…
Loading…
Method Name: MthSimulateLimitSwitchD
Method ID: 0x44E7
Method Label: Simulation limit switch D
Method Help:
- {
- char achCmdStatus[3];
- long ai32VariableIds[4];
- _set_device_status(0xFF,0);
- _set_all_resp_code(0);
- _set_xmtr_device_status(0xFF,0);
- _set_xmtr_all_resp_code(0);
- ai32VariableIds[0] = 18403;
- _iassign(18403,0);
- _add_abort_method(18410);
- while (1)
- {
- _get_dev_var_value(literal_string(2191),0,18403);
- if (_ivar_value(18403) == 1)
- {
- _fassign(18371,1.0);
- }
- else
- {
Please login for more