Communication with PLC devices by the IDEC company
The
IDEC Corporation company (
http://www.idec.com, Japan) manufactures PLC devices of the following types:
- SmartAxis
- MicroSmart (e.g. FC6A etc.)
- Micro-3, Micro-1, FA2J, FA3S (older device types)
in the PROMOTIC application, it is possible to use following ways to communicate with these devices:
Communication by the Modbus protocol
For this communication in the PROMOTIC system can be used:
- For example
SmartAxis PLC supports:
-
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 this case the values in the "
PmaCommGroup > 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 the ASCII protocol
For this communication in the PROMOTIC system can be used: