Mitsubishi Melsec A User Manual page 82

Table of Contents

Advertisement

7. COMMUNICATION WITH PROGRAMMABLE CONTROLLER CPU
/MELSEC
(2) Read head step and write head step
Specify TIC set values and program step numbers as shown in
the following table.
Sequence Program
TO set value
TI set value
Step
FEOOH
FEOl H
to
T255 set value
CO set value
C1 set value
to
FEFFH
FFOOH
FFOl H
to
C255 set d u e
Calculation of specified step:
to
FFFFH
Step
0
Step
1
to
Step
30719 (30Kl
Timer
Tm
=
FEOOH
+
n
Counter Cm
=
FFOOH
+
n
OOOOH
0 0 0 1 H
to
77FFH
where, m
=
device number
n
=
hexadecimal value of device number
(3) TIC set value
Readlwrite data of TIC set values is expressed in hexadecimal as
shown i n the following table.
Calculation of set value:
Spsification with
Constant
KO
K1
K2
to
K32766
K32767
where, m =device number
n
=
hexadecimal value of device number
Sat Value
WOOH
0001 H
W 0 2 H
to
7FFEH
7FFFH
Specification with
D Register
DO
D l
02
to
D 1022
Dl023
Set Value
8000H
8002H
8004H
to
81 FCH
81 FEH

Advertisement

Table of Contents
loading

Table of Contents