I/O Configuration General Description ..................................................86
Maximum Hardware Configuration .......................................................89
Configuring Cartridges and Expansion Modules ....................................92
Embedded Communication Configuration...................................................94
Ethernet Configuration ........................................................................94
Configuring Ethernet Network ........................................................94
Configuring Modbus TCP or Modbus TCP IOScanner .................... 100
Configuring EtherNet/IP............................................................... 108
Serial Line Configuration ...................................................................121
Configuring Serial Lines............................................................... 121
Configuring Modbus and ASCII Protocols ..................................... 124
Configuring the TMH2GDB Remote Graphic Display ..................... 126
Configuring Modbus Serial IOScanner .......................................... 127
Adding a Device on the Modbus Serial IOScanner ......................... 127
Supported Modbus Function Codes ................................................... 134
Supported Modbus Function Codes.............................................. 134
State Machine Diagram for Modbus IOscanner ................................... 136
State Machine Diagram for Modbus IOscanner.............................. 136
SD Card.................................................................................................137
File Management Operations............................................................. 137
SD Card Supported File Types........................................................... 138
Clone Management...........................................................................139
Firmware Management .....................................................................140
Application Management ................................................................... 144
Post Configuration Management ........................................................ 145
Error Log Management .....................................................................147
Memory Management: Backing Up and Restoring Controller
Memory............................................................................................150
Programming the M221 Logic Controller ............................................151
I/O Objects.............................................................................................152
Digital Inputs (%I) .............................................................................152
Digital Outputs (%Q) .........................................................................153
Analog Inputs (%IW) .........................................................................153
Analog Outputs (%QW).....................................................................155
Network Objects.....................................................................................156
Input Assembly (EtherNet/IP) Objects (%QWE) .................................. 156
Output Assembly (EtherNet/IP) Objects (%IWE).................................. 157
Input Registers (Modbus TCP) Objects (%QWM) ................................ 158
Output Registers (Modbus TCP) Objects (%IWM) ............................... 159
Digital Input (IOScanner) Objects (%IN).............................................. 160
Digital Output (IOScanner) Objects (%QN) ......................................... 161
Input Register (IOScanner) Objects (%IWN) ....................................... 162
Output Register (IOScanner) Objects (%QWN) ................................... 163
Modbus IOScanner Network Diagnostic Codes (%IWNS) .................... 165
System Objects ......................................................................................166
System Bits (%S)..............................................................................166
System Words (%SW).......................................................................172
Input Channel Status (%IWS) ............................................................ 188
Output Channel Status (%QWS) ........................................................ 190
Glossary ...................................................................................................193
4 EIO0000003297.02