Using The Rs232C Port [Fp-M C Type Control Boards (C20Rc/C20Tc/C32Tc)]; Using The Rs232C Port - Panasonic FP-M Hardware Manual

Table of Contents

Advertisement

2. Using the RS232C Port [FP-M C type control boards (C20RC/C20TC/C32TC)]

When modem communication is performed using the RS232C port, the computer link function can be performed.
To perform modem communication using the RS232C port, set system registers 412, 413, 415, and 416 as follows:
- System register 412......K1 (select computer link)
- System register 413......
- System register 415......K1 though K32 (See notes below.)
- System register 416......H8000 (RS232C MODEM CONNECTION ENABLED)
Notes:
• With NPST-GR Software version 3.0 or higher, you cannot set system register 416 to the modem enable
mode.
• The baud rate is fixed at 2,400 bps and the setting of system register 414 is ignored.
• The same station number (UNIT NO.) cannot be assigned to FP-Ms in the same network.
• Since initialization of the modem is performed only by an FP-M whose UNIT NO. (system register 415) is
set to K1, pay attention to the following when station numbers (UNIT NO.s) are assigned to FP-Ms:
- when one computer communicates with one FP-M, system register 415 should be set to K1.
- when one computer communicates with two or more FP-Ms, no two FP-Ms can have same station
number (UNIT NO.) and one of the FP-Ms in the network must be assigned as station number 1 (UNIT
NO. 1).
• Modem initialization is performed only when the mode of the programmable controller set to RUN from
PROG., or when the power is turned ON in the RUN mode by an FP-M whose UNIT NO (system register
415) is set to K1. Therefore, be sure to apply power to the modem, before the FP-M is turned ON.
• Once the modem is initialized successfully, it will not re-initialize if the mode of the programmable
controller is set to RUN from PROG. again.
• When one computer communicates with two or more programmable controllers, set the modem to the
mode without character echo.
• Be sure to set the computer and C-NET adapters to the same communication format.
Data format
Start bit:
1 (fixed, no need to set this)
Character bits: 7 bits or 8 bits
Parity bit:
None or 1 bit (ODD or EVEN)
Stop bit:
1 bit or 2 bits
Set the character bits, parity bit, and stop bit so that the total number of bits used to
send a character adds up to 10 bits.
Control code
Header:
NO STX or STX
Terminator:
CR, CR + LF, or ETX
These settings are ignored when the computer link is selected.
8-12. Modem Communication
227

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents