ConOpSys V2970
P004.07
ANVILEX control operating system
ConOpSys
Engine
Communication
ABCC
abcc_identification.h
Go to the documentation of this file.
1
//------------------------------------------------------------------------------
2
// ANVILEX: Split this file for posibility of separate configuration for each protocol
3
//------------------------------------------------------------------------------
4
5
/*******************************************************************************
6
********************************************************************************
7
** **
8
** ABCC Starter Kit version 3.04.01 (2018-01-23) **
9
** **
10
** Delivered with: **
11
** ABP 7.55.01 (2017-12-20) **
12
** ABCC Driver 5.04.01 (2017-12-18) **
13
** */
14
/*******************************************************************************
15
********************************************************************************
16
** COPYRIGHT NOTIFICATION (c) 2015 HMS Industrial Networks AB **
17
** **
18
** This code is the property of HMS Industrial Networks AB. **
19
** The source code may not be reproduced, distributed, or used without **
20
** permission. When used together with a product from HMS, permission is **
21
** granted to modify, reproduce and distribute the code in binary form **
22
** without any restrictions. **
23
** **
24
** THE CODE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. HMS DOES NOT **
25
** WARRANT THAT THE FUNCTIONS OF THE CODE WILL MEET YOUR REQUIREMENTS, OR **
26
** THAT THE OPERATION OF THE CODE WILL BE UNINTERRUPTED OR ERROR-FREE, OR **
27
** THAT DEFECTS IN IT CAN BE CORRECTED. **
28
********************************************************************************
29
********************************************************************************
30
** User configuration to set the identification parameters of an ABCC module
31
**
32
** All configurations in this file should be possible to override if defined
33
** in abcc_platform_cfg.h. This allows the target platform to adapt the
34
** configuration to realize its implementation for specific needs.
35
********************************************************************************
36
********************************************************************************
37
** Services:
38
********************************************************************************
39
********************************************************************************
40
*/
41
42
#ifndef ABCC_IDENTIFICATION_H_
43
#define ABCC_IDENTIFICATION_H_
44
45
#include "
abcc_drv_cfg.h
"
46
47
#ifndef ABCC_OBJ_CFG_H_
48
#error Do not include abcc_identification.h, include abcc_obj_cfg.h instead.
49
#endif
50
51
/*******************************************************************************
52
** Constants
53
********************************************************************************
54
*/
55
56
/*------------------------------------------------------------------------------
57
** CC-Link IE Field Object (0xE6)
58
**------------------------------------------------------------------------------
59
*/
60
#if CFN_OBJ_ENABLE
61
/*
62
** Attribute 1: Vendor Code (U16 - 0x0000-0xFFFF)
63
*/
64
#ifndef CFN_IA_VENDOR_CODE_ENABLE
65
#define CFN_IA_VENDOR_CODE_ENABLE TRUE
66
#define CFN_IA_VENDOR_CODE_VALUE 0xFFFF
67
#endif
68
69
/*
70
** Attribute 2: Vendor Name (Array of CHAR)
71
*/
72
#ifndef CFN_IA_VENDOR_NAME_ENABLE
73
#define CFN_IA_VENDOR_NAME_ENABLE TRUE
74
#define CFN_IA_VENDOR_NAME_VALUE "Vendor Name"
75
#endif
76
77
/*
78
** Attribute 3: Model Type / Device Type (U16 - 0x0000-0xFFFF)
79
*/
80
#ifndef CFN_IA_MODEL_TYPE_ENABLE
81
#define CFN_IA_MODEL_TYPE_ENABLE TRUE
82
#define CFN_IA_MODEL_TYPE_VALUE 0x007F
83
#endif
84
85
/*
86
** Attribute 4: Model Name (Array of CHAR)
87
*/
88
#ifndef CFN_IA_MODEL_NAME_ENABLE
89
#define CFN_IA_MODEL_NAME_ENABLE TRUE
90
#define CFN_IA_MODEL_NAME_VALUE "Model Name"
91
#endif
92
93
/*
94
** Attribute 5: Unit Model Code (U32 - 0x00000000-0xFFFFFFFF)
95
*/
96
#ifndef CFN_IA_MODEL_CODE_ENABLE
97
#define CFN_IA_MODEL_CODE_ENABLE TRUE
98
#define CFN_IA_MODEL_CODE_VALUE 0xFFFFFFFF
99
#endif
100
101
/*
102
** Attribute 6: Version (U8 - 0x00-0xFF)
103
*/
104
#ifndef CFN_IA_SW_VERSION_ENABLE
105
#define CFN_IA_SW_VERSION_ENABLE TRUE
106
#define CFN_IA_SW_VERSION_VALUE 0x01
107
#endif
108
109
#endif
/* CFN_OBJ_ENABLE */
110
111
/*------------------------------------------------------------------------------
112
** Ethernet POWERLINK Object (0xE9)
113
**------------------------------------------------------------------------------
114
*/
115
#if EPL_OBJ_ENABLE
116
/*
117
** Attribute 1: Vendor ID (U32 - 0x00000000-0xFFFFFFFF)
118
*/
119
#ifndef EPL_IA_VENDOR_ID_ENABLE
120
#define EPL_IA_VENDOR_ID_ENABLE TRUE
121
#define EPL_IA_VENDOR_ID_VALUE 0xFFFFFFFF
122
#endif
123
124
/*
125
** Attribute 2: Product Code type (U32 - 0x00000000-0xFFFFFFFF)
126
*/
127
#ifndef EPL_IA_PRODUCT_CODE_ENABLE
128
#define EPL_IA_PRODUCT_CODE_ENABLE TRUE
129
#define EPL_IA_PRODUCT_CODE_VALUE 0xFFFFFFFF
130
#endif
131
132
/*
133
** Attribute 3: Revision High Word (U16 - 0x0000-0xFFFF)
134
*/
135
#ifndef EPL_IA_REVISION_HW_ENABLE
136
#define EPL_IA_REVISION_HW_ENABLE TRUE
137
#define EPL_IA_REVISION_HW_VALUE 0xFFFF
138
#endif
139
140
/*
141
** Attribute 4: Revision Low Word (U16 - 0x0000-0xFFFF)
142
*/
143
#ifndef EPL_IA_REVISION_LW_ENABLE
144
#define EPL_IA_REVISION_LW_ENABLE TRUE
145
#define EPL_IA_REVISION_LW_VALUE 0xFFFF
146
#endif
147
148
/*
149
** Attribute 5: Serial number (U32 - function/variable/0x00000000-0xFFFFFFFF)
150
*/
151
#ifndef EPL_IA_SERIAL_NUMBER_ENABLE
152
#define EPL_IA_SERIAL_NUMBER_ENABLE TRUE
153
#define EPL_IA_SERIAL_NUMBER_VALUE 0x12345678
154
#endif
155
156
/*
157
** Attribute 6: Manufacturer device name (Array of CHAR)
158
*/
159
#ifndef EPL_IA_MANF_DEVICE_NAME_ENABLE
160
#define EPL_IA_MANF_DEVICE_NAME_ENABLE TRUE
161
#define EPL_IA_MANF_DEVICE_NAME_VALUE "Manufacturer device name"
162
#endif
163
164
/*
165
** Attribute 7: Manufacturer hardware version (Array of CHAR)
166
*/
167
#ifndef EPL_IA_MANF_HW_VERSION_ENABLE
168
#define EPL_IA_MANF_HW_VERSION_ENABLE TRUE
169
#define EPL_IA_MANF_HW_VERSION_VALUE "01"
170
#endif
171
172
/*
173
** Attribute 8: Manufacturer software version (Array of CHAR)
174
*/
175
#ifndef EPL_IA_MANF_SW_VERSION_ENABLE
176
#define EPL_IA_MANF_SW_VERSION_ENABLE TRUE
177
#define EPL_IA_MANF_SW_VERSION_VALUE "01"
178
#endif
179
180
/*
181
** Attribute 10: Device type (U32 - 0x00000000-0xFFFFFFFF)
182
*/
183
#ifndef EPL_IA_DEVICE_TYPE_ENABLE
184
#define EPL_IA_DEVICE_TYPE_ENABLE TRUE
185
#define EPL_IA_DEVICE_TYPE_VALUE 0xFFFFFFFF
186
#endif
187
188
/*
189
** Attribute 14: Manufacturer name (Array of CHAR)
190
*/
191
#ifndef EPL_IA_MANF_NAME_ENABLE
192
#define EPL_IA_MANF_NAME_ENABLE TRUE
193
#define EPL_IA_MANF_NAME_VALUE "Manufacturer name"
194
#endif
195
196
#endif
/* #if EPL_OBJ_ENABLE */
197
198
/*------------------------------------------------------------------------------
199
** EtherCAT Object (0xF5)
200
**------------------------------------------------------------------------------
201
*/
202
#if ECT_OBJ_ENABLE
203
/*
204
** Attribute 1: Vendor ID (U32 - 0x00000000-0xFFFFFFFF)
205
*/
206
#ifndef ECT_IA_VENDOR_ID_ENABLE
207
#define ECT_IA_VENDOR_ID_ENABLE TRUE
208
#define ECT_IA_VENDOR_ID_VALUE 0xFFFFFFFF
209
#endif
210
211
/*
212
** Attribute 2: Product Code type (U32 - 0x00000000-0xFFFFFFFF)
213
*/
214
#ifndef ECT_IA_PRODUCT_CODE_ENABLE
215
#define ECT_IA_PRODUCT_CODE_ENABLE TRUE
216
#define ECT_IA_PRODUCT_CODE_VALUE 0xFFFFFFFF
217
#endif
218
219
/*
220
** Attribute 3: Revision High Word (U16 - 0x0000-0xFFFF)
221
*/
222
#ifndef ECT_IA_MAJOR_REV_ENABLE
223
#define ECT_IA_MAJOR_REV_ENABLE TRUE
224
#define ECT_IA_REVISION_HW_VALUE 0xFFFF
225
#endif
226
227
/*
228
** Attribute 4: Revision Low Word (U16 - 0x0000-0xFFFF)
229
*/
230
#ifndef ECT_IA_MINOR_REV_ENABLE
231
#define ECT_IA_MINOR_REV_ENABLE TRUE
232
#define ECT_IA_REVISION_LW_VALUE 0xFFFF
233
#endif
234
235
/*
236
** Attribute 5: Serial number (U32 - function/variable/0x00000000-0xFFFFFFFF)
237
*/
238
#ifndef ECT_IA_SERIAL_NUMBER_ENABLE
239
#define ECT_IA_SERIAL_NUMBER_ENABLE TRUE
240
#define ECT_IA_SERIAL_NUMBER_VALUE 0x12345678
241
#endif
242
243
/*
244
** Attribute 6: Manufacturer device name (Array of CHAR)
245
*/
246
#ifndef ECT_IA_MANF_DEVICE_NAME_ENABLE
247
#define ECT_IA_MANF_DEVICE_NAME_ENABLE TRUE
248
#define ECT_IA_MANF_DEVICE_NAME_VALUE "Manufacturer device name"
249
#endif
250
251
/*
252
** Attribute 7: Manufacturer hardware version (Array of CHAR)
253
*/
254
#ifndef ECT_IA_MANF_HW_VERSION_ENABLE
255
#define ECT_IA_MANF_HW_VERSION_ENABLE TRUE
256
#define ECT_IA_MANF_HW_VERSION_VALUE "FF"
257
#endif
258
259
/*
260
** Attribute 8: Manufacturer software version (Array of CHAR)
261
*/
262
#ifndef ECT_IA_MANF_SW_VERSION_ENABLE
263
#define ECT_IA_MANF_SW_VERSION_ENABLE TRUE
264
#define ECT_IA_MANF_SW_VERSION_VALUE "FF"
265
#endif
266
267
/*
268
** Attribute 10: Device type (U32 - 0x00000000-0xFFFFFFFF)
269
*/
270
#ifndef ECT_IA_DEVICE_TYPE_ENABLE
271
#define ECT_IA_DEVICE_TYPE_ENABLE TRUE
272
#define ECT_IA_DEVICE_TYPE_VALUE 0xFFFFFFFF
273
#endif
274
275
#endif
/* #if ECT_OBJ_ENABLE */
276
277
/*------------------------------------------------------------------------------
278
** PROFINET IO Object (0xF6)
279
**------------------------------------------------------------------------------
280
*/
281
#if PRT_OBJ_ENABLE
282
/*
283
** Attribute 1: Device ID (U16 - 0x0000-0xFFFF)
284
*/
285
#ifndef PRT_IA_DEVICE_ID_ENABLE
286
#define PRT_IA_DEVICE_ID_ENABLE TRUE
287
#define PRT_IA_DEVICE_ID_VALUE 0xFFFF
288
#endif
289
290
/*
291
** Attribute 2: Vendor ID (U16 - 0x0000-0xFFFF)
292
*/
293
#ifndef PRT_IA_VENDOR_ID_ENABLE
294
#define PRT_IA_VENDOR_ID_ENABLE TRUE
295
#define PRT_IA_VENDOR_ID_VALUE 0xFFFF
296
#endif
297
298
/*
299
** Attribute 3: Station Type (Array of CHAR)
300
*/
301
#ifndef PRT_IA_STATION_TYPE_ENABLE
302
#define PRT_IA_STATION_TYPE_ENABLE TRUE
303
#define PRT_IA_STATION_TYPE_VALUE "Station Type"
304
#endif
305
306
/*
307
** Attribute 8: IM Order ID (Array of CHAR)
308
*/
309
#ifndef PRT_IA_IM_ORDER_ID_ENABLE
310
#define PRT_IA_IM_ORDER_ID_ENABLE TRUE
311
#define PRT_IA_IM_ORDER_ID_VALUE "Order ID"
312
#endif
313
314
/*
315
** Attribute 9: IM Serial Number (Array of CHAR)
316
*/
317
#ifndef PRT_IA_IM_SERIAL_NBR_ENABLE
318
#define PRT_IA_IM_SERIAL_NBR_ENABLE TRUE
319
#define PRT_IA_IM_SERIAL_NBR_VALUE "0123456789ABCDEF"
320
#endif
321
322
/*
323
** Attribute 10: IM Hardware revision (U16 - 0x0000-0xFFFF)
324
*/
325
#ifndef PRT_IA_IM_HW_REV_ENABLE
326
#define PRT_IA_IM_HW_REV_ENABLE TRUE
327
#define PRT_IA_IM_HW_REV_VALUE 0x0000
328
#endif
329
330
/*
331
** Attribute 11: IM Software revision (CHAR, 3 * U8)
332
*/
333
#ifndef PRT_IA_IM_SW_REV_ENABLE
334
#define PRT_IA_IM_SW_REV_ENABLE TRUE
335
#define PRT_IA_IM_SW_REV_SYMBOL_VALUE 'V'
336
#define PRT_IA_IM_SW_REV_MAJOR_VALUE 99
337
#define PRT_IA_IM_SW_REV_MINOR_VALUE 99
338
#define PRT_IA_IM_SW_REV_BUILD_VALUE 99
339
#endif
340
341
/*
342
** Attribute 19: System Description (Array of CHAR)
343
*/
344
#ifndef PRT_IA_SYSTEM_DESCRIPTION_ENABLE
345
#define PRT_IA_SYSTEM_DESCRIPTION_ENABLE TRUE
346
#define PRT_IA_SYSTEM_DESCRIPTION_VALUE "System Description"
347
#endif
348
349
/*
350
** Attribute 22: System Contact (Array of CHAR)
351
*/
352
#ifndef PRT_IA_SYSTEM_CONTACT_ENABLE
353
#define PRT_IA_SYSTEM_CONTACT_ENABLE TRUE
354
#define PRT_IA_SYSTEM_CONTACT_VALUE "System Contact"
355
#endif
356
357
#endif
/* #if PRT_OBJ_ENABLE */
358
359
/*------------------------------------------------------------------------------
360
** CC-Link Object (0xF7)
361
**------------------------------------------------------------------------------
362
*/
363
#if CCL_OBJ_ENABLE
364
/*
365
** Attribute 1: Vendor Code (U16 - 0x0000-0xFFFF)
366
*/
367
#ifndef CCL_IA_VENDOR_CODE_ENABLE
368
#define CCL_IA_VENDOR_CODE_ENABLE TRUE
369
#define CCL_IA_VENDOR_CODE_VALUE 0xFFFF
370
#endif
371
372
/*
373
** Attribute 2: SW Version (U8 - 0x01 to 0x3F)
374
*/
375
#ifndef CCL_IA_SOFTWARE_VERSION_ENABLE
376
#define CCL_IA_SOFTWARE_VERSION_ENABLE TRUE
377
#define CCL_IA_SOFTWARE_VERSION_VALUE 0x01
378
#endif
379
380
/*
381
** Attribute 3: Model Code (U8 - 0x00-0xFF)
382
*/
383
#ifndef CCL_IA_MODEL_CODE_ENABLE
384
#define CCL_IA_MODEL_CODE_ENABLE TRUE
385
#define CCL_IA_MODEL_CODE_VALUE 0x7f
386
#endif
387
388
#endif
/* CCL_OBJ_ENABLE */
389
390
/*------------------------------------------------------------------------------
391
** EtherNet/IP Object (0xF8)
392
**------------------------------------------------------------------------------
393
*/
394
#if EIP_OBJ_ENABLE
395
/*
396
** Attribute 1: Vendor ID (U16 - 0x0000-0xFFFF)
397
*/
398
#ifndef EIP_IA_VENDOR_ID_ENABLE
399
#define EIP_IA_VENDOR_ID_ENABLE TRUE
400
#define EIP_IA_VENDOR_ID_VALUE 0xFFFF
401
#endif
402
403
/*
404
** Attribute 2: Device type (U16 - 0x0000-0xFFFF)
405
*/
406
#ifndef EIP_IA_DEVICE_TYPE_ENABLE
407
#define EIP_IA_DEVICE_TYPE_ENABLE TRUE
408
#define EIP_IA_DEVICE_TYPE_VALUE 0xFFFF
409
#endif
410
411
/*
412
** Attribute 3: Product code (U16 - 0x0000-0xFFFF)
413
*/
414
#ifndef EIP_IA_PRODUCT_CODE_ENABLE
415
#define EIP_IA_PRODUCT_CODE_ENABLE TRUE
416
#define EIP_IA_PRODUCT_CODE_VALUE 0xFFFF
417
#endif
418
419
/*
420
** Attribute 4: Revision (Array of U8 - {0x01-0xFF})
421
*/
422
#ifndef EIP_IA_REVISION_ENABLE
423
#define EIP_IA_REVISION_ENABLE TRUE
424
#define EIP_IA_REVISION_MAJOR_VALUE 99
425
#define EIP_IA_REVISION_MINOR_VALUE 99
426
#endif
427
428
/*
429
** Attribute 5: Serial number (U32 - function/variable/0x00000000-0xFFFFFFFF)
430
*/
431
#ifndef EIP_IA_SERIAL_NUMBER_ENABLE
432
#define EIP_IA_SERIAL_NUMBER_ENABLE TRUE
433
#define EIP_IA_SERIAL_NUMBER_VALUE 0x12345678
434
#endif
435
436
/*
437
** Attribute 6: Product name (Array of CHAR)
438
*/
439
#ifndef EIP_IA_PRODUCT_NAME_ENABLE
440
#define EIP_IA_PRODUCT_NAME_ENABLE TRUE
441
#define EIP_IA_PRODUCT_NAME_VALUE "Product Name"
442
#endif
443
444
#endif
/* #if EIP_OBJ_ENABLE */
445
446
/*------------------------------------------------------------------------------
447
** Ethernet Object (0xF9)
448
**------------------------------------------------------------------------------
449
*/
450
#if ETN_OBJ_ENABLE
451
/*
452
** Attribute 1: MAC Address (Array[6] of U8)
453
*/
454
#ifndef ETN_IA_MAC_ADDRESS_ENABLE
455
#define ETN_IA_MAC_ADDRESS_ENABLE TRUE
456
#define ETN_IA_MAC_ADDRESS_VALUE "\x00\x30\x11\x11\xFF\xFF"
457
#endif
458
459
#endif
/* #if ETN_OBJ_ENABLE */
460
461
/*------------------------------------------------------------------------------
462
** Modbus Object (0xFA)
463
**------------------------------------------------------------------------------
464
*/
465
#if MOD_OBJ_ENABLE
466
/*
467
** Attribute 1: Vendor Name (Array of CHAR)
468
*/
469
#ifndef MOD_IA_VENDOR_NAME_ENABLE
470
#define MOD_IA_VENDOR_NAME_ENABLE TRUE
471
#define MOD_IA_VENDOR_NAME_VALUE "Vendor Name"
472
#endif
473
474
/*
475
** Attribute 2: Product Code (Array of CHAR)
476
*/
477
#ifndef MOD_IA_PRODUCT_CODE_ENABLE
478
#define MOD_IA_PRODUCT_CODE_ENABLE TRUE
479
#define MOD_IA_PRODUCT_CODE_VALUE "Product Code"
480
#endif
481
482
/*
483
** Attribute 3: Revision (Array of CHAR)
484
*/
485
#ifndef MOD_IA_REVISION_ENABLE
486
#define MOD_IA_REVISION_ENABLE TRUE
487
#define MOD_IA_REVISION_VALUE "99.99"
488
#endif
489
490
/*
491
** Attribute 4: Vendor URL (Array of CHAR)
492
*/
493
#ifndef MOD_IA_VENDOR_URL_ENABLE
494
#define MOD_IA_VENDOR_URL_ENABLE TRUE
495
#define MOD_IA_VENDOR_URL_VALUE "www.vendor.url"
496
#endif
497
498
/*
499
** Attribute 5: Product Name (Array of CHAR)
500
*/
501
#ifndef MOD_IA_PRODUCT_NAME_ENABLE
502
#define MOD_IA_PRODUCT_NAME_ENABLE TRUE
503
#define MOD_IA_PRODUCT_NAME_VALUE "Product Name"
504
#endif
505
506
/*
507
** Attribute 6: Model Name (Array of CHAR)
508
*/
509
#ifndef MOD_IA_MODEL_NAME_ENABLE
510
#define MOD_IA_MODEL_NAME_ENABLE TRUE
511
#define MOD_IA_MODEL_NAME_VALUE "Model Name"
512
#endif
513
514
/*
515
** Attribute 7: User Application Name (Array of CHAR)
516
*/
517
#ifndef MOD_IA_USER_APP_NAME_ENABLE
518
#define MOD_IA_USER_APP_NAME_ENABLE TRUE
519
#define MOD_IA_USER_APP_NAME_VALUE "User Application Name"
520
#endif
521
522
/*
523
** Attribute 8: Device ID (Array of U8)
524
*/
525
#ifndef MOD_IA_DEVICE_ID_ENABLE
526
#define MOD_IA_DEVICE_ID_ENABLE TRUE
527
#define MOD_IA_DEVICE_ID_VALUE "\x00\x01\x02\x03"
528
#define MOD_IA_DEVICE_ID_ARRAY_SIZE 4
529
#endif
530
531
#endif
/* #if MOD_OBJ_ENABLE */
532
533
/*------------------------------------------------------------------------------
534
** CANopen Object (0xFB)
535
**------------------------------------------------------------------------------
536
*/
537
#if COP_OBJ_ENABLE
538
/*
539
** Attribute 1: Vendor ID (U32 - 0x00000000-0xFFFFFFFF)
540
*/
541
#ifndef COP_IA_VENDOR_ID_ENABLE
542
#define COP_IA_VENDOR_ID_ENABLE TRUE
543
#define COP_IA_VENDOR_ID_VALUE 0xFFFFFFFF
544
#endif
545
546
/*
547
** Attribute 2: Product Code (U32 - 0x00000000-0xFFFFFFFF)
548
*/
549
#ifndef COP_IA_PRODUCT_CODE_ENABLE
550
#define COP_IA_PRODUCT_CODE_ENABLE TRUE
551
#define COP_IA_PRODUCT_CODE_VALUE 0xFFFFFFFF
552
#endif
553
554
/*
555
** Attribute 3: Major Revision (U16 - 0x0000-0xFFFF)
556
*/
557
#ifndef COP_IA_REV_MAJOR_ENABLE
558
#define COP_IA_REV_MAJOR_ENABLE TRUE
559
#define COP_IA_REV_MAJOR_VALUE 0xFFFF
560
#endif
561
562
/*
563
** Attribute 4: Minor Revision (U16 - 0x0000-0xFFFF)
564
*/
565
#ifndef COP_IA_REV_MINOR_ENABLE
566
#define COP_IA_REV_MINOR_ENABLE TRUE
567
#define COP_IA_REV_MINOR_VALUE 0xFFFF
568
#endif
569
570
/*
571
** Attribute 5: Serial Number (U32 - 0x00000000-0xFFFFFFFF)
572
*/
573
#ifndef COP_IA_SERIAL_NUMBER_ENABLE
574
#define COP_IA_SERIAL_NUMBER_ENABLE TRUE
575
#define COP_IA_SERIAL_NUMBER_VALUE 0xFFFFFFFF
576
#endif
577
578
/*
579
** Attribute 6: Manufacturer Device Name (Array of CHAR)
580
*/
581
#ifndef COP_IA_MANF_DEV_NAME_ENABLE
582
#define COP_IA_MANF_DEV_NAME_ENABLE TRUE
583
#define COP_IA_MANF_DEV_NAME_VALUE "Device Name"
584
#endif
585
586
/*
587
** Attribute 7: Manufacturer Hardware Version (Array of CHAR)
588
*/
589
#ifndef COP_IA_MANF_HW_VER_ENABLE
590
#define COP_IA_MANF_HW_VER_ENABLE TRUE
591
#define COP_IA_MANF_HW_VER_VALUE "Hardware Version"
592
#endif
593
594
/*
595
** Attribute 8: Manufacturer Software Version (Array of CHAR)
596
*/
597
#ifndef COP_IA_MANF_SW_VER_ENABLE
598
#define COP_IA_MANF_SW_VER_ENABLE TRUE
599
#define COP_IA_MANF_SW_VER_VALUE "Software Version"
600
#endif
601
602
#endif
/* #if COP_OBJ_ENABLE */
603
604
/*------------------------------------------------------------------------------
605
** DeviceNet Object (0xFC)
606
**------------------------------------------------------------------------------
607
*/
608
#if DEV_OBJ_ENABLE
609
/*
610
** Attribute 1: Vendor ID (U16 - 0x0000-0xFFFF)
611
*/
612
#ifndef DEV_IA_VENDOR_ID_ENABLE
613
#define DEV_IA_VENDOR_ID_ENABLE TRUE
614
#define DEV_IA_VENDOR_ID_VALUE 0xFFFF
615
#endif
616
617
/*
618
** Attribute 2: Device type (U16 - 0x0000-0xFFFF)
619
*/
620
#ifndef DEV_IA_DEVICE_TYPE_ENABLE
621
#define DEV_IA_DEVICE_TYPE_ENABLE TRUE
622
#define DEV_IA_DEVICE_TYPE_VALUE 0xFFFF
623
#endif
624
625
/*
626
** Attribute 3: Product code (U16 - 0x0000-0xFFFF)
627
*/
628
#ifndef DEV_IA_PRODUCT_CODE_ENABLE
629
#define DEV_IA_PRODUCT_CODE_ENABLE TRUE
630
#define DEV_IA_PRODUCT_CODE_VALUE 0xFFFF
631
#endif
632
633
/*
634
** Attribute 4: Revision (Array of U8 - {0x01-0xFF})
635
*/
636
#ifndef DEV_IA_REVISION_ENABLE
637
#define DEV_IA_REVISION_ENABLE TRUE
638
#define DEV_IA_REVISION_MAJOR_VALUE 99
639
#define DEV_IA_REVISION_MINOR_VALUE 99
640
#endif
641
642
/*
643
** Attribute 5: Serial number (U32 - function/variable/0x00000000-0xFFFFFFFF)
644
*/
645
#ifndef DEV_IA_SERIAL_NUMBER_ENABLE
646
#define DEV_IA_SERIAL_NUMBER_ENABLE TRUE
647
#define DEV_IA_SERIAL_NUMBER_VALUE 0x12345678
648
#endif
649
650
/*
651
** Attribute 6: Product name (Array of CHAR)
652
*/
653
#ifndef DEV_IA_PRODUCT_NAME_ENABLE
654
#define DEV_IA_PRODUCT_NAME_ENABLE TRUE
655
#define DEV_IA_PRODUCT_NAME_VALUE "Product Name"
656
#endif
657
658
#endif
/* #if DEV_OBJ_ENABLE */
659
660
/*------------------------------------------------------------------------------
661
** PROFIBUS DP-V1 Object (0xFD)
662
**------------------------------------------------------------------------------
663
*/
664
#if DPV1_OBJ_ENABLE
665
/*
666
** Attribute 1: PNO Ident number (U16 - 0x0000-0xFFFF)
667
*/
668
#ifndef DPV1_IA_IDENT_NUMBER_ENABLE
669
#define DPV1_IA_IDENT_NUMBER_ENABLE TRUE
670
#define DPV1_IA_IDENT_NUMBER_VALUE 0xFFFF
671
#endif
672
673
/*
674
** Attribute 8: Manufacturer Ident number (U16 - 0x0000-0xFFFF)
675
*/
676
#ifndef DPV1_IA_MANUFACTURER_ID_ENABLE
677
#define DPV1_IA_MANUFACTURER_ID_ENABLE TRUE
678
#define DPV1_IA_MANUFACTURER_ID_VALUE 0xFFFF
679
#endif
680
681
/*
682
** Attribute 9: IM Order ID (Array of CHAR)
683
*/
684
#ifndef DPV1_IA_ORDER_ID_ENABLE
685
#define DPV1_IA_ORDER_ID_ENABLE TRUE
686
#define DPV1_IA_ORDER_ID_VALUE "Order ID"
687
#endif
688
689
/*
690
** Attribute 10: IM Serial Number (Array of CHAR)
691
*/
692
#ifndef DPV1_IA_SERIAL_NO_ENABLE
693
#define DPV1_IA_SERIAL_NO_ENABLE TRUE
694
#define DPV1_IA_SERIAL_NO_VALUE "0123456789ABCDEF"
695
#endif
696
697
/*
698
** Attribute 11: IM Hardware revision (U16 - 0x0000-0xFFFF)
699
*/
700
#ifndef DPV1_IA_HW_REV_ENABLE
701
#define DPV1_IA_HW_REV_ENABLE TRUE
702
#define DPV1_IA_HW_REV_VALUE 0x0000
703
#endif
704
705
/*
706
** Attribute 12: IM Software revision (CHAR, 3 * U8)
707
*/
708
#ifndef DPV1_IA_SW_REV_ENABLE
709
#define DPV1_IA_SW_REV_ENABLE TRUE
710
#define DPV1_IA_SW_REV_SYMBOL_VALUE 'V'
711
#define DPV1_IA_SW_REV_MAJOR_VALUE 99
712
#define DPV1_IA_SW_REV_MINOR_VALUE 99
713
#define DPV1_IA_SW_REV_BUILD_VALUE 99
714
#endif
715
716
#endif
/* DPV1_OBJ_ENABLE */
717
718
/*******************************************************************************
719
** Typedefs
720
********************************************************************************
721
*/
722
723
/*******************************************************************************
724
** Public Globals
725
********************************************************************************
726
*/
727
728
/*******************************************************************************
729
** Public Services
730
********************************************************************************
731
*/
732
733
#endif
/* inclusion lock */
734
735
//------------------------------------------------------------------------------
736
// End Of File
737
//------------------------------------------------------------------------------
abcc_drv_cfg.h
Generated on Thu Mar 10 2022 03:50:15 for ConOpSys V2970 by
1.9.1