27: M
ODEM
M
ODE
« FC4A M
ICRO
S
MART
U
SER
’
S
M
ANUAL
»
27-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
star ts to run, M8055 is turned on to send
the initialization 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 con-
nected.
RXD2 receives incoming communication and stores received data
to data registers star ting 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 FC4A-C10R2
Page 1: ...FC4A SERIES Micro Programmable Logic Controller User s Manual FC9Y B812 ...
Page 6: ...PREFACE 4 FC4A MICROSMART USER S MANUAL ...
Page 94: ...2 MODULE SPECIFICATIONS 2 74 FC4A MICROSMART USER S MANUAL ...
Page 184: ...6 ALLOCATION NUMBERS 6 20 FC4A MICROSMART USER S MANUAL ...
Page 218: ...8 ADVANCED INSTRUCTIONS 8 8 FC4A MICROSMART USER S MANUAL ...
Page 240: ...11 BINARY ARITHMETIC INSTRUCTIONS 11 8 FC4A MICROSMART USER S MANUAL ...
Page 244: ...12 BOOLEAN COMPUTATION INSTRUCTIONS 12 4 FC4A MICROSMART USER S MANUAL ...
Page 252: ...13 SHIFT ROTATE INSTRUCTIONS 13 8 FC4A MICROSMART USER S MANUAL ...
Page 274: ...15 WEEK PROGRAMMER INSTRUCTIONS 15 8 FC4A MICROSMART USER S MANUAL ...
Page 378: ...22 DUAL TEACHING TIMER INSTRUCTIONS 22 4 FC4A MICROSMART USER S MANUAL ...
Page 386: ...23 INTELLIGENT MODULE ACCESS INSTRUCTIONS 23 8 FC4A MICROSMART USER S MANUAL ...
Page 408: ...24 ANALOG I O CONTROL 24 22 FC4A MICROSMART USER S MANUAL ...
Page 426: ...26 COMPUTER LINK COMMUNICATION 26 6 FC4A MICROSMART USER S MANUAL ...