182
Software configuration
The
IOExtensionModule
category of the Interface module provides a set of features to configure
the 3617 I/O extension module:
□
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
MIO40
)
4.
Select the single-ended I/O line format
□
Set
IOExtensionModuleLineFormat
to
TTL
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 181
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
The
IOExtensionModuleInformation
category of the Interface module provides information
details.
□
IOExtensionModuleSerialNumber
□
IOExtensionModulePartNumber
□
OExtensionModuleProductCode
□
IOExtensionModuleRevision
□
IOExtensionModuleVariant
eGrabber
Hardware Manual