Program processing and
system time
12/14 MN05003004Z-EN
30
Functions
ReadBitDirect
A bit of an input module can be read directly with this function.
The state of an input bit is stored in the variables, which indicate
to the parameterized pointer “ptr_xValue”. The pointer variable
will not be changed when a fault occurs during processing.
XIOC-8DO
–
j
0 to 7
–
j
0
1 to 15
XIOC-16DO
–
j
0 to 15
–
j
0
1 to 15
XIOC-16DO-S
–
j
0 to 15
–
j
0
1 to 15
XIOC-12DO-R
–
j
0 to 11
–
j
0
1 to 15
XIOC-16DX
–
j
0 to 15
j
j
0
1 to 15
XIOC-8AI-I2
–
–
–
j
–
0 to 7
1 to 15
XIOC-8AI-U1
–
–
–
j
–
0 to 7
1 to 15
XIOC-8AI-U2
–
–
–
j
–
0 to 7
1 to 15
XIOC-4T-PT
–
–
–
j
–
0 to 3
1 to 15
XIOC-2AO-U1-2AO-I2
–
–
–
–
j
0 to 3
1 to 15
XIOC-4AO-U1
–
–
–
–
j
0 to 3
1 to 15
XIOC-4AO-U2
–
–
–
–
j
0 to 3
1 to 15
XIOC-2AO-U2
–
–
–
–
j
0 to 1
1 to 15
XIOC-4AI-2AO-U1
–
–
–
j
j
AI: 0 to 3, AO: 0 to 1
1 to 15
XIOC-2AI-1AO-U1
–
–
–
j
j
AI: 0 to 1, AO: 0
1 to 15
XIOC-1CNT-100KHZ
–
–
–
–
–
–
1 to 15
XIOC-2CNT-100KHZ
–
–
–
–
–
–
1 to 15
XIOC-2CNT-2AO-INC
–
–
–
j
j
1 to 15
XIOC-SER
–
–
–
–
–
COM2, COM3
1 to 15
XIOC-NET-DP-M
–
–
–
–
–
–
1 to 3
Module
I/O bit access
I/O word access
I/O slot
Read
Write
Param./Module
Read
Write
Param./Module
Param.
Figure 41: ReadBitDirect function
Summary of Contents for XC-CPU101 Series
Page 18: ...II...
Page 22: ...12 14 MN05003004Z EN 4...
Page 42: ...12 14 MN05003004Z EN 24...
Page 64: ...12 14 MN05003004Z EN 46...
Page 88: ...12 14 MN05003004Z EN 70...