![YOKOGAWA F3LC11-1F User Manual Download Page 47](http://html1.mh-extra.com/html/yokogawa/f3lc11-1f/f3lc11-1f_user-manual_3448059047.webp)
A1-33
IM 34M6H41-02E 2nd Edition : Aug. 1, 2005-00
To change specific bits of output data, use a mask pattern. Data bits corresponding
to 1s in the mask pattern will change, but those corresponding to 0s will not.
Example:
Output data
P = $0640
0 0 0 0 0 1 1 0 0 1 0 0 0 0 0 0
Mask pattern
M = $0750 0 0 0 0 0 1 1 1 0 1 0 1 0 0 0 0
↓
Output relay before execution
$3B36
0 0 1 1 1 0 1 1 0 0 1 1 0 1 1 0
Output result
$3E66
0 0 1 1 1 1 1 0 0 1 1 0 0 1 1 0
(3) Accessing mode registers
- Reading from mode registers
To read from mode registers, use the STATUS statement.
STATUS SL, n ; I
SL : Slot number
n : Data position number
I : Integer-type variable or integer-type array variable for storing read
data
- Writing to mode registers
To write to mode registers, use the CONTROL statement.
CONTROL SL, n; I
SL : Slot number
n : Data position number
I : Constant, or integer-type variable or integer-type array variable storing
data to be written.
(4) Accessing output data registers
- Writing to output data registers
To write to output data registers, use the OUTPUT statement.
OUTPUT SL, n, NOFORMAT; I
SL: Slot number
n : Data position number
I : Constant, or integer-type variable or integer-type array variable storing
data to be written.
Summary of Contents for F3LC11-1F
Page 2: ......
Page 12: ...Blank Page...
Page 48: ...Blank Page...
Page 65: ...A3 7 IM 34M6H41 02E 2nd Edition Aug 1 2005 00 430 PR CLOSE 440 450 FIN 460 470 END...
Page 74: ...Blank Page...
Page 82: ...Blank Page...
Page 92: ...Blank Page...
Page 94: ...Blank Page...
Page 120: ...Blank Page...
Page 136: ...B3 6 IM 34M6H41 02E 2nd Edition Aug 1 2005 00 450 460 END...
Page 140: ...Blank Page...
Page 142: ...Blank Page...
Page 146: ...Blank Page...
Page 148: ...Blank Page...
Page 168: ...Blank Page...
Page 176: ...Blank Page...
Page 200: ...Blank Page...
Page 202: ...Blank Page...