Advantech ADAM-5000/TCP Series Manual page 98

Distributed da&c system based on ethernet
Table of Contents

Advertisement

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

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Adam-5000l/tcp

Table of Contents