Mitsubishi QCPU Structured Programming Manual page 116

Melsec-q series
Hide thumbs Also See for QCPU:
Table of Contents

Advertisement

Z_UINI
Control Data
Device
For system
[0]
S
Execution result
[1]
S
Execution type
[2]
S
CH1 Transmission specification setting
[3]
S
CH1 Communication protocol setting
[4]
S
CH2 Transmission specification setting
[5]
S
CH2 Communication protocol setting
[6]
S
Station No. setting
[7]
S
[8]
S
to
For system
[12]
S
(1)
[3] (CH1 Transmission specification setting) and
S
setting)
to
b15
00
to 0F
H
00
to 0F
H
(a) Communication speed
Communication
speed
50bps
300bps
600bps
1200bps
2400bps
4800bps
9600bps
*1 :
5.2 Serial Communication and Modem Interface Instruction
5-78
5.2.14 UINI instruction
Item
Always specify '0'.
The instruction completion status is stored.
0
Other than 0
Specify the execution type.
0: Switches the execution type according to the
setting in the area starting from
1: Returns the execution type according to the
switch setting on GX Works2.
Set the transmission specifications for CH1. (Refer to
(1).)
Set the communication protocol for CH1. (Refer to
(2).)
Set the transmission specifications for CH2. (Refer to
(1).)
Set the communication protocol for CH2. (Refer to
(2).)
Set the host station number.
Always specify '0'.
*1
b8
b7 b6 b5 b4 b3 b2 b1 b0
0
CH1 side (
H
CH2 side (
H
Bit position
Communication
speed
b15 to b8
0F
14400bps
H
00
19200bps
H
01
28800bps
H
02
38400bps
H
03
57600bps
H
04
115200bps
H
05
230400bps
H
Specify '0000
' at the CH side for which "GX Developer connection" is specified in the communication
H
protocol setting.
Setting data
: Normal completion
: Error completion (error code)
S
[5] (CH2 Transmission specification
S
+3)
+5)
Description
OFF (0) ON (1)
Bit
Independence
b0
Operation setting
b1
Data bit
7
b2
Parity bit
Without
b3
Even/Odd parity
Odd
b4
Stop bit
1
b5
Sumcheck code
Without
Write during RUN
Inhibited Allowed
b6
Inhibited Allowed
b7
Setting change
b8
to
Communication speed
Refer to (a) below.
b15
Bit position
b15 to b8
06
H
• 230400bps is selectable only at
07
H
CH1 side (
08
H
CH2 side [
09
H
• The sum of communication speeds
0A
H
selected at CH1 side and CH2 side
0B
H
must be within 230400bps.
0C
H
Setting range
Setting side
0
0, 1
[3].
0 to 0FFE
H
0 to 8
0 to 0FFF
H
0 to 7
0 to 31
0
Remarks
Link
Always set the CH1 side (
+3) to OFF (0).
8
Parity bit is not included.
With
Vertical parity
Even
Valid only when parity bit is set to 'With'.
2
-
-
With
-
-
-
Remarks
[3]). (Select 300bps at
S
[5].]
S
User
System
User

Advertisement

Table of Contents
loading

Table of Contents