03/05 AWB2724-1453GB
Direct peripheral access
29
XC100_SysLibCom.lib library
The “XC100_SysLibCom.lib” library provides functions to operate
the RS232 interface in transparent mode.
The description of the “XC100_SysLibCom.lib” library can be
found in the manual in the “RS232 interface in transparent mode”
section.
XC100_Util.lib library
The “XC100_Util.lib” library also provides various function blocks
e.g., in order to integrate the following functionality's in the
application:
You can find the descriptions of the function blocks in the manual
“Function Blocks for XSoft” (AWB2786-1456GB).
Direct peripheral access
The “Direct peripheral access” function enables access directly to
the local and central input and output signals of the control. The I/
O access does not occur via the input/output image. The local and
central input and output signals you can find the input and output
signals of the CPU and the centrally expanded XC200 control with
the XIOC signal modules. XIOC signal modules which can be
integrated via a bus system cant be accessed via the “Direct
peripheral access”.
Addressing is dependent on the slot number “0 to 15” of the
signal modules. Further differentiation within the slot exists and
relates to bit number “0 to max. 63” of the Inputs/Outputs.
Depending on the functionality of the XIOC signal modules, access
occurs as a bit/word or read/write operation. The access
parameters are indicated in table 4.
The inputs/outputs which are required for “Direct peripheral
access” are physically connected in the same manner as normal
inputs/outputs.
Table 4: “Direct peripheral access” overview
Figure 38: Functions of the “XC100_SysLibCom.lib”
Figure 39: Functions of the “XC100_Util.lib”
Modules I/O bit access I/O word access I/O slot
Read Write Param./Module Read Write Param./Module Param.
XC-CPU101-C256K-8DI-6DO j j DI: 0 to 7; DO: 0 to 5 j j 0 0
XC-CPU101-C256K-8DI-6DO-XV
j j DI: 0 to 7; DO: 0 to 5 j j 0 0
XC-CPU101-C128K-8DI-6DO
j j DI: 0 to 7, DO: 0 to 5 j j 0 0
XC-CPU101-C128K-8DI-6DO-XV
j j DI: 0 to 7, DO: 0 to 5 j j 0 0
XC-CPU101-C64K-8DI-6DO
j j DI: 0 to 7, DO: 0 to 5 j j 0 0
XC-CPU101-C64K-8DI-6DO-XV j j DI: 0 to 7, DO: 0 to 5 j j 0 0
XIOC-8DI
j – 0 to 7 j – 0 1 to 15
XIOC-16DI
j – 0 to 15 j – 0 1 to 15
XIOC-16DI-AC
j – 0 to 15 j – 0 1 to 15
XIOC-8DO
– j 0 to 7 – j 0 1 to 15
XIOC-16DO – j 0 to 15 – j 0 1 to 15