Siemens 6AV6651-7KA01-3AA4 - S7-1200 + KTP400 Basic Starter Kit 6AV6651-7KA01-3AA4 사용자 설명서

제품 코드
6AV6651-7KA01-3AA4
다운로드
페이지 364
 
Programming made easy 
 
6.3 Powerful instructions make programming easy 
Easy Book 
Manual, 03/2014, A5E02486774-AF 
101
 
Table 6- 2 
MOVE, MOVE_BLK and UMOVE_BLK instructions 
LAD / FBD 
SCL 
Description 
 
out1 := in; 
Copies a data element stored at a specified 
address to a new address or multiple 
addresses. To add another output in LAD or 
FBD, click the icon by the output parameter. 
For SCL, use multiple assignment statements. 
You might also use one of the loop 
constructions. 
 
MOVE_BLK(in:=_variant_in, 
     count:=_uint_in, 
     out=>_variant_out); 
Interruptible move that copies a block of data 
elements to a new address. 
 
UMOVE_BLK(in:=_variant_in, 
     count:=_uint_in 
     out=>_variant_out); 
Uninterruptible move that copies a block of 
data elements to a new address. 
6.3.3 
Conversion instructions 
Table 6- 3 
Conversion instructions 
LAD / FBD 
SCL 
Description 
 
out := <data type in>_TO_<data type 
out>(in); 
Converts a data element from one data type to 
another data type.  
 
1
  For LAD and FBD: Click below the box name and select the data types from the drop-down menu. After you select the 
(convert from) data type, a list of possible conversions is shown in the (convert to) dropdown list.  
  For SCL: Construct the conversion instruction by identifying the data type for the input parameter (in) and output 
parameter (out). For example, DWORD_TO_REAL converts a DWord value to a Real value.