Loading…

Method Name: ejx_method_change_pv_assign

Method ID: 0x403E

Method Label: Change PV Assgn

Method Help:


  • {
  • char status[3];
  • long var_id[1];
  • int choice;
  • {
  • _set_all_resp_code(0);
  • _set_device_status(0xFF,0);
  • _set_xmtr_device_status(0xFF,0);
  • _set_xmtr_all_resp_code(0);
  • }
  • ;
  • var_id[0] = 4048;
  • choice = select_from_list(literal_string(1520),var_id,literal_string(1521));
  • if (0 <= choice && choice <= 2)
  • {
  • if (_ivar_value(4048) != choice)
  • {
  • if (_ivar_value(4049) == choice)
  • {
  • _vassign(4049,4048);
  • }
  • else


Please login for more