Loading…

Method Name: VariableRemapping

Method ID: 0x4145

Method Label: Variable Re-Map

Method Help: Variable re-mapping - Re-map the device variables into PV, SV, TV and QV


  • {
  • long v_id[4];
  • int result1;
  • _set_device_status(0xFF,0);
  • ACKNOWLEDGE(literal_string(654));
  • _add_abort_method(16729);
  • result1 = SELECT_FROM_LIST(literal_string(655),literal_string(656));
  • _iassign(4048,result1);
  • send_command(51);
  • DELAY_TIME(1);
  • send_command(15);
  • DELAY_TIME(1);
  • send_command(50);
  • v_id[0] = 4048;
  • v_id[1] = 4049;
  • v_id[2] = 4050;
  • v_id[3] = 4051;
  • acknowledge(literal_string(653),v_id);


Please login for more