22:
M
ODEM
M
ODE
FC5A
M
ICRO
S
MART
U
SER
’
S
M
ANUAL
FC9Y
‐
B1273
22
‐
13
Sample
Program
for
Modem
Answer
Mode
This
program
demonstrates
a
user
program
for
the
modem
answer
mode
to
move
a
value
to
a
data
register
assigned
to
the
modem
mode
and
initialize
the
modem.
While
the
telephone
line
is
connected,
user
communication
instruction
RXD2
is
executed
to
receive
an
incoming
communication.
The
RXD2
instruction
is
programmed
using
WindLDR
with
parameters
shown
below:
Source
S1:
Data
register
D10,
No
conversion,
2
digits,
Repeat
10
M8120
is
the
initialize
pulse
special
internal
relay.
When
the
MicroSmart
starts
to
run,
M8055
is
turned
on
to
send
the
ini
‐
tialization
string
for
the
modem
answer
mode.
The
MOV
instruction
stores
1
to
D8103
to
enable
user
protocol
after
telephone
line
is
connected.
M8077
(line
connection
status)
is
on
while
telephone
line
is
connected.
RXD2
receives
incoming
communication
and
stores
received
data
to
data
registers
starting
with
D10.
M8120
M8120
REP
S1
–
1
D1
–
D8103
MOV(W)
M8077
D2
D0
S1
20
D1
M0
RXD
2
M8055
Summary of Contents for MICROSmart FC5A Series
Page 1: ...FC5A SERIES FC9Y B1273 1 User s Manual Advanced Volume ...
Page 2: ......
Page 8: ...Preface 6 FC5A MicroSmart User s Manual FC9Y B1273 ...
Page 14: ...TABLE OF CONTENTS vi FC5A MICROSMART USER S MANUAL FC9Y B1273 ...
Page 52: ...4 DATA COMPARISON INSTRUCTIONS 4 10 FC5A MICROSMART USER S MANUAL FC9Y B1273 ...
Page 72: ...5 Binary Arithmetic Instructions 5 20 FC5A MicroSmart User s Manual FC9Y B1273 ...
Page 88: ...7 SHIFT ROTATE INSTRUCTIONS 7 12 FC5A MicroSmart User s Manual FC9Y B1273 ...
Page 112: ...8 DATA CONVERSION INSTRUCTIONS 8 24 FC5A MicroSmart User s Manual FC9Y B1273 ...
Page 138: ...11 PROGRAM BRANCHING INSTRUCTIONS 11 14 FC5A MICROSMART USER S MANUAL FC9Y B1273 ...
Page 178: ...13 PULSE INSTRUCTIONS 13 32 FC5A MICROSMART USER S MANUAL FC9Y B1273 ...
Page 202: ...14 PID INSTRUCTION 14 24 FC5A MICROSMART USER S MANUAL FC9Y B1273 ...
Page 206: ...15 DUAL TEACHING TIMER INSTRUCTIONS 15 4 FC5A MICROSMART USER S MANUAL FC9Y B1273 ...
Page 214: ...16 INTELLIGENT MODULE ACCESS INSTRUCTIONS 16 8 FC5A MICROSMART USER S MANUAL FC9Y B1273 ...
Page 248: ...21 COMPUTER LINK COMMUNICATION 21 4 FC5A MICROSMART USER S MANUAL FC9Y B1273 ...
Page 272: ...23 MODBUS TCP COMMUNICATION 23 10 FC5A MICROSMART USER S MANUAL FC9Y B1273 ...
Page 332: ...25 EXPANSION RS232C RS485 COMMUNICATION 25 16 FC5A MICROSMART USER S MANUAL FC9Y B1273 ...
Page 341: ...NOTE FC5A MICROSMART USER S MANUAL FC9Y B1273 1 ...
Page 342: ...NOTE 2 FC5A MICROSMART USER S MANUAL FC9Y B1273 ...