EasyManua.ls Logo

Curtis Instruments 1351 User Manual

Default Icon
144 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #128 background imageLoading...
Page #128 background image
APPENDIX A — VCL FUNCTIONS
Curtis Model 1351 – December 2018
Return to TOC
pg. 122
APPENDIX A — VCL FUNCTIONS
Function Name
new/unique to 1351 = ()
Arguments Short Comment Description
Map_Two_Points 5 2 Point Interpolation Routine This routine interpolates between two points Y1
and Y2 based upon an input x. Interpolating based
on X1 and X2
Battery_Compensate 1 This function is used for compensating a variable
with battery voltage using the nominal battery
setting
Automate_ABS 2 Run the absolute value function
automatically
This function returns the absolute value of its
input
Get_ABS 2 Get the Absolute Value of the Input This function returns the absolute value of the
input variable.
Send_Mailbox 1 Request that a Message Buffer be
sent
This function forces the mailbox contents to be
sent out. This is necessary for any mailboxes that
have been setup with the C_EVENT constant.
The mailbox must have been setup and its data
pointers dened (setup_mailbox and setup_
mailbox_data functions called) before using this
function!
Setup_CAN_Transmit_
Mailbox
6 (Handle, ID_high, ID_low, Extended,
Service, Rate)
Setup the General Parameters for a Transmit
Mailbox. This function sets up the initial
parameters for a mailbox. This function MUST BE
called before dening the data for the mailbox
(see setup_mailbox_data) or trying to use the
mailbox.
Setup_CAN_Recieve_
Mailbox
10 (Handle, ID_high, ID_Low, Mask_
High, Mask_Low, Extended, Reply,
Timeout, Handshake)
Setup the General Parameters for a Mailbox
Setup_CAN_Receive_Data 4 (Handle_Id, Data, Length, Endian) Dene the pointers used with a Message Buffer.
This function is used to dene the ‘data pointers’
for a given mailbox. The setup_mailbox function
MUST HAVE BEEN called before dening the data
with this function.
Setup_CAN_Transmit_Data 4 (Handle, Data, Length, Endian) This function is used to dene the ‘data pointers’
for a given mailbox.
Enable_Receive_Mailbox 1 (Handle) Enable all the CANopen standard processing
VCL_FUNCTION Enable_receive_mailbox; Enable
VCL Receive Mailbox.
Disable_Recieve_Mailbox 1 (Handle) VCL_FUNCTION Disable_receive_mailbox; Disable
VCL Receive Mailbox.
Enable_Transmit_Mailbox 1 (Handle) Enable all the CANopen standard processing VCL_
FUNCTION enable_transmit_mailbox ; Enable VCL
Transmit Mailbox
Disable_Transmit_Mailbox 1 (Handle) disable_transmit_mailbox :: VCL - Disable
CANopen Processing VCL_FUNCTION disable_
transmit_mailbox ; Disable VCL Transmit Mailbox
Get_Received_Counter 1 (Handle) VCL_FUNCTION get_received_counter
Get_Transmit_Counter 1 (Handle) VCL_FUNCTION get_transmit_counter
Get_Received_Status 1 (Handle) VCL_FUNCTION get_received_status
Clear_Received_Status 1 (Handle) VCL_FUNCTION clear_received_status

Table of Contents

Questions and Answers:

Curtis Instruments 1351 Specifications

General IconGeneral
CategoryI/O Systems
Model1351
Operating Temperature Range-40°C to +85°C
Protection FeaturesOvervoltage, Short Circuit
Communication InterfaceCAN 2.0B

Summary

1 — OVERVIEW

How to Use This Manual

Explains how to use the manual's content and structure.

Getting the Most Out of Your Curtis Controller

Tips for optimal use and contact for technical support.

2 — INSTALLATION SPECIFICATIONS AND WIRING

Mounting and Safety Precautions

Guidelines for physical mounting and general safety warnings.

Wiring and Connections

Details on AMPSEAL connector, battery, low-power wiring, and voltages.

Input/Output Configuration

Overview of various input and output types and their configurations.

Communication Ports and Power

Details on CAN ports, power supply outputs, and keyswitch connections.

3 — PROGRAMMABLE PARAMETERS

Programming Menus and Format

Overview of parameter menus, chart format, and terminology.

System Controller Parameters

Parameters for power, BDI, external supplies, and temperature.

Input Parameters

Configuration for switches, virtual switches, analog, pot, RTD, high-speed, encoder inputs.

Output Parameters

Configuration for PWM drivers, half-bridge, digital drivers, safety, and analog outputs.

CAN Parameters

Settings for CAN ports and communication protocols.

4 — MONITOR VARIABLES

System Controller Monitor Variables

Read-only variables for system controller status and measurements.

Input Monitor Variables

Read-only variables for various input types like switches, analog, and encoders.

Output Monitor Variables

Read-only variables for PWM drivers, half-bridge drivers, and digital outputs.

Accelerometer Monitor Variables

Read-only variables for the 3-axis accelerometer data.

5 — VEHICLE CONTROL LANGUAGE (VCL)

VCL Overview and Basics

Introduction to VCL, its capabilities, and fundamental programming rules.

Variables and Constants

Explanation of VCL variable types, memory storage, and constants.

VCL, Watchdog Timer and Faults

Setting up watchdog timers and defining fault actions within VCL code.

CAN Functions (VCL Setup)

VCL functions for CAN setup, message handling, and NMT control.

SDO Management

VCL functions for managing Service Data Objects (SDOs) read/write operations.

CAN Mailbox Operations

Functions for allocating and configuring CAN mailboxes for data transmission/reception.

SRDO Functions

VCL functions for Safety Related Data Objects transmission and reception.

6 — INITIAL SETUP & COMMISSIONING

Initial Setup and Preparation

Steps for initial setup, safety, and preparation before commissioning.

Parameter Settings Method Overview

Recommended sequence for setting hardware and software parameters.

Output Parameter Configuration

Procedure for configuring PWM, half-bridge, digital, and analog outputs.

Fault Clearing Procedure

Steps to check, clear, and resolve controller faults and history.

7 — DIAGNOSTIC AND TROUBLESHOOTING

The Diagnostics Process

Methods for obtaining diagnostics information via LEDs, software, or CAN messages.

Error Flash Code Interpretation

Explanation of LED flash patterns and their meanings for fault codes.

8 — MAINTENANCE

Cleaning Procedures

Recommended procedure for cleaning the controller exterior.

Fault History Management

Accessing, checking, and clearing the controller's fault history file.

APPENDIX A — VCL FUNCTIONS

General VCL Functions

Core VCL functions for various operations like interpolation, timing, and scaling.

CANopen Functions

VCL functions for CANopen mailbox setup and configuration.

SRDO Functions

VCL functions for Safety Related Data Objects transmission and reception.

APPENDIX B — VEHICLE SYSTEM DESIGN CONSIDERATIONS-&-RECYCLING

Electromagnetic Compatibility (EMC)

Guidelines for EMC performance, emissions, RF immunity, and noise reduction.

Decommissioning and Recycling the Controller

Procedures for controller removal from OEM vehicle and disposal.

APPENDIX C — PROGRAMMING DEVICES FOR THE 1351

Curtis Software Suite™

PC-based software for controller setup, parameter adjustment, and diagnostics.

Curtis 1313 Handheld Programmer

Standalone programmer and diagnostic tool for the system controller.

APPENDIX D — EN 13849 COMPLIANCE

Safety-Related Performance Analysis

Summary of safety performance levels (PL, MTTFd, DC) for controller circuits.

APPENDIX E — 1351 MODELS AND SPECIFICATIONS

Table E Model Chart and Specifications

Technical specifications, model comparison, and environmental ratings.