Flags

Flag blocks output their input signal. LOGO! 0BA7 provides 27 digital flags M1 to M27 and 16 analog flags AM1 to AM16. LOGO! 0BA8 provides 64 digital flags M1 to M64 and 64 analog flags AM1 to AM64.

0BA6: 27 digital flags M1 to M27; six analog flags AM1 to AM6.

0BA4, 0BA5: 24 digital flags M1to M24; six analog flags AM1 to AM6

0BA3, 0BA2: eight digital flags M1 to M8
0BA1: four digital flags M1 to M4
0BA0: zero flag

In your block configuration, you can assign a new number to the flag, provided this flag number does not already exist in your circuit program.

The output always carries the signal of the previous program cycle. This value does not change within the current program cycle.

The following special flags have different background colors:

Besides, flag blocks which are configured as email sending trigger event display green backlight.

Startup flag: M8

The M8 flag is set in the first cycle of the user program and can thus be used in your circuit program as a startup flag. It is reset after the first program execution cycle.

In the subsequent cycles, the M8 flag reacts in the same way as the M1 to M64 flags.

Backlight flags

Flags M25, M28 and M29 control the backlight of the LOGO! onboard display. Flags M26, M30 and M31 control the backlight of the LOGO! TDE.

You can use the outputs of timers, message texts, or other function blocks to activate the backlight flags. To enable multiple conditions to control the backlight of the devices, you can use multiple function blocks in parallel or in sequence.

Message text character set flag: M27

The M27 flag, if used, determines whether the message texts of the primary character set or the secondary character set will display. You select the two character sets from either LOGO! or the File → Message Text Settings menu command of LOGO!Soft Comfort. Then when you configure message texts , you select whether a particular message text consists of characters from the primary character set (Character Set 1) or the secondary character set (Character Set 2).

In the circuit program, you can use M27 to enable the message texts of either the primary or secondary character set and to disable the message texts of the other. When M27=0 (low), then LOGO! only displays the message texts from the primary character set; when M27=1 (high), then LOGO! only displays the message texts from the secondary character set.

Analog flags: AM1 to AM64

The analog flags can be used as markers for analog inputs or analog instruction blocks. The analog flag merely accepts an analog value as input and outputs that value.

Overview

M8, M25, M26, M27, M28, M29, M30 and M31 are not available in the UDF Editor.