Fieldbus Communication Block Setup Program
Fieldbus Communication Block Setup Program
When controlling the remote I/O using the internal PLC device in the Profibus DP or DeviceNet Master module, configure the I/O area using the fieldbus communication block setting program.
Registering the Fieldbus program
Select [File] -> [New Program] -> [Fieldbus] menu.
Enter the Program Name, Program ID and Program Free Space (OnlineEdit Buffer).
Click the [OK] button.
Writing the Fieldbus program
Example of writing a program: When controlling the remote I/O using the fieldbus (PD01A: Profibus DP) master module at local base, slot #2,
the number of remote I/O connected to the fieldbus master is 32 point inputs and 16 point outputs.
Select "Local" for Base, "2" for Slot, and "CM1-PD01A" for Module type.
In case of reading the input of the remote I/O and configuring to save 2 words (32 bit) from M0000.
Select [Input] tab and click [Add New] button.
Select "M" for Device Type, 0 for Star Address, and 2 for Buffer Size. Click [OK] Button.
In case of setting 1 word (16 bit) data from Y0010 as the output of the remote I/O.
Select [Output] tab and click [Add New] button.
Select "Y" for Device Type, 10 for start Address, and 1 for Buffer Size. Click [OK] button.