136
136
136
136
RS485-1 is the extension port of ELC-12 CPU(new version) named COM2 ,it usually servers as
extension port , but it also can be used as common RS485 port if no any extensions need use
in your application and at the same time two RS485 ports need be used. The standard RS485
module cannot bring out the terminals of COM2 built-in ELC-12 series CPU,
so one customize
RS485 module should be used for this case.
RS485-2 is the common RS485 port built-in ELC-12 series CPU ,ELC12-E-RS485
module is
used to bring out the terminals from this port named COM3. Additionally ,ELC12-E-ETHERNET
module is also using this port to connect with ETHERNET.
Command
Command
Command
Command
Function
Function
Function
Function description
description
description
description
remark
remark
remark
remark
01
01
01
01
Read one group coil status
(
00000
~
0XXXX
)
Read Coil Status
(
output
)
02
02
02
02
Fetch one group data of the status of switch input
(
10000
~
1XXXX
)
Read input Status (input relay)
03
03
03
03
Read data of multi-holding register
(
40000
~
4XXXX
)
Read Holding Registers
(Output register)
04
04
04
04
Read data of input registers (3000
~
3XXXX)
Read Input Registers
Note: Please use “03” command to read AI/AO of xLogic
4.where to save the data read from Slave.
Example: The following we'll take a example that one xLogic (Master) communicate with other
xLoigc (Slave) via RS485.
Example
Example
Example
Example 1:
1:
1:
1:
Get Q1 status of SLAVE1(xLogic) and then save the bit status to FM1.
Содержание xLogic
Страница 1: ......
Страница 2: ......
Страница 102: ...100 100 100 100 B B B B Blocks Blocks Blocks Blocks...
Страница 105: ...103 103 103 103 G G G G M M M M status status status status...
Страница 106: ...104 104 104 104 H H H H AM AM AM AM value value value value...
Страница 164: ...162 162 162 162 If the Memory Read block had been triggered the Q1 of ELC 12 CPU will be set 1...
Страница 204: ...202 202 202 202 Step Step Step Step 6 6 6 6 Moving Moving Moving Moving...
Страница 226: ...224 224 224 224...