User`s manual
402
17.8 ZP.UINI
This instruction can change the mode, transmission specifications and station number of the Q series C24.
It is applicable to the QJ71C24N (-R2/R4), and LJ71C24 (-R2).
*1 If the host station is a Basic model QCPU (function version B or later), Universal model QCPU, or LCPU, " " (double
quotation) of the first argument can be omitted.
17.8.1 Setting data
The file registers of each of the local device and the program cannot be used as the setting data.
17.8.2 Control data
Setting
data
Applicable device
Internal device
File register
Link direct device
J\
Intelligent function
module device
U\G
Index register Zn Constant Others
Bit Word Bit Word
(S)
(D)
Setting data Description Set by Data type
"Un"/Un
Start I/O signal of the module
(00 to FE: The 2 upper digits of an input/output signal expressed in 3-digit.)
User
String/BIN-16
bit
(S) Head number of the devices that store control data User, System Device name
(D)
Head bit device number of the local station that turns ON for one scan upon instruction
completion.
(D)+1 also turns on if the execution completes abnormally.
System Bit
Device Item Setting data Setting range Set by
(S)+0 For system Always specify this to 0. 0 User
(S)+1 Execution result
The execution result of the UINI instruction is stored.
0: Normal
Other than 0: Error code
System
(S)+2 Execution type
Specify the execution type.
0: Switch the settings by those indicated in (S)+3 and later.
1: Return the settings to the GX Developer switch settings.
0, 1
User
(S)+3
CH1 transmission
specifications setting
Set the CH1 side transmission specifications.
Page 403, Section 17.8.2
(1)
(S)+4
CH1 communication
protocol setting
Set the CH1 side communication protocol.
Page 404, Section 17.8.2
(2)
(S)+5
CH2 transmission
specifications setting
Set the CH2 side transmission specifications.
Page 403, Section 17.8.2
(1)
(S)+6
CH2 communication
protocol setting
Set the CH2 side communication protocol.
Page 404, Section 17.8.2
(2)
(S)+7 Station No. setting Set the host station No. 0 to 31
(S)+8
to
(S)+12
For system Always specify this to 0. 0
*1
ZP.UINI
"Un" (S)
ZP.UINI
(D)
Command
[Executing
condition]
[Instruction
code]