System examples, General purpose i/o example, Figure 5 - i/o group configuration – CTI Products IOB I/O Interface User Manual

Page 26: Table 18 - example system text definition, 1 general purpose i/o example

Advertising
background image

IOB Hardware Reference

System Examples

CTI Products, Inc.

68-11168-105

21

7. System

Examples

This section contains various examples that describe the different operating modes
of the IOB module.

7.1

General Purpose I/O Example

Figure 5 shows a general purpose I/O system that is monitored from a local PC.

CA-80277-100

CIRCUIT

USER APPLICATION

IOB

CIRCUIT

1
2
3
4

I/O BIT

I/O GROUP

1-8

RUN
ACTIVE
STEP
FAIL

(INPUT)

(INPUT)

(OUTPUT)

(OUTPUT)

Figure 5 - I/O Group Configuration

For this application, we will need to create a custom status text category in the
MCNRCD.CFG file so that the MCNRCD software can display meaningful status
messages. Before editing the MCNRCD.CFG file, we need to define our custom
text messages. Table 18 shows the functions for each I/O bit.

I/O Bit #

Function

Binary Weight

1

Run

01 hex

2

Active

04 hex

3

Step

10 hex

4

Fail

40 hex

Table 18 - Example System Text Definition

Next we need to create a custom text table for all possible input value field
combinations. Table 19 shows the custom text messages and the corresponding
input value fields.

Advertising