General
−
use Serial Communications
FP0
10
−
5
10.2 System Register Settings
10.2 System Register Settings
Preparation for Sending and Receiving Data (System Register Settings)
Communication is not enabled in the default settings for the RS232C port. To enable
communication, the items outlined below must be specified, using the system registers.
−
Usage purpose of the RS232C port
−
RS232C transmission format
−
Baud rate
−
Reception buffer
Setting the Usage Purpose of the RS232C Port (System Register 412)
Specify “General
−
use port” (this is K2 for the FP Programmer
II
). This is the setting
which enables serial communication.
Setting the RS232C Transmission Format (System Register 413)
The transmission format is as follows in the default settings. (With the FP Programmer
II
, this is H3.)
Data length:
8 bits
Parity check: Yes/odd
Stop bit:
1 bit
Terminal code: CR
Start code:
STX None
Set these items to match the external device connected to the RS232C port, and if
changing the transmission format, enter settings for the pertinent individual items.
With the FP Programmer II, the various items should be selected in bit units, as shown
below, and settings entered using H constants.
15
6
5
4
3
2
1
0
Data length
0:7 bits
1:8 bits
Start code
0:STX None
1:STX Yes
Terminal code 00:CR
01:CR and LF
10: None 11:ETX
Stop bit
0:1 bit
1:2 bits
Parity
00: None
01: Yes (odd)
11: Yes (even)
next page
Summary of Contents for FP0 Series
Page 14: ...Table of Contents FP0 xii ...
Page 16: ...Overview FP0 1 2 ...
Page 82: ...S LINK Control Unit FP0 4 2 ...
Page 95: ...Chapter 5 I O Allocation 5 1 I O Number 5 3 5 2 Control Unit 5 4 5 3 Expansion I O Unit 5 5 ...
Page 96: ...I O Allocation FP0 5 2 ...
Page 100: ...I O Allocation FP0 5 6 5 3 Expansion I O Unit ...
Page 102: ...Installation FP0 6 2 ...
Page 112: ...Installation FP0 6 12 6 5 Installation Using FP0 Flat Type Mounting Plate ...
Page 114: ...Wiring FP0 7 2 ...
Page 198: ...High speed Counter Pulse Output PWM Output FP0 9 34 9 5 PWM Output Function ...
Page 200: ...General use Serial Communications FP0 10 2 ...
Page 210: ...Self Diagnostic and Troubleshooting FP0 11 2 ...
Page 220: ...Specifications FP0 12 2 ...
Page 234: ...Dimensions FP0 13 2 ...
Page 243: ...Chapter 14 Appendix ...
Page 380: ...14 138 14 7 ASCII Codes ...