IKUSI ELECTRONICA S.L. TR800CE-MCX ユーザーズマニュアル

ページ / 112
TM70Pi V3.2 (11/03) 120021.pdf.
38
IKUSI reserves the right to change this information without prior notice.
Once that we have completed the 24 characters, we have to write the command for send the cursor to line 1-
column 1. Otherwise, we will lose everything we write. We have still used only 4 packages of 8 bytes;
therefore, we have other 4 available for example to send the state of LEDs and Buzzer.
Switching-on the LEDs & Buzzer
For establish the state of the LEDs and the buzzer we have to send a package of 2 data. This package have
to be preceded by an identifier COB_ID=0x200+node_ID.
LEDs
 From 0 to 255 value
BUZZER
 0 or 1 value
The first data says if the LEDs are lit in green, red or amber (combining green and red). It is a binary code
that reads as follows, for example:
 Data
= 57h
The second data says if the buzzer is ON (1) or OFF (0). This is the complete package:
LEDs & Buzzer
Position
Message (Hex)
Meaning
LCD1
57
Led1=Green; Led2=Red; Led3=Amber; Led4=Off
LCD2
01
Buzzer ON
LCD3
LCD4
LCD5
LCD6
LCD7
LCD8
Important: The last byte of the second package that the systems transmit could have different values:
-
If the value is 1, means that the CAN message from the master is already sent to the transmitter and
the receiver could receive one more message and save it to send later to the transmitter.
-
If the value is 0, means that the transmitter has already received CAN message and is ready to
receive another one.
-
If the value is 3, means that the buffer is full and is waiting for the confirmation from the transmitter.
If you send a message in this state, because it has nowhere to store it, be lost.
LED 4
LED3
LED 2
LED 1
Red
Green
Red
Green
Red
Green
Red
Green
128
64
32
16
8
4
2
1
0
0
1
1
1
0
0
1