EasyManuals Logo
Home>Curtis Instruments>I/O Systems>1351

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 #99 background imageLoading...
Page #99 background image
5 — VEHICLE CONTROL LANGUAGE (VCL)
pg. 93
Return to TOC Curtis Model 1351 – December 2018
 Variable = Get_SDO_Data() Pull the data from the request receive buer
 Get_SDO_Data(Reception_ID)
:
Reception_ID Specify the buer handle provided by the request
function
:
Returns a single 32 bit value and removes the
message for the buffer
 :
Code Example
If (SDO_Send_State = 0) ; check if SDO_Send_State = 0, request if only = 0
{
Request_Switches_ID = Request_SDO_Read (Port_1,38,3226,00,60)
;Read request handle = Request_Switches_ID
;port_1 = CAN1
;Slave Node ID = 38d, 0x26h
;Switches variable = 0x3226 0x00.
;See E/SE series Sys Info.
;e.g., slave is an E/SE series controller
;60 millisecond timeout
SDO_Send_State = 1 ;reset SDO_Send_State = 1
}
Else
If((Check_SDO_Read(Request_Switches_ID) = 1)
{
Get_SDO_Data(Request_Switches_ID) ;get the Switches data
SDO_Send_State = 0 ;reset SDO_Send_State = 0
} ;to allow re-entry when
;message data is removed from
;the buffer.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Curtis Instruments 1351 and is the answer not in the manual?

Curtis Instruments 1351 Specifications

General IconGeneral
BrandCurtis Instruments
Model1351
CategoryI/O Systems
LanguageEnglish