Preparation For Using Modem; Programming Data Registers And Internal Relays; Setting Up The Cpu Module - IDEC FC4A-C10R2 User Manual

Fc4a series microsmart micro programmable logic controller
Table of Contents

Advertisement

Preparation for Using Modem

Before using a modem, read the user's manual for your modem.
The required initialization string depends on the model and make of the modem. When the
user program, the default modem initialization strings is stored to D8145-D8169. See page 27-3.
Default Initialization String:

Programming Data Registers and Internal Relays

To enable the modem mode and communicate through the telephone line, the following settings are needed.
1. If the default initialization string does not match your modem, program a proper initialization string and enter the
ASCII values to data registers starting with D8145 (initialization string). To send out the new initialization string, turn
on internal relay M8050 (initialization string start IR) after the new values have been stored to the data registers.
2. Program to move 0 or 1 to data register D8103 (on-line mode protocol selection) to select maintenance protocol or user
protocol for the RS232C port 2 after telephone line is connected.
3. Program the destination telephone number if dialing is required. Enter the ASCII values of the telephone number to
data registers starting with D8170 (telephone number). Store two characters each in one data register. Enter 0Dh at the
end of the telephone number. See page 27-4.
4. If you want to change the default value of 3 retry cycles, program to move a required value to data register D8109.
5. Include internal relays M8050-M8077 in the user program to control the modem communication as required.

Setting Up the CPU Module

1. Install the RS232C communication adapter (FC4A-PC1) to the port 2 connector on the all-in-one 16- or 24-I/O type
CPU module. The 10-I/O type CPU module cannot be used for modem communication.
When using any slim type CPU module, mount the RS232C communication module (FC4A-HPC1) next to the slim
type CPU module, and use the port 2 on the RS232C communication module.
When using the HMI base module with any slim type CPU module, install the RS232C communication adapter
(FC4A-PC1) to the port 2 connector on the HMI base module.
2. Connect the
MicroSmart
27-1.
ATE0Q0V1&D2&C1\V0X4&K3\A0\N5S0=2&W
CPU module port 2 to a modem using the modem cable 1C (FC2A-KM1C) as shown on page
« FC4A M
ICRO
S
U
'
M
»
MART
SER
S
ANUAL
27: M
starts to run the
MicroSmart
CR LF
M
ODEM
ODE
27-9

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents