Sample Program For Modem Answer Mode - IDEC FC4A-C10R2 User Manual

Fc4a series microsmart micro programmable logic controller
Table of Contents

Advertisement

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.
M8120
MOV(W)
M8120
RXD
2
M8077
The RXD2 instruction is programmed using
Source S1: Data register D10, No conversion, 2 digits, Repeat 10
M8055
S1 –
D1 –
REP
1
D8103
S1
D1
D2
20
M0
D0
WindLDR
« FC4A M
ICRO
M8120 is the initialize pulse special internal relay.
MicroSmart
When the
starts 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 starting with D10.
with parameters shown below:
S
U
'
M
»
MART
SER
S
ANUAL
27: M
M
ODEM
ODE
27-13

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents