0% found this document useful (0 votes)
424 views111 pages

Amx-Fx3u V1.2

This document provides an overview and instructions for using an AMX-FX3U relay series programmable logic controller (PLC). It describes the PLC's model naming conventions, specifications, functions, software components, analog inputs/outputs, and communication capabilities. Users are advised to read the manual carefully before using the PLC to understand its programming resources, functions, and proper usage.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
424 views111 pages

Amx-Fx3u V1.2

This document provides an overview and instructions for using an AMX-FX3U relay series programmable logic controller (PLC). It describes the PLC's model naming conventions, specifications, functions, software components, analog inputs/outputs, and communication capabilities. Users are advised to read the manual carefully before using the PLC to understand its programming resources, functions, and proper usage.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 111

Welcome to use amoxun programmable controller, for better use of PLC

function please read this material carefully

Cover

AMX-FX3U relay series


Programmable Controller
User Manual

Rev: V1.2

https://www.amsamotion.store
AMX-FX3U relay series Programmable Controller User Manual, Dongguan AMX Automation
Technology Co. , Ltd.

Foreword

Foreword

Contents of the manual


The contents of this manual mainly describe the programming resources,
functions and usage of AMX-FX3U Relay PLC products, such as PLC software
component distribution, support instructions, analog input and output, high-
speed counter, Modbus RTU communication, etc. , for the purchase of this
product to provide customers with reference.

Instructions
Before using PLC products, users should read and grasp the information of this
 PLC completely
The sample contents in the manual are only for users’reference and
understanding. If in doubt, please contact the relevant technical personnel of
 imoxun
If the user will use this PLC with other products, please ensure that the relevant
technical specifications

Contact
If you have questions about the use of this PLC product, please contact the
agent, the sales staff, or contact us by telephone.

Http://amsamotion.com

Email: amx@amsamotion. Com

Telephone numbers: 4001-522-518 Dial 1(technical hotline) and 4001-522-518 Dial
 2(sales hotline)
Address: 1/F, Building B, Zhaoxuan Manufacturing Park, 9 Yizhan Road, Yuan Wu
 Bian, Dongguan City, Guangdong Province
Scan the QR code below for more product information on imoxun’s official public
account
AMX-FX3U relay series Programmable Controller User Manual, Dongguan AMX Automation
Technology Co. , Ltd.

Version history

Version history

Version Revision date Revision notes Page number

V1.0 June 18,2020 Initial version -

V1.1 July 6,2020 - add “Sensor wiring diagram” Page 20

V1.2 August 28,2020 - adjust text description for analog output -


- partial layout layout layout layout, wiring
diagram adjustment -

The text after “Rev:”on the cover of this user’s manual represents the
document version
AMX-FX3U relay series Programmable Controller User Manual, Dongguan AMX Automation
Technology Co. , Ltd.

User Manual Guide

User Manual Guide

The content of this manual is structured as follows:

Chapter Projects Content description

Product Introducing AMX-


1 Overview FX3U Designation and main features of Relay Series PLC
Product Explanation AMX-
2 specification FX3U Relay Series PLC product specification and wiring definition
Functional Describe AMX-
3 planning FX3U Relay Series PLC main function of each model product
Software
component Describe AMX- Relay Series PLC programming software components, high-speed
4 specification FX3U counter distribution
Explanation AMX-
5 Analog usage FX3U Function and application of analog quantity of Relay Series PLC
Communication Describe AMX-
6 Guide FX3U Relay Series PLC support communication function and use
AMX-FX3U relay series Programmable Controller User Manual, Dongguan AMX Automation
Technology Co. , Ltd.

Table of contents

Product Overview 1
1.1 model naming convention 1
1.2 models and major functions1
1.3 product features 2

2. Product Specification 3
2.1 main specification 3
2.2 interface specification 4
2.2.1 amx-fx3u-14interface definition 4
2.2.2 amx-fx3u-26interface definition 6
2.2.3 amx-fx3u-48interface definition 8

Functional planning 10

Software component specification 13


4.1 software component allocation 13
4.2 high speed counter instruction 14
4.3 special software components 15

Instructions for the use of analog quantities


5.1 analog input 19
5.2 analog output 20

Communications Guide 22
6.1RS232 Communication 22
6.2RS422 communication 23
6.3RS485 Communication 24
6.3.1, using FX3U PLC 485 communication function 24
6.3.2. Communication of Modbus RTU main station with PLC 25
6.3.3. PLC as Modbus RTU slave station communication 36

Appendix A, AMX-FX3U Series PLC support instruction table 46

Appendix B, Modbus RTU communication error code (D8402 data)50


AMX-FX3U relay series Programmable Controller User Manual, Dongguan AMX Automation
Technology Co. , Ltd.

Product Overview
AMX-FX3U relay series is a new generation of high-speed, high-performance
programmable controller (PLC) .

1.1 model naming convention


The basic unit models of the AMX-FX3U series programmable controllers are generally
as follows:

The 1 and 2 of the model name components represent the following specifications
1 I/O total points: 14,26,48, etc.
2 output type: R stands for relay output (with contact, AC/DC load)
T represents transistor output (for contactless DC loads)

1.2 models and key features


Switchin Communi
g Analog cation High-speed
quantity quantity port count
FX3U compatible
High-speed
Mesh output
Series model 输输输输 openin AB
422 485 232 g Single phase phase
入出入出
Amx-fx3u-14 8 6 2 1 无 无 1 无 100K, Route
4,
Route 2,40K
AMX-FX3U-26 16 10 2 1 1 1 无 无 Route 2 No

Amx-fx3u-48 24 24 2 1 无 2 1 无 Route 6,20K


1
AMX-FX3U relay series Programmable Controller User Manual, Dongguan AMX Automation
Technology Co. , Ltd.

1.3 product features


Main features

The MCU adopts ARM32-bit industrial processor and is suitable for small PLC in
industrial automation application

Compatible with most of Mitsubishi FX3U instructions, supports programming
with GX Works2/GX Developer; comes with a separate download and upload
programming interface

All IO port with photoelectric isolation transmission signal, effective filtering all
kinds of interference, input support positive/negative trigger, easy to use

High-speed counter function

With analog input and output channels

The power supply circuit adopts anti-reverse connection and anti-surge design

All key electronic components are imported big brand, quality assurance for 3 years

It is widely used in signal acquisition and control of industrial field equipment


The basic function of enrichment
1. Basic Instruction Speed: 0.18 US/step, Instruction Execution Speed
Fast 2, program capacity: Program Memory Size is 0 ~ 16000 steps,
has a more complete basic/application instructions 3, with the clock
calendar, RUN/Stop Switch, a/d, D/A, firmware upgrades and other
powerful functions 4, DIN rail installation, easy maintenance

Extensive communication capabilities


AMX-FX3U-14/48programming port is the DB9 Master of the standard RS232C, amx-
FX3U-26programming port is the s terminal of the standard RS422. In addition, the
programming port can communicate with touch screen which supports the FX3U PLC. ,
support Modbus RTU communication protocol, can also support FX3U PLC Touch
Screen Communication Protocol

High-speed counter function


1.6 channels (x 0 ~ x 5) single-phase high-speed pulse counting, 2 channels AB phase
counting, 14 channels (x 0 ~ x 3)100K single-phase counting, 2 channels (x 4 ~ x 5)40K
single-phase counting, 48 channels 20K per channel
2
AMX-FX3U relay series Programmable Controller User Manual, Dongguan AMX Automation
Technology Co. , Ltd.

Product specification

2.1 major specifications


Model number Amx-fx3u-14 AMX-FX3U-26 Amx-fx3u-48
Digital input
Number of input
points 8 16 24
Input signal type Switch contact signal or level signal, support positive and negative trigger
Input Signal
Voltage DC 20 ~ 28V
Insulation Loop Optocoupler isolation
Digital output
Number of output
points 6 10 24
Output type Relay
Contact capacity 30VDC 5A, 250VAC 5A
Insulation Loop Mechanical insulation
Analog input
Number of input
points 2
Voltage/current, DIP switch switch
Input type switch input type
Input Range 0 ~ 10V/0 ~ 20ma
Conversion
accuracy 12 bits
Analog output
Number of output
points 1
Output type Voltage, current Electric current
Output Range 0 ~ 10V/0 ~ 20ma 0 ~ 20 Ma
Conversion
accuracy 12 bits
High-speed counter
Number of input Six channels (x 0 ~ x 5) single
points phase, two channels AB phase
Single-phase 4-way 100K (x 0 ~ x 3) , 2-way 40K (x 4 Single Phase 20K
Pulse frequency ~ x 5) per circuit
Input Signal
Voltage DC 20 ~ 28V
Communication
interface
1 way, support up
RS232 download, monitoring 无 Amx-fx3u-14
Route 1 Route 2
RS485 无
Support Modbus RTU, FX3U PLC Communication
Protocol
Route 1, support download,
RS422 无 monitor 无
Power supply
DC24V, terminal access; with anti-
Power supply reverse protection
Power consumption 2W ~ 4W
Surge protection $6 million

3
Dongguan AMX Automation Technology AMX-FX3U relay series programmable
Co. , Ltd. controller manual

Structure and
environment
Size (mm) 114 * 101 * 32 129 * 86 * 50 196 * 99 * 62
Installation mode 35mm DIN rail
Operating Working temperature 0 °C ~ + 50 °C
Temperature (no freezing)
10 ~ 80% Rh (no
Working humidity condensation)

2.2 interface specification

2.2.1 amx-fx3u-14interface definition

Terminal diagram
4
AMX-FX3U relay series Programmable Controller User Manual, Dongguan AMX Automation
Technology Co. , Ltd.

Terminal instruction

Terminal label Function description


24V + DC 24V Power Positive Pole
0v DC 24V power supply negative pole
1M 1 ~ 8 digital input public terminal
X0 Channel 1 digital input
X1 Channel 2 digital input
X2 Channel 3 digital input
X3 Channel 4 digital input
X4 Channel 5 digital input
X5 Channel 6 digital input
X6 Number seven input
X7 Route 8 digital input
RS232 Standard PLC programming port: 2 Foot TX,
RS232 3 foot RX, 5 foot GND
(DB9 master) (see Chapter 6.1)
1L Digital output common terminal of 1 ~ 6 channels
Y zero Channel 1 digital output
Y1 Digital output of Route 2
Y2 Digital output of Route 3
Y3 Channel 4 digital output
Y4 Digital output of Route 5
Y-5 Route 6 digital output
The first analog input voltage/current switch, ON input
SW1 current
The second analog input voltage/current switch, ON
SW2 input current
GND Analog input common land
In1 The first analog input is 0 ~ 10V/0 ~ 20ma current
IN2 The second analog input is 0 ~ 10V/0 ~ 20ma current
GND Analog output
O-V Analog 0 ~ 10V voltage output channel
O-I Analog current output channel of 0 ~ 20ma
The red light is always on when the PLC is powered
Power Indicator on
Error light Error indicator light, PLC error often red light
The green light is always on when the PLC is running
Running Light and off when it stops
The PLC often turns red when it stops and goes out
Stop Light when it is running
5
AMX-FX3U relay series Programmable Controller User Manual, Dongguan AMX Automation
Technology Co. , Ltd.

2.2.2 amx-fx3u-26interface definition

Terminal diagram

6
AMX-FX3U relay series Programmable Controller User Manual, Dongguan AMX Automation
Technology Co. , Ltd.

Terminal instruction

Terminal Terminal
label Function description label Function description
24 + DC 24V Power Positive Pole Common terminal of 1 ~ 4 digital
0v DC 24V power supply negative pole COM0 output channels
Y zero Number One - way digital output
A-plus 485A + (see Chapter 6.3 for features)
Y1 2 - way digital output
B minus 485B-(see Chapter 6.3 for features)
Common end of 1-16 digital input Y2 3 - way digital output
S/s channel Y3 4 - way digital output
X0 Channel 1 digital input Digital output common terminal of 5
X1 Channel 2 digital input COM1 ~ 10 channels
Y4 5 - way digital output
X2 Channel 3 digital input
Y-5 6 - way digital output
X3 Channel 4 digital input
Y6 7 - way digital output
X4 Channel 5 digital input
Y7 No. 8 - way digital output
X5 Channel 6 digital input
Y10 9 - way digital output
X6 Number seven input
Y11 10th digital output
X7 Route 8 digital input
1 voltage/current
X10 Route 9 digital input SW1 Analog input switching code
X 11 10th digital input 2 voltage/current
X-12 Route 11 digital input SW2 Analog input switching code
X13 Channel 12 digital input COM3 Analog input
X14 Route 13 digital input The first analog voltage is 0 ~ 10V/0
~ 20ma
X 15 Route 14 digital input In1
Current input
X16 Route 15 digital input
The second analog voltage is 0 ~
X17 Route 16 digital input 10V/0 ~ 20ma
IN2
Current input
COM4 Analog output
Analog 0 ~ 10V voltage output
V channel
Analog current output channel of 0 ~
I 20ma
RS422 programming port, S
RS422 terminal
Error indicator light, PLC error
Sys. often red light
Running Indicator Light: PLC is
always green when running
Run The light is always red when it
stops
RS485 communication light, flashing
COMM when communicating
7
AMX-FX3U relay series Programmable Controller User Manual, Dongguan AMX Automation
Technology Co. , Ltd.

2.2.3 amx-fx3u-48interface definition

Terminal diagram

8
AMX-FX3U relay series Programmable Controller User Manual, Dongguan AMX Automation
Technology Co. , Ltd.

Terminal instruction
Y2 Digital output of Route 3
Terminal Y3 Channel 4 digital output
label Function description
24V + DC 24V Power Positive Pole
0v DC 24V power supply negative pole
Common end of 1-24 digital input
S/s channel
X0 Channel 1 digital input
X1 Channel 2 digital input
X2 Channel 3 digital input
X3 Channel 4 digital input
X4 Channel 5 digital input
X5 Channel 6 digital input
X6 Number seven input
X7 Route 8 digital input
X10 Route 9 digital input
X 11 10th digital input
X-12 Route 11 digital input
X13 Channel 12 digital input
X14 Route 13 digital input
X 15 Route 14 digital input
X16 Route 15 digital input
X17 Route 16 digital input
X20 Route 17 digital input
X21 Route 18 digital input
X22 Route 19 digital input
X23 20th digital input
X24 Route 21 digital input
X25 Route 22 digital input
X26 Route 23 digital input
X27 Route 24 digital input
485A + (see Chapter 6.3.3 for
A-plus features)
B minus 485B-(see Chapter 6.3.3 for features)
RS485 3 feet 485A + , 8 feet 485b -
(DB9 (see sections 6.3.1 and 6.3.2 for
master) features)
RS232 Standard PLC programming
RS232 port: 2 Feet TX, 3
(DB9 Foot Rx, 5 foot GND (see Chapter
master) 6.1)
Common terminal of 1 ~ 4 digital
COM0 output channels
Y zero Channel 1 digital output
Y1 Digital output of Route 2
21 ~ 24 channels
Terminal Y24 Route 21 digital output
label Function description
Y25 Route 22 digital output
Digital output common terminal of 5 Y26 Route 23 digital output
COM1 ~ 8 channels
Y27 Route 24 digital output
Y4 Digital output of Route 5
Analog input 1 voltage/current
Y-5 Route 6 digital output SW1 switching code
Y6 Route 7 digital output Analog Input 2 voltage/current
Y7 Route 8 digital output SW2 switching code
Digital output common terminal of 9 COM6 Analog Input/output common land
COM2 ~ 12 channels output The first analog voltage is 0 ~ 10V/0
Y10 Route 9 digital output ~ 20ma
Ai1
Y11 10th digital output Current input
Y12 Route 11 digital output The second analog voltage is 0 ~
Y13 Route 12 digital output 10V/0 ~ 20ma
AI2
Digital output common terminal of Current input
COM3 13 ~ 16 channels Analog current output channel of 0 ~
Y14 Route 13 digital output Ao1 20ma
Error indicator light, PLC error
Y15 Route 14 digital output
SF DIAG often red light
Y16 Route 15 digital output
Run Indicator:
Y17 Route 16 digital output Run The green light is always on when
Digital output common terminal of the PLC is running and off when it
COM4 17 ~ 20 channels stops
Y20 Route 17 digital output Stop Light:
Stop The PLC often turns red when it
Y21 Route 18 digital output
stops and goes out when it is
Y22 Route 19 digital output running
Y23 20th digital output
COM5 Digital output common terminal of

9
AMX-FX3U relay series Programmable Controller User Manual, Dongguan AMX Automation
Technology Co. , Ltd.

Function Planning
AMX-FX3U relay series of different models of PLC function planning information as
shown in table 3 below
Table 3-1amx-fx3u-14functional list
Function name Function description
Point photoelectric isolation digital input, 6 points photoelectric isolation relay
Io count 8 output, do not support extended IO points
Io High-speed
configurat counter Line single phase (x 0 ~ x 3)100K pulse count, 2 line single phase (x 4 ~ x 5)40K
ion (hardware) 4 pulse count;
2 Path AB phase (x 0, X 1 is 1 path, X 3, X 4 is 1 path) count
User Program capacity 0-16K
programm
ing Annotation
capacity 0 $31
Capacity
File register
capacity The file register is not supported. The default is 0 block
Communication
port 1 - way asynchronous serial port: RS232(DB9 Master)
Communication
protocol FX3U PLC protocol
Communi Programming port: RS232(DB9 Master)
cation
function Programming
mode Programming Cable: USB to RS232C DB9 Gongtou cable (USB-CIF31 +)
Programming software: support GX-Works2/Gx-Developer to achieve the download
and monitoring debugging
Equipment The device or host computer which contains RS232 serial port and supports FX3U
Communication PLC protocol can communicate with PLC.
Number of
channels 2路
Analog
quantity Input Range 0 ~ 10V or 0 ~ 20ma current
Inputting Switching mode 2 Circuit DIP switch switching voltage/current
Conversion
accuracy 12-bit resolution
Number of
Analog channels 1 路
quantity
Output Range 0 ~ 10V or 0 ~ 20ma current
Output
Conversion
accuracy 12-bit resolution
The RUN/SOTP dial switch is used to control the stop of the PLC, and the green
light shows that the PLC is in working mode
RUN/stop
Light on PLC in stop mode
Other False indication When the PLC operation error, the error light red light
functions Support, Save Range See section 4.1, can not be modified through the software
Power down save power-down range
Clock Support, button battery power in case of power failure
Firmware
upgrade Support
T
en
Dongguan AMX Automation Technology Co. , AMX-FX3U relay series programmable
Ltd. controller manual
Table
3-2 AMX-FX3U-26FEATURE list
Function name Function description
16-point photoelectric isolation digital input, 10-point relay output, do not support
Io count extended IO points
Io High-speed
configur counter 4 single-phase (x 0 ~ x 3)100K pulse counting, 2 single-phase (x 4 ~ x 5)40K pulse
ation (hardware) counting;
Two-way AB phase (x 0, X 1 for 1 way, X 3, X 4 for 1 Way) counting
User Program capacity 0-16K
programm
ing Annotation
Capacity capacity $0-$31
File register
capacity The file register is not supported. The default is 0 block
Communication
port 1-way asynchronous serial port: RS422(s terminal) , RS485
Communication
protocol FX3U PLC, Modbus RTU
Programming
port: RS422
Communi
cation Programming
function mode Programming Cable: USB to RS422 S terminal cable (USB-SC09-FX cable)
Programming software: support GX-Works2/Gx-Developer to achieve the download
and monitoring debugging
The equipment or upper computer which includes RS422, RS485 serial port and
Equipment supports FX3U PLC protocol can communicate with this PLC
Communication
The equipment or host computer with RS485 serial port and supporting Modbus
RTU protocol can communicate with this PLC
Number of
channels Route 2
Analog
quantity Input Range 0 ~ 10V or 0 ~ 20ma current
Inputting Switching mode 2-WAY DIP switch switching voltage/current
Conversion
accuracy 12-bit resolution
Number of
Analog channels Route 1
quantity
Output Range 0 ~ 10V or 0 ~ 20ma current
Output
Conversion
accuracy 12-bit resolution
The RUN/SOTP dial switch is used to control the stop of the PLC, and the green
light shows that the PLC is in working mode
RUN/stop
Light on PLC in stop mode
Other False indication When the PLC operation error, the error light red light
functions Support, Save Range See section 4.1, can not be modified through the software
Power down save power-down range
Clock Support, button battery power in case of power failure
Firmware
upgrade Support
11
Dongguan AMX Automation Technology Co. , AMX-FX3U relay series programmable
Ltd. controller manual
Table
3-2 AMX-FX3U-48FEATURE list
Function name Function description
Io 24-point photoelectric isolation digital input, 24-point photoelectric isolation relay
configur Io count output, do not support extended IO points
ation Six single-phase (x 0 ~ x 5)20K pulse counts and two AB-phase (x 0, X 1, X 3, X 4)
High-speed count counts
User Program capacity 0-16K
programm
ing Annotation
Capacity capacity $0-$31
File register
capacity The file register is not supported. The default is 0 block
Communication 3 asynchronous serial communication ports: DB9 Master RS232, DB9 Master
port RS485, Terminal RS485
Communication
protocol FX3U PLC protocol, Modbus RTU (RS485 communication port)
Communi
cation Programming
function port: RS232
Programming
mode Programming Cable: USB to RS232C DB9 Gongtou cable (USB-CIF31 +)
Programming software: support GX-Works2/Gx-Developer to achieve the download
and monitoring debugging
The equipment or upper computer which includes RS232, RS485 serial port and
Equipment supports FX3U PLC protocol can communicate with PLC.
Communication
The equipment or host computer with RS485 serial port and supporting Modbus
RTU protocol can communicate with this PLC
Number of
channels Route 2
Analog
quantity Input Range 0 ~ 10V voltage or 0 ~ 20ma current, 12 bit resolution
Inputting Switching mode 2-WAY DIP switch switching voltage/current
Conversion
accuracy 12-bit resolution
Number of
Analog channels Route 1
quantity
Output Range 0 ~ 20 ma current
Output
Conversion
accuracy 12-bit resolution
The RUN/SOTP dial switch is used to control the stop of the PLC, and the green
light shows that the PLC is in working mode
RUN/stop
Light on PLC in stop mode
Other False indication When the PLC operation error, the error light red light
functions Support, Save Range See section 4.1, can not be modified through the software
Power down save power-down range
Clock Support, button battery power in case of power failure
Firmware
upgrade Support
12
AMX-FX3U relay series Programmable Controller User Manual, Dongguan AMX Automation
Technology Co. , Ltd.

Software component specification

4.1 software component allocation


The types of software components supported by the AMX-FX3U relay family of
programmable controllers are illustrated in the following table:
Serial
numbe
r Soft element Function description
1 Enter Relay X The bits corresponding to the digital input of PLC are addressed in octal number
Output Relay
2 Y The bits corresponding to the digital output of PLC are addressed in octal number
Auxiliary
3 Relay M Auxiliary relay bit element in PLC.
The utility model is mainly used for the programming of sequence function diagrams, and
4 Status Relay S is used as a bit element of state mark for step control
5 Timer T 16bit timer with 1MS, 10ms and 100ms clock pulses
Support 16bit/32bit increment/decrement count, high speed count, single/double phase
6 Counter C count
Data Register
7 D Supports register D for holding data; Index Register V, Z
8 Pointer Jump Pointer P, subroutine pointer P (interrupt pointer not supported)
9 Constant K ·H Support binary, decimal, hexadecimal, floating-point data operations

Software
component
category Amx-fx3u-14 AMX-FX3U-26 Amx-fx3u-48
X 0 ~ x 7,8 X 0 ~ x 17, that’s 16
Enter Relay X points points X 0 ~ x 27,24 points
Y-o-y-11, that’s 10
Output Relay Y Y-0-y-6,7:00 points Y 0 ~ y 27, that’s 24 points

M0 ~ M512 ~ M8000 ~
M511 M1023 M1024 ~ M7696 M8424
Auxiliary Relay
M 512 512 512 425 points
General Keep Special
purpose using it General purpose purpose
S 0 ~ s 4095, total 4096 points,
Status Relay S general
T246 ~
T200 ~ T245 T249 T250 ~ T255 T256 ~ T511
46
Timer T T0 ~ T199 points 4:00 6:00 256 points
1 ms
cumulative 10ms
200.100 MS 10 MS type cumulative type 1ms
General General Keep using Keep
purpose purpose it using it General purpose
16-bit increment 32 bit bidirectional 32-bit bidirectional
count counter high-speed counter
C100 ~
Counter C0 ~ C99 C199 C200 ~ C234 C235 ~ C255
C 100 100 Thirty-five 28
General Keep General
purpose using it General purpose purpose
D951 ~ V 0 ~ V 7, Z 0 ~ Z
D0 ~ D499 D500 ~ D950 D7999 D8000 ~ D8483 7
951 484 16 o’clock change
Data Register D 500 points points 7,049 points of address
General Keep General Special
purpose using it purpose purpose General purpose
Pointer N-0-n-7,8:00, co-dominant P 0 ~ p 127,128 points, branching pointer
K 16-32768 ~ 32767 32-digit-2147483648 ~ 2147483647
Const
ant H 16 bit 0 ~ FFFFFF H 32 bit FFFFFFFFH
±1.175495e-38 ~ ±3.402823E + 38(significant position
E 7)

13
AMX-FX3U relay series Programmable Controller User Manual, Dongguan AMX Automation
Technology Co. , Ltd.

4.2 high speed counter instructions


AMX-FX3U-14/26supports 4 single-phase (x 0 ~ x 3)100K pulse counting, 2 single-
phase (x 4 ~ x 5)40K pulse counting, and amx-fx3u-48supports 6 single-phase 20K pulse
counting. Both support two-way AB phase (x 0, X 1 for 1 way, X 3, X 4 for 1 Way) , the
count for the hardware count, do not support the software count, high-speed counter
description as follows table:
1 phase 1 count 1 phase 2 count
input input
C235 C236 C237 C238 C239 C240 C241 C242 C243 C244 C245 C246 C247 C248 C249 C250
X0 U/d U/d U/d U U U
X1 U/d R R D D D
X2 U/d U/d U/d R R
X3 U/d R R U U
X4 U/d U/d D D
X5 U/d R R R
X6 S S
X7 S S
U: Upper Count; D: Lower Count; R: Reset; S: START

Two phase two count input


C251 C252 C253 C254 C255 Account for
X0 A A A
X1 B B B
C251 positive count, M8251 off, reverse count, M8251 on
X2 R R
When C252 counts forward, M8252 disconnects. When
counting backward, M8252 turns on
X3 A A
When C253 counts forward, M8253 disconnects. When
counting backward, M8253 turns on
X4 B B When C254 counts forward, M8254 disconnects. When
counting backward, M8254 turns on
X5 R R When C255 counts forward, M8255 disconnects. When
counting backward, M8255 turns on
X6 S
X7 S
A: Phase A; B: Phase B; R: Reset; S: Start; A: phase a input; B: Phase B input

The auxiliary relay is used to change the increasing and decreasing direction of the
high-speed counter. When the state is OFF, the high-speed counter is counted.
Counting C237 M8237
Counter direction C238 M8238
Serial Switching
number address C239 M8239
C235 M8235 C240 M8240
C236 M8236
Counting C243 M8243
Counter direction C244 M8244
Serial Switching
number address C245 M8245
C241 M8241
C242 M8242

14
AMX-FX3U relay series Programmable Controller User Manual, Dongguan AMX Automation
Technology Co. , Ltd.

4.3 special software components


The AMX-FX3U relay series programmable controllers currently support special types
of soft components described in the following table:
Special Special
assistance data
Functiona Register Functiona
Relay M l type Functional description D l type Functional description
Run Center 1, Clear 0 when
M8000 stopped D8000 Retentions
The model version FX3U
Delta (C)(D8101 is also available
M8001 PLC Clear 0 on run, 1 on stop 8001 Save) , PC type and version
PLC number
Status
Initiating Pulse (first scan Delta Memory capacity (D8102 also
M8002 engaged) 8002 Status saved)
Delta
M8003 Initial pulse (first scan disengaged) 8003 Memory type, register type
Error m address number BCD
M8011 10 Ms Pulse D8004 conversion value
Delta
M8012 100 ms pulse 8010 Scan current value
Delta
M8013 1s pulse 8013 Corresponding second
System Delta
M8014 clock One minute pulse 8014 Corresponding minutes
1 means the clock is stopped, 0 Delta
M8015 means the clock is running 8015 Corresponding Hour
1 indicates that the clock is System
running normally; Delta clock
M8018 8016 Corresponding date
Zero means stop
Delta
M8020 Zero mark 8017 Corresponding month
Delta
M8021 Borrow sign 8018 Corresponding year
Delta
M8022 Carry flag 8019 Corresponding Week
Input Filter, X010-X017 input
The initial value of the filter is
transmitted to the special data post
Delta Inputting
M8029 Command complete 8020 Memory D8020
The filter of x 0 ~ x 7 can be set
Signs and Filter by REFF instruction
Hint Set, in MS
Master station Modbus Delta
Index
M8063 communication error lock 8028 The contents of the Z 0(Z) register
content
Delta The contents of the VO (V)
M8064 Parameter error 8029 register
Delta Analog
M8065 Syntax Error 8030 quantity AD0 channel
A/D
Delta Input
M8067 Arithmetic error 8031 value AD1 channel
Y-0 pulse output stopped
M8145 immediately
Y 1 pulse output stopped
M8146 immediately
Arithmetic error, error code
Pulse sequence number (corresponding
output Monitoring in Y00 pulse output Delta to
M8147 Start stop 8067
Busy/READY Error M8067)
Monitoring in the Y01 pulse record
output Delta
M8148 8068 Save error PC Step
Busy/READY (PLSY)
C235 plus minus counter control Delta
M8235 bit 8080 D/a value Analog output value setting
High-
speed
count The model version FX2N
Direction C236 plus minus counter control Delta PLC (C)(D8001 is also available
M8236 control bit 8101 status
Save)

15
AMX-FX3U relay series programmable
Dongguan AMX Automation Technology Co. , Ltd. controller manual

C23 Add-subtract count control Delta Memory capacity (D8002 also


M8237 7 bit 8102 saved)
Hardware version number +
software version number (5-bit 10
Hexadecimal, the first two
PLC represent the hardware version,
C23 Add-subtract count control Delta status after
M8238 8 bit 8105 3 bits represent software versions,
such as 10101
V1.0 software version V1.01)
Delta
C23 Add-subtract count control 8140 Total number of pulses output to
M8239 9 bit Low Y000
position (FNC59(PLSR) FNC57(PLSY)
instruction
Delta
C24 Add-subtract count control 8141
M8240 0 bit High The total number of output pulses
High- position
speed
count Delta
Direction C24 Add-subtract count control 8142 Total number of pulses output to
M8241 control 1 bit Low Y001
position (FNC59(PLSR) FNC57(PLSY)
Delta instruction
C24 Add-subtract count control 8143
M8242 2 bit High Pulse The total number of output pulses
position output
Delta Quantity
C24 Add-subtract count control 8144 record Total number of pulses output to
M8243 3 bit Low Y002
position (FNC59(PLSR) FNC57(PLSY)
instruction
Delta
C24 Add-subtract count control 8145
M8244 4 bit High The total number of output pulses
position
Delta
C24 Add-subtract count control 8146 Total number of pulses output to
M8245 5 bit Low Y003
position (FNC59(PLSR) FNC57(PLSY)
instruction
Delta
C25 8147
M8251 1 Plus minus count status bit High The total number of output pulses
position
High-
speed C25 Delta
M8252 count 2 Plus minus count status bit 8182 The contents of the Z 1 register
Direction
monitorin C25 Delta
M8253 g 3 Plus minus count status bit 8183 The contents of the V1 register
C25 Delta
M8254 4 Plus minus count status bit 8184 The contents of the Z 2 register
C25 Delta
M8255 5 Plus minus count status bit 8185 The contents of the V2 register
Y00
0 Monitor the pulse output Delta
M8340 On: Busy/Off: Ready 8186 The contents of the Z 3 register
Y00 Clear signal output function
0 effective Delta
M8341 8187 The contents of the V3 register
(Zrn)
Y00 Specifies the direction of
0 origin regression
Delta Change
M8342 (unsupported) 8188 address The contents of the Z 4 register
Y00 Delta
M8343 0 Positive limit 8189 Content The contents of the V4 register
Y00 Delta
M8344 0 Reverse limit 8190 The contents of the Z 5 register
Pulse
monitorin Y00
g 0 Closer. Dog, logic inversion Delta
M8345 And 8191 The contents of the V5 register
positionin
g (unsupported)
Y00 Logic inversion of zero
0 signal Delta
M8346 8192 The contents of the Z 6 register
(unsupported)
Y00
0 Interrupt logic reversal Delta
M8347 8193 The contents of the V6 register
(unsupported)
Y00 Delta
M8348 0 Locating Command Drive 8194 The contents of the Z 7 register
Y00 Delta
M8349 0 Pulse output stop instruction 8195 The contents of the V7 register
Y00 RS485 function configuration
1 Monitor the pulse output Delta Modbus register, 1 for
M8350 8200 Communi
On: Busy/Off: Ready cation Modbus master, 2 is the slave

16
AMX-FX3U relay series Programmable Controller User Manual, Dongguan AMX Automation
Technology Co. , Ltd.
M837
0

M835 M8371 Y00 Clear signal output function Delta


1 1 effective 8340
M837 Y00 Specifies the direction of
M835 2 1 origin regression Delta
2 8341
(unsupported)
M837
M835 3 Y00 Delta
3 1 Positive limit 8342
M837
M835 4 Y00 Delta
4 1 Reverse limit 8343
M837 Y00
M835 5 1 Closer. Dog, logic inversion Delta
5 (unsupported)
8344
M837 Y00 Logic inversion of zero
M835 6 1 signal Delta
6 (unsupported)
8348
M8377 Y00
M835 1 Interrupt logic reversal Delta
7 (unsupported)
8349
Y00 Delta
M835 1 Locating Command Drive 8350
8
Y00 Delta
M835 1 Pulse output stop instruction 8351
9 Pulse monitoring
And positioning
Y00
2 Monitor the pulse output Delta
M836 8352
0 On: Busy/Off: Ready
Y00 Clear signal output function Delta
M836 2 effective 8353
1 Y00 Specifies the direction of
2 origin regression Delta
M836 8354
2 (unsupported)
Y00 Delta
M836 2 Positive limit 8358
3 Y00 Delta
M836 2 Reverse limit 8359
4 Y00
2 Closer. Dog, logic inversion Delta
M836 8360
(unsupported)
5
Y00 Logic inversion of zero
2 signal Delta
M836 8361
(unsupported)
6
Y00
2 Interrupt logic reversal Delta
M836 8362
(unsupported)
7
Y00 Delta
M836 2 Locating Command Drive 8363
8 Y00 Delta
M836 2 Pulse output stop instruction 8364
9 Y00 Pulse output monitoring
3 (ON: Delta
8368
Busy/Off: Ready
Y00 deviation
Y00 Clear signal output function Delta velocity initial value: 0
3 effective 8369
Y00 Specifies the direction of Y00, top speed
3 origin regressionY Delta
0
8370
(unsupported)
Y00 0 Y00 acceleration
Delta time initial value
3 Positive limit 8371
c
Y00 Y00 deceleration
Delta time initial value
u
3 Reverse limit r 8372
Y01 current value register,
Y00 r
D8350Delta
low bit, D8351 high bit
3 e inversion
Closer. Dog, logic
8373
(unsupported) n
Y00 Logic inversion tof zero Y01 deviation velocity initial value: 0
3 signal Delta
v 8378
(unsupported)
a
Y00
l Y01, top speed
Delta
3 Interrupt logic reversal
u 8379
(unsupported) e
Y01 acceleration time
r
initial value motion location Y01
e
deceleration time initial value
g
i
s Y02 current value register,
t D8360 low bit, D8361 high bit
e
r
, Y02 deviation velocity initial value: 0
D
8 Y02, top speed
3
4
0 Y02 initial acceleration time

Y02 initial deceleration time


l
o
w Y02 current value register,
D8370 low bit, D8371 high bit
b
i Y02 deviation velocity initial value:
t 0
,
Y02, top speed
D
8
3 Y02 initial acceleration time
4
1 Y02 initial deceleration time

h
i
g
h

b
i
t
17
AMX-FX3U relay series programmable
Dongguan AMX Automation Technology Co. , Ltd. controller manual

Pulse
monitorin Delta Y 0, the number of steps in a
M8378 g Y003, locating command drive 8380 circle
And
positionin Delta
M8379 g Y003 pulse output stop command 8381 Y 0 step drive subdivision
Delta Y 1, the number of steps in a
M8401 In Modbus communication 8382 circle
An error occurred in the Modbus Delta
M8402 communication 8383 Y 1 step drive subdivision
Kinematic
Error lock for Modbus Delta positionin
M8403 communication 8384 g Y 2 the number of steps in a circle
Delta
M8408 Retry occurs 8385 Y 2 Step Drive subdivision
Delta
M8409 Modbus Time-out occurred 8386 Y 3 the number of steps in a circle
Communi Flag bit for Modbus
cation communication parameter setting, Delta
M8411 The PLC will stay on when it’s 8387 Y 3 step drive subfraction
powered up
An error occurred in the Modbus Delta Master station communication
M8422 communication 8400 format
Error lock for Modbus Delta Master station communication
M8423 communication 8402 error code
When only receive mode (offline Delta
M8424 state) 8403 The details of the master error
Delta A communication error occurred
8404 at the main station
Delta Display communication
8405 parameters (master station)
Delta Step number in communication
8407 (master station)
Delta
8408 Current number of retries (master)
Delta
8409 Slave response timeout (master)
Delta
8410 Play delay (main station)
Delta Inter request delay (inter frame
8411 delay)(master station)
Delta MDOBU
8412 S Number of retries (master)
Delta Communi
8414 cation Site No. (0-247)(main site)
Delta Action mode display (main
8419 station)
Delta
8420 Slave communication format
Delta
8422 Error code from the station
Delta Details of what went wrong from
8423 the station
Delta Display communication
8425 parameters from slave station
Delta Inter request delay
8431
(inter-frame delay)
Delta
8434 Site No. (0-247)
Delta Serial communication error code
8438 (slave)
Delta
8439 Slave action mode display
Configure Modbus 485 slave
Delta mode, line
8480 Circle corresponding to the
number of points and register
address
Configure Modbus 485 slave
mode
The number of points and register
Delta address of the input discrete
8481 Modbus quantity
RTU
slave Configure Modbus 485 slave
Delta station
mode
8482 Number of incoming registers and
starting address
Configure Modbus 485 slave
Delta mode to protect
8483 The number of registers held and
the starting address

18
AMX-FX3U relay series Programmable Controller User Manual, Dongguan AMX Automation
Technology Co. , Ltd.

Instructions for the use of analog quantities

5.1 analog input


AMX-FX3U Relay Series PLC includes two analog input channels, according to two
DIP code beside the channel to switch voltage/current input, support “0 ~ 10V/0 ~
20ma”analog input.
Analog input position
In the red box below, the analog input is located in the PLC. the upper left part is
the “14”PLC wiring diagram, the upper right part is the “26”PLC wiring diagram,
and the lower middle part is the “48”PLC wiring diagram.

Schematic diagram of sensor wiring

Note: The dotted line connection shows that the second analog input channel is the same, but
a sensor can only select one of the channels to input analog signals.
19
AMX-FX3U relay series Programmable Controller User Manual, Dongguan AMX Automation
Technology Co. , Ltd.

Terminal block
Description of 2-way analog input terminal
Seri
al
num Terminal
ber name Function description Notes
Analog Voltage/curren Default voltage input, DIP code OFF for voltage, ON for current;
1 SW1 Channel 1 t switching 14outward dial for
Analog Voltage/curren
2 SW2 Channel 2 t switching Off, 26UP is OFF, 48down is OFF, and vice versa is ON
Analog 1-way
3 Ai1/IN1 voltage/current input The range of analog quantity is 0 ~ 10V/0 ~ 20ma
Analog 2-way
4 AI2/IN2 voltage/current input The range of analog quantity is 0 ~ 10V/0 ~ 20ma
GND
5 Analog input
COM6

Conversion parameter
Description of 2-channel analog input data conversion
Serial
numbe Detailed
r Parametric characteristic description Notes
Corresponding AD
1 value 0 ~ 2047 Analog Input PLC converted to decimal data
AI1/IN1 channel
2 corresponding register Delta 8030
AI2/IN2 channel
3 corresponding register Delta 8031

5.2 analog output


AMX-FX3U-14/26supports “0 ~ 10V/0 ~ 20ma”two analog output types. Amx-
fx3u-48supports only one analog output type of “0 ~ 20ma”, but all of them are 1
analog output.
Analog output position
In the red box below is the analog output position in the PLC, the upper left part is
“14”PLC wiring diagram, the upper right part is “26”PLC wiring diagram, the lower
part is “48”PLC wiring diagram.
20
AMX-FX3U relay series Programmable Controller User Manual, Dongguan AMX Automation
Technology Co. , Ltd.

Terminal block
AMX-FX3U-14/26analog output (1-way) terminal description
Serial
numbe Terminal
r name Function description Notes
Both channels can be used
simultaneously, but are subject to
1 O-V/V 1-way 0 ~ 10V analog voltage output the same
PLC register control analog output
2 O-I/I 1-way 0 ~ 20ma analog current output value size
3 GND Analog output common land

AMX-FX3U-48ANALOG output (1-way) terminal description


Serial
numbe Terminal
r name Function description Notes
1 Ao1 1-way 0 ~ 20ma analog current output
2 COM6 Analog output (input) ground

Conversion parameter
Description of analog output parameter conversion
Serial Detailed
numbe Parametric description
r characteristic Notes
AMX-FX3U-14/26 Amx-fx3u-48
0 ~ 20
1 Output Analog range 0 ~ 10V/0 ~ 20ma Ma
Corresponding
2 numerical range 0 ~ 4095 Decimal System
The value of the PLC Data
Analog output Register D8080,
3 channel register Delta 8080 Determines the size of the output
value of the analog quantity
21
AMX-FX3U relay series Programmable Controller User Manual, Dongguan AMX Automation
Technology Co. , Ltd.

6. Communications Guide

At present, AMX-FX3U series supports RS232, RS422 and RS485 serial


communication, among which AMX-FX3U-14only supports RS232 communication.

6.1RS232 communication
In AMX-FX3U-14/48, there is only one RS232 communication port with DB9 master,
through which users can communicate programmatically or with devices that support
FX3U (such as touch screen communication) .
RS232 communication port (DB9 master) location and pin description

Pin Sequence PIN action Pin name


1 空 NC
2 (PLC) data transmission TXD
3 (PLC) data reception Rxd
4 空 NC
5 地 GND
6 空 NC
7 空 NC
8 空 NC
9 空 NC
22
AMX-FX3U relay series Programmable Controller User Manual, Dongguan AMX Automation
Technology Co. , Ltd.

Programming Communication
Users can communicate with PLC by using USB to RS232C signal of DB9 male head
serial port. It is suggested that when purchasing, they can use USB-CIF03 +
programming cable.
Equipment Communication
When the user device supports RS232 serial port signal and FX3U protocol, the
number of plcs can be monitored by RS232
According to, the default communication parameters 9600,7, EVEN, 1(baud rate
adaptive) .
6.2RS422 communication
Only AMX-FX3U-26PLC in this series supports RS422(master) communication.
Users can communicate through this port or with devices that support FX3U (such as
touch screen communication) .
RS422 communication port (master) position and PIN specification (for PLC)

Pin Sequence Pin name

1 422

2 422 +

3 SG

4 422

7 422 +

Programming Communication
Users can communicate with PLC by using USB to RS422 signal s terminal serial
port cable. It is suggested that the PLC can be purchased with USB-SC09-FX
programming cable.
Equipment Communication
When the user device supports RS422 serial port signal and FX3U protocol, the
number of plcs can be monitored by RS422
According to, the default communication parameters 9600,7, EVEN, 1(baud rate
adaptive) .

23
AMX-FX3U relay series Programmable Controller User Manual, Dongguan AMX Automation
Technology Co. , Ltd.

6.3RS485 communication
Only amx-fx3u-26and AMX-FX3U-48PLC support 485 communication.
For amx-FX3U-26, there is only one 485 terminal channel in PLC, but the
communication function can be changed to Modbus RTU slave station or master
station by program configuration.

For amx-fx3u-48, the PLC includes a DB9 master and a 485-terminal channel, two
independent channels. The RS485 communication of DB9 bus head, the default
communication protocol of FX3U PLC, can be used as Modbus RTU slave port through
the internal configuration of PLC, and the other communication function of RS485
terminal is that PLC is used as Modbus RTU master port.

6.3.1.485 communication using FX3U PLC

When the model AMX-FX3U-26/48PLC is manufactured, 485 ports default to FX3U


PLC protocol communication port (when Amx-fx3u-48means 485 ports of DB9 parent) ,
or users can use this function by setting D8200 value to 0. The default communication
parameters are 9600,7, EVEN, 1.
485 interface location and terminal description:

AMX-FX3U-48485 terminal description


Serial
numbe
r DB9 master head pin Function description
1 Pin3 A terminal on the 485 bus
2 Pin8 B terminal of 485 bus
24
AMX-FX3U relay series Programmable Controller User Manual, Dongguan AMX Automation
Technology Co. , Ltd.

6.3.2. Communication of Modbus RTU main station with PLC

Master communication parameter

Communication parameter form of Modbus RTU main station


More on
communication format
(D8400)
----------------------------------------------------------------------
Des
Bit Implica crip
number | tions | tion
+------------ +----------------
----------- - ------------------
----------
Data
B zero | Length | 01:8 bits (fixed 8 bits available)
+------------ +----------------
----------- - ------------------
----------
(fixed as not
Check available for
B2B1 | mode | 00: No check)
+------------ +----------------
----------- - ------------------
----------
(fixed to 1 bit
B3 | Stop bit | 00:1 bit available)
+------------ +----------------
----------- - ------------------
----------
| | 0101:1200 1001:19,200
B7B6B5B Baud
4 | rate | 0110:2400
| | 0111:4800

| | 1000:9600
Delta +------------ +----------------
------------------
8400 讯 ----------- - ---------- R/W
格 0: other
agreement 1: Modbus
式 B8 | | s Protocol
+------------ +----------------
------------------
----------- - ----------
0: RTU 1: ASCII mode (RTU mode only for
B9 | | mode the time being)
+------------ +----------------
----------- - ------------------
----------
Commu
B12B11B nication
10 | interface |
No settings are provided. The default primary site is
| USART2 slave site USART3
+------------ +----------------
----------- - ------------------
----------
Do not
Bravo 13 | use |
+------------ +----------------
----------- - ------------------
---------
Do not
B14 | use |
+------------ +----------------
----------- - ------------------
----------
Do not
Bravo 15 | use |
----------------------------------------------------------------------
Example: D8400 = RTU mode, Modbus protocol, 9600,1 stop bit, NONE check, 8
0X0181 bit data

Location of main station communication port

T
w
en
ty
-
fi
ve
AMX-FX3U relay series Programmable Controller User Manual, Dongguan AMX Automation
Technology Co. , Ltd.

Master Station PLC setup program

The software components in the Master Station PLC setup routine are described as
follows:
M8411: set the flag bit of Modbus communication parameter setting, and the PLC will
stay on when power up
D8400: Communication format setting, the routine set value is H181, representing RTU
mode, using Modbus protocol, 9600 communication baud rate, 1 stop bit, no check, 8
bit data, other format setting refer to master communication parameter table
D8200: This PLC 485 function configuration, routine set value k 1 means to configure
485 as Modbus master use (because amx-fx3u-48has its own master communication
port, so do not need to configure this)
D8409: response timeout from slave station, MS. The routine sets the value K2000,
indicating a timeout of 2 seconds
D8411: delay between frame data requests in MS. For example, if the routine is set to
K0, the default delay interval for the system is used
D8412: request retry number, the routine to set the value of K3, that means after the
timeout communication connection retry 3 times
D8414: PLC as Modbus RTU main station when the station number, routine said the
main station number set to 0, the default 0 can be

Pay attention
PLC power to execute the above initialization code, before the main station communication, so
power communication should keep the main Station PLC when setting the program

PLC power-on if change the main station set program parameters, power off and restart will be
effective.
26
AMX-FX3U relay series Programmable Controller User Manual, Dongguan AMX Automation
Technology Co. , Ltd.

ADPRW instruction synopsis

The Modbus communication function of PLC is to communicate (read/write data)


through the ADPRW instruction (16 bits continuously execute instruction) .
When calculating instructions, act according to the parameters S2, S3, S4 on the
slave station s according to the function code S1.


Type of operand Content Data type
S From station number (station number range 1-16) BIN16 bit
S1 Function code (support 01,02,03,04,05,06,15,16 function code) BIN16 bit
S2 Function parameter corresponding to function code BIN16 bit
S3 Function parameter corresponding to function code BIN16 bit
S4d Function parameter corresponding to function code Bit/BIN16 bit

ADPRW instruction function parameter


The required function parameters for each function code are shown in the
following table.
S1 S2 S3 S4
Functional Code Modbus address Access points Data storage software element initiation
Read object soft element/(starting
1h Modbus address: address)
Access Points: 1 ~ 2000
Coil readout 0000H ~ FFFEH Object Software component: D
Read object soft element/(starting
2h Modbus address: address)
Input dispersion Access Points: 1 ~ 2000
readout 0000H ~ FFFEH Object Software component: D
Read object soft element (start
3h Modbus address: address)
Access points: 1 ~ 125
Keep Register read 0h ~ FFFEH Object Software component: D
Read object soft element/(starting
4h Modbus address: address)
Access points: 1 ~ 125
Input register readout 0000H ~ FFFEH Object Software component: D
Write object soft element/(start
5h Modbus address: address)
0(fixed)
Single coil write 0000H ~ FFFEH Object Software component: D

27
Dongguan AMX Automation Technology Co. , AMX-FX3U relay series programmable
Ltd. controller manual

Write object soft element (start


6h Modbus address: address)
0(fixed)
Single Register write 0000H ~ FFFEH Object Software component: D
An
Arrangemen Write object soft element (start
t Modbus address: Number of visits: 1 ~
address)
1968
Batch coil writing 0000H ~ FFFEH Object Software component: D
Write object soft element (start
10H Modbus address: address)
Access points: 1 ~ 123
Batch register write 0000H ~ FFFEH Object Software component: D

Pay attention
Function code S4 object software components only support data register D, set other software
components PLC error indicator will light error.

Main station function code use routine


The following routine, the “Master station setup program”part has been omitted,
before users use the master station function code, according to the previous part of
the content “Master Station PLC setup program”to ensure that the master station
setup is correct.
ADPRW detailed instructions are presented primarily in the “Function 01”routine
and are not repeated in other routines.

28
AMX-FX3U relay series Programmable Controller User Manual, Dongguan AMX Automation
Technology Co. , Ltd.

1) the ADPRW instruction parameter description that performs function 1 in the


routine:
This PLC master station to visit the slave station number, routine for K 1, that PLC
Access Station number for 1 slave station equipment data.
S 1: This PLC master station access slave station function code, routine K 1, that PLC
uses 01 function code to read slave station coil state.
S 2: This PLC master station accesses the Modbus starting address of the slave station,
0h in the routine, indicating that the PLC accesses the slave station from Modbus
Address 0H.
S 3: the number of Modbus address of the slave station accessed by the PLC Master
Station, K32 in routine, indicating that the PLC accesses the Modbus address data of 32
slave stations.
S 4: after the PLC Master station accesses the data in the Modbus address of the slave
station, the data should be stored in the initial address of the PLC, the routine is D3,
which means that the PLC will access the data from the Modbus address of the slave
station and store the data from the PLC address D3.

2) specification of other software components in the routine:


M8029: end of instruction execution flag, driving the ADPRW instruction to start
and end after instruction execution, M8029 becomes ON.
M8402: an error flag for Modbus communication. M8402 becomes ON when the
Modbus communication fails due to human error or equipment damage.
D8402: when the Modbus communication error, the PLC D8402 will give the relevant
communication error code, with Appendix B error code description, easy for the user
to check the cause of communication error.

3) with the routine of function 01, this PLC master station can read the state of the
slave station coil:
In the routine, whenever x 1 changes from OFF to ON, M0 is set to ON, after M0 is
set to ON, the ADPRW instruction execution function is driven (function 01 in the
routine, the driving condition M0 is kept as ON) . When M8029 changes from OFF to
ON, the ADPRW instruction execution is completed.

In the routine, the ADPRW instruction performs the function 01. As a result, the
PLC master station accesses the state of 32 coils from the Modbus address 0 of the
Slave Station Equipment No. 1, and then puts the read state of coils into the PLC
address beginning with D3, storage order to begin to access the Modbus address low
to high characters, one by one corresponding to the beginning of the PLC storage
address from the low to high characters.

29
AMX-FX3U relay series Programmable Controller User Manual, Dongguan AMX Automation
Technology Co. , Ltd.

Pay attention
With the ADPRW instruction, keep the drive contacts (such as M0) ON until the end of the ADPRW
instruction (M8029 is ON) .

When driving multiple ADPRW instructions simultaneously in the Modbus master station, only one
instruction is executed at a time. When the current instruction ends, execute the next ADPRW
instruction in procedural order.

Do not disconnect the status before an ADPRW communication ends. When a state is disconnected
during communication, the ADPRW instruction becomes a stop-in state. Will not be transferred
to other ADPRW commands. Please refer to the following notes for programming sequence
control:

Interlock your state transition conditions with the ON condition of M8029(end of
instruction flag bit) to ensure no state transition occurs while communicating with other
stations. For example, in the example above, only if M8029 is ON will the driver condition M0
of function 01 be reset and the driver condition M1 of function 02 be reset.

when the state is disconnected in the communication process, the remaining communication can
be completed after the state is ON again, but the communication time-out may occur
according to the disconnection time.

When using the ADPRW instruction in a program flow, the ADPRW instruction can not be used in
the following program flow:
Between CJ-P conditional jump instructions
Between the FOR-NEXT loop instructions
P-sret subroutine
I-IRET interrupt subroutine

Input dispersion reads function 02


Function routine 02 as above, use instructions refer to “Coil read function 01”content

30
AMX-FX3U relay series Programmable Controller User Manual, Dongguan AMX Automation
Technology Co. , Ltd.

Keep Register reading function 03

Function routine 03 as above, use instructions refer to “Coil read function


01”content
Input Register reads function 04

Function routine 04 as above, use instructions refer to “Coil read function


01”content
31
AMX-FX3U relay series Programmable Controller User Manual, Dongguan AMX Automation
Technology Co. , Ltd.

The coil writes to function 05

Function routine 05 as above, use instructions refer to “Coil read function


01”content
32
AMX-FX3U relay series Programmable Controller User Manual, Dongguan AMX Automation
Technology Co. , Ltd.

Register writes to function 06

Function routine 06 as above, the use of instructions refer to “Coil read function
01”content
33
AMX-FX3U relay series Programmable Controller User Manual, Dongguan AMX Automation
Technology Co. , Ltd.

Batch coil write 0FH function

0F function routine as above, the use of instructions refer to “Coil read function
01”content
34
AMX-FX3U relay series Programmable Controller User Manual, Dongguan AMX Automation
Technology Co. , Ltd.

Batch register write 10H function

Function routine No. 10 as above, use instructions refer to “Coil read function No.
01”content
35
AMX-FX3U relay series Programmable Controller User Manual, Dongguan AMX Automation
Technology Co. , Ltd.

6.3.3. PLC as Modbus RTU slave station communication

The slave function is turned off by default and needs to be started by setting
instruction D8420 to K2, which is started by M8411.
When PLC communicates with Modbus RTU slave station:
Baud rates between 1,200 and 19,200

The default input discreteness is the host’s digital input

The default coil quantity is the digital output quantity of the host

The default input register is 2 input analog starting data 16 bytes of data.

The default holds registers for D7200 starting in the data area
Slave communication parameter

Communication parameters of Modbus 485 slave station


More on
communication format
(D8420)
----------------------------------------------------------------------
Des
Bit Implica crip
number | tions | tion
+----------------
------------------
----------- +------------- ----------
Data
B zero | Length | 01:8 bits (fixed 8 bits available)
+----------------
------------------
----------- +------------- ----------
(fixed as not
Check available for
B2B1 | mode | 00: No check)
+----------------
------------------
----------- +------------- ----------
(fixed to 1 bit
B3 | Stop bit | 00:1 bit available)
+----------------
----------- +------------- ------------------
----------
| | 0101:1200 1001:19,200
B7B6B5B Baud
4 | rate | 0110:2400
| | 0111:4800

| | 1000:9600
Delta 讯 +----------------
------------------
----------- +------------- ----------
8420 R/W
格 0: other
agreement 1: Modbus
式 B8 | | s Protocol
+----------------
------------------
----------- +------------- ----------
0: RTU 1: ASCII mode (RTU mode only for
B9 | | mode the time being)
+----------------
----------- +------------- ------------------
----------
Commu
B12B11B nication
10 | interface |
No settings are provided. The default primary site is
| USART2 slave site USART3
+----------------
----------- +------------- ------------------
----------
Do not
Bravo 13 | use |
+----------------
----------- +------------- ------------------
---------
Do not
B14 | use |
+----------------
----------- +------------- ------------------
----------
Do not
Bravo 15 | use |
----------------------------------------------------------------------
Example: D8420 = RTU mode, Modbus protocol, 9600,1 stop bit, NONE check,
0x0181H 8 bit data

36
AMX-FX3U relay series Programmable Controller User Manual, Dongguan AMX Automation
Technology Co. , Ltd.

From station communication port location and terminal description:

In the same section 6.3.1, “485 interface location and terminal description”.

Modbus 485 slave station associated configuration register


Serial
numbe Corresponding
r Special D register Function description
DB9 Master When D8200 = K2, PLC is used as Modbus RTU
1 Delta 8200 485 slave station
Configure 48 Communication parameters of slave station;
Modbus 5 see above Modbus 485 slave station for details
2 Delta 8420 Communica
tion
instruction
The time to determine whether a packet of data is finished; 0
3 Delta 8431 represents the system default time
Configure the
4 Delta 8434 slave address
Configure 48 In slave mode, the number of points and
5 Delta 8480 Modbus 5 register address for the coil
Configure 48 In slave mode, enter the number of discrete
6 Delta 8481 Modbus 5 points and register address
Configure 48 In slave mode, enter the number of registers
7 Delta 8482 Modbus 5 and the starting address
Configure 48 In slave mode, the number of registers and the
8 Delta 8483 Modbus 5 starting address are kept

Associated Components Register of Modbus 485 slave station

The working register corresponding to the slave function of Modbus 485


Serial
numbe
r Function name Default address Notes
Can be configured
through the D8480, not
Point to digital output, 3 bytes; more than
1 Coil condition
Corresponding channel Y000 ~
Y027 Seven times eight
Can be configured
Point to digital input, 4 bytes; through D8481, no
2 Input discrete signal Corresponding input channel X000
~ X027 More than 7 * 8 bits
Available in D8482
16 words, 32 bytes; configuration, no
3 Input Register D8030 starting data corresponding
to D Register Over 64 words
Available in D8483
16 words, 64 bytes; configuration, no
4 Hold Register
D7200 corresponding to D register Over 64 words
37
AMX-FX3U relay series Programmable Controller User Manual, Dongguan AMX Automation
Technology Co. , Ltd.

Modbus 485 slave station


uses routine slave Station PLC
setup program

The software components in the PLC setup routine at the slave station are illustrated as
follows:
M8411: set the flag bit of Modbus communication parameter, the PLC will be
connected after power on
D8200: This PLC 485 function configuration, routine setting value k 2 means
configuration 485 as Modbus slave use
D8420: PLC as Modbus RTU slave communication parameter, routine setting value is
H181, representing RTU mode, using Modbus protocol, 9600 communication baud rate,
1 stop bit, no check, 8 bit data
D8431: delay between frame data requests, the routine setting value of K0 indicates
the use of the system default delay interval (3.5 character interval, PLC automatically
adjusts according to the set baud rate) , in MS
D8434: PLC as slave station address, routine set value for K 1
D8480: the starting address of the coil discrete quantity and the number of
components when setting this machine as slave station
D8481: when setting this machine as slave, input the starting address of the discrete
quantity and the number of components
D8482: when setting this machine as slave, enter the starting address of the register
and the number of components
D8483: when setting this machine as slave station, keep the starting address of register
and the number of components
Pay attention
PLC power-on to execute the above initialization code, will save the parameters, power-off reset
after the parameters set will be effective.

In order to reduce the power-on time to save parameters to write FLASH, after the execution of this
set code once, you can delete this set program, later if you need to change communication
parameters to write to join the run.

38
AMX-FX3U relay series Programmable Controller User Manual, Dongguan AMX Automation
Technology Co. , Ltd.

Description of address setting of relative soft component in slave station


When PLC is used as Modbus RTU slave station, the type and number range of soft
components accessed by Modbus RTU master station in PLC are determined by the
values of four configuration addresses D8480 ~ D8483.
In the numerical format, the last 13 bit (bit 0 ~ bit 12) of the configuration address
is used to determine the type of software components and the starting address of the
host station, the first 3 bit (bit 13 ~ bit 15) of the configuration address is used to
determine the number of the host station visit address.
In order to specify M100 ~ M200 as the coil discrete quantity in PLC, it is necessary
to specify the format of the last 13 digits of the address of D8480, the corresponding
configuration address (decision object) , the coil discrete quantity is the number of M
element that master station accesses slave Station PLC, and the number of M element
that accesses when address first 3 digit value and format.
The following describes four types of access address and number formats: coil
dispersion, input dispersion, input register, and hold register.

Pay attention
Must take M8411 as the instruction drive, through MOV and other data transmission write
instruction, change the configuration address D8480 ~ D8483 numerical value, the PLC power
cut restarts after taking effect, the following explanation does not make this stipulation again
to emphasize, the user needs to pay attention.

If the configuration value exceeds the PLC address range, the master station will fail to
communicate if the access range also exceeds the PLC address range.

(1) set the address and number of coil elements


Coil status, supports the following ranges of addresses:
The access address
points to
Software component Address Range
category
Y element Y 0 ~ Y27; valid 13-bit address is 0x00 ~ 0x79 or 0xC0 ~ 0x1F3
M0 ~ M1063; valid 13-bit address 0x80 ~ 0xBF:
0x80 corresponds to M0 ~ M15;
M element 0x81 corresponds to M16 ~ M31;
...
0xBF corresponds to M1008 ~ M1023 and reaches the maximum M1063 when the
number of configuration addresses is 7 * 8 = 56
D register D500 ~ D7999; valid 13-bit address is 0x01F4 ~ 0x1F3F

The instructions are as follows:


39
AMX-FX3U relay series Programmable Controller User Manual, Dongguan AMX Automation
Technology Co. , Ltd.

Point to Y coil data conversion instructions:

In the example program above, the H6050 converts to binary data bits as follows:

The last 13 bit bit “0000001010000”of D8480 address corresponds to


hexadecimal 50; that is to say, the PLC address type as coil discrete quantity in slave
PLC. .
The first three bits of the D8480 address, regardless of their value, point to the y
element’s default range “Y 0 ~ Y77”(octal) .
In combination with the above, the routine specifies that the coil discrete address
range of master station access slave station PLC is “Y 0 ~ y 77”(octal, amx-fx3u-
48actual hardware coil range “Y 0 ~ y 27”, the rest is software range)
Data conversion instructions for the M element:
40
AMX-FX3U relay series Programmable Controller User Manual, Dongguan AMX Automation
Technology Co. , Ltd.

In the example program above, H8090 converts to binary data as follows:

The last 13 bit “0000010010000”of D8480 address corresponds to 16 base 90;


that is to say, the PLC address type as coil discrete quantity in slave PLC. .
H0090-H0080 = H10, convert decimal 256;
H0080 corresponds to the PLC address M0, then H0090 corresponds to the PLC
address M256.
The first three bits “100”of the D8480 address correspond to 10 decimal 4, with 8
bits, or 4x8 = 32 bits, the bit element representing Modbus master station when
accessing the PLC coil dispersion of slave station has 32 bits (when the number is set to
0, the access points to the Y element default range “Y 0 ~ Y77”(Octal)) .
In combination with the above, the routine specifies that the coil discrete address
range of master station access slave station PLC is “M256 ~ M287”(the rest in turn) .
Instructions for converting data to D register:

In the example program above, H9770 converts to binary data bits as follows:

The last 13 bit bit “101110110000”of D8480 address corresponds to hexadecimal


1770; that is to say, the PLC address type in slave station PLC as coil discrete quantity is
D element. H1770 is hexadecimal 6000, which means access begins at the D6000
address.

The first three bits “100”of the D8480 address correspond to base 104 in units of
8 bit, that is 4x8 = 32 bit, the bit element representing Modbus master station when
accessing the PLC coil dispersion of slave station has 32 bits (when the number is set to
0, the access points to the Y element default range “Y 0 ~ Y77”(Octal)) .
Combined with the above, the routine provides that the master station access slave
PLC coil discrete address range of “D6000.0 ~ D6001.15”(a data register D address
16bit) , that is, D6000, D6001 two words.

41
AMX-FX3U relay series Programmable Controller User Manual, Dongguan AMX Automation
Technology Co. , Ltd.

(2) setting the address and number of input discrete elements


Enter the state of the discreteness, and the range of addresses that support
configuration is as follows:
The access
address points to
Software Address Range
component
category
X 0 ~ X24; valid 13-bit address is 0x00 ~ 0x79,0XC0 ~ 0x1F3, the number of configurations,
regardless of value, points to the default for the X element
X element
Range (the master station only reads the input discreteness, so the range is based on the actual
number of PLC input points)
M0 ~ M455; valid 13-bit address 0x80 ~ 0xBF:
0x80 corresponds to M0 ~ M15;
0x81 corresponds to M16 ~ M31;
M element
...
0xBF corresponds to M1008 ~ M1023, when the number is 7 * 8 = 56, the PLC address is Max
to M1063, and the configuration number is 0 points to X
Component default range;
D500 ~ D7999; valid 13-bit address 0x01f4 ~ 0x1F3F, configuration number 0 points to X
D register element default range
The instructions are as follows:

Data conversion instructions (for example, pointing to the D register) :


42
AMX-FX3U relay series Programmable Controller User Manual, Dongguan AMX Automation
Technology Co. , Ltd.

In the example program above, H9775 converts to binary data bits as follows:

The last 13 bit bit “101110110000”of D8481 address corresponds to hexadecimal


1775; that is, the PLC address type in slave station PLC as input discrete quantity is D
element. H1775 is hexadecimal 6005, which means access begins at the D6005 address.

The first three bits “100”of the D8481 address correspond to base 104, and the
unit is 8bit, that is 4x8 = 32bit, which means that the bit element has 32 bits when
Modbus master station accesses the Slave Station PLC to input the discrete quantity
(when the number is set to 0, the access points to the default range of X element) .
In combination with the above, the routine specifies that the input discrete address
range of master station access slave station PLC is “D6005.0 ~ D6006.15”(a data register
D address 16bit) , namely D6005, D6006 these two words.

(3) setting the address and number of input register elements


Enter a register that supports the following range of addresses:
Software
Serial component
number category Address Range
D8030 ~ D8093; the valid 13-bit address is 0x00 ~ 0x1F3, no matter what the
configuration number is, all points to the PLC ground
1 Delta 8030, go
Address D8030 ~ D8093, the need to pay attention to the master station Access PLC
address length longer, master station timeout need to set larger
D500 ~ D7999; valid 13-bit address is 0x01f4 ~ 0x1F30, configuration address is 1F30,
D General
number is 1,
2 Register
PLC address up to D7999

The instructions are as follows:


43
AMX-FX3U relay series Programmable Controller User Manual, Dongguan AMX Automation
Technology Co. , Ltd.

Data conversion notes:

In the example program above, H377A converts to binary data bits as follows:

The last 13 bit bit “1011101111010”of D8482 address corresponds to


hexadecimal 177A; that is to say, the PLC address type as input discrete quantity in
slave PLC. . H177A is hexadecimal 6010, which means access begins at the D6010
address.
The first three bits “001”of the D8482 address correspond to hexadecimal 1, in
16Word, or 1x16 = 16Word, which means
When Modbus master station accesses the Slave Station PLC input register, the word
element has 16 words (when the number is set to 0, the access point
D8030 component starts default range).
Combined with the above, the routine provides that the master station access
Slave PLC input register address range is “D6010 ~ D6026”.
(4) setting the address and number of hold register elements
To keep registers, the range of addresses that support configuration is as follows:
Software
Serial component
number category Address Range
D7200 ~ D7263; the valid 13-bit address is 0x00 ~ 0x1F3, no matter what the
configuration number is, all points to the PLC ground
1 Delta 7200, go
Address D7200 ~ D7263, the need to pay attention to the master station Access PLC
address length longer, master station timeout need to set larger
D500 ~ D7999; valid 13-bit address is 0x01f4 ~ 0x1F30, number is 0 corresponding to
D General
special components, when address
2 Register
Add the number of addresses more than D7999, the number of visits to the main
station is also more than the PLC address range that can not communicate

44
AMX-FX3U relay series Programmable Controller User Manual, Dongguan AMX Automation
Technology Co. , Ltd.

The instructions are as follows:

Data conversion notes:

In the example program above, H979D converts to binary data bits as follows:

The last 13 bit bit “101111001101”of D8483 address corresponds to hexadecimal


179D; that is to say, the PLC address type as input discrete quantity in slave PLC. .
H179D is hexadecimal 6045, which means access begins at the D6045 address.
The first three bits “100”of the D8483 address correspond to hexadecimal 4 in
16Word, or 4x16 = 64word, which means
When Modbus master station accesses the Slave Station PLC input register, the word
element has 64 words (when the number is set to 0, the access point
D8030 component starts default range).
Combined with the above, the routine provides that the master station access
Slave PLC input register address range is “D6045 ~ D6108.”.
45
AMX-FX3U relay series Programmable Controller User Manual, Dongguan AMX Automation
Technology Co. , Ltd.

Appendix A, AMX-FX3U Relay Series PLC support instruction table

Instruction Instruction
type Code Functional description Notes
LD Get (start of logical operation of a contact)
LDI Get Back (start of logical operation of B contact)
Take the rising edge of the pulse (start of operation to detect
LDP the rising edge)
Take the falling edge of the pulse (the beginning of the
LDF operation to detect the falling edge)
AND With (series a contact)
Ani With non (Series B contacts)
Contact Connected in series with the rising edge of the pulse
instruction ANDP (detecting the rising edge)
Connected in series with the pulse falling edge (detecting
ANDF falling edge)
Or Or (parallel a contact)
Ori Or not (parallel B contact)
Or pulse rising edge (parallel connection to detect rising
ORP edge)
Orf Or pulse drop edge (parallel connection to detect drop edge)
ANB To connect (a Circuit Block in series)
Orb Circuit block or (parallel connection of Circuit Block)
MPS Stack Access (arithmetic storage)
Combined
instruction MRD Read Stack (read memory)
MPP Out of the stack (read out storage and reset)
INV Inversion of the result of an operation
Out Output (coil driven)
Set Position (action hold)
Output
instruction RST Reset (UNHOLD action, current value and register clearing)
PLS. Rising pulse (rising edge pulse output)
PLF Down Pulse (down edge pulse output)
Master MC Master Control (coil instruction for universal series contacts)
Command
MCR Master Reset (Universal series contact release instruction)
Other
commands Nop No program (empty operation)
End of program (end of program and input/output processing,
End instruction END and return 0 steps)
Step ladder STL Step ladder diagram (the beginning of a step ladder diagram)
Instructions Ret Return (end of step ladder diagram)
CJ Conditional jump
Program flow CALL Subroutine call
Sret Subroutine return

46
Dongguan AMX Automation Technology Co. , AMX-FX3U relay series programmable
Ltd. controller manual

Main program
FEND terminated
Program flow For The beginning of the looping range
Next The end of the loop range
MOV Teleport
Smov Dislocated
Hey, CMP Comparison
Interval
ZCP comparison
Reverse
Transmission
CML transmission
comparison
Batch
BMOV transmission
Multipoint
Fmov transmission
XCH Swap
BCD
BCD conversion
Two-word
BIN Bin conversion instruction support,
Pulse Command
Add Bin addition not supported
Sub Bin subtraction
Bin
Mul multiplication
Div Bin Division
Four. Logic Inc. Bin plus one
Arithmetic
operation Dec. Bin Minus One
Wand Logic and
Wor Logic or
WXOR Exclusive or
Complementary
NEG code
Contact
LD = comparison LD S1 = S2
Contact
LD > comparison LD S 1 > s 2
Contact
LD < comparison LD S1 < S2
Contact
LD < > comparison LD S 1≠ s 2
Contact
LD < = comparison LD S 1≤ s 2
LD > = Contact S 1≥ s 2
comparison LD
Contact
Contact comparison
comparison And = AND S1 = S2
Contact
comparison
AND > AND S1>s2
Contact
comparison
And < AND S1 < S2
Contact
comparison
And < > AND S 1≠ s 2
Contact
comparison
And < = AND S 1≤ s 2
Contact
comparison
AND > = AND S 1≥ s 2
Contact
OR = comparison OR S1 = S2

47
Dongguan AMX Automation Technology Co. , AMX-FX3U relay series programmable
Ltd. controller manual

Contact
OR > comparison OR S 1 > s 2
Contact
Or < comparison OR S1 < S2
Contact Contact
comparison Or < > comparison OR S 1≠ s 2
Contact
Or < = comparison OR S 1≤ s 2
Contact
OR > = comparison OR S 1≥ s 2
Cyclic right
Ror shift
Whoa, Whoa,
whoa Cyclic left shift
Two-word
RCR Carry cycle right shift instruction support,
Pulse Command
Cycle. Shift RCL carry cyclic left shift not supported
SFTR Shift right
SFTL Shift left
Zrst Batch reset
Data
Processing Mean Mean value
Flt Bin integer-binary floating point number conversion
Filter
Reff adjustment
High-speed
processing PLSY Pulse output
PLSR Pulse output with acceleration and deceleration
Origin
Zrn regression
Variable Speed
Positioning
PLSV Pulse
control
Relative
Drvi positioning
Absolute
Drva positioning
DECMP Binary floating point number comparison
DEZCP Interval comparison of binary floating-point numbers
Demov Binary floating-point data transfer
DEBCD Binary-to-decimal floating-point conversion
Debin Decimal floating-point to binary floating-point conversion
DEADD Binary floating-point number addition
IEEE 754- Pulse Command
2008: IEEE DESUB Binary floating-point number subtraction not supported
Standard for
Floating-Point
Arithmetic
DEMUL Binary floating-point multiplication
DEDIV Binary floating-point number division
INT Binary floating-point number-BIN integer conversion
DSIN Binary floating point number SIN operation
DCOS Binary floating-point COS operation
DTAN Binary floating point number TAN operation
Data Up and down
Processing 2 Swap byte conversion

48
AMX-FX3U relay series programmable
Dongguan AMX Automation Technology Co. , Ltd. controller manual

TCMP Clock data comparison


Clock data interval
TZCP comparison
Clock Tadd Clock data addition Pulse Command
operation not supported
Tsub Clock data subtraction
TRD Clock readout
Twr Clock data write
Two-word
Gry Gray code’s transformation instruction support,
Pulse Command
Peripheral not supported
Gbin Gray code’s reversal
equipment
Amx-fx3u-14
ADPRW Modbus read write
This command is
not supported
49
AMX-FX3U relay series Programmable Controller User Manual, Dongguan AMX Automation
Technology Co. , Ltd.

Appendix B, Modbus RTU communication error code (D8402 data)


explanation
Modbus
communic
ation Action of related software
Message Error name Master/Sla components (special
Error Code ve Station Disposal mode
And the details M, D address)
(decimal)
1) M8063 will be ON, 6321
Will be stored in D8063
2) M8122 will be set to
ADP did not detect an error in Modbus ON, communication
communication Please confirm that it
Master/Sla The error code is stored has been used
201 ve Station Modbus
communication
Detection of Modbus Communication In D8122 adapter
Adapter failed 3) M8123 will be set to
ON, with an error
Details will be stored
In D8123
Please confirm the
Modbus communication parameter relevant data sent
setting exception Register parameter
Master/Sla values, please
202 ve Station See above Confirm Modbus
Communication
The Modbus communication Device
parameter setting is invalid
Fixed program
Communication port occupied by
other communication
More than two types of
communication are set up in one Confirm the Modbus
channel Master/Sla communication
203 ve Station See above Is there only one
channel
Example: Modbus communication is
used on the same channel
Letters and n: N Networks)
Please confirm
Communication
Parity error, overflow error, frame Master/Sla Format
204 error ve Station See above
D8400/D8420
Please confirm
Communication
CRC/LRC error Format
D8120, delay in
playback
The text is long in CRC/LRC invalid Master/Sla Delta 8180, request
205 RTU mode ve Station See above delay
Degree for 3 bytes or less, ASCII An error occurred on
mode language D8174
This is less than 8 bytes in length 态
Character overflow Please confirm the
delay
Delta 8180, request
- when receiving more than 256 bytes delay
in RTU mode
Error in Delta 8174
Master/Sla
Status of occurrence.
206 (ASCII mode is more than 513 bytes) ve Station See above
Please confirm
Is the
communication port
- during the processing of the previous
set up
request, the
Correct
Other requests (slave only)

50
AMX-FX3U relay series Programmable Controller User Manual, Dongguan AMX Automation
Technology Co. , Ltd.

Continuation:
Please confirm
whether the slave
station
Using Modbus
communication,
The request text is not in the correct Is receiving the
format correct
The number of access points to receive Function, confirm
text and the actual point received command
Master/Sla Is the number of
207 The numbers don’t match ve Station See above access points in the
Range of slave and
master stations
Or the number of access points
exceeds the function’s maximum
value 内
. If not compiled
correctly
Cheng, it sometimes
happens
Protocol error
Refer to error code
Receiving text error. Master/Sla 207
208 ASCII mode can not be converted to ve Station See above
Byte Code To be disposed of
Please confirm the
Received without corresponding work used
function code Can you match it to
Slave the primary site and
209 The requested function code is invalid station See above the
or does not correspond Specification of
slave station
Please confirm your
station
Modbus soft
component
allocation
If It’s set correctly.
To the undistributed software
components Modbus software
components into
Please confirm that
the master station
All Right, interview data is
Selected Modbus software component Slave Not in the selected
210 or software component + access station See above function has
Points exceeded Range of effect
The support range of the slave station
Please confirm that
the main site is
visited
I asked for a valid
software component
range

Please confirm the
number from this
site
And the
communication
Master parameters are
211 Slave response timeout station See above positive
The right setting
Exception response text receive
The exception response text was sent
from the site (see below
Abnormal response of plane Please confirm the
work used
Code) Can be compared
with the function
parameters
That match the
Master primary and
212 station See above secondary sites
Details:
Specifications
High-bit byte: exception function code

Low-bit byte: exception response code

51
AMX-FX3U relay series Programmable Controller User Manual, Dongguan AMX Automation
Technology Co. , Ltd.

Continuation:
The station
numbers
don’t match
The request and response text are not
aligned from the site number
Please refer to the
Master error code
213 station See above
Details: Disposal of 0207
High-bit byte: the requested number
from the site
Low-bit byte: the number of the
response from the site
The function code is
inconsistent
The request text and the response text
have different functional codes
致 Please refer to the
Master error code
214 station See above
Disposal of 0207
Details:
High-bit byte: the function code for
the request text
Low-bit byte: function code that
responds to text
Error in play
request
Received from the station playback
function does not support the function
Please confirm
whether the function
Play request is in the
Within the scope of
Slave the slave station
215 Details: station See above specification
Non diagnostic Diagnostic
function function Okay, play it
Functional
High Byte: 0 Code
(08H)
Low-bit byte: Function Subfunction
Code Code
Request text data
exception
The data values do not agree with the
Modbus specification. Please refer to the
Slave error code
216 station See above
(for example: off = [0000H ] , on = Disposal of 0207
[ FF00H ]
Write to [5h ] value)
Please use the
Incorrect use of the Slave ADPRW at the main
217 ADPRW instruction station See above site
The ADPRW instruction
is used at the slave
station Instructions
Out of range of application instruction
operand data
Read/write object softcell for the
ADPRW instruction
The item is invalid. or the
number of points
occupied Refer to the above or
Please confirm
whether the function
Out of range is in the
Master station
Master specifications or
218 station M8067 will be ON, 6705 or software components
To the extent of the
Details: 6706 will be stored law
High Byte: 0 D8076 in progress
S.S4D according to RS
Low Byte: instructions
The invalid parameter is
stored 1-4
The length of the data Refer to error code
The data length is Master/Sla received does not match 207
219 incorrect ve Station Modbus specification To be disposed of

52
AMX-FX3U relay series Programmable Controller User Manual, Dongguan AMX Automation
Technology Co. , Ltd.

The exception response code for the Modbus slave station (details of the master station error, data in D8403)

Exception
response code Exception response code name
The requested function code does not correspond
01H Functional code exception to a slave station
The requested Modbus software component or
access point exceeds the slave
02H Soft component anomaly
The effective range of the
One data region of the request text exceeds the
valid range (data
03H Data Anomaly
Length, number of soft components)
A fatal error occurred while processing the
request text from the station
04H Processing interrupt
Go wrong
0CH I/0 error in sending or receiving data Incorrect length of data received or CRC error
53

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy