(7) Memories related to general purpose communication
%MW1.61793 to %MW1.61838 ................................................................... 1-31
(8) Memories related to CPU link %MW1.61858 to %MW1.62399 ................. 1-33
(9) Memories related to Ethernet
%MW1.62400 to %MW1.62463, %MW3.62400 to %MW3.62463 ..............1-35
(10) Data write/read parameter for memory pack
%MW3.61440 to %MW3.61471 ................................................................1-39
1-4 I/O Address Assignment ....................................................................... 1-40
1-4-1 Rules for assigning I/O addresses ...............................................................1-40
(1) Unit No. ........................................................................................................1-40
(2) Word No. and bit address ............................................................................1-40
1-4-2 Example of address assignment ..................................................................1-40
(1) Example of a system consisting only of a main unit (40 points) ..................1-40
(2) Example of a system in which expansion units are connected to
a main unit (60 points) .................................................................................1-41
(3) Example of a system in which expansion units are connected to
a main unit (32 points) .................................................................................1-41
1-5 Variables .................................................................................................1-42
1-5-1 Overview of variables ...................................................................................1-42
1-5-2 Variable declaration ......................................................................................1-43
(1) Usage of variables .......................................................................................1-43
(2) Assigning variables to memory ....................................................................1-44
(3) Retaining variables during power failure ...................................................... 1-46
(4) Setting initial value for variable ....................................................................1-46
(5) Restrictions on variable names .................................................................... 1-46
1-6 Data Types .............................................................................................1-47
1-6-1 Organization of data types ...........................................................................1-47
1-6-2 Basic data types ...........................................................................................1-48
1-6-3 Derived data types .......................................................................................1-50
(1) Array data types ........................................................................................... 1-50
(2) Structured data types ................................................................................... 1-52
(3) Restrictions on derived data types ............................................................... 1-54
1-7 Tasks ......................................................................................................1-55
1-7-1 Task specications .......................................................................................1-55
1-7-2 Types and operations of tasks ......................................................................1-55
1-7-3 Example of xed cycle task operation ..........................................................1-56
1-7-4 Example of event task operation ..................................................................1-57
1-8 Program Organization Units (POUs) ...................................................1-58
1-9 Calendar Function .................................................................................1-61
1-9-1 Calendar value range ...................................................................................1-61
1-9-2 Calendar accuracy .......................................................................................1-61
1-9-3 How to monitor and set the calendar from D300win ....................................1-61
1-9-4 How to monitor and set the calendar from an application program .............. 1-62
1-10 Writing/Reading Data to/from Memory Pack ....................................1-63