Download CMWIN User manual
Transcript
PC-Software CMWIN V03 Page 51 A.2.8 Error Event Error handling can be implemented with the function Error event. The Boolean output is switched to "1" when an error condition is present. The output is switched back to "0" if the error disappears. The type of error event can be set with the Event parameter. The following events are possible: Below signal range A sensor has a cable break, for example Above signal range The signal of one sensor is above the signal range Incorrect sensor constellation There is either no sensor, or an incorrect sensor connected to one sensor connection port. Numerical error An error occured during a calculation, e.g. division by 0 or square root of a negative number, logarithm from 0, etc. Cycle time exceeded The set cycle time was exceeded. Inputs: Outputs: Parameters: y: p1: (Boolean) Event (input list) A.2.9 Boolean Constants The Boolean Constant function supplies a Boolean value which is defined in the Editor and which does not change during the running time. That means that the parameter entered in the Editor is output during the running time at the output. Inputs: Outputs: Parameters: y: p1: (Boolean) Value (Boolean) A.2.10 State-bit The function Show Stat-bit provides the status of the bit defined by the "Sensor port" and "Bit location" parameters in the status code of the selected SMART sensor (status code is sensor-specific) at the Boolean output. Inputs Outputs: Parameters: V03 R26 2011/08/24 y: p1: p2: (Boolean) Sensorport (Channel A .. Channel H) Bit location (0 .. n -sensorabhängig-) HYDAC ELECTRONIC GMBH Mat. No. 669844