Smarteh LPC-2.MC9 User Manual - page 9
Longo programmable controller LPC-2.MC9
Example2: network with 1 master and 4 slaves, every slave have defined 4 byte of data and baud
rate 250 kbps. Fastest Cycle time for this configuration is 5 ms.
5 millisecond is the fastest recommended cycle time. It is recommended to power-up all the nodes
on the same network at the same time, if some or all nodes had been reprogrammed (to reinitialize
the communication properly).
Figure 2: Master and Slave wiring diagram
Devices connected over CAN bus connection are wired in bus topology (serial). Appropriate wires
must be connected together (HI-HI, LO-LO, GND-GND). CAN1 port is used when the device acts as
Master, CAN2 port is used when the device acts as a Slave. Master or Slave devices can be positioned
on any place inside the bus.
Devices connected over CAN bus connection must be properly terminated. Termination must be
made on first and last CANopen device on the bus.
2
Main module operation modes
LPC-2.MC9 operates in two modes, normal run mode and programming mode. Switching between
modes is done by using switch S1 (Table 4.).
Program Mode
In Program Mode the CPU does not execute the application program or update the output modules.
The primary use for Program Mode is to enter or change an application program.
Run Mode Operation
In Run Mode, the CPU executes the application program and updates the I/O system. You can
perform many operations during Run Mode.
Some of these include:
•
Monitor and change I/O point status
•
Update timer/counter preset values
•
Update Variable memory locations
2
Wires connected to the module must have cross sectional area at least 0,14 mm². Use twisted-pair cables of type CAT5+ or
better, sheilding is recommended. Minimum temperature rating of wire insulation must be 85 °C. Galvanic isolation of 2500
V DC between CAN1, CAN2 and rest of the PLC circuit is provided.
5