EasyManua.ls Logo

Advantech ADAM-5000/TCP Series - Page 98

Advantech ADAM-5000/TCP Series
341 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
Loading...
Planning Your Application Program
6-2-5 Data Structure
struct _StreamData
{
Chapter 6
WORD DIO[8]; // DI/DO data for Slot0, Slot1,...., Slot7
WORD Slot0[8]; // AI/AO data for slot0
WORD Slot1[8]; // AI/AO data for slot1
WORD Slot2[8]; // AI/AO data for slot2
WORD Slot3[8]; // AI/AO data for slot3
WORD Slot4[8]; // AI/AO data for slot4
WORD Slot5[8]; // AI/AO data for slot5
WORD Slot6[8]; // AI/AO data for slot6
WORD Slot7[8]; // AI/AO data for slot6
}; //StreamData,*pStreamData;
struct _AlarmInfo
{
BYTE bySlot; // the Slot of 5000/TCP which cause the
alarm change
BYTE byChannel; // the Channel of 5000/TCP which cause
the alarm change
BYTE byAlarmType; // 0: Low Alarm, 1: High Alarm
BYTE byAlarmStatus; // 0: Alarm Off, 1: Alarm On
BYTE byIndexOf5KTCP; // indicate the index 5000/TCP which
cause the alarm change, zero-based
char szIP[20]; // the IP address which cause the alarm
change
char szDateTime[48]; // e.x 2001/09/23 10:12:34:567 (Year/Month/
Day Hour:Minute:Second:mSecond)
};
ADAM-5000/TCP User’s Manual
6-31

Table of Contents

Related product manuals