Example Program (2) - 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
5
5.2.3

Example Program (2)

M8000
M8002
X000
RS
X001
M0
M8123
X002
M1
M8161
MOV
H182F
D8120
D10
K11
D50
K1
PLS
M0
MOV
H0074
D10
MOV
H0065
D11
MOV
H0074
D17
MOV
H0061
D18
MOV
H000D
D19
MOV
H000A
D20
SET
M8122
MOV
D50
K4Y000
PLS
M1
RST
M8123
END
RS EXAMPLE PROGRAM
Handled by 8-bit data
Setting of communication format
b15
H 182F = 0001
1000
0010
RS instruction drive
Writing of send data
Herein, "test line" is sent.
Send request
Output of receive data
Receive completion reset
b0
1111
5-6

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents