Mitsubishi Electronics MELSEC Q series MELSEC L series Home Theater Server User Manual


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