A - 7 A - 7
8 COMMUNICATION USING MC PROTOCOL 8- 1 to 8- 4
8.1 Data Communication Function....................................................................................................... 8- 1
8.1.1 Accessing the PLC using MC protocol..................................................................................... 8- 1
8.1.2 How to Read the Control Procedures of the MC Protocol ....................................................... 8- 2
8.1.3 Access Timing on the PLC Side .............................................................................................. 8- 3
8.1.4 PLC setting for performing data communication...................................................................... 8- 4
8.1.5 Precautions on Data Communication ...................................................................................... 8- 4
9 WHEN COMMUNICATING DATA USING THE MC PROTOCOL 9- 1 to 9-40
9.1 Message Formats and Control Procedures ................................................................................... 9- 1
9.1.1 How to read the command reference section .......................................................................... 9- 1
9.1.2 Message format and control procedure ................................................................................... 9- 3
9.1.3 Contents of data designation items.......................................................................................... 9- 7
9.1.4 Character area transmission data............................................................................................ 9-11
9.2 List of Commands and Functions for The MC protocol.................................................................. 9-15
9.3 Device Memory Read/Write ........................................................................................................... 9-16
9.3.1 Commands and device range .................................................................................................. 9-16
9.3.2 Batch read in bit units (command: 00) ..................................................................................... 9-19
9.3.3 Batch write in bit units (command: 02)..................................................................................... 9-21
9.3.4 Test in bit units (random write) (command: 04) ....................................................................... 9-23
9.3.5 Batch read in word units (command: 01) ................................................................................. 9-25
9.3.6 Batch write in word units (command: 03)................................................................................. 9-29
9.3.7 Test in word units (random write) (command: 05) ................................................................... 9-33
9.4 Remote RUN/STOP, PLC model name code read ........................................................................ 9-35
9.4.1 Commands and control contents ............................................................................................. 9-35
9.4.2 Remote RUN (command: 13) / Remote STOP(command: 14)................................................ 9-36
9.4.3 PLC model name read (command: 15).................................................................................... 9-38
9.5 Loopback Test ............................................................................................................................... 9-39
9.5.1 Loopback test (command: 16) ................................................................................................. 9-39
10 USING THE E-MAIL FUNCTION 10- 1 to 10-27
10.1 E-mail Function .......................................................................................................................... 10- 1
10.1.1 E-mail send and reception by the PLC ................................................................................ 10- 1
10.2 Configuration and Environment of the Applicable System......................................................... 10- 3
10.3 Precautions for Using the E-mail Function.................................................................................10- 4
10.4 E-mail Specifications.................................................................................................................. 10- 6
10.5 Processing Procedure of the E-mail Function............................................................................ 10- 7
10.6 E-mail Settings........................................................................................................................... 10- 8
10.7 Sending/Receiving E-mail (Attached Files) by the PLC............................................................. 10-12
10.7.1 When sending data as an attached file................................................................................ 10-12
10.7.2 When receiving data in an attached file............................................................................... 10-18
10.7.3 Contents of the attached files .............................................................................................. 10-23
10.8 Sending E-mail (Main Text) by the PLC.....................................................................................10-25
10.8.1 When sending data as main text of e-mail........................................................................... 10-25