Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
28-01-2010
11:27
ISO9001 Certified
Pagina 1
mod. IO-CB/AI-08DP-00
M.U. IO-CB/AI-08DP-2/07.07
Cod. J30-478-1AAI-08DP E
User
manual
ASCON spa
20021 Baranzate (Italy)
Fax +39 02 350 4243
www.ascon.it
sales@ascon.it
Contents
- Characteristics
- Functional Block Diagram
- PDOs used by the module
- Hardware Set-up
- Parameter configuration
- Commands
- Emergency messages
- Parameter Store/Restore
- Object Dictionary
APPLICABLE STANDARDS
WARNING
The AI-08DP module is suited for the CiA DS301 protocol [1] and implements the CiA DS
401 standard Device Profile, as far as the Analogue Input Function Block is concerned [2].
1) The product described in this manual should only be installed, operated and maintained by
qualified application programmers and software engineers who are familiar with automation
safety concepts and applicable national standards.
2) This product supports the Parameter defaults indicated by CiA standards, in addition, some parameters have a factory set (value present in the module when comes from the factory). The default
values can be loaded with the restore command, but after the restore, factory set values are lost.
Characteristics
Technical data
Accuracy at 25C
Temperature coefficient
Input impedance
Digital resolution
Data format
Input range
Total input system transfer time
Conversion method
Overvoltage protection
CMRR
ADC
0.1% FS
0.01% FS/K
V > 10k
16 bit
Binary Integer
10 V
5 V
5 ms
Sigma delta
30 V
> 100 dB
CE marking
Fieldbus
Logic
AI
channels
1-8
Power supply
Environment
Operating
-10...+65C
5...95% non condensing
Appropriate measures must
be taken against
humidity >85%
Mounting
Vertical, free air
Protection
IP20
Vibrations (3 axes) 10...57Hz 0.0375mm
57...150Hz 0.5g
Shock (3 axes)
15g, 11ms half sine
<
Delta
= 1 XOR
Close if
TRUE
AND
Negative
Delta
The analogue input function block describes, for each input channel, how field values are
transmitted.
Every time one of the limit conditions is reached an asynchronous transmission takes place.
TPDO 3
Properties
Mapped objects
Read Analog Input ch 1
COBID: 280h + NodeID Read Analog Input ch 2
Transmission Type: 01h * Read Analog Input ch 3
Read Analog Input ch 4
Read Analog Input ch 5
COBID: 380h + NodeID Read Analog Input ch 6
Transmission Type: 01h * Read Analog Input ch 7
Read Analog Input ch 8
Index
6401h
6401h
6401h
6401h
6401h
6401h
6401h
6401h
Sub-index
01h
02h
03h
04h
05h
06h
07h
08h
Note: * The Transmission Type is configurable; 01h is the factory set (value present in
the modules when come from the factory), the default value is FFh.
800Vp
Temperature
Relative
Humidity
Lower limit
Positive
Delta
800 Vp
24 Vdc; 15...+25%
3W
L: 76; H: 110; W: 65
220 g
Isolation class II (50 Vrms)
Installation cathegory II
Pollution degree 2
EN61131-2
Transmit
>
Upper limit
General
3 way isolation
Power supply
Power consuption
Dimensions
Weight
Safety regulations
EN61010-1
Conditioning
Storage
-40...+85C
5...95% non condensing
For a short period, slight
condensation may appear
on the housing
AI-08DP-uso-e
28-01-2010
11:27
Pagina 2
Hardware Set-up
Parameters setting
Top view
LED
Status
ON
RUN Blinking
Single flash
OFF
ON
Single flash
ERR Double flash
Triple flash
OFF
ON
ST Blinking
Single flash
OFF
PWR ON
OFF
Hi
ide
nt s
Fro
Lo
Negative
screw-driver
0.4 x 2.5 mm
Meaning
Operational
Pre-operational (CANopen)
STOPPED
Device in RESET state
BUS OFF
Warning limit reached
Error Control Event
Sync Error (CANopen)
No error. Device working
DIAG Error
INIT and DIAG running
Baud rate setting
Module OK and ready
Module Power Supply ON
Module Power Supply OFF
Bit rate
Lo switch
1
2
3
4
5
6*
7
8
Node ID
Baud rate
kbps
20
50
100
125
250
500
800
1000
Bus length
m
2500
1000
500
500
250
100
50
25
Hi
Lo
Valid ID Node
switch switch
0
1
01h (address 1)
0
2
02h (address 2)
7
F
7Fh (address 127D) *
Parameter configuration
Module specific parameters
Input type
-10...+10 V
-5...+5V
Condition
Default
Standard parameters
Interrupt trigger
Upper limit exceeded
Input below lower limit
Input changed by more than delta
Input reduced by more than negative delta
Input increased by more than positive delta
reserved for future use
AI-08DP-uso-e
28-01-2010
11:27
Pagina 3
Parameter Store/Restore
Commands
Index 200Ch Operating mode
The device has its own internal state machine. It is possible to move through this by
sending appropriate values to the Index 200Ch, following the table below.
4
3
Ready
1
2
Run
Error
3
Transition Operating
Behaviour
mode value
Init
At Power-Up, the Device is in the ready state.
Transition 1 is also executed if Index 200Ch Operating Mode contains the default value 1
1
01h
Operating mode RUN is activated
Return to the initialisation ready state.
The transition is performed:
2
00h
following an operators command
after assigning the configuration parameter (2001h)
The error state is automatically assigned by the device
3
FFh
(and the operating mode value is read only) when:
an attempt is made to execute an unexpected command
This value causes an exit from the error state, after the
4
00h
error condition is acknowledged. The only transition is to
the ready state
This module allows parameters to be saved in a non volatile memory. In order to avoid storing
parameters by mistake, storage is only executed when a specific signature is written to the
appropriate subindex. The signature is save.
Similarly, the default values of parameters, according to the communication or device profile, are
restored. On receipt of the correct signature in the appropriate subindex, the device restores the
default parameters and then confirms the SDO transmission. The signature is load.
The new configuration becomes active after a reset, i.e. after a Power Down or an NMT Reset
Node message.
Byte
Store
Parameter
0
22h
1
10h
Restore
Parameter
22h
11h
4
5
73h
61h
s
a
COB ID = 600h + NodeID
10h
6Ch
6Fh
01h
l
o
COB ID = 600h + NodeID
6
76h
v
7
65h
e
61h
a
64h
d
The entries of a device Object Dictionary are accessed trough SDO (Service Data Object)
messages. The basic SDO messages are as follows, as based on the Client Server
request and response model:
Byte
Read request
Read response
Write request
Write response
0
40h
4xh *
22h
60h
3
4
5
6
Sub-Index
Reserved
COB ID = 600h + NodeID
Index
Sub-Index
Data
COB ID = 580h + NodeID
Index
Sub-Index
Data
COB ID = 600h + NodeID
Index
Sub-Index
Reserved
COB ID = 580h + NodeID
Index
Reference documents
The module automatically sends emergency messages including error codes. The
communication errors are descrided in CiA DS301 [1].
The error codes are expressed as a DEVICE SPECIFIC ERROR type of code, one for
each channel: 0xFF0n for channel n. The codes indicating a specific condition are
also inserted, following the table below:
Error code Error
0000000000 No error This code is generated when exiting an error contidion, to
notify the end of one of the error states
0000000001 Error No Valid Calib An attempt to change the state of an input
channel not properly calibrated to operating
0000000002 Error No Config An attempt to change the state of an input channel
with a non valid Sensor Type to operating
0000000006 Error No Command Invalid command received
0000000007 Error Wrong Command An attempt to execute a command from an
illegal state
0000000008 Error Wrong Assignment An attempt to assign a parameter from an
illegal state
1
2
3
4
5
FFh
21h
00h
00h
00h
COB ID = [entry 1014h] + NodeID
Error code
3
01h
SDO Messages
Emergency messages
0
Emergency 0nh
message
2
10h
6
00h
AP-S2/AL-DR45-24
AP-S2/AL-DR120-24
AP-S2/TB-211-1
AP-S2/SPINA-V11
AP-S2/SPINA-M11
AP-S2/LOCAL-BUS76
AP-S2/LOCAL-BUS152
AP-S2/TERM-CAN
7
0yh
AI-08DP-uso-e
28-01-2010
11:27
Pagina 4
In order to configure the module, it is necessary to connect it to a PC with the CAN interface and the superivisory software installed. The configuration can be obtained by
writing the desired values to the modules variables listed in the Object Dictionary.
00h
01h
02h
03h
04h
05h
1803
00h
01h
02h
03h
04h
05h
1A00
00h
1A01
00h
01h
02h
03h
04h
1A02
00h
01h
02h
03h
04h
1A03
00h
2000
00h
01h
2001
00h
01h
02h
03h
04h
05h
06h
07h
08h
Object
Name
VAR
VAR
ARRAY
VAR
VAR
VAR
VAR
VAR
VAR
VAR
VAR
ARRAY
VAR
VAR
ARRAY
Device Type
Error Register
Predefined error field
COB-ID SYNC
Communication cycle period
Synchrounous window length
Manufacturer Device Name
Manufacturer Hardware Version
Manufacturer Software Version
Guard Time
Life Time Factor
Store Parameters
Largest subindex supported
Save all parameters
Restore Default Parameters
Default
[hex]
00040191
00
00000000
00000080
00000000
00000000
08DP
0100
0100
0000
00
VAR
VAR
VAR
VAR
VAR
RECORD
VAR
VAR
RECORD
VAR
VAR
VAR
RECORD
VAR
VAR
VAR
VAR
VAR
VAR
RECORD
VAR
VAR
VAR
VAR
VAR
VAR
RECORD
VAR
VAR
VAR
VAR
VAR
VAR
RECORD
VAR
VAR
VAR
VAR
VAR
VAR
RECORD
VAR
RECORD
VAR
VAR
VAR
VAR
VAR
RECORD
VAR
VAR
VAR
VAR
VAR
UNSIGNED8
UNSIGNED32
UNSIGNED8
UNSIGNED16
UNSIGNED8
0000
UNSIGNED16
PDO CommPar (20h)
05
UNSIGNED8
480+NodeID UNSIGNED32
FF
UNSIGNED8
0000
UNSIGNED16
UNSIGNED8
0000
UNSIGNED16
UNUSED
PDO Mapping (21h)
00
UNSIGNED8
PDO Mapping (21h)
04
UNSIGNED8
64010110
UNSIGNED32
64010210
UNSIGNED32
64010310
UNSIGNED32
64010410
UNSIGNED32
PDO Mapping (21h)
04
UNSIGNED8
64010510
UNSIGNED32
64010610
UNSIGNED32
64010710
UNSIGNED32
64010810
UNSIGNED32
RECORD
VAR
ARRAY
VAR
VAR
ARRAY
VAR
VAR
VAR
VAR
VAR
VAR
VAR
VAR
VAR
UNUSED
00
01
03
Type
UNSIGNED32
UNSIGNED8
UNSIGNED32
UNSIGNED32
UNSIGNED32
UNSIGNED32
Vis-String
Vis-String
Vis-String
UNSIGNED16
UNSIGNED8
UNSIGNED32
UNSIGNED8
UNSIGNED32
UNSIGNED32
Acc.
Attr.
RO
RO
RO
RW
RW
RW
const
const
const
RW
RW
RO
RW
RW
UNSIGNED8
UNSIGNED32
UNSIGNED32
UNSIGNED16
UNSIGNED16
RO
RW
RW
RW
RW
UNSIGNED8
UNSIGNED32
SDO Parameter (22h)
UNSIGNED8
UNSIGNED32
UNSIGNED32
PDO CommPar (20h)
UNSIGNED8
UNSIGNED32
UNSIGNED8
UNSIGNED16
UNSIGNED8
UNSIGNED16
PDO CommPar (20h)
UNSIGNED8
UNSIGNED32
UNSIGNED8
UNSIGNED16
UNSIGNED8
UNSIGNED16
PDO CommPar (20h)
RO
RO
05
380+NodeID
FF *
0000
MO
M
M
O
O
O
O
O
O
O
O
O
O
O
Index Sub
(hex) Index
200C
01h
01h
02h
03h
04h
05h
06h
07h
08h
3000
3001
6401
00h
01h
02h
03h
04h
05h
06h
07h
08h
O
O
O
M
6421
O
00h
01h
02h
03h
04h
05h
06h
07h
08h
RO
RO
RO
M
RO
RW
RW
RW
RW
RW
6422
00h
01h
M
RO
RW
RW
RW
RW
RW
6423
6424
00h
01h
02h
03h
04h
RO
RW
RW
RW
RW
RW
05h
06h
07h
08h
6425
00h
01h
02h
03h
04h
05h
06h
07h
08h
M
RO
RW
RW
RW
RW
RW
M
RO
6426
M
00h
01h
02h
03h
04h
05h
06h
07h
08h
RO
RO
RO
RO
RO
M
RO
RO
RO
RO
RO
6427
00h
01h
02h
03h
04h
05h
06h
07h
08h
RO
O
01
UNSIGNED8
INTEGER16
RO
RO
08
01
01
01
01
01
01
01
01
UNSIGNED8
UNSIGNED8
UNSIGNED8
UNSIGNED8
UNSIGNED8
UNSIGNED8
UNSIGNED8
UNSIGNED8
UNSIGNED8
RO
RW
RW
RW
RW
RW
RW
RW
RW
O
6428
00h
01h
02h
03h
04h
05h
06h
07h
08h
Object Name
ARRAY
VAR
VAR
VAR
VAR
VAR
VAR
VAR
VAR
VAR
VAR
VAR
ARRAY
VAR
VAR
AI Operating Mode
Number of entries
AI Operating Mode ch1
AI Operating Mode ch2
AI Operating Mode ch3
AI Operating Mode ch4
AI Operating Mode ch5
AI Operating Mode ch6
AI Operating Mode ch7
AI Operating Mode ch8
Node Address
Node Baurate
Read Analogue Input 16 - bit
Number of entries
Read Analogue Input 16bit - ch1
VAR
VAR
VAR
VAR
VAR
VAR
VAR
ARRAY
VAR
VAR
VAR
VAR
VAR
VAR
VAR
VAR
VAR
ARRAY
VAR
VAR
VAR
ARRAY
VAR
VAR
VAR
VAR
VAR
VAR
VAR
VAR
VAR
ARRAY
VAR
VAR
VAR
VAR
VAR
VAR
VAR
VAR
VAR
ARRAY
VAR
VAR
VAR
VAR
VAR
VAR
VAR
VAR
VAR
ARRAY
VAR
VAR
VAR
VAR
VAR
VAR
VAR
VAR
VAR
ARRAY
VAR
VAR
VAR
VAR
VAR
VAR
VAR
VAR
VAR
Default Type
[hex]
08
01
01
01
01
01
01
01
01
7F
06
UNSIGNED8
UNSIGNED8
UNSIGNED8
UNSIGNED8
UNSIGNED8
UNSIGNED8
UNSIGNED8
UNSIGNED8
UNSIGNED8
UNSIGNED8
UNSIGNED8
08
UNSIGNED8
INTEGER16
Acc. MO
Attr.
O
RO
RW
RW
RW
RW
RW
RW
RW
RW
RO O
RO O
M
RO
RO
INTEGER
INTEGER
INTEGER
INTEGER
INTEGER
INTEGER
INTEGER
RO
RO
RO
RO
RO
RO
RO
08
07
07
07
07
07
07
07
07
UNSIGNED8
UNSIGNED8
UNSIGNED8
UNSIGNED8
UNSIGNED8
UNSIGNED8
UNSIGNED8
UNSIGNED8
UNSIGNED8
RO
RW
RW
RW
RW
RW
RW
RW
RW
01
00
FALSE
UNSIGNED8 RO
UNSIGNED8 RO
BOOLEAN
RW
08
00
00
00
00
UNSIGNED8
INTEGER32
INTEGER32
INTEGER32
INTEGER32
RO
RW
RW
RW
RW
00
00
00
00
INTEGER32
INTEGER32
INTEGER32
INTEGER32
RW
RW
RW
RW
08
00
00
00
00
00
00
00
00
UNSIGNED8
INTEGER32
INTEGER32
INTEGER32
INTEGER32
INTEGER32
INTEGER32
INTEGER32
INTEGER32
RO
RW
RW
RW
RW
RW
RW
RW
RW
08
00
00
00
00
00
00
00
00
UNSIGNED8
UNSIGNED32
UNSIGNED32
UNSIGNED32
UNSIGNED32
UNSIGNED32
UNSIGNED32
UNSIGNED32
UNSIGNED32
RO
RW
RW
RW
RW
RW
RW
RW
RW
08
00
UNSIGNED8 RO
UNSIGNED32 RW
00
00
00
00
00
00
00
UNSIGNED32
UNSIGNED32
UNSIGNED32
UNSIGNED32
UNSIGNED32
UNSIGNED32
UNSIGNED32
RW
RW
RW
RW
RW
RW
RW
08
00
00
00
00
00
00
00
00
UNSIGNED8
UNSIGNED32
UNSIGNED32
UNSIGNED32
UNSIGNED32
UNSIGNED32
UNSIGNED32
UNSIGNED32
UNSIGNED32
RO
RW
RW
RW
RW
RW
RW
RW
RW
O
O
O
The factory set (value present in the modules when new) for the
transmission type is: 01h.