Mitsubishi MELSEC-L series Programming Manual page 117

Hide thumbs Also See for MELSEC-L series:
Table of Contents

Advertisement

Control Data
Device
Item
Transmission channel
[0]
s1
Transmission result
[1]
s1
Number of send data
[2]
s1
Program Example
The following program sends desired data stored in devices from D11 to D15 using the
bidirectional protocol.
(For the Q series C24 whose I/O signals are X/Y00 to X/Y1F)
[Structured ladder]
Setting data
Set the transmission channel.
1: Channel 1 (CH1 side)
2: Channel 2 (CH2 side)
The instruction completion status is stored.
0
: Normal completion
Other than 0
: Error completion (error code)
Set the number of send data.
5.2 Serial Communication and Modem Interface Instruction
G_BIDOUT
Setting range
1, 2
1 or more
Transmission
instruction pulse
Sets transmission
channel to 1
Sets number of send
data to 5 words
Sends data
Turns normal completion
flag ON
Stores error code
Turns error completion
flag ON
Turns normal completion
flag OFF
Turns error completion
flag OFF
5.2.4 BIDOUT instruction
Setting side
User
System
User
5
5-71

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec-q series

Table of Contents