Téléchargez aux formats PDF ou lisez en ligne sur Scribd
‘#((binjview/Home/) v / Expansion module ((binyview/Expansions/) » / 3 LCM (/bin/view/Expansions/[Link]/) +
7 LOM-L6EY ((bin/view/Esnansions/3 LCM/[Link]-16EV/) +
LCM-16EY
Last modified by Devin Chen [/bin/view/XWiki/DevinChen) on 2024/02/12 13:50
1 Naming rule
Naming rule of LCM 1/0 output expansion module:
1. WECON PLC series;
2. Input point No.
3. Product type, E means expansion;
4, Expansion output (¥);
5, T: transistor, R¢ relay.
2 Dimensions
Weight: Approx 0.31 Dimensions: mm
Li LT gle
525mm i 1 oh 0mm 4
= ” _ 90mm
wu "6
1. State LED: Light when normal condition
2. LINK: RS485 communication state
3. 485 communication terminal4, Module power DC24V
5. Extension module name
6. Digital signal output terminal
7. DIN rail mounting slot
8. DIN rail hook
9, Mounting holes (94.5)
on 7
5 » 4Zecon or | 9
LCM-16EYR _ arsTeit )
yo | v2 | va | ve [+ [ vo | viz oow2
| Ie VN
a
VN; | KR NI IK) |
aeeeaeceaek
are
6
Q
Name Description poste Event state
Led Blink Normal! communication
LINK RS485 communication Led OFF Communication exception, stop, or failure
belted Led on Abnormal software operation or hardware
failure
2.1 Crimp terminations
* Please use crimp terminals as indicated on the graph.
+ The tightening torque should be applied 5 to 8 [Link].
* Other terminals should be empty but only wiring terminals mention in this manual.Less than
6.2mm (0.24").
)—Use M3 (0.12"
Lessthan Ff Sha ae
6.2mm (0.24"))
3 Output specification
Item Relay output
Mode LCM-16EYR
Load
Output circuit
Power supply
Power supply _Less than AC250V or DC 30V
Circuit insulation Mechanical
LED Light when relay is energized
2A/ point
Resistance 8A/ four points
Load 8A/ eight points
Inductance 80VA
Lamp 100W
Leakage current ~
Minimumload = —
Transistor output
LCM-16EYT
Power supply
DC SV~ 30V
Photo-coupling
Light when photo-coupling is
energized
0.5A/ point
0.8A/ four points
1.6A/ eight points
12W/DC24V
1.5W/DC24V
0.1mA/ DC 30V
DC 5V 2mAOFF->ON About 10 ms Less than 0.2 ms
ON-> OFF About 10 ms Less than 0.2 ms
4 Modbus communication
4.1 Comport communication configuration
Com port comm. configuration
Station No. 1~32 (Adjust by DIP switch)
Baud rate 9600~115200 (Adjust by DIP switch)
Stop bit 1
Data bit 8
parity even
4.2 Module communication mode (function code)
LCM-16EY communication with coil: 01 (read coil), 05 (write signal coil), 15 (write continuous
coils)
1)0x01 (Read coil)
Request (by Master)
Slave Station 1 byte Slave station
Function code 1 byte 0x01
Start address 2byte 0x0000 to 0x000F
Coil address No. 2byte 11016
crc 2byte cRC
Response (by slave)
Slave station 1 byte Slave station
Function code 1 byte 0x01
Byte No. 1 byte N
Coil states N byte n=N or N41
crc 2byte cRC
N=Output number/8,f remainder is not equal to 0,then N=N+1Error (Slave respond)
Slave station 1 byte
Error code 1 byte
Exception code 1 byte
crc 2 byte
Slave station
0x81
01 (can not support this function)
02 (Address crossing domain)
cRC
Example: read 0x0000-0x0007 coils address.
Request (by Master)
Slave
Function code
Coil high start address
Coil low start address
Read number (High 8 bits)
Read number (Low 8 bits)
CRC Low bit
CRC High bit
2)0x05 (Write signal coil)
Request (By Master)
Slave station 1 byte
Function code 1 byte
Output address 2 byte
Output value 2byte
crc 2byte
Respond (By Slave)
Slave station
Function code
Respond (By slave)
0A Slave
01 Function code
00 Byte No.
00 Output states (0-7)
00 CRC Low bit
08 CRC High bit
B7
3c
Slave station
0x05
0x0000 to 0x000F
0x0000 (Write 0) or OxFFOO (Write 1)
CRC
1 byte
1 byte
Slave station
0x05
OA
01
01
FF
13
ECOutput address
Output value
crc
Error Respond (By Slave)
Slave station 1 byte
Error code 1 byte
Exception code 1 byte
crc 2byte
Example: write 0x000 address coil
Request (by master)
Slave Station
Function code
Coil high start address
Coil low start address
Write number (High 8 bits)
Write number (Low 8 bits)
CRC Low bit
CRC High bit
3)0X0F (Write continuous coil)
Request (by Master)
Slave station
Function code
Start address
Output number
Byte number
2 byte 0x0000 to 0x000F
2 byte 0x0000 or OxFFOO
2 byte cRC
Slave station
0x85
01 (cannot support this function code)
02 (Address crossing domain)
CRC
Respond (by slave)
0A Slave station
05 Function code
00 Coil high start address
00 Coil low start address
FF Write number (High 8 bits)
00 Write number (Low 8 bits)
BD
4
1 byte Slave station
1 byte Ox0F
2byte 0x0000 to Ox000F
2byte Ito 16
1 byte N
oA
05
00
oo
FF
00
BD
4Output value
cRC
N*1 byte
2byte
crc
N=Output value/8,if remainder is not equal to 0,then N=N+1
Respond (by slave)
Slave station
Function code
Start address
Output value
orc
Error Respond (By Slave)
Slave station 1 byte
Error code 1 byte
Exception code 1 byte
crc 2byte
1 byte
1 byte
2byte
2 byte
2 byte
Slave station
OxOF
0x0000 to 0x000F
11016
CRC
Slave station
OxeF
01 (cannot support this function code)
02 (Address crossing domain)
CRC
Example: Write 0x0000 address to 0x0007 coil
Master request
Slave station
Function code
Coil high start address
Coil low start address
operations number high 8 bit
operations number low 8 bit
Byte number
Write number
CRC low bit
oA
OF
oo
00
00
08
01
88
40
Slave respond
Slave station
Function code
Coil high start address
Coil low start address
operations number high 8 bit
operations number low 8 bit
CRC low bit
CRC high bit
0A
oF
00
00
00
og
55
76CRC high bit
4.3 Introduction of DIP switch
1)DIP switch introduction
BF8-6 | Baud rate
000 115200
001 57600
010 38400
O11 19200
100 9600.
101 | Reserved
110 | Reserved
111 | Reserved
5-1: Use to select station nunber
Figure 4-1 DIP switch
‘Note:
In practical use, the dial switch is ON (1) downward and OFF (0) upward. As shown in the figure,
the status of the DIP switch is downward, all are ON.
2)DIP switch and station settingIn practical use, the #1 to # 5 of the DIP switch is used for the selection of the module station
number, and the relationship between the station number and the 1 # 5 dial number switch is
shown in the following table:
#1DIP #2DIP #3DIP #4DIP #5 DIP Module
‘switch ‘switch ‘switch ‘switch switch ‘station
0 0 0 0 0 1
1 0 0 0 0 2
0 1 0 0 0 3
1 1 0 0 0 4
0 0 1 0 0 5
1 0 1 0 0 6
0 1 1 0 0 7
1 1 1 0 0 8
0 0 0 1 0 9
1 0 0 1 0 10
0 1 0 1 0 u
1 1 0 1 0 12
0 0 1 1 0 13
1 0 1 1 0 14
0 1 1 1 0 15
1 1 1 1 0 16
0 0 0 0 1 7
1 0 0 0 1 18
0 1 0 0 1 19
1 1 0 0 1 20
0 0 1 0 1 21
1 0 1 0 1 22
0 1 1 0 1 23
1 1 1 0 1 240 0 0 1 1 25
1 0 0 1 1 25
0 1 0 1 1 27
1 1 0 1 1 28
0 0 1 1 1 29
1 0 1 1 1 30
0 1 1 1 1 31
1 1 1 1 1 32
3)DIP switch and baud rate setting
In practical use, the #6 to #8 of the DIP switch are used for the selection of the baud rate, and
the relationship between the baud rate and #6-# 8 DIP switch is shown in the following table:
#6 DIP switch #7 DIP switch #8 DIP switch Module baud rate
0 0 0 115200
Hf 0 0 57600
0 i! 0 38400
A ie 0 19200
0 0 1 9600
1 0 1 Reserved for later expansion (Default: 115200)
0 1 1 Reserved for later expansion (Default: 115200)
1 1 1 Reserved for later expansion (Default: 115200)
4.4 Note
Communication function is different between LCM-16EY module and LX3V-16EY module, but
register function is same.
Module Maximum accessible address(BFM address)
16EY 15(output terminal)
5 Example
Set DIP switch according to 4.2 section introduces, the module station is 2, and baud rate is
115200. The 16 input terminal of the LCM-16EY module are mapped to M10~M25.* Set PLC COM2 connect LON-IOBY, set baud rate into 115200 1 8 even
e002
oS | ir ei
fe’ user Conmuic
prorrsa ation
J rire
Con? ver}
conta
(ey e9
ation ti]
5002
18 wy OF
fis user Station
oer ay site
ae a
read
(er ss
dats les
eh
8000
2 sk mt
eer PFO Station dats lon
am Fu write eh
I ______jwr ano nto
e000
a ts 2 msm
ser Bro] Station dats lon
fra al ne a
or remo
°
Project explanation
[Link] 0~16: This is for setting communication protocol and communication parameters;
+ Set PLC com2 as Modbus Master,
+ Set stop bit =1, data bit=8, Even parity, baud rate=115200 (Please check detail in PLC
COM2 Modbus setting manual)
[Link] 16~47: Map the M10~M25 to the 16 onput terminal of the LCM-16£Y.
vo
Created by Leo Wel (/bin/view/XWiki/admin) on 2022/06/08 06:42
No comments for this page