Download RCCIPC - Data Sheet

Transcript
Doc.: CAS-RCCIPC-DTS-0001
Issue: 6
RCCIPC - Data Sheet
Date: 08/05/2014
Page: 21 of 53
The RPDO_AO and TPDO_AO entries are composed of 2 sub-indexes of U32 and are used to store the
data values elaborated during RPDO and TPDO transfers respectively.
The RCCIP_AO entry represents a single buffer used during SDO transfers. It supports only 32, 64, 128
and 254 sub-indexes, defined as U8,U16 or U32.
RCCIPC_AO - Total Bytes
Sub-Index len
U8
32
32
64
64
128
128
254
254
U16
64
128
256
508
U32
128
256
512
1016
6.2 RCCIPC CANOpen Services
The RCCIPC is in charge of supporting the following CANOpen services:
• NMT state transitions;
• Synch consumer;
• Heartbeat receiver and producer;
• SDO block;
• Asynchronous RPDO and TPDO ;
• Redundancy manager
The implementation of the RPDO, TPDO and SDO services is performed by the specific Finite State
Machine module (RCCIPC_FSM.vhd) available in the SRC directory.
The FSM executes the following “macro” operations:
• Object Dictionary Initialisation;
• RPDO elaboration;
• TPDO elaboration;
• SDO elaboration.
The FSM is implemented exploiting only combinational logic and it works as “big multiplexers” returning
the execution code according to the input address. Each “macro” operation is implemented as a
sequence of Logic, Arithmetic and Memory operations for:
• Registers loading with constants
• Operands moving among different registers
• Arithmetic operations
• Logic compare and bit check
• Read/write memory operations
In the next paragraphs, how RCCIPC manages the RPDO, TPDO and SDO services is explained.
6.2.1 Receive PDO Service
The RCCIPC supports only a single asynchronous RPDO service with a static structure to define the
Communication and Mapping parameters.
RPDO Communication parameters
Index
Sub-Index
Description
0
sub-index supported
0x1400
1
COB-ID
2
Transmission type
File name: CAS-RCCIPC-DTS-0001_Issue6.docx
Value
2
200h + NODEID
255h
RCCIPC - Data Sheet
The copyright of this document is vested in SITAEL S.p.A.. However, no responsibility is assumed by SITAEL S.p.A. for its use, nor for
any infringements of patents or other rights of third parties that may result from its use.