IDENTIFICATION Request
(Original Document)
At a Glance
This request enables the master of the CANopen (TSX CPP 110 PCMCIA card) bus to be identified.
This request is carried out using the communication function SEND_REQ.
Syntax
The communication function syntax is as follows:
SEND_REQ(ADDR('0.m.1.SYS'), 16#0F, %MWi:L, %MWk:4, %MWj:L)
The following table describes the different function parameters.
Parameter
Description
ADDR('0.m.1.SYS')
Address of the exchange destination entity.
  • m: Processor slot number, 0 or 1
  • 1: channel (always 1)
  • SYS: access to UNI-TE server from the PCMCIA card
16#0F
Request code
%MWi:L
Not used for the IDENTIFICATION function (length is 1)
%MWk:4
Exchange management parameters: four words identifying the address of the data used to control the function called IDENTIFICATION
%MWj:L
Table of words containing the card identification information. Length L must be 12.
%MWj:L
The following table gives details of %MWj:L words.
Word number
Most significant byte
Least significant byte
%MWj
Product code:
  • 16#05: Premium
16#FF
%MWj+1
Length of identification string: 16#0C
Number of BCD coded version (Version 1.0 coded 16#10)
%MWj+2
‘S’
‘T’
%MWj+3
’ ’
‘X’
%MWj+4
‘P’
‘C’
%MWj+5
’ ’
‘P’
%MWj+6
’1’
’1’
%MWj+7
16#00
’0’
%MWj+8
Indicator lamp status. The COM LED is coded on the first two bits and the ERR LED on the following two according to the following sequences:
  • 0, 0: Off,
  • 0, 1: Blinking,
  • 1, 0: Permanently on.
PCMCIA card state:
  • 0: Absent,
  • 1: Self-test,
  • 2: Failure,
  • 3: Ready,
  • 4: Waiting,
  • 5: Not configured.
%MWj+9
Product type: 16#02
Functional type: 16#2E
%MWj+10
Error type
  • bit 0: Card in Test/Debug mode,
  • bit 1: Bus error or inactive bus,
  • bit 2: Absent connection unit,
  • bit 3: Self-testing or inaccessible card,
  • bit 4: Reserved,
  • bit 5: Card different to the one configured,
  • bit 6: Absent card,
  • bit 7: Error on at least one slave.
Catalog reference: 16#01
%MWj+11
-
16#00
Management Parameters
The following table gives details of the %MWk:4 words.
Word number
Most significant byte
Least significant byte
Data managed by
%MWk
Exchange number
Activity bit
The system
%MWk+1
Operation report, positive 16#3F report
Communication report
%MWk+2
Timeout
You
%MWk+3
Length: initialization to 0 is obligatory before the function is sent