Fireye 85UVF1-1QD Communication Program

Fireye 85UVF1-1QD

Main Technical Parameter

Channel configuration: 32 switching inputs
Scanning period: 2ms
Logic 1 (minimum): Contact closure impedance <5Ω
Logic 0 (max): contact closure impedance >25kΩ

Category:
Get a quote, please contact me immediately:
Simon Zhang
dcsplcsales@gmail.com
Phone/Whatsapp/Skype/Wechat: +86 133 6590 9307

Description

Fireye 85UVF1-1QD Communication Program


The Fireye 85UVF1-1QD is to prevent confusion of the start and end characters with the data characters. Because the start and end characters of the message are only 8 bits, the chance of data characters identical to the start or end characters appearing in the data area of the received message is very high, which may cause character confusion. It is possible to make some kind of data processing before sending, for example, selecting the start character and end character as some special values, and converting the digital character into BCD code or ASCII code before sending, so as to avoid the above situation, but it will increase the workload of programming and the time of data transmission.

The Fireye 85UVF1-1QD transmit instruction XMT (Transmit) is used to initiate the transmission of data from the data buffer (TBL) in the free port mode, and the format of the instruction is shown in Figure 1. The information stored in the data buffer (TBL) is sent through the specified communication port (PORT). Error conditions that make ENO=0: SM4.3 (runtime), 0006 (indirect addressing), 009 (simultaneous XMT/RCV at port 0), 000B (simultaneous XMT/RCV at port 1).

The Fireye 85UVF1-1QD instruction makes it easy to send from 1 to 255 characters. if an interrupt program is connected to the end-of-send event, port 0 generates interrupt event 9 when the last character in the buffer has been sent and port 1 generates interrupt event 26. you can monitor the change of the send completion status bits SM4.5 and SM4.6 instead of sending with an interrupt. . The start and end characters in the data buffer are optional, and the “number of characters” in the first byte is the number of bytes to be sent, which is not sent itself.