hpmont HD-PFT-A User manual

HD-PFT-A
Porodriver Function Card
User Manual
V1.1 2018.11

FORWARD
Thanks for your purchasing of Prodriver Function Card HD-PFT-A researched and
developed by Hpmont independently. This product is cost-efficient to control small
auto-equipment and its volume is small.
This user manual describes product specification, characteristic and use method. It is
for your reference.
Before use, please read this user manual carefully and know well about this product
characteristic for safe usage.
Note:
Preserve this manual for future use.
If you need the user manual due to damage, loss or other reasons, please contact
the regional distributor of our company or directly contact our company Technical
Service Center.
If you still have some problems during use, please contact our company Technical
Service Center.
Due to product upgrade or specification change, and for the purpose of
improving convenience and accuracy of this manual, this manual’s contents may
be modified.
Email address: overseas_[email protected]

Version and Revision Records
Version time: July, 2018
Version: V1.1
Chapter Revised Contents
Chapter 2 •Add CAN communication selection jumper J12, see section 2.3
•Add temperature control input terminal (PT100) wiring, see section 2.4.4
Chapter 3 •Modify the instruction set (logical and functional instructions), see section 3.3
•
Modify special address (M and D), see section 3.4
Chapter 4 •Modify Modbus communication use, analog use see section 4.1, 4.3
•Add the use of CAN communication, temperature control see section 4.2, 4.4

CONTENTS
Chapter 1 Safety Information and Precautions ....................................................................................................1
1.1 Design Precautions ...........................................................................................................................1
1.2 Wiring Precautions............................................................................................................................1
1.3 Environment Requirement ..............................................................................................................1
Chapter 2 Product Introduction..............................................................................................................................3
2.1 Indicators ............................................................................................................................................3
2.2 Terminals............................................................................................................................................. 4
2.3 Jumper and DIP Switch.....................................................................................................................5
2.4 Wiring ..................................................................................................................................................6
2.4.1 Digital Input Terminal (X) Wiring............................................................................................................. 6
2.4.2 Relay Output Terminal (Y) Wiring ........................................................................................................... 8
2.4.3 Analog Input Terminal (AI) Wiring .......................................................................................................... 9
2.4.4 Temperature Control Input Terminal (PT100) Wiring.....................................................................10
Chapter 3 Functions ................................................................................................................................................11
3.1 Introduction to Resource Sets.......................................................................................................11
3.2 Introduction to Programming and Application .........................................................................12
3.3 Commends Sets Introduction .......................................................................................................12
3.3.1 Basic Logic Commends ............................................................................................................................12
3.3.2 Basic Functions Commands....................................................................................................................13
3.4 Special Address................................................................................................................................16
3.4.1 Special M Address ......................................................................................................................................16
3.4.2 Special D Address.......................................................................................................................................17
Chapter 4 Usage.......................................................................................................................................................19
4.1 Modbus Communication ...............................................................................................................19
4.1.1 Special Address...........................................................................................................................................19
4.1.2 Communication Support MOUBUS Function Code .......................................................................20
4.1.3 Communication Address .........................................................................................................................21
4.1.4 Usage..............................................................................................................................................................21
4.2 CAN Communication Use...............................................................................................................23
4.2.1 Special Address...........................................................................................................................................23
4.2.2 Communication Command EXTR.........................................................................................................24
4.2.3 CAN Expansion Terminal Card Scanning............................................................................................25
4.2.4 CAN Communication Protocol ..............................................................................................................26
4.3 Analog Usage...................................................................................................................................27

4.4 Temperature Control Use ...............................................................................................................28
4.5 Power-down Save Data Usage ......................................................................................................29
4.6 Program Protection.........................................................................................................................29

Shenzhen Hpmont Technology Co., Ltd. Chapter 1 Safety Information and Precautions
HD-PFT-A User Manual V1.1 -1-
Chapter 1 Safety Information and Precautions
1.1 Design Precautions
Make sure to have safety circuits outside of the PFC to ensure safe system operation even during
external power supply problems or PFC failure. Otherwise, malfunctions may cause serious accidents.
•1) Most importantly, have the following: an emergency stop circuit, a protection circuit, an interlock
circuit for movements (such as normal vs. reverse rotation), and an interlock circuit (to prevent
damage to the equipment at the upper and lower positioning limits).
•2) Note that when the PFC CPU detects an error, such as a watchdog timer error, during self-
diagnosis, all outputs are turned off. Also, when an error that cannot be detected by the CPU occurs
in an input/output control block, output control may be disabled. External circuits and mechanisms
should be designed to ensure safe machinery operation in such a case.
•3) Note that the output current of the service power supply for sensors varies depending on the
model and the absence/presence of extension blocks. If an overload occurs, the voltage
automatically drops, inputs in the PLC are disabled, and all outputs are turned off. External circuits
and mechanisms should be designed to ensure safe machinery operation in such a case.
•4) Note that when an error occurs in a relay, triac or transistor output device, the output could be
held either on or off. For output signals that may lead to serious accidents, external circuits and
mechanisms should be designed to ensure safe machinery operation in such a case.
•To maintain the safety of the programmable controller system against unauthorized access from
external devices via the network, take appropriate measures. To maintain the safety against
unauthorized access via the Internet, take measures such as installing a firewall.
1.2 Wiring Precautions
For installation, wiring, etc., be sure to turn off all power.
Avoid wiring in the live state, plugging and unplugging the cable, otherwise it may cause electric
shock or damage to the circuit.
Do not supply power from the outside of the P24 terminal of the process card.
1.3 Environment Requirement
The environment should meet the following requirements:
Working temperature -10 - +50℃, air temperature change is less than 0.5℃/min
Storage environment
temperature -40 - +70℃
Operation place Indoor, not exposed to direct sunlight, no dust, soot, conductive dust, corrosive gas,
flammable gas, etc
Humitidy Less than 95%RH, no water condenses
Vibration resistance 3.5m/s2in 2 - 9Hz,10m/s2in 9 - 200Hz (IEC60721-3-3)
Level of protection IP20
Cass of pollution Level 2 (dry, non-conductive dust pollution)


Shenzhen Hpmont Technology Co., Ltd. Chapter 2 Product Introduction
HD-PFT-A User Manual V1.1 -3-
Chapter 2 Product Introduction
HD-PFT-A (FPC) features are as below:
•Programmable memory is used to store
instructions such as data processing,
sequential control, timing, counting and
logic operations. And control
various types
of devices and production process via
digital, analog input and output ports.
•Applications can be written in ladder
language or instruction list language,
support programming software such as
GX Works2, GX Developer.
•Can be connected with a variety of brand
man-machine interface, such as Delta,
EView, Kunlun state.
•Support Modbus network.
2.1 Indicators
Indicator Description
X0 - X7 Digital input status indicator On when valid and off when invalid (green)
Y0 - Y1 Transistor output status indicator On when valid and off when invalid (green)
Y2 - Y7, Y10, Y11 Relay output status indicator On when valid and off when invalid (green)
RUN Run indicator Always on under mode of RUN and flash under mode of
STOP (green indicator)
ERR Fault indicator Always on when stop with faulty, flash when not stop with
faulty (red indicator)
HD-PFT-A
HD-PFT-A
X0-X7
Indicator
Y5-Y7/Y11/Y2-Y4/Y10
Indicator
RUN
ERR
Y0 Y1

Chapter 2 Product Introduction Shenzhen Hpmont Technology Co., Ltd.
-4- HD-PFT-A User Manual V1.1
2.2 Terminals
Terminals Description
AI1, AI2 Analogue input Input voltage range 0 - 10V, input impedance 44kΩ
AI3, AI4 Analogue input
Input voltage / current optional
Input voltage range 0 - 10V, input impedance 44kΩ
Input current range 0 - 20mA, input impedance 500Ω
AO1, AO2 Analogue output Output voltage / current signal: 0 - 10V / 0 - 20mA
Programmable output
PTA, PTB, GND Terperature control
input
Platinum resistance thermometer PT100 two-wire input
Temperature range: -100 - 250°C (error ±2% / ±1% (after calibration))
X0 - X7 Digital input
Programmable bipolar selectable input signal with input voltage
range 0 - 30VDC
X0 - X1 input impedance 1.6kΩ, support high speed pulse 50kHz
X2 - X7 input impedance 4.7kΩ
Y0 - Y1, COM Transistor output Programmable optocoupler isolation, open collector output
Output voltage range 0 - 30VDC, maximum output current 50Ma
Y2 - Y7, Y10, Y11/
CM1 - CM2 Relay output
Programmable output, contact capacity: 250VAC/3A or 30VDC/1A,
normally open output
•CM1 is Y2 - Y4 / Y10 common, CM2 is Y5 - Y7 / Y11 common
P24, COM Digital power supply Digital input with +24V power supply, max. allowable output current
200mA
SEL Digital input common
Factory shorted with P24
•When using an external power supply to drive the X0 - X7,
disconnect the J10 short jumper cap J10
GND +10V power supply
ground Control board +10V power supply reference ground
MOD1+, MOD1- SCI communication SCI communication with the inverter
X3X2X1X0
X6X5X4
COM
Y0 Y1 CM1 Y2 Y3 Y4 Y10 PTA AI1 AI2 AI3 AI4
MOD1+ MOD2+
CAN+
X7
COM
SEL P24 CM2 Y5 Y6 Y7 Y11 PTB GND AO1 AO2
GND
MOD1- MOD2-
CAN-
Terminals
HD-PFT-A

Shenzhen Hpmont Technology Co., Ltd. Chapter 2 Product Introduction
HD-PFT-A User Manual V1.1 -5-
Terminals Description
MOD2+, MOD2- Programmable / HMI
communication port Programming interface / HMI communication interface
CAN+, CAN- CAN communication CAN communication with the host computer, function development
Note: If the relay terminal is connected to the AC 220V voltage signal, it must be limited to 3A.
2.3 Jumper and DIP Switch
Jumper and DIP Switch Description
J1
AI3 analog input voltage / current selection:
When 1,2pin is shorted, the AI3 input is the voltage amount (factory setting);
When 2,3pin is shorted, the AI2 input is the current amount.
J2
AI4 analog input voltage / current selection:
When 1,2pin is shorted, the AI4 input is the voltage amount (factory setting);
When 2,3pin is shorted, the AI2 input is the current amount.
J3
AO1 analog output voltage / current selection:
When 1,2pin is shorted, the AO1 output is the voltage (factory setting);
When 2,3pin is shorted, the output of AO1 is the amount of current.
J4
AO2 analog output voltage / current selection:
When 1,2pin is shorted, the AO2 output is the voltage amount (factory setting);
When 2,3pin is shorted, the AO2 output is the amount of current.
J7
SCI communication matching resistor selection:
When 1,2pin is shorted, no matching resistor is used (factory setting);
When 2,3pin is shorted, match resistor is used.
HD-PFT-A
SW1
J10
J3
J4
J7
J12
J2 J1
13
13
13
13
13

Chapter 2 Product Introduction Shenzhen Hpmont Technology Co., Ltd.
-6- HD-PFT-A User Manual V1.1
Jumper and DIP Switch Description
J12
CAN communication matching resistor selection:
When 1,2pin is shorted, no matching resistor is used (factory setting);
When 2,3pin is shorted, match resistor is used.
J10
SEL short selection:
When 1,2pin is shorted, SEL is shorted to P24 (factory setting);
When 2,3pin is shorted, SEL is shorted to COM.
Note: The J10 jumper cap must be removed when using an external power supply.
SW1
RUN/STOP switch selection:
STOP when dialing to the "ON" side;
RUN when dialing to the "1" side (factory setting).
2.4 Wiring
2.4.1 Digital Input Terminal (X) Wiring
Dry Contact Method
You can use the internal 24V power supply of the inverter (the SEL and P24 are shorted at the factory)
or use an external power supply (remove the shorting cap of J10). The wiring is shown in Figure 2 - 1.
Figure 2 - 1 DI terminal wiring when dry contact
13
31
1
ON
+24V
COM
P24
SEL
KX0...X7
+24V
COM
P24
SEL
KX0...X7
+
-
12-30V
DC
Current
Current
Dry contact
Using internal
power supply
Dry contact
Using external
power supply

Shenzhen Hpmont Technology Co., Ltd. Chapter 2 Product Introduction
HD-PFT-A User Manual V1.1 -7-
Source (Drain) Mode
Use the source and drain connections of the external power supply, as shown in Figure 2 - 2. (Remove
the shorting cap between the SEL and P24 terminals)
Figure 2 - 2 DI terminal wiring when using external power supply
When using the internal 24V power supply of the driver, the external controller is the connection mode
of the NPN type and PNP type common emitter output, such as Figure 2 - 3 shows. (When PNP, remove
the J10 shorting cap)
Figure 2 - 3 DI terminal input wiring when using internal 24V power supply
+ 24V
P24
SEL
X0
COM
X7
8
1
COM
+
-
External controller
+ 24V
P24
SEL
X0
X7
8
1
DC
12 - 30V
+
-
Source method
Using external
power supply
Drain method
Using external
power supply
DC
12 - 30V
External controller
+24V
P24
SEL
X0
COM
X7
8
1
+24V
P24
SEL
X0
COM
X7
8
1
External controller
NPN
Using internal
power supply
External controller
PNP
Using internal
power supply

Chapter 2 Product Introduction Shenzhen Hpmont Technology Co., Ltd.
-8- HD-PFT-A User Manual V1.1
2.4.2 Relay Output Terminal (Y) Wiring
Y0 and Y1 are transistor outputs, the output voltage range is 0 - 30VDC, and the maximum output
current is 50Ma. You can use the internal 24V power supply of the driver or use an external power
supply. The wiring is shown in Figure 2 - 4.
Figure 2 - 4 Transistor output wiring diagram
Figure 2 - 5 shows the internal equivalent circuit diagram of the relay output module. The output
terminals are divided into several groups.
CM1 is the common end of Y2 - Y4 / Y10, CM2 is the common end of Y5 - Y7 / Y11, and the output
contacts of different groups are connected to different power circuits.
Figure 2 - 5 Relay output equivalent circuit
Y0
+ 24V
P24
Y0
+ 24V
P24
COM COM
12 - 30V
DC
+
-
Relay
coil
Relay
coil
Using internal power supply
Using internal power supply
Y0 Output
group 0
24VDC
power source
Output drive circuit
Output
group 0
Output
group 1
Y4
Y5
Y6
Y7
CM2
CM1
Y1
CM1
Internal logic
circuit working
power supply
Logic circuit

Shenzhen Hpmont Technology Co., Ltd. Chapter 2 Product Introduction
HD-PFT-A User Manual V1.1 -9-
For inductive loads connected to the AC loop, the external circuit should consider the RC
instantaneous voltage sink circuit; for the inductive load of the DC loop, consider adding a
freewheeling diode, as shown in Figure 2 - 6.
Figure 2 - 6 Relay output connected to inductive load protection circuit
2.4.3 Analog Input Terminal (AI) Wiring
AI1/AI2 is the voltage input, the input voltage range is 0 - 10V, and the wiring is shown in Figure 2 - 7.
Figure 2 - 7 AI1/AI2 terminal wiring
Note:
1. In order to reduce the interference and attenuation of the control signal, the length of the control cable
should be limited to 50m, and the shielding layer is reliably grounded.
2. In the case of serious interference, the analog input signal needs to add filter capacitor or ferrite magnetic
ring, as shown in Figure 2 - 7.
AI3/AI4 can be selected as a voltage input with an input range of 0 - +10V. When using the internal
10V power supply, the wiring is the same as AI1/AI2, such as Figure 2 - 7 shows. When using an external
+/-10V power supply, the wiring is shown in Figure 2 - 8.
AI3/AI4 can be selected as current input, the input range is 0 - 20mA, and the wiring is shown in Figure
2 - 8.
Figure 2 - 8 AI3/AI4 terminal wiring
Linear current diode
Inductive load
24V+ 24V-
Y1
Inductive load
AC-L AC-N
R C
Y3
AI1/AI2
GND GND
AI1/AI2
+10
PE
Potentiometer
Signal linewindingontheferritecore
for 2or 3turns.
Filter capacitor
0.022uF/50V
Ferrite core
<50m
AI3/AI4
GND GND
+10V
GND
PE PE
AI3/AI4
GND
External power supply

Chapter 2 Product Introduction Shenzhen Hpmont Technology Co., Ltd.
-10- HD-PFT-A User Manual V1.1
2.4.4 Temperature Control Input Terminal (PT100) Wiring
PTA/PTB is temperature input, supports two independent PT100 temperature acquisition, input
temperature range is -150 - 250°C, control accuracy±2°C, resolution 0.1°C.
The two-wire PT100 input wiring is shown in Figure 2 - 9. If you are using a three-wire PT100, please
refer to the two-wire system for wiring. The wire compensation is set by software.
Figure 2 - 9 PTA/PTB terminal wiring
PTA /PTB
PT100
GND

Shenzhen Hpmont Technology Co., Ltd. Chapter 3 Functions
HD-PFT-A User Manual V1.1 -11-
Chapter 3 Functions
3.1 Introduction to Resource Sets
No. Source Quantity Range Remark
1 Input relay X 8 points X0 - X7 X0/X1 supports high speed pulse input, X0 - X4 supports
external input interrupt
2 Output relay Y 10 points Y0 - Y7,Y10,Y11 Y0/Y1 is the transistor output and supports high speed
pulse output
3 Auxiliary relay M
3072
points M0 - M3071
Labeled in decimal, generally used
M0 - M1023 can be used as power-down save (need to be
set)
256 points M8000 - M8255 The label is decimal, special use
4 Status relay S 1000
points S0 - S999
Labeled in decimal, generally used
S0 - S999 can be used as power-down save (need to be
set)
5 Time relay T 255 points T0 - T255
•T0 - T199, 100ms non-cumulative type, counting 200
points
•(Where T192 - T199 is used for subroutine)
•T200 - T245, 10ms non-cumulative type, counting 46
points
•T246 - T249, 1ms cumulative type, count 4 points
•
T250 - T255, 100ms cumulative type, counted 6 points
6 Counter C
245 points
Can be
saved after
power
down
(need to
be set)
C0 - C199 •C0 - C199, 16-bit incremental counter, counts 200 points
C200 - C234 •C200 - C234, 32-bit reversible counter, counting 35
points
C235 - C255
•C235 / C241 / C244 / X0 single item count high speed
counter
•C236 / X1 single item single counting high speed
counter
•C246 / C247 / C249 / X0 - X1 single double counting
high speed counter
•C251 / C252 / C254 / X0 - X1 to the high-speed counter
counts bis bis
Note: Other counters in this group are temporarily not
supported.
7 Data register D
7000
points D0 - D7999
Labeled in decimal, generally used
D0 - D511 can be used as power-down save (need to be
set)
D0 - D6999, counting 7000 points
256 points D8000 - D8255 The label is decimal and special. D8000 - D8255, counting
256 points
8 Index register V 8 points V0 - V7 Labeled in decimal, no power outage hold function
9 Index register Z 8 points Z0 - Z7 Labeled in decimal, no power outage hold function

Chapter 3 Functions Shenzhen Hpmont Technology Co., Ltd.
-12- HD-PFT-A User Manual V1.1
No. Source Quantity Range Remark
10 Nested pointer
128 points P0 - P127 Jump, subroutine, branch pointer
6 points I00* - I50* Input interrupt pointer
3 points I6** - I8** Timer interrupt pointer
11
Decimal
constant mark
K, H
The constant after the label K is a decimal constant, and
the constant after the label H is a hexadecimal constant.
Such as H10 = K16
12 The maximum number of support steps is 16K
3.2 Introduction to Programming and Application
Programming
software
Programming software GX Works2 or GX Developer
Support ladder programming, download, online monitoring (support 19200bps / 9600bps
(M8124 switch))
Programming device Personal computer: GX Works2, GX Developer runs on Windows operating system
(Windows XP, win7, etc.)
Programming and
application process
description
Product programming generally has the following steps:
•Understand the hardware interface (X, Y, AI, AO) and functional requirements of the
function process card
•Writing ladder programs
•Program check and download
•
Program monitoring and debugging
3.3 Commends Sets Introduction
3.3.1 Basic Logic Commends
Name Function Available Devices Step
LD (LoaD) NO contact logic operation begins X,Y,M,S,T,C 1
LDI (LoaD Inverse) NC contact logic operation begins X,Y,M,S,T,C 1
LDP (LoaDPulse) Initial logical operation - rising edge pulse X,Y,M,S,T,C 2
LDF (LoaD Falling pulse) Initial logical operation Falling / trailing edge pulse X,Y,M,S,T,C 2
AND (AND) Serial connection of NO (normally open) contacts X,Y,M,S,T,C 1
ANI (AND Inverse) Serial connection of NC (normally closed) contacts X,Y,M,S,T,C 1
ANDP rising edge Serial connection of rising edge X,Y,M,S,T,C 2
ANDF failing edge Serial connection of failing edge X,Y,M,S,T,C 2
OR (OR) Parallel connection of NO (normally open) contacts X,Y,M,S,T,C 1
ORI (OR Inverse) Parallel connection of NC (normally closed)
contacts X,Y,M,S,T,C 1
ORP (OR Pulse) Parallel connection of Rising edge pulse X,Y,M,S,T,C 2
ORF (OR Falling pulse) Parallel connection of Falling / trailing edge pulse X,Y,M,S,T,C 2
ANB(OR Block) Serial connection of multiple parallel circuits X,Y,M,S,T,C 1
ORB (OR Block) Parallel connection of multiple contact circuits X,Y,M,S,T,C 1
OUT output Coil driving Y,M,S,T,C 1
SET set Keep action Y,M,S 2

Shenzhen Hpmont Technology Co., Ltd. Chapter 3 Functions
HD-PFT-A User Manual V1.1 -13-
Name Function Available Devices Step
RST reset Keep clearing action and clear storer Y,M,S,T,C,D,V,Z
PLS rising edge Rising edge Y,M (except of special M) 1
PLF failing edge Failing edge Y,M (except of special M) 1
MPS (Point Store) Stores the current result of the internal PLC
operations 1
MRD (Read) Reads the current result of the internal PLC
operations 1
MPP (PoP) Pops (recalls and removes) the currently stored
result 1
INV reverse Invert the current result of the internal PLC
operations 1
NOP (No Operation No operation or null step 1
END end Forces the current program scan to end 1
MC (Master control) Denotes the start of a master control block
MCR (Master Control
Reset) Denotes the end of a master control block
3.3.2 Basic Functions Commands
Procedures
Symbols Functions Symbols Functions Symbols Functions
CJ Conditional jump IRET Interrupt return FEND First end
CALL Call subroutine EI Enable interrupt FOR Start of a for/next
loop
SRET Subroutine return DI Disable interrupt NEXT End a for/next
loop
WDT Watchdog timer
Move and Compare
Symbols Functions Symbols Functions Symbols Functions
CMP Compare XCH Exchange BCD Binary coded
decimal
ZCP Zone compare BMOV Block move BIN Binary
MOV Move FMOV Fill move SMOV Shift move
CML Compliment
Arithmetic and Logical Operations
Symbols Functions Symbols Functions Symbols Functions
ADD BIN addition INC BIN increment WXOR Word exclusive OR
SUB BIN subtraction DEC BIN decrement NEG Negation
MUL BIN multiplication WAND Word AND
DIV BIN division WOR Word OR

Chapter 3 Functions Shenzhen Hpmont Technology Co., Ltd.
-14- HD-PFT-A User Manual V1.1
Rotation and Shift
Symbols Functions Symbols Functions Symbols Functions
ROR Rotation right SFTR (Bit) shift right SFWR Shift register write
ROL Rotation left SFTL (Bit) shift left SFRD Shift register read
RCR Rotation right
with carry WSFR Word shift right
RCL Rotation left with
carry WSFL Word shift left
Data Operation
Symbols Functions Symbols Functions Symbols Functions
ZRST Zone reset BON Check specified bit
status ANS (Timed)
Annunciator set
MEAN Mean SUM The sum of active
bits ANR Annunciator reset
DEC0 Decode ENCO Encode BON Check specified bit
Status
SQR Square root FLT Float, (floating
point) GRY Decimal to gray
code
GBIN Gray code to
decimal
Communication
Symbols Functions Symbols Functions Symbols Functions
RS 485 serial
communication FROM 485 serial read TO 485 serial write
High Speed Processing
Symbols Functions Symbols Functions Symbols Functions
REF Refresh REFF Refresh and filter
adjust PWM Pulse width
modulation
SPD Speed detect PLSY Pulse Y output PLSR Ramp pulse output
Handy Instructions
Symbols Functions Symbols Functions Symbols Functions
ALT Alternate state RAMP Ramp - variable
value TTMR Teaching timer
STMR Special timer -
definable SER Search ABSD Absolute drum
INCD Incremental drum RAMP Ramp - variable
value SORT Sort data
Real Time Clock Control
Symbols Functions Symbols Functions Symbols Functions
TCMP Time compare TZCP Time zone
compare TADD Time Add
TSUB Time subtract TRD Read RTC data TWR Set RTC data
HOUR TIMER

Shenzhen Hpmont Technology Co., Ltd. Chapter 3 Functions
HD-PFT-A User Manual V1.1 -15-
PID
Symbols Functions Symbols Functions Symbols Functions
PID PID operation PID PID operation
Floating Point
Symbols Functions Symbols Functions
ECMP Float compare ESQR Float square root
EZCP Float zone compare INT Float to Integer
EBCD Float to scientific SIN Sine
EBIN Scientific to float COS Cosine
EADD Float add TAN Tangent
ESUB Float subtract SWAP Float to scientific
EMUL Float multiplication FLT Used to convert data to and from
floating point format
EDIV Float division
Contact Compare
Symbols Functions Symbols Functions
LD= Contact compare LD (S1) = (S2) AND<> Contact compare AND (S1) <> (S2)
LD> Contact compare LD (S1) > (S2) AND<= Contact compare AND (S1) <= (S2)
LD< Contact compare LD (S1) < (S2) AND>= Contact compare AND (S1) >= (S2)
LD<> Contact compare LD (S1) <> (S2) OR= Contact compare OR (S1) = (S2)
LD<= Contact compare LD (S1) < = (S2) OR> Contact compare OR (S1) > (S2)
LD>= Contact compare LD (S1) > = (S2) OR< Contact compare OR (S1) < (S2)
AND= Contact compare AND (S1) = (S2) OR<> Contact compare OR (S1) <> (S2)
AND> Contact compare AND (S1) > (S2) OR<= Contact compare OR (S1) <= (S2)
AND< Contact compare AND (S1) < (S2) OR>= Contact compare OR (S1) >= (S2)
Table of contents
Other hpmont DC Drive manuals