Promotic
WikipediaLinkedInYoutubeTwitterFacebook

Communication with Koyo Electronics PLC devices

The Direc Logic device from the Koyo Electronics company has more communication possibilities:
 

Communication by Modbus protocol

The PLCs allow to communicate by the Modbus protocol.
- Modbus RTU for serial link supported by all automated machines.
- Modbus TCP/IP for Ethernet supported by communication modules H0/H2/H4 ECOM 100.
 
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 this driver, it is recommended to set the configurators: (the setting is valid for DL06 devices)
- PmCommData > Parameters > Special Parameters > Area base addresses:
- base address "Bo = Coil/output bits" = 2048
- base address "Bi = Input bits" = 2048
- base address "Ro = Holding/output registers" = 0
- base address "Ri = Input registers" = 0
- "Data item address" then enter as follows:
Memory Type Address range of the data item Modbus address range
Inputs (X) Bi0 - Bi511 2048 - 2559
Special Relays (SP) Bi1024 - Bi1535 3072 - 3583
Outputs (Y) Bo0 - Bo511 2048 - 2559
Control Relays (CR) Bo1024 - Bo2047 3072 - 4095
Timer Contacts (T) Bo4096 - Bo4351 6144 - 6399
Counter Contacts (CT) Bo4352 - Bo4479 6400 - 6527
Stage Status Bits (S) Bo3072 - Bo4095 5120 - 6173
Timer Current Values (V) Ri0 - Ri255 0 - 255
Counter Current Values (V) Ri512 - Ri639 512 - 639
V-Memory, user data (V) Ro640 - Ro3839 640 - 3839
V-Memory, user data (V) Ro4096 - Ro8191 4096 - 8191
V-Memory, non-volatile (V) Ro3840 - Ro3967 3840 - 3967

Note: "Modbus address range" = The address range of the data item if Area base addresses is 0.

The communication by the DirectNet protocol

It is the proprietary KOYO protocol, used for the communication over the RS232C or RS422 serial interface. This protocol is supported in all series of the KOYO devices.
- The communication is done via standard serial link (COM1, COM2 ...).
- For this communication in the PROMOTIC system can be used: PmKoyo - Driver for communication with Koyo Electronics PLC devices.
- The PROMOTIC application is the MASTER (i.e. it initiates the data transfer) from this communication point of view.

The ASCII communication

The communication over the serial interface with the ASCII communication (supported, for example, by the DL06 devices). The protocol is created by the user.

For this communication in the PROMOTIC system can be used: PmChar - Driver for communication by user defined ASCII/BIN protocol.

The PROFIBUS-DP and DeviceNet communication

The communication on the PROFIBUS-DP and DeviceNet buses is accessible for the PROMOTIC application by the OPC interface. The PROMOTIC application is the OPC client and it communicates with the OPC Server. The OPC Server for this communication has to be purchased at the HW supplier.
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice