172
TIP
The configuration is saved into a non-volatile memory on the I/O module.
The configuration is automatically restored after applying power.
Software configuration
The
IOExtensionModule
category of the Interface module provides a set of features to configure
the 3610/3612 I/O extension modules:
□
IOExtensionModuleConfiguration
to enter/leave configuration mode
□
IOExtensionModuleLineSelector
to select a MIO to configure
□
IOExtensionModuleLineFormat
,
IOExtensionModuleLineMode
and
IOExtensionModuleLineStatus
to configure the selected MIO
□
IOExtensionModuleLineToRepair
and
IOExtensionModuleErrorCount
to help troubleshoot
an invalid current configuration.
Configuration procedure
1.
Select an Interface module
2.
Enter the configuration mode: set
IOExtensionModuleConfiguration
to
Begin
3.
Select the I/O line to configure: set
IOExtensionModuleLineSelector
to the desired value
(
MIO1
to
MIO20
)
4.
Select the single-ended or differential I/O line format
□
For a single-ended I/O, set
IOExtensionModuleLineFormat
to
TTL
□
For a differential I/O, set
IOExtensionModuleLineFormat
to
DIFF
5.
Select the input or output I/O line mode:
□
For an input, set
IOExtensionModuleLineMode
to
Input
□
For an output, set
IOExtensionModuleLineMode
to
Output
6.
Repeat from steps 3 for all I/O's to configure
7.
Verify the validity of the configuration
□
Get the value of
IOExtensionModuleErrorCount
□
If
0
, the configuration is OK, proceed to next step
□
If greater than
0
, the configuration is NOK, proceed to step 10
8.
Record the configuration
□
Set
IOExtensionModuleConfiguration
to
Commit
□
The procedure is complete!
9.
Repair the configuration
□
Get the value of
IOExtensionModuleLineToRepair
□
Read
"I/O configuration capabilities and constraints" on page 171
to determine why the
indicated MIO doesn’t satisfy the configuration constraints.
□
Adapt the configuration of one (or more) I/O's accordingly by proceeding from step 3 .
Module information
eGrabber
Hardware Manual