OCS-I/O Modules

See also: General I/O Configuration

 

Topic Menu

 

OCS-I/O via CsCAN

Horner OCS-I/O is a Remote I/O option that connects via CsCAN Network to all Horner OCS host Controllers that includes XL series, Micro OCS series, XL Prime , and XL Canvas Series.

OCS-I/O hardware consists of a Horner HE959CNX116 CsCAN Base Unit with up to 7 Horner OCS I/O Modules stacked onto it. Controllers which have CsCAN port supports CsCAN I/O Configuration, including OCS-I/O modules.

Note: Each Host Controller can access up to 16 OCS-I/O Base Units.

 

OCS-I/O Configuration

To configure OCS-I/O, from Hardware Configuration dialog, select the model that supports CsCAN I/O and click on the ‘CsCAN I/O’ tab.

Select CAN1 (CsCAN) I/O to open the screen below:

Selecting Add opens the following dialog:

The CsCAN I/O supports Smart Rail, OCSIO, Smart Stix, Smart Block & other types of modules.

Selecting OCSIO tab brings up the below displayed window:

Select HE959CNX116 in the OCS-I/O tab and then click the OK button, which opens the Configure OCS-I/O dialog, as shown below:

Node Details

  • Base Name: Any descriptive text (0 to 15 characters).

  • Network ID: OCS-I/O Base Unit Network ID (1 to 79). NOTE: In single OCS-I/O base configuration change in Network ID requires power cycling of the base to re-establish communication with the host controller.

  • Enable OCS-I/O: When this option is checked Input/Output data from Host controller will get transmitted to OCSIO. If the option is unchecked Input /Output data will NOT get transmitted to OCSIO but communication between the Host controller and OCS-I/O will be healthy.

  • Device UUID: Each OCS-I/O base requires a Unique ID to establish communication with the host controller. In case of Single Base OCS-I/O entering UUID is not required, host controller can automatically assign that. In case of Multiple base configurations, it is Mandatory to enter UUID of each base.

  • Status Register: Host controller reports the communication status of the OCSIO Base unit and stacked IO Modules in Fifteen consecutive registers

  • Digital Inputs Start: Start of OCS register block where digital input data will be stored

  • Digital Outputs Start: Start of OCS register block containing source data for digital outputs

  • Analog Inputs Start: Start of OCS register block where analog input data will be stored

  • Analog Outputs Start: Start of OCS register block containing source data for analog outputs

  • Comm Timeout: Maximum time Base Unit or Host Controller will wait to indicate / act on loss of communication (40 to 255000 mS).

 

Onboard I/O

OCS-I/O base supports 2 Digital/Analog Inputs, 1 universal Analog Input and 1 Analog Output. Configuration for this Inputs/outputs are done by selecting Onboard I/O tab.

Selecting Onboard I/O displays below window:

Return to the Top: OCS-I/O Modules

OCSIO Base Identification

OCSIO Base Identification Feature:

OCSIO base identification feature supports seamless identification of OCSIO CNX bases during system configuration, field servicing, or troubleshooting, without requiring manual changes to UUIDs when loading old program backups or replacing hardware. This feature is supported in Prime/CANVAS devices from FW 17.30 and CS10.2 versions.

 

Base Identification from Cscape:

  1. Initiate Auto-Populate from CScan I/O HW configuration window.

  2. Select the Base from the list of Auto-populated bases.

  3. Click on Identify button in Auto-populate window

  4. Identified CNX Base will blink its OK LED @ 1Hz, for 3 times.

 

Add CsCan I/O

  1. From the OCSIO tab, select a Base, then select Auto Populate All.

  1. Select the Base from the list of auto-populated bases and select Identify Base. Cscape will show the following pop up if the selected base is identified successfully.

Note: If the user presses Identify Base without selecting a base, the following pop up error will appear.

Note: If the selected base does not return a response, the following message will appear.

 

Base Identification through the Configuration Register

Do the following to identify bases through configured registers or variables.

  1. Configure Register (%Rx+1) and download to the controller.

  • Example: %R200 – User must provide Net ID of the base to be identified.

    • %R201.1 – Trigger command to identify the base.

    • %R201.2 – This error bit will set if the provided base Net ID to identify is not available in the network.

    • %R201.3 – This timeout error bit will set if there is no response from the base or network failure.

  1. Identified CNX Base will blink its OK LED @ 1Hz, for 3 times after triggering, or else the error bit will set.

Note: It is recommended to use a trigger bit as pulse command. If the user want to use it as a toggle, then the bit must be reset to start the identification process again.

Base Identification from System Menu

This option is to identify the base on field using System Menu of the unit.

  1. From the System Menu navigate to View I/O slots > OCSIO configuration > OCSIO Setting.

  2. From the displayed list of configured OCSIO bases, select the base with status as “OK”.

  3. Click the Identify button onscreen.

  4. The identified CNX Base will blink its OK LED @ 1Hz, for 3 times.

 

 

If the program loaded in the device is having different UUID and does not match with the UUID of the currently installed CNX base, then follow these steps to identify the base and assign correct net Id’s as per the requirement.

 

  1. Navigate to System Menu > View I/O slots > OCSIO configuration > OCSIO Setting.

  2. Select the Base from the list of available bases and assign the UUID screen

 

Known Issues

  • From the System Menu on the OCSIO main screen, the system can only identify and display information for bases with “OK” status. If a base is in “Fault” or “Config Mismatch” status, the identification feature does not function.

  • When a base is not identified (e.g., due to a communication failure or configuration mismatch), the System Menu does not display any timeout or error message.

 

 

Return to the Top: OCS-I/O Modules

 

Analog Inputs

Universal In: Check this option to select the universal Analog Inputs type, Data Range and Filter values. If this is unchecked the Analog Input channel will get disabled.

Data Type: Select the Analog Input source data type from the drop down. OCS-I/O CNX base universal Analog Input supports 0-10V,0-20ma,4-20ma,0-60mv, Thermocouples J, K, T, E, N, R, S, B, PT100 and PT1000.

Data Range: Select Data range for the Analog Input. Data range depends on the Input type selected.

Data Range

Input Type

Data Range

0-20mA

0~4000, -2000~2000,0~1000,0~2000,0~32000

4-20mA

0~4000, -2000~2000,0~1000,400~2000,0~32000

0-10V

0~4000, -2000~2000,0~1000,0~32000

0-60mV

0~4000, -2000~2000,0~1000,0~32000

Thermocouple J, K, T, E, N, R, S, B

Degree Celsius and Fahrenheit

PT100 and PT1000

Degree Celsius and Fahrenheit

Filter Constant: Analog Inputs can be filtered Digitally with this Filter constant values. Valid filter values are 0 to 7.

Alarm: OCS-I/O status register has Three bits to indicate Alarm condition of Analog Inputs. User must configure values for Low Low, Low, High and High High to trigger alarm. Once the Analog Input value reaches the Alarm values then the Alarm bit in status Register will get triggered.

Alarm Bit Registers

ALM Warning

ALM1

ALM0

Alarm

1

0

0

LL

0

0

1

L

0

0

0

Normal

0

1

0

H

1

1

1

HH

Alarm values can be given as a fixed values or through Register. Four consecutive Registers are used for providing alarm values through Registers. See also: System Register Tables

Config Register: Analog Input Type, Data Range, Filter values can be selected through Register. Configure Register in this field and user must move predefined values to the register to select the required Input type, range, and filter.

Note: When Analog Input is configured through Register and Alarm is used as fixed value means, whenever the user changes the data range configuration by changing the dynamic value, the fixed alarm values remain the same and lead to alarm discrepancy. It is recommended to configure Alarm values through Registers if the Universal Analog Input configuration is through Registers.

Return to the Top: OCS-I/O Modules

 

Digital/Analog Inputs

OCS-I/O CNX base supports Two Digital Inputs which can be configured as Analog Inputs also.

  • Channel 1/Channel 2: Check this option to enable Channel 1/Channel 2.

  • Mode: Select the mode of the channel, Digital or Analog

  • Digital Mode: Digital Mode Supports Voltage Range 24V, 12V, 5V and custom ranges.

  • ON and OFF Threshold: In Digital input Custom mode, user can select the Voltage Range to ON and OFF the Input.

  • Digital Input Active Mode: Select the Digital Input source as Positive or Negative Logic for the selected channel.

  • Analog Mode: In Analog Mode each channel supports 0-10V and 4-20mA Input types and Data ranges as in above table (Table 1 Data Range)

  • Config Register: For digital inputs: Voltage Range can be selected by configuring register in this field. Each channel has separate configuration Registers. For Analog Inputs: Mode, Data type and Data Range can be selected by configuring register in this field. Each channel has separate configuration registers.

Return to the Top: OCS-I/O Modules

 

Analog Outputs

OCS-I/O CNX base supports one Analog Output.

Channel 1: Check this option to select the Analog Outputs type, Data Range and Halt State. If this is unchecked, the Analog Output channel will be disabled.

Data Type: Select the Analog Output data type from the drop down, supported data types are 0-10V,0-20mA and 4-20mA.

Data Range: Select data range for the configured Analog output.

  • Halt State: Select Analog Output value when controller goes to Idle Mode or communication with the host controller get stopped.

  • Current: Output the current value in configured Analog Output Register.

  • Minimum: Output the Minimum value of selected data type.

  • Maximum: Output the maximum value of selected data type.

  • Median: Output the average value of selected data type.

Config Register: Analog Output Type, Data Range and Halt State can be selected through Registers. Configure Register in this field, and user must move predefined values to the register to select the required output type, range, and halt state values.

Digital Output: Select the Digital Output state on controller Stop or communication with host controller get stopped.

DO Halt State:

  • On - Digital Output will On

  • Off - Digital Output will Off

  • Hold - Digital Output will remains in current state

Return to the Top: OCS-I/O Modules

 

Auto Populate All

Cscape has the feature to automatically detect the connected OCS-I/O CNX base and the attached I/O Modules by using Auto Populate All .

In Add Cscan I/O dialog, click on “Auto Populate All” to detect the connected OCS I/O bases in the Network. Base information will get fetched to Cscape and it will get added in the configuration.

 

Auto Populate I/O

Cscape also has the feature to automatically detect the connected I/O modules to the Base using Auto Populate I/O. The OCS-I/O CNX base must be manually configured and communication between host controller and base must be established to detect the I/O modules connected to Base.

 

Click on Auto Populate I/O to detect the I/O modules connected to the Base and once detected the Modules will get added to the configuration in Cscape.

Note: Auto Populate I/O will delete the currently configured I/O modules in Cscape and will get updated with detected I/O modules.

Return to the Top: OCS-I/O Modules

 

OCS-I/O CNX Base LED Indicators

CNX Status LED

CNX Status LED

Status

Power

OK (ü)

MS

NS

10-30VDC applied

ON

ANY

ANY

ANY

Self Test fail

ON

ANY

OFF

ANY

Self Test Pass

ON

ANY

ANY

ANY

Network Normal

ON

ON

ON

ON

Duplicate ID

ON

ON

ON

OFF

Communication Timeout

ON

ON

ON

Flash

(1 HZ)

Configuration Mismatch

ON

Flash

(1 HZ)

ON

Flash

(1 HZ)

OCS Stop Mode

ON

ON

ON

Flash

(1 HZ)

OCS Run Mode

ON

ANY

ANY

ANY

Onboard I/O fault

ON

OFF

ON

ON

Invalid Dynamic Configuration

ON

Flash

(1 HZ)

ON

ON

Power Up / Waiting to be configured

ON

ON

Flash

(1 HZ)

Flash

(1 HZ)

 

CNX LED status for Individual I/O Channels

Note: Channel LED will be in OFF state if it is disabled from Cscape configuration.

Individual I/O Channels

I1

Flexible Input-1 active**

I2

Flexible Input-2 active**

Q1

Digital Output-1 active

Q2

Digital Output-2 active

AI1

Analog Input Active *

AQ1

Analog output Active

*

  • LED will be ON during Normal operations.

  • Analog Input channel configured as mA, Volts or mV LED will be OFF till the input signal is 0+0.2%

  • Analog Input channel configured as PT100, PT1000 LED will be OFF if open circuit is detected, LED will be ON during Normal operation

  • Analog Input channel configured as Thermocouple Input LED will be ON if the channel is Enabled.

**

  • Flexible Input channels configured as Digital; LED reflects Digital Input state

  • Flexible Input configured as ma or volts, LED will be OFF till the Input signal is 0+0.2%

Return to the Top: OCS-I/O Modules

 

OCSIO CNX Base Status Registers

OCS-I/O CNX base and stacked IO modules status registers: 

Base Status Registers
Register

16 - 10

9 8 7 6 5 4 3 2 1
1 IOE CME
2 IOCS WDG TRIP
3 Reserved

NO-CFG

LIFE ERROR

ALME

ALM1

ALM0

DI2 US

DI1 US

OFFLINE

PUP
4 IO Base Net ID
5

IO Base Type

6

IO Base Scan Rate

7

IO Base Watchdog Trip Count

8-15 FW Version
  • CME- Each bit (bit1 – bit8) represents configuration mismatch error of each IO modules (Module 1 to Module 8)

  • IOE – Each bit (bit9 – bit 16) represents IO modules error (Module 1 to Module 8)

  • WDG TRIP – IO base watchdog trip count

  • IOCS- Each bit (bit9 – bit 16) represents IO modules calibration status (Module 1 to Module 8)

  • PUP – Power up error (sticky bit)

  • OFFLINE – OCSIO is offline

  • DI1 US - High when Digital input 1 is in undefined state

  • DI2 US – High when Digital input 2 is in undefined state, e.g: If 24V input range selected then I1 US bit set if voltage between 8V to 16V

  • ALE- Alarm Error

  • ALM0 – Alarm Bit

  • ALM1 – Alarm bit

  • LIFE ERROR – sticky bit set when OCSIO went to offline and back to online

  • NO CFG – OCS-I/O configuration status

Return to the Top: OCS-I/O Modules

 

Digital Input Module

DIM620: Supports 8 Digital Inputs with AC voltage active Range 80-260VAC.

Update Method: An I/O Module with digital inputs can be configured to update its digital input data either on change of state or periodically. The update period is programmable from 10 mS to 255 Seconds.

Return to the Top: OCS-I/O Modules

 

Mixed Digital Modules

DIQ512: Supports 4-point Digital Inputs and 4 Relay Output

DIQ616: Supports 8-point Digital Inputs and 8-point 24V DC Output

  • Filter: Select the filter settings, for digital input modules. The changes in input state less than this setting are not reflected in the configured register.

  • Update Method: An I/O Module with digital inputs can be configured to update its digital input data either on change of state or periodically. The update period is programmable from 10 mS to 255 Seconds

  • Digital Input Active Mode: Select the mode for Digital Input signal as either positive or Negative Logic.

  • Digital Output on Controller Stop: Digital outputs normally turn off if communication is lost with the Host Controller or if the Host Controller goes into IDLE mode. However, digital outputs can optionally be configured to hold last state or Turn ON instead.

Return to the Top: OCS-I/O Modules

 

Digital Output Module

DQM502: Supports 4 Relay output

Digital Output on Controller Stop: Digital outputs normally turn off if communication is lost with the Host Controller or if the Host Controller goes into IDLE mode. However, digital outputs can optionally be configured to hold last state or Turn ON instead.

Return to the Top: OCS-I/O Modules

 

Analog Input Module

ADU100: Supports 4 channel Analog Inputs

  • Filter Constant: Analog Inputs can be filtered Digitally with this Filter constant values. Valid filter values are 0 to 7.

  • Data Type: Select the input Data Type as voltage / current/Thermocouple/RTD from the dropdown list. Each analog input channel can be Disabled by selecting option” Disable” in the drop-down menu.

  • Data Range: Select the data range for the input. Analog input is scaled based on the Data type and Data range selected; and reflected in the configured register.

Note: Refer the Data Range table in Analog Inputs for analog input supported data type and data range.

  • Input Update Method: An I/O Module with analog inputs always updates its analog input data periodically. The update period is programmable from 10 mS to 255 Seconds.

  • Analog Input type, Data Range, Filter values can be selected through Register. Configure register in this field and user must move predefined values to the register to select the required input type, range and filter.

Return to the Top: OCS-I/O Modules

 

Analog Output Module

DAC107: Supports 4 channel Analog outputs

Data Range
Output Type Data Range
-10 - +10V 0~4000, -2000~2000,0~1000,0~32000
0-10V 0~4000, -2000~2000,0~1000,0~32000
0-20mA 0~4000, -2000~2000,0~1000,0~2000,0~32000
4-20mA 0~4000, -2000~2000,0~1000,400~2000,0~32000
  • Data Type: Select the Analog Output range from the dropdown list

  • Data Range: Select the data range for the analog output from the dropdown list. The analog output will be scaled according to the data in the configured register, selected data type and data range. Each analog Output channel can be Disabled by selecting option” Disable” in the dropdown

  • Halt State: Each analog output can be configured to either hold its current value or go to minimum, Average or maximum value, if communication is lost with the Host Controller or if the Host Controller goes into IDLE mode.

  • Analog Output type, Data Range, halt state values can be selected through Register. Configure register in this field and user must move predefined values to the register to select the required output type, range and halt state.

Return to the Top: OCS-I/O Modules

 

Dynamic I/O Configuration: Definition for Onboard I/O

Config Register: If a Config Register is configured, it takes immediate precedence over other configuration for the I/O, thus requiring valid values in the registers. These values can be changed during runtime, so care needs to be taken to not mistakenly overwrite these values and program logic.

Return to the Top: OCS-I/O Modules

 

Analog Input: Universal In

Analog Input uses three consecutive 16-Bit registers for configuration and each register has the following description:

As an example, if %R100 is configured for Analog Inputs:

  1. Universal AI Data type- %R100

    Data Type Value
    0-10V 0
    0-20mA 1
    4-20mA 2
    0-60mV 3
    J Thermocouple 4
    K Thermocouple 5
    T Thermocouple 6
    E Thermocouple 7
    N Thermocouple 8
    R Thermocouple 9
    S Thermocouple 10
    B Thermocouple 11
    PT100 12
    PT1000 13
  2. Universal AI Data Range-- %R101

    0-10V

    Range

    0-20mA

    Range

    4-20mARange 0-60mV

    Range

    RTD Thermocouples Value
    0~4000 0~4000 0~4000 0~4000

    Reserved

    Reserved

    0

    -2000~2000 -2000~2000 -2000~2000 -2000~2000

    Reserved

    Reserved

    1

    0~1000 0~1000 0~1000 0~1000

    Reserved

    Reserved

    2

    Reserved 0~2000 Reserved Reserved

    Reserved

    Reserved

    3

    Reserved Reserved 400~2000 Reserved

    Reserved

    Reserved

    4

    0~32000 0~32000 0~32000 0~32000

    Reserved

    Reserved

    5

    Reserved Reserved Reserved Reserved

    Reserved

    Reserved

    6

    Reserved Reserved Reserved Reserved

    °C

    °C

    7

    Reserved Reserved Reserved Reserved

    °F

    °F

    8

  3. Universal AI Filter Constants (0 to 7)- % R102

Return to the Top: OCS-I/O Modules

 

Digital/Analog Channel 1

Flexible Input uses five consecutive 16-Bit registers for configuration and each register has the following description:

As an example, if %R200 is configured for Digital Inputs Channel 1. Consider if Channel 1 is selected Analog:

  1. Channel 1 Mode- %R200

    Mode Value
    Digital 0
    Analog 1
  2. Channel 1 Data Type- %R201

    Data Type Value
    0-10V 0
    4-20mA 2
  3. Channel 1 Data range- %R202

    0-10V Range

    4-20mA Range

    Value
    0~4000 0~4000

    0

    -2000~2000 -2000~2000

    1

    0~1000 0~1000

    2

    Reserved Reserved

    3

    Reserved 400~2000

    4

    0~32000 0~32000

    5

Return to the Top: OCS-I/O Modules

 

Digital/Analog Channel 2

As an example, if %R300 is configured for Digital Inputs channel 2. Consider if Channel 2 is selected as Digital: 

  1. Channel 2 Mode as Digital: %R300

    Mode Value
    Digital 0
    Analog 1
  2. Channel 2 Voltage Range: %R301

    Voltage Range

    Value

    24V

    0

    12V

    1

    5V

    2

    Custom

    3

  3. Channel 2 ON Threshold (5 to 20): %R302

  4. Channel 2 OFF Threshold (5 to 20): %R303

    Note: ON Threshold should be greater than OFF Threshold in Positive logic

    Note:  OFF Threshold should be greater than ON Threshold in Negative logic

  5. Active Mode: %R304

    Mode Value
    Positive Logic 0
    Negative Logic 1

Return to the Top: OCS-I/O Modules

 

Analog Output Channel

Analog Output uses three consecutive 16-Bit registers for configuration and each register has the following description. As an example, if %R400 is configured for Analog Output channel: 

  1. Analog Output data type: %R400

    Data Type Value
    0-10V 0
    0-20mA 1
    4-20mA 2
  2. Analog Output Data Range: %R401

    0-10V Range

    0-20mA Range

    4-20mA Range

    Value
    0~4000 0~4000 0~4000

    0

    -2000~2000 -2000~2000 -2000~2000

    1

    0~1000 0~1000 0~1000

    2

    Reserved 0~2000 Reserved

    3

    Reserved Reserved 400~2000

    4

    0~32000 0~32000 0~32000

    5

  3. Analog Output Halt State: %R402

    Halt State

    Value

    Current

    0

    Minimum

    1

    Maximum

    2

    Average

    3

  4. Analog Output Module

    Data Range

    Output Type Data Range

    -10 - +10V

    0~4000, -2000~2000,0~1000,0~32000

    0-10V

    0~4000, -2000~2000,0~1000,0~32000

    0-20mA

    0~4000, -2000~2000,0~1000,0~2000,0~32000

    4-20mA

    0~4000, -2000~2000,0~1000,400~2000,0~32000

Return to the Top: OCS-I/O Modules

 

CNX116 Dynamic I/O Configuration

 

a. Analog Input: Universal In

Analog Input uses three consecutive 16-Bit registers for configuration and each register has the following description. As an example, if %R100 is configured for Analog Inputs

Universal AI Data Type- %R100

Data Type Value
0-10V 0
0-20mA 1
4-20mA 2
0-60mV 3
J Thermocouple 4
K Thermocouple 5
T Thermocouple 6
E Thermocouple 7
N Thermocouple 8
R Thermocouple 9
S Thermocouple 10
B Thermocouple 11
PT100 12
PT1000 13

Universal AI Data Range - %R101

0-10V Range 0-20 mA Range

4-20mA Range

0-60mV Range

RTD Thermocouple Value
0~4000 0~4000 0~4000 0~4000 Reserved Reserved 0
-2000~2000 -2000~2000 -2000~2000 -2000~2000 Reserved Reserved 1
0~1000 0~1000 0~1000 0~1000 Reserved Reserved 2
Reserved 0~2000 Reserved Reserved Reserved Reserved 3
Reserved Reserved 400~2000 Reserved Reserved Reserved 4
0~32000 0~32000 0~32000 0~32000 Reserved Reserved 5
Reserved Reserved Reserved Reserved Reserved Reserved 6
Reserved Reserved Reserved Reserved ºC ºC 7
Reserved Reserved Reserved Reserved ºF ºF 8

Universal AI Data Range - %R101

Filter Constant Values 0 to 7.

b. Digital/Analog Channel 1

Flexible Input uses five consecutive 16-Bit registers for configuration and each register has the following description: As an example, if %R200 is configured for Digital Inputs channel 1

Consider if Channel 1 is selected Analog

Channel 1 Mode - %R200

Mode Value
Digital 0
Analog 1

Channel 1 Data Type - %R201

Data Type Value
0-10V 0
4-20mA 2

Channel 1 Data Type - %R202

0-10V Range 4-20mA Range Value
0~4000 0~4000 0
-2000~2000 -2000~2000 1
0~1000 0~1000 2
Reserved Reserved 3
Reserved 400~2000 4
0~32000 0~32000 5

c. Digital/Analog Channel 2

As an example, if %R300 is configured for Digital Inputs channel 2. Consider if Channel 2 is selected Digital.

Channel 2 Mode as Digital - %R300

Mode Value
Digital 0
Analog 1

Channel 2 Voltage Range - %R301

Voltage Range Value
24V 0
12V 1
5V 2
Custom 3

Channel 2 ON Threshold (5 to 20) - %R302

Channel 2 OFF Threshold (5 to 20) - %R303

Note:

1. ON Threshold should be greater than OFF Threshold in Positive logic.

2. OFF Threshold should be greater than ON Threshold in Negative logic.

Active Mode - %R304

Mode Value
Positive Logic 0
Negative Logic 1

d. Analog Output Channel

Analog Output uses three consecutive 16-Bit registers for configuration and each register has the following description:

As an example, if %R400 is configured for Analog Output channel

Analog Output Data Type - %R400

Data Type Value
0-10V 0
0-20mA 1
4-20mA 2

Analog Output Data Range - %R401

0-10V Range 0-20mA Range 4-20mA Range Value
0~4000 0~4000 0~4000 0
-2000~2000 -2000~2000 -2000~2000 1
0~1000 0~1000 0~1000 2
Reserved 0~2000 Reserved 3
Reserved Reserved 400~2000 4
0~32000 0~32000 0~32000 5

Analog Output Halt State - %R402

Halt State Value
Current 0
Minimum 1
Maximum 2
Average 3

ADU100 Dynamic I/O Configuration

a. AI Filter Constants - %R500

ADU100 Module AI channel Filter Constant Values 0 to 7 which is common for all 4 channels.

b. AI Data Type - %R505

ADU100 Analog Input uses two consecutive 16-Bit registers for configuration and each register has the following description. As an example, if %R500 is configured for Analog Inputs

Data Type Value
0-10V 0
0-20mA 1
4-20mA 2
0-60mV 3
J Thermocouple 4
K Thermocouple 5
T Thermocouple 6
E Thermocouple 7
N Thermocouple 8
R Thermocouple 9
S Thermocouple 10
B Thermocouple 11
PT100 12
PT1000 13

c. AI Data Range - %R506

0-10V Range 0-20 mA Range

4-20mA Range

0-60mV Range

RTD Thermocouple Value
0~4000 0~4000 0~4000 0~4000 Reserved Reserved 0
-2000~2000 -2000~2000 -2000~2000 -2000~2000 Reserved Reserved 1
0~1000 0~1000 0~1000 0~1000 Reserved Reserved 2
Reserved 0~2000 Reserved Reserved Reserved Reserved 3
Reserved Reserved 400~2000 Reserved Reserved Reserved 4
0~32000 0~32000 0~32000 0~32000 Reserved Reserved 5
Reserved Reserved Reserved Reserved Reserved Reserved 6
Reserved Reserved Reserved Reserved ºC ºC 7
Reserved Reserved Reserved Reserved ºF ºF 8

DAC107 Dynamic I/O Configuration

DAC module Analog Output uses three consecutive 16-Bit registers for configuration and each register has the following description: As an example, if %R600 is configured for Analog Output channel.

  1. Analog Output data type: %R600

    Data Type Value
    -10V, +10V 0
    0-10V 1
    0-20mA 2
    4-20mA 3
  2. Analog Output Data Range: %R601

    -10V, +10V Range 0-10V Range

    0-20mA Range

    4-20mA Range

    Value
    0~4000 0~4000 0~4000 0~4000

    0

    -2000~2000 -2000~2000 -2000~2000 -2000~2000

    1

    0~1000 0~1000 0~1000 0~1000

    2

    Reserved Reserved 0~2000 Reserved

    3

    Reserved Reserved Reserved 400~2000

    4

    0~32000 0~32000 0~32000 0~32000

    5

  3. Analog Output Halt State: %R602

      Halt State

      Value

      Current

      0

      Minimum

      1

      Maximum

      2

      Average

      3

ADC270 Dynamic I/O Configuration

  1. AI Filter Constants - %R700: ADC270 Module AI channel Filter Constant Values 0 to 7 which is common for all 4 channels.

  2. AI Data Type - %R705: ADC270 Analog Input uses two consecutive 16-Bit registers for configuration and each register has the following description. As an example, if %R705 is configured for Analog Inputs.

Data Type Value
0-10V 0
0-20mA 1

c. AI Data Range - %R706

0-10V Range 0-20 mA Range Value
0~4000 0~4000 0
-2000~2000 -2000~2000 1
0~1000 0~1000 2
Reserved 0~2000 3
Reserved Reserved 4
0~32000 0~32000 5
Reserved Reserved 6
Reserved Reserved 7
Reserved Reserved 8

Return to the Top: OCS-I/O Modules

 

HSC840 -High Speed Counter Module

HSC840 is a high-speed counter module that supports 8 high-speed inputs that can be configurable as Normal Input or high-speed input, 4 high-speed outputs that can be configurable as normal outputs or PWM or Stepper or PTO outputs. The high-speed input supports internal clock, frequency, totalizing, pulse width/period, and quadrature measurement. In high-speed output PWM functions include traditional PWM (with variable frequency and duty cycle) and a stepper or PTO (Pulse Train Output) functionalities with variable acceleration and deceleration rates.

 

HSC840 Input Configurations:

  • Active Modes: Digital Input supports both Positive logic and Negative logic modes for 24V, 12V, 5V and 0V (Zero Crossing) voltage ranges.

  • Update Method:Digital Input supports update on change of state and updates periodically (10mS to 255 S) as well.

  • HSC I/O Filtering: This feature is used to enable digital Filter for HSC Inputs to prevent false transition caused by furious signals.

  • Sample Frequency: Set the Sample frequency to filter it.

  • Consecutive Samples: Set the number of samples, so the input must be stable for these many samples before the HSC accumulator is affected by any change.

  • Counter Configurations:

    High-Speed Input supports the following modes:

    • Totalizer

    • Period Measurement

    • Frequency Counter

    • Pulse Width Measurement

    • Quadratur

  • High-speed input on the OCS contains optional functions as below and can be disabled or set to an internal pre-assigned register or to any external inputs.

    • Disable

    • Latch

    • Preload

    • Clear

    • Marker

 

Return to the Top: OCS-I/O Modules

 

HSC840 Output Configurations:

High-Speed output supports the following modes.

  • Normal - Digital Output

  • PWM - Pulse Width Modulation

  • HSC Output - High Speed Counter Output

  • Stepper

  • PTO - Pulse Train Output

 

PWM Halt State Configuration

  • Duty Cycle: Set PWM output default duty cycle when the controller is in idle mode or the module is not in communication with the controller.

  • Frequency: Set PWM output default duty cycle when the controller is idle mode or the module is not in communication with the controller.

  • Hold state: Set this option to hold last state when the controller is idle mode or the module is not in communication with the controller

Normal Output Halt State Configuration:

Normal Digital Output can be set to On / Off / Hold when the controller is in idle mode or the module is not in communication with the controller.

 

Return to the Top: OCS-I/O Modules

 

Register Mapping Details

Return to the Top: OCS-I/O Modules

 

Input Register Details for HSC

Example

Register

Description

Channel

%149 %Ix+0 Overflow Flag HSC1/Input1 HSC1
%150 %Ix+1 Underflow Flag HSC1
%I51 %Ix+2 HSCQ HSC1
%I52 %Ix+3 Reserved HSC1
%I53 %Ix+4 Overflow Flag HSC2/Input2 HSC2
%I54 %Ix+5 Underflow Flag HSC2
%I55 %Ix+6 HSCQ HSC2
%I56 %Ix+7 Reserved HSC2
%157 %Ix+8 Overflow Flag HSC3/Input3 HSC3
%158 %Ix+9 Underflow Flag HSC3
%159 %Ix+10 HSCQ HSC3
%160 %Ix+11 Reserved HSC3
%161 %Ix+12 Overflow Flag HSC4/Input4 HSC4
%162 %Ix+13 Underflow Flag HSC4
%163 %Ix+14 HSCQ HSC4
%164 %Ix+15 Reserved HSC4
%I65 %Ix+16 Overflow Flag HSC5/Input5 HSC5
%I66 %Ix+17 Underflow Flag HSC5
%I67 %Ix+18 HSCQ HSC5
%I68 %Ix+19 Reserved HSC5
%I69 %Ix+20 Overflow Flag HSC6/Input6 HSC6
%I70 %Ix+21 Underflow Flag HSC6
%I71 %Ix+22 HSCQ HSC6
%I72 %Ix+23 Reserved HSC6
%I73 %Ix+24 Overflow Flag HSC7/Input7 HSC7
%I74 %Ix+25 Underflow Flag HSC7
%I75 %Ix+26 HSCQ HSC7
%I76 %Ix+27 Reserved HSC7
%I77 %Ix+28 Overflow Flag HSC8/Input8 HSC8
%I78 %Ix+29 Underflow Flag HSC8
%I79 %Ix+30 HSCQ HSC8
%I80 %Ix+31 Reserved HSC8
%I81 %Ix+32 Ready/Done - Stepper1; Else Reserved Output 1
%I82 %Ix+33 Error - Stepper1; Else Reserved
%I83 %Ix+34 Ready/Done - Stepper2; Else Reserved Output 2
%I84 %Ix+35

Error - Stepper2;Error - Stepper2; Else Reserved

Ready/Done - Stepper3; Else Reserved

Error - Stepper3; Else Reserved

Ready/Done - Stepper4; Else Reserved

Error - Stepper4; Else Reserved Else Reserved

%I85 %Ix+36 Ready/Done - Stepper3; Else Reserved Output 3
%I86 %Ix+37 Error - Stepper3; Else Reserved
%I87 %Ix+38 Ready/Done - Stepper4; Else Reserved Output 4
%I88 %Ix+39 Error - Stepper4; Else Reserved
%I89 %Ix+40 Reserved  
%I90 %Ix+41 Reserved  
%I91 %Ix+42 Reserved  
%I92 %Ix+43 Reserved  
%I93 %Ix+44 Reserved  
%I94 %Ix+45 Reserved  
%I95 %Ix+46 Reserved  
%I96 %Ix+47 Reserved  

 

Example

Data Type

Register

Description

% AI53-54 UDINT %AIx+0-1 HSC1 Accumulator
%AI55-56 UDINT %Aix+2-3 HSC1 Latched Accumulator
%AI57-58 UDINT %AIx+4-5 HSC2 Accumulator
%AI59-60 UDINT %AIx+6-7 HSC2 Latched Accumulator
%AI61-62 UDINT %AIx+8-9 HSC3 Accumulator
%AI63-64 UDINT %AIx+10-11 HSC3 Latched Accumulator
%AI65-66 UDINT %AIx+12-13 HSC4 Accumulator
%AI67-68 UDINT %AIx+14-15 HSC4 Latched Accumulator
%AI69-70 UDINT %AIx+16-17 HSC5 Accumulator
%AI71-72 UDINT %AIx+18-19 HSC5 Latched Accumulator
%AI73-74 UDINT %AIx+20-21 HSC6 Accumulator
%AI75-76 UDINT %AIx+22-23 HSC6 Latched Accumulator
%AI77-78 UDINT %AIx+24-25 HSC7 Accumulator
%AI79-80 UDINT %AIx+26-27 HSC7 Latched Accumulator
%AI81-82 UDINT %AIx+28-29 HSC8 Accumulator
%AI83-84 UDINT %AIx+30-31 HSC8 Latched Accumulator

Return to the Top: OCS-I/O Modules

 

Output Register Details for HSC

Example

Register

Description

Channel

%Q49 %Qx+0 Latch Trigger HSC1 HSC1
%Q50 %Qx+1 Preload Trigger HSC1
%Q51 %Qx+2 Clear Trigger HSC1
%Q52 %Qx+3 Disable Trigger HSC1
%Q53 %Qx+4 Direction HSC1
%Q54 %Qx+5 Underflow/Overflow/HSCQ Reset (1-Reset) HSC1
%Q55 %Qx+6 Preload Disable (1-Disable) HSC1
%Q56 %Qx+7 Latch Disable (1-Disable) HSC1
%Q57 %Qx+8 Disable Marker Level HSC1
%Q58 %Qx+9 Latch Marker Level HSC1
%Q59 %Qx+10 Preload Marker Level HSC1
%Q60 %Qx+11 Clear Marker Level HSC1
%Q61 %Qx+12 Reserved
%Q62 %Qx+13 Reserved
%Q63 %Qx+14 Reserved
%Q64 %Qx+15 Reserved
%Q65 %Qx+16 Latch Trigger HSC2 HSC2
%Q66 %Qx+17 Preload Trigger HSC2
%Q67 %Qx+18 Clear Trigger HSC2
%Q68 %Qx+19 Disable Trigger HSC2
%Q69 %Qx+20 Direction HSC2
%Q70 %Qx+21 Underflow/Overflow/HSCQ Reset (1-Reset) HSC2
%Q71 %Qx+22 Preload Disable (1-Disable) HSC2
%Q72 %Qx+23 Latch Disable (1-Disable) HSC2
%Q73 %Qx+24 Disable Marker Level HSC2
%Q74 %Qx+25 Latch Marker Level HSC2
%Q75 %Qx+26 Preload Marker Level HSC2
%Q76 %Qx+27 Clear Marker Level HSC2
%Q77 %Qx+28 Reserved
%Q78 %Qx+29 Reserved
%Q79 %Qx+30 Reserved
%Q80 %Qx+31 Reserved
%Q81 %Qx+32 Latch Trigger HSC3 HSC3
%Q82 %Qx+33 Preload Trigger HSC3
%Q83 %Qx+34 Clear Trigger HSC3
%Q84 %Qx+35 Disable Trigger HSC3
%Q85 %Qx+36 Direction HSC3
%Q86 %Qx+37 Underflow/Overflow/HSCQ Reset (1-Reset) HSC3
%Q87 %Qx+38 Preload Disable (1-Disable) HSC3
%Q88 %Qx+39 Latch Disable (1-Disable) HSC3
%Q89 %Qx+40 Disable Marker Level HSC3
%Q90 %Qx+41 Latch Marker Level HSC3
%Q91 %Qx+42 Preload Marker Level HSC3
%Q92 %Qx+43 Clear Marker Level HSC3
%Q93 %Qx+44 Reserved
%Q94 %Qx+45 Reserved
%Q95 %Qx+46 Reserved
%Q96 %Qx+47 Reserved
%Q97 %Qx+48 Latch Trigger HSC4 HSC4
%Q98 %Qx+49 Preload Trigger HSC4
%Q99 %Qx+50 Clear Trigger HSC4
%Q100 %Qx+51 Disable Trigger HSC4
%Q101 %Qx+52 Direction HSC4
%Q102 %Qx+53 Underflow/Overflow/HSCQ Reset (1-Reset) HSC4
%Q103 %Qx+54 Preload Disable (1-Disable) HSC4
%Q104 %Qx+55 Latch Disable (1-Disable) HSC4
%Q105 %Qx+56 Disable Marker Level HSC4
%Q106 %Qx+57 Latch Marker Level HSC4
%Q107 %Qx+58 Preload Marker Level HSC4
%Q108 %Qx+59 Clear Marker Level HSC4
%Q109 %Qx+60 Reserved
%Q110 %Qx+61 Reserved
%Q111 %Qx+62 Reserved
%Q112 %Qx+63 Reserved
%Q113 %Qx+64 Latch Trigger HSC5 HSC5
%Q114 %Qx+65 Preload Trigger HSC5
%Q115 %Qx+66 Clear Trigger HSC5
%Q116 %Qx+67 Disable Trigger HSC5
%Q117 %Qx+68 Direction HSC5
%Q118 %Qx+69 Underflow/Overflow/HSCQ Reset (1-Reset) HSC5
%Q119 %Qx+70 Preload Disable (1-Disable) HSC5
%Q120 %Qx+71 Latch Disable (1-Disable) HSC5
%Q121 %Qx+72 Disable Marker Level HSC5
%Q122 %Qx+73 Latch Marker Level HSC5
%Q123 %Qx+74 Preload Marker Level HSC5
%Q124 %Qx+75 Clear Marker Level HSC5
%Q125 %Qx+76 Reserved
%Q126 %Qx+77 Reserved
%Q127 %Qx+78 Reserved
%Q128 %Qx+79 Reserved
%Q129 %Qx+80 Latch Trigger HSC6 HSC6
%Q130 %Qx+81 Preload Trigger HSC6
%Q131 %Qx+82 Clear Trigger HSC6
%Q132 %Qx+83 Disable Trigger HSC6
%Q133 %Qx+84 Direction HSC6
%Q134 %Qx+85 Underflow/Overflow/HSCQ Reset (1-Reset) HSC6
%Q135 %Qx+86 Preload Disable (1-Disable) HSC6
%Q136 %Qx+87 Latch Disable (1-Disable) HSC6
%Q137 %Qx+88 Disable Marker Level HSC6
%Q138 %Qx+89 Latch Marker Level HSC6
%Q139 %Qx+90 Preload Marker Level HSC6
%Q140 %Qx+91 Clear Marker Level HSC6
%Q141 %Qx+92 Reserved
%Q142 %Qx+93 Reserved
%Q143 %Qx+94 Reserved
%Q144 %Qx+95 Reserved
%Q145 %Qx+96 Latch Trigger HSC7 HSC7
%Q146 %Qx+97 Preload Trigger HSC7
%Q147 %Qx+98 Clear Trigger HSC7
%Q148 %Qx+99 Disable Trigger HSC7
%Q149 %Qx+100 Direction HSC7
%Q150 %Qx+101 Underflow/Overflow/HSCQ Reset (1-Reset) HSC7
%Q151 %Qx+102 Preload Disable (1-Disable) HSC7
%Q152 %Qx+103 Latch Disable (1-Disable) HSC7
%Q153 %Qx+104 Disable Marker Level HSC7
%Q154 %Qx+105 Latch Marker Level HSC7
%Q155 %Qx+106 Preload Marker Level HSC7
%Q156 %Qx+107 Clear Marker Level HSC7
%Q157 %Qx+108 Reserved
%Q158 %Qx+109 Reserved
%Q159 %Qx+110 Reserved
%Q160 %Qx+111 Reserved
%Q161 %Qx+112 Latch Trigger HSC8 HSC8
%Q162 %Qx+113 Preload Trigger HSC8
%Q163 %Qx+114 Clear Trigger HSC8
%Q164 %Qx+115 Disable Trigger HSC8
%Q165 %Qx+116 Direction HSC8
%Q166 %Qx+117 Underflow/Overflow/HSCQ Reset (1-Reset) HSC8
%Q167 %Qx+118 Preload Disable (1-Disable) HSC8
%Q168 %Qx+119 Latch Disable (1-Disable) HSC8
%Q169 %Qx+120 Disable Marker Level HSC8
%Q170 %Qx+121 Latch Marker Level HSC8
%Q171 %Qx+122 Preload Marker Level HSC8
%Q172 %Qx+123 Clear Marker Level HSC8
%Q173 %Qx+124 Reserved
%Q174 %Qx+125 Reserved
%Q175 %Qx+126 Reserved
%Q176 %Qx+127 Reserved

 

Example

Data Type

Register

Description

%AQ51-52 UDINT %AQx+0-1 HSC1 Preload Value
%AQ53-54 UDINT %AQx+2-3 HSC1 Match 1 Value
%AQ55-56 UDINT %AQx+4-5 HSC1 Match 2 Value
%AQ57-58 UDINT %AQx+6-7 HSC2 Preload Value
%AQ59-60 UDINT %AQx+8-9 HSC2 Match 1 Value
%AQ61-62 UDINT %AQx+10-11 HSC2 Match 2 Value
%AQ63-64 UDINT %AQx+12-13 HSC3 Preload Value
%AQ65-66 UDINT %AQx+14-15 HSC3 Match 1 Value
%AQ67-68 UDINT %AQx+16-17 HSC3 Match 2 Value
%AQ69-70 UDINT %AQx+18-19 HSC4 Preload Value
%AQ71-72 UDINT %AQx+20-21 HSC4 Match 1 Value
%AQ73-74 UDINT %AQx+22-23 HSC4 Match 2 Value
%AQ75-76 UDINT %AQx+24-25 HSC5 Preload Value
%AQ77-78 UDINT %AQx+26-27 HSC5 Match 1 Value
%AQ79-80 UDINT %AQx+28-29 HSC5 Match 2 Value
%AQ81-82 UDINT %AQx+30-31 HSC6 Preload Value
%AQ83-84 UDINT %AQx+32-33 HSC6 Match 1 Value
%AQ85-86 UDINT %AQx+34-35 HSC6 Match 2 Value
%AQ87-88 UDINT %AQx+36-37 HSC7 Preload Value
%AQ89-90 UDINT %AQx+38-39 HSC7 Match 1 Value
%AQ91-92 UDINT %AQx+40-41 HSC7 Match 2 Value
%AQ93-94 UDINT %AQx+42-43 HSC8 Preload Value
%AQ95-96 UDINT %AQx+44-45 HSC8 Match 1 Value
%AQ97-98 UDINT %AQx+46-47 HSC8 Match 2 Value

Return to the Top: OCS-I/O Modules

 

Output Register Details for Stepper & PTO

 

Example

Register

Stepper

Pulse Train

%Q177 %Qx+128 Start Move - Stepper O/P1 Start Move - PTO1 3
%Q178 %Qx+129 Start Move - Stepper O/P2 Direction (Forward/Reverse) - PTO1
%Q179 %Qx+130 Start Move - Stepper O/P3 Start Move - PTO3
%Q180 %Qx+131 Start Move - Stepper O/P4 Direction (Forward/Reverse) - PTO3
%Q181 %Qx+132 Reserved
%Q182 %Qx+133 Reserved
%Q183 %Qx+134 Reserved
%Q184 %Qx+135 Reserved
%Q185 %Qx+136 Reserved
%Q186 %Qx+137 Reserved
%Q187 %Qx+138 Reserved
%Q188 %Qx+139 Reserved
%Q189 %Qx+140 Reserved
%Q190 %Qx+141 Reserved
%Q191 %Qx+142 Reserved
%Q192 %Qx+143 Reserved

 

 

Example Data Type Register PWM Stepper Pulse Train
%AQ99-100 UDINT %Aqx+48-49 Duty Cycle PWM1 Start Freq - Stepper1 Start Frequency PTO1
%AQ101-102 UDINT %Aqx+50-51 Frequency PWM1 Run Freq - Stepper1 Run Frequency PTO1
%AQ103-104 UDINT %Aqx+52-53 Reserved Acceleration Count - Stepper1 Acceleration Time PTO1
%AQ105-106 UDINT %Aqx+54-55 Reserved Run Count - Stepper1 Pulses PTO1
%AQ107-108 UDINT %Aqx+56-57 Reserved Deceleration Count - Stepper1 Deceleration Time PTO1
%AQ109-110 UDINT %Aqx+58-59 Duty Cycle PWM2 Start Freq - Stepper2 Reserved
%AQ111-112 UDINT %Aqx+60-61 Frequency PWM2 Run Freq - Stepper2 Reserved
%AQ113-114 UDINT %Aqx+62-63 Reserved Acceleration Count - Stepper2 Reserved
%AQ115-116 UDINT %Aqx+64-65 Reserved Run Count - Stepper2 Reserved
%AQ117-118 UDINT %Aqx+66-67 Reserved Deceleration Count - Stepper2 Reserved
%AQ119-120 UDINT %Aqx+68-69 Duty Cycle PWM3 Start Freq - Stepper3 Start Frequency PTO3
%AQ121-122 UDINT %Aqx+70-71 Frequency PWM3 Run Freq - Stepper3 Run Frequency PTO3
%AQ123-124 UDINT %Aqx+72-73 Reserved Acceleration Count - Acceleration Time PTO3
%AQ125-126 UDINT %Aqx+74-75 Reserved Stepper3 Run Count - Stepper3 Pulses PTO3
%AQ127-128 UDINT %Aqx+76-77 Reserved Deceleration Count - Stepper3 Deceleration Time PTO3
%AQ129-130 UDINT %Aqx+78-79 Duty Cycle PWM4 Start Freq - Stepper4 Reserved
%AQ131-132 UDINT %Aqx+80-81 Frequency PWM4 Run Freq - Stepper4 Reserved
%AQ133-134 UDINT %Aqx+82-83 Reserved Acceleration Count - Stepper4 Reserved
%AQ135-136 UDINT %Aqx+84-85 Reserved Run Count - Stepper4 Reserved
%AQ137-138 UDINT %Aqx+86-87 Reserved Deceleration Count - Stepper4 Reserved

 

Return to the Top: OCS-I/O Modules

 

Dynamic I/O Configurations

HSC840 supports dynamic I/O configurations.

 

Limitations

  1. A maximum of two HSC840 modules can be installed in the CScan Network. If more than two modules are installed, then the HSC input update method should be set to 'Update Periodically' with a time to avoid excessive CSCAN network traffic.

    • This is applicable only to Prime, Canvas, Micro OCS, CPU series and XLEe/XLTe units.

    • XLe and XLt units, only one HSC840 module is supported on the CSCAN network

  1. Toggling any HSC configured bit to clear, latch, disable or preload accumulator values on every scan may cause HSC840 input and output updates to stop on XLe and Xlt units.

 

Return to the Top: OCS-I/O Modules