Loading…

方法名称: meth_SetSafetyModeOn

方法ID: 0x4251

方法标签: Safety ON

方法描述: Safety ON The safety mode has to be enabled for safety-relevant applications. In safety mode, safety-limiting values are set to a safety-compatible setting. In addition, you will be prompted to protect the detector with a password. The following settings are set automatically when safety mode is enabled: Current Loop Monitoring: = ENABLED HV Mode = AUTO Test Settings = NORMAL Error Handling = SENSITIV Digital inputs: = OFF Multidrop: Poll Addr = 0


  • {
  • char status[3];
  • int i;
  • SET_NUMBER_OF_RETRIES(7);
  • _set_no_device(2);
  • _set_all_resp_code(0);
  • _set_device_status(0xFF,0);
  • _set_xmtr_all_resp_code(0);
  • _set_xmtr_device_status(0xFF,0);
  • ;
  • send(143,status);
  • if (status[0] != 0)
  • {
  • display_response_status(143,status[0]);
  • process_abort();
  • }
  • ;
  • if (_ivar_value(16398) == _ivar_value(16400))
  • {
  • ACKNOWLEDGE(literal_string(916));
  • }
  • else
  • {
  • send(15,status);
  • if (status[0] != 0)
  • {
  • display_response_status(15,status[0]);
  • process_abort();


请登录以获得完整内容