4 Data Exchange with the CPU Unit
4-4
CJ-series PROFIBUS Master Unit Operation Manual for NJ-series CPU Unit (W509)
An I/O port is automatically created by preparing the Unit Configuration with Sysmac Studio.
For details on the I/O ports defined for PROFIBUS Master Unit, refer to 4-2 Device Variables for CJ-
series Unit (Software Switches, Statuses).
Software Switches / Status data
Software switches (execution instructions of each function from the CPU Unit to the PROFIBUS
Master Unit), PROFIBUS Master Unit statuses and error data are allocated.
They are allocated in the memory used for CJ-series Unit according to the unit number as shown
below.
Other Allocation (Reserved)
The DM area words shown below which are allocated for the PROFIBUS Master Unit are not used,
i.e. no data is exchanged between an allocated DM area and the Unit. However, the allocated area
is reserved for use in a future extension of the Unit. Therefore, using this area for user data is not
recommended.
These variables are defined by the user and can be used to exchange data with PROFIBUS slave
devices from a user program. User-defined Variables are specified to access user-allocated areas des-
ignated with CX-ConfiguratorFDT for slave devices.
To use this area from the user program, you need to create user-defined variables of AT specification.
Unit number Allocated words Unit number Allocated words
0 1500 to 1524 8 1700 to 1724
1 1525 to 1549 9 1725 to 1749
2 1550 to 1574 10 1750 to 1774
3 1575 to 1599 11 1775 to 1799
4 1600 to 1624 12 1800 to 1824
5 1625 to 1649 13 1825 to 1849
6 1650 to 1674 14 1850 to 1874
7 1675 to 1699 15 1875 to 1899
Unit number Allocated words Unit number Allocated words
0 D30000 to D30099 8 D30800 to D30899
1 D30100 to D30199 9 D30900 to D30999
2 D30200 to D30299 10 D31000 to D31099
3 D30300 to D30399 11 D31100 to D31199
4 D30400 to D30499 12 D31200 to D31299
5 D30500 to D30599 13 D31300 to D31399
6 D30600 to D30699 14 D31400 to D31499
7 D30700 to D30799 15 D31500 to D31599
User-defined Variable