
B-63943EN-1/02 13.PROGRAM COMMAND
- 1699 -
Custom Macro Output Signals
UO000 to UO015<Fn054,Fn055>, UO100 to UO131<Fn056 to Fn059>
UO016 to UO031<Fn276,Fn277>, UO200 to UO231<Fn280 to Fn283>
UO300 to UO331<Fn284 to Fn287>
[Classification] Output signal
[Function] No function is provided for the control unit. These signals can be read
or written by a custom macro as a type of system variable, and are
used for interface signals between custom macros and the PMC.
These signals correspond to system variables as indicated below.
- When the parameter MIF (No.6001#0) is set to 0 :
Signals Q'ty Variables Correspondence of values
UO000
UO001
UO002
UO003
:
UO014
UO015
1
1
1
1
:
1
1
#1100
#1101
#1102
#1103
:
#1114
#1115
"0" at "0" and "1" at "1"
UO000 to UO015 16 #1132
Unsigned 16-bit binary code
*1
UO100 to UO131 32 #1133 Signed 32-bit binary code
*2
*1 Variable value #1132 =
{}
∑
=
×+
15
0
2]1100[#
i
i
i
*2 Variable value #1133 =
{}
∑
=
×−×
30
0
31
31
i
22
i
i
VV
Where Vi=0 when UO1i is “0”and Vi=1 when UO1i is “1”
These system variables can be used on the left side of an assignment
statement as well as on the right side.
The value assigned to the system variable used on the left side last is
used for the value of the system variable to be assigned on the right
side.
- When the parameter MIF (No.6001#0) is set to 1 :
Signals Q'ty Variables Correspondence of values
UO000
UO001
UO002
UO003
:
UO030
UO031
1
1
1
1
:
1
1
#1100
#1101
#1102
#1103
:
#1130
#1131
"0" at "0" and "1" at "1"
UO000 to UO031 32 #1132 Signed 32-bit binary code
*1
UO100 to UO131 32 #1133 Signed 32-bit binary code
*1
UO200 to UO231 32 #1134 Signed 32-bit binary code
*1
UO300 to UO331 32 #1135 Signed 32-bit binary code
*1
*1 Variable value #(1132+n) =
{}
∑
=
×−×
30
0
31
31
i
22
i
i
VV
Where Vi=0 when UOni is “0”and Vi=1 when UOni is “1”
n : 0 to 3