Promotic
WikipediaLinkedInYoutubeTwitterFacebook

Communication with IDEC PLC devices

The IDEC Corporation company (www.idec.com, Japan) manufactures PLC devices of the following types:
- SmartAxis
- MicroSmart
- Micro-3, Micro-1, FA2J, FA3S (older device types)
 
In PROMOTIC application, it is possible to use following ways to communnicate with these devices:
 

Communication by Modbus protocol

For this communication in the PROMOTIC system can be used: PmModbusMr - Driver for communication by Modbus Master protocol.
For easy integration of this driver into the application it is handy to use:
- For example SmartAxis PLC supports
- Modbus RTU: on expansion comm port.
- Modbus TCP/IP: in built-in Ethernet port.
- Modbus address IDEC is represented by a six digit number (e.g. Holding register 400001). The Modbus protocol does not support such high adresses and therefore recalculation is necessary:

From 6-digit decimal address only last 4 digits are taken and 1 is subtracted (e.g. Holding register 400016 will have the decimal communication address 15).

In such case the values in the PmCommData > Parameters > Special Parameters > Area base addresses configurator must be set to 0.

- The data can be read/written by the following Modbus functions:
- Functions for reading:
01-Read Coil Status (Read Output Bits)
02-Read Input Status (Read Input Bits)
03-Read Holding Registers (Read Output Registers)
04-Read Input Registers
- Functions for writing:
05-Force Single Coil (Write 1 Bit)
15-Force Multiple Coils (Write n Bits)
16-Preset Multiple Registers (Write n Registers)
 

Communication by ASCII protocol

For this communication in the PROMOTIC system can be used: PmChar - Driver for communication by user defined ASCII/BIN protocol.
For easy integration of this driver into the application it is handy to use:
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice