Mitsubishi Electric MELSEC iQ-R Series Quick Start Manual page 23

Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

Dot matrix LED control: CCPU_SetDotMatrixLED function
■Format
short CCPU_SetDotMatrixLED(unsigned short usLedMode, char* pcData);
■Argument
Argument
Name
usLedMode
Output mode
pcData
LED data
• Mode 1: ASCII mode
The character string specified for pcData[0] to pcData[3] is displayed.
Available characters (ASCII code) are shown below.
: Character string specification not allowed
Bit
Upper bit
0
Lower bit
0
1
2
3
4
5
6
7
8
9
A
B
C
D
E
F
When a character other than above is specified, an error will be returned.
If a NULL is included in a character string, data after the NULL is not displayed (blank). (They are displayed with left-aligned.)
In this guide, ASCII mode (1) is specified for the output mode (usLedMode).
Description
Specify the output mode to the dot matrix LED.
(When 'Reserved' is specified, this function ends normally without
processing.)
• 0: Dot mode
• 1: ASCII mode
• Others: Reserved
Specify the LED data.
1
2
3
4
5
SP
0
P
1
A
Q
2
B
R
3
C
S
4
D
T
%
5
E
U
6
F
V
7
G
W
8
H
X
9
I
Y
J
Z
K
L
-
M
.
N
/
O
6
7
8
9
A
2 USING C CONTROLLER MODULE
2.4 Knowledge Required for Programming
IN/OUT
IN
IN
B
C
D
E
F
2
21

Advertisement

Table of Contents
loading

This manual is also suitable for:

C controller

Table of Contents