Detailed instructions SEGL

7-segment display instruction latch with


Examples Format: SEGL D0 Y20 K1

[S.]  [D.] [n]

Note: [D.] only use Y


Function: converting binary data D0 into BCD code, supplied with a latch connected to the Y-port of the 7-segment display for display.
Description:  The data in binary form 1. D0, its value range of 0 to 9999 (decimal);
    2. This instruction must use a transistor output;
    3. At a constant scanning period (scan period of 10ms or more);
 
    
NOTE: M8039: constant scan, when turned on, PLC content-D8039 is the scan period of the program.
    4. n = K0 ~ K7, is determined by the logic value of the input signal and the bit selected from the PLC of the display:
 
 

PLC logic:       

Output terminal status is "1" when the output is high - as a "positive logic";
Output terminal status is "1" when the output low - "negative logic";
Numerical Display Input:   
Input high level "1" - "positive logic";
Input low as "1" - "negative logic";
Bit select signal display:   
Gating a strobe signal at a high level - the "positive logic";
Strobe gating low - "negative logic";
 

Guess you like

Origin www.cnblogs.com/iBoundary/p/11317772.html