Purelogic PLCM-E4 User manual

01. General information
02. Delivery set
03. Technical features
04. Main connectors and indicators
05. Software installation
06. Terms of Warranty
INSTRUCTION MANUAL
2
2
3
3
5
16
PLCM-E4
Ethernet/USB controller of CNC machine

Edition from 05.06.2015 3
PLCM-E4. Ethernet/USB controller of CNC machine
www.purelogic.ru8 (800) 555 63 74
01
02
General information
Delivery set
Technical features
The device is a controller of PLCM series ( see user’s manual), has 3
input/output ports and Ethernet and USB interface for PC connection.
Port #1 is transmitted to LPT-port. Port #2 – control of 8 high-current
relay. Port #3 – 16 optoisolated inputs.
The controller uses one supplying voltage. The device has PWN>voltage
converter.
• Controller PLCM-E4 — 1 pcs.
• Instruction manual — 1 pcs.
• Installation and setup guide PLCM-E4 — 1 pcs.
• Ethernet cable — 1 pcs.
• CD with software — 1 pcs.
• Cable ‘USB’, type ‘USB-B’ — 1 pcs.
03
01. General information
Voltage supply
Max current consumption
Max number of axes of CNC-machine
Operating temperature
Overall dimensions (W x H x L)
Control interface
STEP Max signal frequency
Number of outputs
Isolation resistance
Module’s height (without packing)
Number of inputs
12V, direct current
6
0...40 °С
169 x 126 x 20 mm
300mА
100 kHz
12 buffered (LPT-port)
500 mOhm
0,24 kg
16 optoisolated, 5 buffered (LPT-port)
Ethernet, USB, connector type “USB-B”.
signal transmission STEP/DIR/ENABLE
and input signals.
MACH3-compatible
!Check www.purelogic.ru for more information.
POWER OFF DEVICE BEFORE MAKING ANY CONNECTIONS.
DO NOT CONNECT POWER SUPPLY’S TO GROUND, MASS,
HOUSING, ETC.
IT IS RECOMMENDED TO USE HIGH QUALITY NOISEPROOF CABLES
ETHERNET AND USB.
THE CONTROLLER WORKS WITH MACH3 R3.043.XXX VERSIONS AND
HIGHER, ALWAYS REMEMBER TO UPDATE MACH3.
• XP33 connector – controller power socket (12V) (fig. 2).
• LED17 signals about supplying current.
• XS2 connector (fig. 2) is intended for PLCM-E4 connection to
PLCM-E4. Connection is recommended to provide with cable of the
5th category or higher. Usage of patch-cords with straight and cross
crimping is admitted. It is possible to connect to PC directly without
commutator usage.
• XS1 connector is used for connection PLCM-E4 to USB port.
Connection is recommended with a screened cable with ferrite rings.
Main connectors and indicators 04

Edition from 05.06.2015 5
PLCM-E4. Ethernet/USB controller of CNC machine
www.purelogic.ru8 (800) 555 63 74
04. Main connectors and indicators
Fig. 1. Connectors and indicators connection scheme
By analogy to LPT-port, contacts 1, 2, 3, 4, 5, 6, 7, 8, 9, 14, 16, 17 are
outputs, 10, 11, 12, 13, 15 are inputs, The second port is 16 optoisolated
inputs. The third port is 8 power relays.
• XP35 – XP42 connectors are connectors for power relays К1 — К8 (fig.
2).
• LED18 — LED25 indicate state of power relays K1 – K8.
• ХР43 — ХР50 connectors (fig. 2) allow to connect doubled LEDs which
are intended for indication of power relays K1 – K8.
• Connectors XP1 – XP16 – connection of optoisolated inputs (fig. 2).
• LED1 – LED16 signal about inputs XP1 – XP16 state.
• ХР17 — ХР32 connectors (fig. 2) allow to connect doubled LEDs which
are intended for indication of inputs XP1 – XP16 state.
• LED26 — LED29 – indication of controller state.
• ХР51 — ХР54 connectors (fig. 2) allow to connect doubled LEDs for
indication of a controller state, e.g. in case of its installation to some
part of a housing.
• The controller has also converter PWN>voltage (XP34) for control of
frequency converter (fig. 2).
• The controller has 3 ports. The first port is presented by XS3.
connector. It is buffered and is similar to LPT-port according to
assignment and contacts numeration (fig. 2).
1. Turn on the controller and connect it to Ethernet.
Link LED must flash on. If it does not or blinks and network connection
icon appears/disappears in Windows, automatic type definition went
incorrect (this was caused by special features of some network cards).
In this case it is necessary to set up manually. Click on the [Start] icon-
[Control Panel], [Network and Sharing Center], Local Area Connection
– properties. Then press ‘configure’ (fig. 4). In ‘Advanced tab’ choose
‘Speed and duplex mode’ and set ‘10Mbit per second full duplex’ (fig. 5).
(Parameters and names can slightly differ in different network cards).
2. For device work with MACH3, you need to install plug-in.
Please download zip-file for PLCM controllers from here:
www.purelogic.ru/files/downloads/SOFT/PLCM.zip and run «setup.
exe». Software installation wizard for controller will be started. (fig. 4).
Software installation 05

Edition from 05.06.2015 7
PLCM-E4. Ethernet/USB controller of CNC machine
www.purelogic.ru8 (800) 555 63 74
05. Software installation
Fig. 2. Scheme of connection
Tab. 1. Controller state
Tab. 2. Input/output ports Tab. 3. Pinout of XS3 connectors
DB25 Pin number in
MACH3 Input/output
1 1 output
2 2 output
3 3 output
4 4 output
5 5 output
6 6 output
7 7 output
8 8 output
9 9 output
10 10 input
11 11 input
12 12 input
13 13 input
14 14 output
15 15 input
16 16 output
17 17 output
18 GND -
19 GND -
20 GND -
21 GND -
22 GND -
23 GND -
24 GND -
25 GND -
13 1
25 14
Input MACH3 Relay MACH3
Port Pin Port Pin
IN1 2/1 K1 3/1
IN2 2/2 K2 3/2
IN3 2/3 K3 3/3
IN4 2/4 K4 3/4
IN5 2/5 K5 3/5
IN6 2/6 K6 3/6
IN7 2/7 K7 3/7
IN8 2/8 K8 3/8
IN9 2/9
IN10 2/10
IN11 2/11
IN12 2/12
IN13 2/13
IN14 2/14
IN15 2/15
IN16 2/16
Connect LED26 XP51
Packet LED27 XP52
E-stop LED28 XP53

Edition from 05.06.2015 9
PLCM-E4. Ethernet/USB controller of CNC machine
www.purelogic.ru8 (800) 555 63 74
05. Software installation
When choosing PLCM-E4 after ‘Next’ pressing, software installation
wizard will offer to execute automatic setting of network adapter PC for
correct connection to PLCM-E4 (fig. 8).
Fig. 3/4. Cable type setup / speed and duplex mode setup
Fig. 6. Driver installation
Fig. 7. Automatic network installation
Fig. 5. Software installation wizard

Edition from 05.06.2015 11
PLCM-E4. Ethernet/USB controller of CNC machine
www.purelogic.ru8 (800) 555 63 74
05. Software installation
Fig. 8. Plug-in option
Fig. 9. Device option / Plug-in setup in MACH3
Controller automatic search can disrupt local network, use this
function only if you do not use local network resources on the PC and
do not use the Internet. Press ‘Next’, then ‘Install’. The master will copy
the necessary files and finish its work.
3. Having installed the plug-ins, when starting MACH3 choose the
appropriate plug-in in the window which is shown in fig. 9.
As a rule there are two versions of plug-ins for PLCM controllers: test
and stable.
Choose the one you are going to work with. Tick ‘Don`t ask me
again ‘ in order not to choose it every time. If there is necessity to
change output device choose: MACH3 – Function Cfg’s – Reset device
sel.
* If you decided to go to another version (test or stable version, you will
need to go to plug-in setting up after start-up (see further) and update
internal controller software.
4. After successful plug-in start, PLCM control option will appear in
menu MACH3 PlugIn. Choose this option.
* If you see the window as it is in fig. 8 and you cannot choose controlling
device, this means that Windows firewall blocks access to PLCM-E1b.
You must either add MACH3 to firewall exception or disable firewall.
5. Execute plug-in setting.
Out of a falling out list it is necessary to choose one of the controllers
connected to the system.
After choosing the option additional controller settings will be available
(fig. 11). If the plug-in finds that weaving is out of date, you will be
prompted to update weaving in the controller. This procedure needs to
be performed once when first device installation.
Settings description:
Advance path planning time of Mach3 – specifies data size about motion
path, which the program needs to prepare beforehand. The more the
value, the more stable the machine works (e.g. when ToolPath picture
rotates , Mach stops calculating new trajectory data, therefore the
more of them were calculated beforehand, there is the less possibility
of ‘failure’ in motion while rotating the picture or some other load on
Mach3).

Edition from 05.06.2015 13
PLCM-E4. Ethernet/USB controller of CNC machine
www.purelogic.ru8 (800) 555 63 74
05. Software installation
Time of advance calculation of path of PLMach – similar buffer,
not from Mach3 side, but in PLCM card. The buffer stabilizes the
work under short lineouts PLCM<>Mach3 and under slowing down
calculation of Mach.
Note: From one side the more value of these features, the better (the
buffer is bigger, the work is more stable) but with increase of buffer
FeedHold will be delayed by the sum of these parameters, i.e. If
Mach3 buffer=1 sec and PLMach buffer=0,5 sec, CNC-system reaction
time when pressing FeedHold =1,5 sec + stepper motor braking time
according to the defined acceleration profile.
Logging – with active logging, log exchange file PLCM<>Mach3 is saved
to ‘C:\Mach3\
PLСM.log’. When exploring incorrect device work, this file must be
sent to Purelogic R&D technical Support with the detailed problem
description. To receive IP-address automatically we recommend to
leave this item active, if there is a device which can dynamically assign
IP-addresses (e.g. it can be a usual home network gateway for internet
connection )in you local network
Receiving address from DHCP-server – we recommend to make this
item active, if there is DHCP-server in your local net (device which can
dynamically set IP-address, it can be a common home network gateway
for access to the Internet).
Usage of the following IP-address – this option must be used when
there is no DHCP-server which appoints IP-addresses.
Restore IP button allows to reset IP-address of controller to those
installed by default.
If the controller is not found by the plug-in, follow the instructions in
item 6, if it is ok, skip item 6.
6. Automatic setting of network connection.
There is a complete solution for quick and easy configuration network
setting.
In (C:\Mach3\Purelogic), supplied with the devise you will find set_
ip.exe file.
After starting, this application will set up of your PC network
connections.
In case when there are several network cards are installed (several
network connections) the program will offer to specify for what
connection to change the settings.
FOR CORRECT WORK WITH PLCM CONTROLLER IT IS NOT
RECOMMENDED TO PUT THE SWITCH IN AUTOMATIC POSITION.
Fig. 10. Restore IP – reset IP to pre-defined

Edition from 05.06.2015 15
PLCM-E4. Ethernet/USB controller of CNC machine
www.purelogic.ru8 (800) 555 63 74
05. Software installation
You can assign any address to your PC (e.g. 192.168.10.XX,
192.168.10.1.) The last value can be different different from 10, 11
and 12 (192.168.10.10 and 192.168.10.12 addresses for PLCM devices
established by the manufacturer.
Automatic address assignment installation will work with the controller
only when there is local DHCP server in the net. In all other cases the
controller will not contact the plug-in.
After necessary connection option and pressing the button install the
application apply required connection parameters.
After the installation the application will come with a message:
Choose the connection which you intend to use with PLCM. (In this
case it is meant that if the computer has several network cards, you
can install one of them for work with PLCM and the other one use at
your discretion. We do not recommend to apply this approach in work
mode, as system loading of third party applies can cause delay of
tasks execution in Mach3 which can lead to loosing connection with
the controller. You can use several network cards when testing and
setting the system). With help of Double click of left mouse button open
‘network properties’ window.
Choose Internet protocols TCP/IP and press Properties.
In the opened window displace the switch to ‘Use this IP-address’
mode.
Enter any address like 192.168.10.XX in IP-address line, e.g.
192.168.10.1. The last number can be any but differ from 10, 11 and
12 (192.168.10.10 and 192.168.10.12 addresses for PLCM devices
established by the manufacturer). Net mask is 255.255.255.0. After
pressing OK you will need some time to apply the parameters. Switch
off firewall and anti virus software (or add MACH3 to exceptions).
(After pressing the button ‘install’ the application will require 2-3
minutes for introduction of changes. On ‘slow’ PC this procedure
will take a little more time). If for some reason you failed to make
connection to PLCM controller in automatic mode, produce setting
manually. Click on the [Start] icon-[Control Panel], [Network
connection].
Fig. 11. Application window view Set_IP Fig. 13. Network connection option
Fig. 12. Message about successful application of settings

Edition from 05.06.2015 17
PLCM-E4. Ethernet/USB controller of CNC machine
www.purelogic.ru8 (800) 555 63 74
05. Software installation
Fig. 14. Network connection components/ TCP/IP configuration
06 Terms of Warranty
The warranty period is 12 months after purchasing and is valid only
if all operational conditions and scheduled maintenance are strictly
followed.
1. General terms
1.1. In case of product acquisition as separate components, Seller
guarantees working ability of every component, but does not
assume responsibility for the quality of their joint work (mismatch
of components). If you have questions please consult our technical
support team.
1.2. Seller does not guarantee compatibility of the purchased product
with the one that Buyer already has or bought from third parties.
1.3. Product’s component parts and configuration can be changed by
manufacturer without notice due to the product consistent technical
improvement.
2. Conditions for warranty acceptance
2.1. The product is accepted only in the same completeness of set as it
was purchased.
3. Warranty service procedure
3.1. Warranty service is performed by testing the claimed product
defect.
3.2. If the defect is proved, warranty repair is carried out.
4. We do not assume any responsibility for glass, electric lamps,
starters and expendable materials as well as:
4.1. Damaged product caused by inappropriate transport and store
conditions, wrong connection, operation in abnormal (off-design)
mode, or in conditions which are not manufacturer-supplied (including
temperature and humidity out of limits of recommended range), having
damages due to third-party circumstances (voltage jumps, natural
disasters, etc.), also having mechanical or thermal damages.
4.2. The product with traces of foreign objects or substances impact,
including dust, liquids, insects, also objects having extraneous
inscription.
4.3. The product with traces of unauthorized tampering and (or) repair
process (traces of opening, home-made soldering, elements changing
etc).
4.4. The product with self-diagnostic function that shows improper
exploitation.
4.5. Technically complex product in respect of which assembly and
integration and start-up works were not performed by Seller specialists
or by recommended organizations, except in cases directly regulated
under goods documentation.
4.6. In cases when the product exploitation was performed in
conditions when power supply did not correspond with manufacturer’s
requirements, also when there is no electrical protection device.

Edition from 05.06.2015 19
PLCM-E4. Ethernet/USB controller of CNC machine
www.purelogic.ru8 (800) 555 63 74
06. Terms of Warranty
Produced and accepted in accordance with obligatory requirements of
valid technical documentation and is qualified for exploitation.
Lot number:
Technical
Control
Department
4.7. The product which was resold by the initial buyer to the third party.
4.8. The product with defects which were caused by low-quality spare
parts or fulfilled their service life spare parts,consumable materials,
also using spare parts, consumable materials not corresponding with
manufacturer’s requirements.

We draw your attention to the fact that there can be
some changes in this instruction due to the product
consistent technical improvement. You can always
download our latest versions at www.purelogic.ru
www.purelogic.ru
Contacts
Moscow +7 (495) 505-63-74
Voronezh +7 (473) 204-51-56
149 Office
160, Leninsky avenue, Voronezh,
Russia, 394033
Monday - Thursday: 8.00–17:00
Friday: 8.00–16.00
Break: 12.30–13.30
sales@purelogic.ru
Table of contents
Other Purelogic Controllers manuals