MODBUS Protocol Service
Outline
This is to access CPU data, using MODBUS protocol in a PC.
Parameter Setup
Select the MODBUS RTU Protocol as the protocol in the Action Mode and enter the station number of the communication card as the station number. If the parameters are set up, press the download button. If they are downloaded and you press the upload button, the downloaded value will be uploaded.
Modbus Command
Command | Description | Remarks |
1 (Read Coil) | Accesses the bit device where data can be read and written. | Read Bit |
2 (Read Input) | Accesses the bit device where data can be read. | Read Bit |
3 (Read Holding) | Accesses the word device where data can be read and written. | Read Word |
4 (Read Input) | Accesses the word device where data can be read. | Read Word |
5 (Force Single Coil) | Accesses the bit device where data can be written. | Write Bit |
6 (Preset Single Register) | Accesses the word device where data can be written. | Write Word |
15 (Force Multiple Coils) | Accesses the bit device where data can be written. | Write Bit |
16 (Preset Multiple Regs) | Accesses the word device where data can be written. | Write Word |
Address Map
Device Memories of all kinds can be corresponded.
Bit / Word | Modicon Address | CIMON-PLC Address | Size CIMON-PLC |
Bit Read Input | 100001 ~ 104096 | X 0000 ~ | 4096 Bits |
104097 ~ 106144 | F 0000 ~ | 2048 Bits | |
106145 ~ 107168 | T 0000 ~ | 1024 Bits | |
107169 ~ 108192 | C 0000 ~ | 1024 Bits | |
Bit Read Coil | 000001 ~ 004096 | Y 0000 ~ | 4096 Bits |
004097 ~ 012288 | M 0000 ~ | 8192 Bits | |
012289 ~ 014336 | K 0000 ~ | 2048 Bits | |
014337 ~ 016384 | L 0000 ~ | 2048 Bits | |
Word Input Register | 300001 ~ 300256 | X 0000 ~ | 256 Words |
300257 ~ 300384 | F 0000 ~ | 128 Words | |
300385 ~ 301408 | TC 0000 ~ | 1024 Words | |
301409 ~ 302432 | CC 0000 ~ | 1024 Words | |
302433 ~ 302482 | S 0000 ~ | 50 Words | |
Word Holding Register | 400001 ~ 400256 | Y 0000 ~ | 256 Words |
400257 ~ 400384 | K 0000 ~ | 128 Words | |
400385 ~ 401408 | TS 0000 ~ | 1024 Words | |
401409 ~ 402432 | CS 0000 ~ | 1024 Words | |
402433 ~ 402483 | L 0000 ~ | 128 Words | |
402561 ~ 403072 | M 0000 ~ | 512 Words | |
403073 ~ 413072 | D 0000 ~ | 10000 Words |
Bit(Read Inputl, Read Coil) occupies Modicon Address bit by bit.
[Ex.] Read Input -> 100001: X0000, 100002: X0001,....., 100017: X0010,.....
[Ex.] Read Coil -> 000001: Y0000, 000002: Y0001,..... , 000017: Y0010,.....
Word(Input Register, Holding Register) occupies Modicon Address word by word.
[Ex.] Input Register -> 400001: X0000, 400002->X0010, 400003->X0020,.....
[Ex.] Holding Register -> 302561: M0000, 302562: M0010, 302563: M0020,......
[Note] Some MODBUS Master devices can read and write the devices from 1 to 9999 in the range of the address of each data type. In this case, as the part corresponding to the device greater than Modicon Address 9999 in the data of a PLC cannot be accessed, the access memory of the user program may be controlled.
[Ex.] Table mapping with XYDM devices assuming two cases of mapping from 0 and 1.