Chapter 7 IO Module
192 Beijing HollySys Intelligent Technologies Co., Ltd. All Rights Reserved
Positive voltage range (0 ~ 10.25V): Corresponding code value = Positive voltage signal × 32767
/ 10.25
Negative voltage range (-10.25 ~ 0V): Corresponding code value = 65535 + (negative voltage
signal × 32767 / 10.25)
For example, the channel 3, if the range of "-10.25 ~ +10.25V" is selected and the over-limit alarm
enables, the user defines the upper limit voltage 10V, the lower limit voltage -10V, then the alarm
upper limit = 10 × 32767 / 10.25 = 31968, the alarm lower limit = 65535 + (- 10 × 32767 / 10.25) V
= 33567, the relevant user parameter settings are shown in Figure 7-18.
Figure 7-18 Example of Parameter Setting of Over-limit Alarm with Selected Range
7.3.6 Diagnosis
The input channel of LK410 can detect over range, over-limit and line broken, which are channel
diagnosis features. Power input channel can implement field power down detection, which is device
diagnosis. After calling the function block sysGetDPSlaveState (Get Diagnosis of DP Slave), the
channel diagnosis data and the device diagnosis data reported by LK410 are saved into the output
parameter
DiagData
in the function block.
Diagnostic information of LK410 up to 28 bytes, wherein 2 bytes are device-related diagnosis, 2 bytes
are identification diagnosis and 24 bytes are channel diagnosis. For eight channel of LK410, The
diagnosis information for each channel is 3 bytes.
Device diagnosis information
The device diagnosis data is 0x02,0x00 indicates that there is no fault on the current device.
The device diagnosis data is 0x02, 0x01 indicates that the current device has channel fault.
The device diagnosis data is 0x02, 0x03 indicates that the current device has both channel fault
and calibration fault.
Identification number diagnostic information
When there is diagnosis information reported, the 2-byte identification number diagnosis
information is 0x42, 0x01.
Channel diagnosis information
The channel diagnosis information is shown in Table 7-13.
Table 7-13 Specifications for LK410 Channel Diagnosis Information