Instruction manual

7. EXAMPLES OF SEQUENCE PROGRAMS
IMSRM52-E5
61
7.3 Example of Data Fetch Sequence Program
(Normally ON)
SM1036
M63
SET M26
M23
Set extension No. to be read next time
to M relay.
Set extension No. set flag.
Extension No. to be read next time is
converted to 6 bits.
Only 6 bits are cleared.
(Other bits are held.)
Setting of extension No. for next read
Extension No. for next read
Temperature set value data read
(16 channels)
Temperature measured value data read
(16 channels)
Read of alarm state data, etc. from
SR Mini HG in M relay (16 channels)
SR Mini HG SYSTEM control unit
initialize
M39: Initialize data processing
completion flag
M40: Initialize data setting request flag
M41: Error reset request flag
Set the write delay timer
(for about 5 sec.)
Sending of setting data for next read
Control start
FROM H0 H0E0 K4M51 K1
FROM H0 H0E7 K4M71 K1
(RX)
(RX)
FROM H0 H2E0 D21 K16
FROM H0 H2E0 D41 K16
(RWr)
= D19 K0
MOV K3 D20
(RWr)
= D19 K3
MOV K0 D20
RST M23
M23 M63
WAND K2M11 H0FFC0 K2M11
MOV D20 SD718
(Accumulator)
WAND H3F SD718
WOR K2M11 SD718 K2M11
SET M23
MOV D20 D19
M39
M79
M41
M81
SM1036
TO H0 H160 K4M11 K1
TO H0 H167 K4M31 K1
K50
(RY)
(RY)
SM1036
T1
M26