B6-10
IM 34M06H45-01E
7th Edition : Aug.30, 2019-00
How to Perform [DIO Setup] using BASIC (F3BP
)
Use a CONTROL statement to select whether to reset or hold the output of an output
module.
On 16-point and 32-point modules, the setup is made to the control registers in groups
of 8 terminals.
The statement syntax is given below.
FB0633.VSD
Resets or holds status in the
event of a master CPU failure
(0: Hold; 1: Reset)
Unused (always 0)
Register 4 : terminals 25 to 32
Register 3 : terminals 17 to 24
Register 2 : terminals 9 to 16
Register 1 : terminals 1 to 8
Register 4
Register 3
Register 2
Register 1
15
12
8
4
0
LSB
MSB
Content of Control Register
Syntax
CONTROL
m, 1 ; I
m : Slot number or numerical expression
I
: Data, integer or integer variable
Example
CONTROL 206, 1 ; $ 0010
: for the output module installed in slot 206, resets
terminals 9 to 16 and holds the remaining terminals in
the event of a master CPU failure.
- The control register is reset to all zeroes at startup .
Summary of Contents for F3LR02-0N
Page 2: ...Blank Page...
Page 20: ...Blank Page...
Page 22: ...Blank Page...
Page 28: ...Blank Page...
Page 48: ...Blank Page...
Page 62: ...Blank Page...
Page 64: ...Blank Page...
Page 66: ...Blank Page...
Page 70: ...Blank Page...
Page 74: ...Blank Page...
Page 134: ...Blank Page...
Page 138: ...Blank Page...
Page 140: ...Blank Page...
Page 142: ...Blank Page...
Page 148: ...Blank Page...
Page 156: ...Blank Page...
Page 198: ...Blank Page...
Page 202: ...Blank Page...
Page 208: ...Blank Page...
Page 210: ...Blank Page...