Table of contents
FP0R User's Manual 11
6.4.1 Setting system registers in PROG mode .................................................... 102
6.4.2 Changing communication mode in RUN mode ............................................ 105
6.5 MEWTOCOL-COM ............................................................................................ 105
6.5.1 Operation outline for MEWTOCOL-COM slave ............................................. 108
6.5.2 Command and response format ............................................................... 109
6.5.3 Commands ........................................................................................... 111
6.5.4 Setting communication parameters .......................................................... 112
6.5.4.1 FP0 compatibility mode ............................................................. 113
6.5.5 1:1 slave communication ........................................................................ 114
6.5.5.1 1:1 communication with a computer ........................................... 115
6.5.5.2 1:1 communication with GT touch panels ..................................... 116
6.5.6 1:N slave communication ....................................................................... 117
6.5.7 Sample program for master communication .............................................. 118
6.6 Program controlled communication ................................................................... 119
6.6.1 Setting communication parameters .......................................................... 121
6.6.1.1 FP0 compatibility mode ............................................................. 124
6.6.2 Sending data ........................................................................................ 124
6.6.3 Receiving data ...................................................................................... 126
6.6.3.1 Setting receive buffer for CPU .................................................... 128
6.6.4 Format of send and receive data ............................................................. 131
6.6.5 Flag operation ....................................................................................... 133
6.6.5.1 Start code: no-STX, end code: CR .............................................. 135
6.6.5.2 Start code: STX, end code: ETX .................................................. 136
6.6.6 1:1 communication ................................................................................ 139
6.6.7 1:N communication ................................................................................ 139
6.6.8 Programming in FP0 compatibility mode ................................................... 140
6.7 PLC Link ........................................................................................................ 141
6.7.1 Setting communication parameters .......................................................... 142
6.7.2 Link area allocation ................................................................................ 144
6.7.2.1 Example for PLC link 0 .............................................................. 145
6.7.2.2 Example for PLC link 1 .............................................................. 147
6.7.2.3 Partial use of link areas ............................................................. 148
6.7.2.4 Precautions for allocating link areas ............................................ 150
6.7.3 Setting the highest station number for a PLC link ...................................... 151
6.7.4 PLC link 0 and 1 allocation setting ........................................................... 152
6.7.5 Monitoring ............................................................................................ 152
6.7.6 PLC link response time ........................................................................... 155
6.7.6.1 Reducing transmission cycle times .............................................. 158
6.7.6.2 Error detection time for transmission assurance flags .................... 159