Please enable JavaScript to view this site.

The following syntax can be used to access the single bits of a variable (for those that provide for it):

Syntax

<variable>.<bit>

<variable>.(<expression>)

<variable>

Desired variable

<bit>

Number of bits (#1)

<expression>

Generic expression R3 for calculation number of bits (#1)

(#1) the maximum number depends on the type of variable (e.g., 31 for U32).

From RC3E v.33-01-21 it is possible to access the bit indicated by exp, in round brackets, just as it is accessed from Ladder language. Compatibility with the old syntax is maintained:

<variabile>.<varix>

Translated as <variable>.(<varix>) but with generation of a warning that it should no longer be used. There may in fact be problems with the debugger

Examples

 

  

Keyboard Navigation

F7 for caret browsing
Hold ALT and press letter

This Info: ALT+q
Page Header: ALT+h
Topic Header: ALT+t
Topic Body: ALT+b
Contents: ALT+c
Search: ALT+s
Exit Menu/Up: ESC