Example Program Of Setting - Mitsubishi Electric FX2N-485-BD User Manual

Fx2n series melsec-f programmable controllers communication board
Hide thumbs Also See for FX2N-485-BD:
Table of Contents

Advertisement

FX
-485-BD COMMUNICATION BOARD
2N
4
4.2.1

Example Program of Setting

The communication format is set by special data register D8120. Setting the communication format using D8120 is effective
only at the time the RS instruction is driven, and therefore if changed after driving, it is not actually accepted.
An example of setting D8120 is shown below.
M8002
MOV
H1B8E
H1B8E= 0001
1011
1000
The settings for the above program are as right.
D8120
1110 (binary)
COMMUNICATION FORMAT
Data length
7 bit
Parity
Even
Stop bit
2 bit
Baud rate
9,600 bps
Protocol
No protocol
Header
Use
character
Terminator
Use
character
DTR check
Receive
H/W of type II use
Control line
(Type I does not use)
4-4

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents