Mitsubishi Electric AJ71C24-S6 User Manual page 206

Melsec-4 computer link module
Table of Contents

Advertisement

8. COMMUNICATIONS USING DEDICATED PROTOCOLS
MELSEC-A
(b) Designating the head address
The division between sequence programs and TIC set values, and
their addresses in 4-digit ASCll are shown in the table below.
Example:
To read the set values TO t o T63
Head address = FEOOH
Command
=
MR
Calculation of designated step
Timer
: Tm
=
FEOOH
+
n
Counter
: Cm
=
FFOOH
+
n
where,
m
=
device number
n
=
hexadecimal value of device number
(c) Meaning of TIC set values
TIC set values are stored as hexadecimal values as shown in the
table below.
When rewriting the PC CPU set values from the computer via the
Sequence
Program
T O set value
TI
set value to T255 set
value
C O set value
C1 set
value to
C255
set value
Step 0
Step 1 to Step 30718 (30K)
AJ71C24, designate the set value in 4-digit ASCll
Designated
Step
for Protocol
FEWH
FEOI H to FEFFH
FFWH
FFOl H
to
FFFFH
MXn)H
0001 H to 77FEH
Example:
Data designated to change T I 0 setting value K10 to K20
......
0014H
K[1[1[1[1l1
1
KO
1
OOOOH
/ T [ I [ I [ l A
K1
to
0001
to
H
Data designated t o change T I 1 setting value 030 to D l 0
......
800AH
Ladder Example
in
Program
Calculation of protocol setting value
Km
=
0000H
+
n
Dm
=
8000H
+
2n
where,
m
=
device number
n
=
hexadecimal value of device number
K9
K10
to
K32767
Setting
in Program
. .
W09H
OOOAH
to
7FFFH
Setfing
in
Protocol

Advertisement

Table of Contents
loading

Table of Contents