Description
Fireye 85UVF1-1QD
The Fireye 85UVF1-1QD module is connected to position 0 of the special function module, with an average of 4. The D0 and D1 of the PLC receive the average digital value. The module connected to the PLC is Fireye 85UVF1-1QD, and the CMP instruction closes M1 (K2010 equals D4).
2. Establish analog input channels # 1, # 2# The function of the 0 buffer is to initialize channels, specifying channel 1 and channel 4 from low to high, respectively. The definition of bits is: 0- preset range (-10V to 10V). 1- preset range (4mA to 20mA) 2- preset range (-20mA to 20mA); 3– Channel closed. Turn off channels 3 and 4, and set channels 1 and 2 to an analog value range of -10V to 10VDC.
3. Write 4 to buffers # 1 and # 2, setting the average number of samples for channels 1 and 2 to 4. The general meaning is to write the average value of these 4 reads to # 5 and # 6 every 4 reads.
4. Read the current status of Fireye 85UVF1-1QD and determine if there are any errors. If there is an error, the corresponding bit of M10-M22 is closed.
5. If there are no errors, read the values of buffer # 5 and # 6 (average of samples) and save them to PLC registers D0 and D1.