10 Table of Basic Instructions
10.2 I/O Instructions
10-6
149235-1CD
RE-CSO-A031
DIN
Function
Sets input signals in variables.
Additional
Item
B<variable number>
IN# (<input number>),
IGH# (<input group number>),
IG# (<input group number>),
OT# (<output number>),
OGH# (<output group number>),
OG# (<output group number>),
SIN# (<system input number>),
SOUT# (<system output number>)
Number of addressed input signals:
IN#(xx)=1;IGH#(xx)=4(per group);
IG#(xx)=8(per group)
Number of addressed output signals:
OT#(xx)=1;OGH#(xx)=4(per group);
OG#(xx)=8(per group)
IGH#(xx) and OGH#(xx) are not subject to parity
check; only the binary specification is allowed.
Example
DIN B016 IN#(16)
DIN B002 IG#(2)
WAIT
Function
Waits until the external input signal status matches the specified
status.
Additional
Item
IN# (<input number>),
IGH# (<input group number>),
IG# (<input group number>),
OT# (<user output number>),
OGH# (<output group number>),
SIN# (<system input number>),
SOUT# (<system output number>)
<status>,B<variable number>
T=<time (seconds)> 0.01 to
655.35 s
Example
WAIT IN# (12)=ON T=10.00
WAIT IN# (12)=B002
AOUT
Function
Outputs the specified voltage to the general-purpose analog output
port.
Additional
Item
AO# (<output port number>) 1 to 40
<output voltage(V)> -14.0 to 14.0
Example
AOUT AO# (2) 12.7