VA Motion Controller Programming Manual
266
writing variables of different data types of
PDD
WR_BOOL_BY_
SYM
WR_BYTE_BY_SY
M
WR_WORD_BY_
SYM
WR_DWORD_BY_
SYM
WR_SINT_BY_S
YM
WR_INT_BY_SYM
WR_DINT_BY_SY
M
WR_USINT_BY_SY
M
WR_UINT_BY_S
YM
WR_UDINT_BY_S
YM
WR_REAL_BY_SY
M
WR_STRING_BY_S
YM
WR_TIME_BY_S
YM
WR_OUTPUT_GR
OUP
PDD
is a method that can access the value of a variable by the name of the variable. It is a
method used when the controller kernel layer accesses the value of the
PLC
variable defined
by
MULTIPROG
. The
WR_*_BY_SYM
instruction is temporarily unavailable, and the general user
directly reads and writes. The variables are fine.
10.6.21 RTC_S ( Read PLC Clock )
IL
programming language
LD, FBD
programming
language
Function: The
RTC_S
instruction is used to read the
PLC
clock in a string variable, and the
read clock is in
GMT
format.
The
format of the oral and time output string specified
in
IEC61131-3
is
: DT#1998-11-21-15:27:56.46
.
LD IN
ST RTC_S_1.EN
CAL RTC_S_1
LD RTC_S_1.Q
ST Q
LD RTC_S_1.CDT
ST OUT
ST
programming language
RTC_S_1
(
EN:=
(
IN
))
; Q:=RTC_S_1.Q; OUT:=RTC_S_1.CDT;
Note
: IL, ST
language programming needs to insert variables
IN, O, OUT
or use constants in
the variable worksheet of the current
POU
RTC_S
instruction processing data types
Input
and
output
type of
data
description
IN
(
EN
)
BOOL
If
TRUE
, the actual date and time is written to the linked
output string.
Q
(
Q
)
BOOL
If
EN
is
TRUE, Q
is
TRUE
, otherwise
Q
is
FALSE
OUT
(
CTD
)
STRING
Date
and
time
of
the
acquisition,
such
Summary of Contents for VEC-VA Series
Page 1: ......
Page 25: ...VA Motion Controller Programming Manual 20 Word STRING String VECTOR ...
Page 90: ...VA Motion Controller Programming Manual 85 ...
Page 116: ...VA Motion Controller Programming Manual 111 ...
Page 139: ...VA Motion Controller Programming Manual 134 ...
Page 274: ...VA Motion Controller Programming Manual 269 ...
Page 329: ...VA Motion Controller Programming Manual 324 ...
Page 342: ...VA Motion Controller Programming Manual 337 2 Motion curve and timing diagram ...
Page 352: ...VA Motion Controller Programming Manual 347 2 Motion curve and timing diagram ...
Page 357: ...VA Motion Controller Programming Manual 352 2 Motion curve and timing diagram ...
Page 372: ...VA Motion Controller Programming Manual 367 2 Timing and motion profiles of FIG ...
Page 386: ...VA Motion Controller Programming Manual 381 2 the motion profile and timing ...
Page 444: ...VA Motion Controller Programming Manual 439 ...
Page 460: ...VA Motion Controller Programming Manual 455 ...
Page 461: ...VA Motion Controller Programming Manual 456 2 a timing graph and ...
Page 481: ...VA Motion Controller Programming Manual 476 ...
Page 543: ...VA Motion Controller Programming Manual 538 ...
Page 561: ...VA Motion Controller Programming Manual 556 ...
Page 597: ...VA Motion Controller Programming Manual 592 ...
Page 603: ...VA Motion Controller Programming Manual 598 ...
Page 607: ...VA Motion Controller Programming Manual 602 ...
Page 610: ...VA Motion Controller Programming Manual 605 ...
Page 613: ...VA Motion Controller Programming Manual 608 ...
Page 648: ...VA Motion Controller Programming Manual 643 Mode 1 is not available ...