8 PROGRAMMING FOR EXECUTING THE SLAVE FUNCTION
I/O communication function
8 - 9
When the FROM/TO instruction is used
Setting parameters for slave function (See Section 8.2.)
Input data processing program
Output data processing program
To ensure consistency of transmit/receive data of multiple words, take a measure
such as providing a handshake area at the end of transmit/receive data to check
the data transfer.
For the program example, refer to Section 7.1 (4).
Sets initial transmit data values.
Sets I/O Communication
Request to on.
Reads receive data.
Writes transmit data.
8 - 9