130
Part 2 Programs
FMIO (Set IN, INB, OUT, OUTB, OTPS command format)
Command, declaration
Extension condition
(LD, A, O, AB, OB)
Input condition
(I/O, flag)
Command,
declaration
Operand 1
Operand 2
Output
(Output, flag)
Optional Optional
FMIO
Format
type
Prohibited CP
[Function]
Set the data format for reading or writing I/O ports and flags with an IN, INB, OUT OUTB or
OTPS command.
Details of data in each format type are shown for the IN, INB, OUT and OUTB commands.
Data details of the OTPS command are the same as those of the OUT command, where the
only difference is that variable 99 in the OUT command is replaced with current position
data in the OTPS command.
(1) Operand 1 = 0 (Default status when a FMIO command has not been executed)
Data is read or written without being reversed.
(I/O, flag number upper)
(I/O, flag number lower)
01234567h
01h 23h 45h 67h
0000 0001
0010 0011
0100 0101 0110 0111
Variable 99
Temporary data
I/O port, flag status (0 = OFF, 1 = ON)
OUT(B) command
IN(B) command
(2) Operand 1 = 1
Data is read or written after its upper eight bits and lower eight bits are reversed every
16 bits.
(I/O, flag number upper)
(I/O, flag number lower)
01234567h
23h 01h 67h 45h
0010 0011
0000 0001
0110 0111 0100 0101
Variable 99
I/O port, flag status (0 = OFF, 1 = ON)
Temporary data
OUT(B) command
IN(B) command
(3) Operand 1 = 2
Data is read or written after its upper 16 bits and lower 16 bits are reversed every 32
bits.
(I/O, flag number upper)
(I/O, flag number lower)
01234567h
45h 67h 01h 23h
0100 0101
0110 0111
0000 0001 0010 0011
Variable 99
I/O port, flag status (0 = OFF, 1 = ON)
Temporary data
OUT(B) command
IN(B) command
Summary of Contents for ssel
Page 1: ...Operation Manual Eighth Edition SSEL Controller ...
Page 26: ......
Page 50: ...25 Part 1 Installation 3 Specification with system memory backup battery optional ...
Page 385: ...359 ...
Page 495: ......
Page 496: ......