Professional Documents
Culture Documents
FX3U-32MT-6AI2AO使用手册 backup.zh-CN.en
FX3U-32MT-6AI2AO使用手册 backup.zh-CN.en
com
FK3U-32MT-6AI2AO(transparent shellPLC)
1. Specifications:
Internal components
PLC type
Program steps 8000 steps; 2 communication ports: 1 RS232 (standard 9-pin serial port FX3u protocol 38400, 7, E,
1) 1 RS485
Input pointX component X0-X17, DC24 input, active low level. Among them, X0-5 is the high-speed counting input port (12KHZ).
Output point Y component Y0-Y17 are transistor outputs, and Y0~Y7 are 100K pulse outputs. If Y0~Y7 is needed, it needs to be
The load requires an external reverse diode
Analog output 2 analog outputs, 12-bit accuracy, output voltage: 0-10V. Use the WR3A instruction to output analog voltage
Intermediate relay M M0-M3071, the power-off saving range can be set to M0-M1023
Step point S S0-1023, the power-off saving range can be set to S0-S1023
32-bit high-speed counter C235-255; C235-240 is a single-phase counter, without frequency multiplication; C241-240 is a single-phase counter, with frequency multiplication by 2; C247-249
is a two-phase counter, without frequency multiplication; C250-252 is a two-phase counter, with frequency multiplication by 2 ;C253- is a two-phase counter, 4
I interrupt X0-5 external interrupt. Timer interrupt (1MS unit). Counter interrupt.
Special M components M8000 is normally closed during operation, M8002 has a power-on pulse, M8011 has a 10Ms pulse, and M8012 has a 100Ms pulse.
2. Basic instructions
Mnemonic Function
kind make
help
remember
symbol
sequence
Procedure
SRET Subroutine returns
deliver
Compare
MOV transmit
compare
FMOV multicast
XCH exchange
but
logic
SUB BIN subtraction
edit
MUL BIN multiplication
transport
WPR Logical OR
kind
SPD Pulse density and pulse width (pulse interval time) can also be measured
EBIN Decimal floating point number to binary floating point number conversion
LOGE10 Commonly used logarithmic operations for binary floating point numbers
HOUR chronometer
LD= (S1=(S2)
LD> (S1)>(S2)
LD< (S1)<(S2)
LD◇ (S1)≠(S2)
LD≦ (S1)≤(S2)
LD≧ (S1)≥(S2)
AND= (S1=(S2)
AND> (S1)>(S2)
AND< (S1)<(S2)
AND◇ (S1)≠(S2)
AND≦ (S1)≤(S2)
AND≧ (S1)≥(S2)
OR= (S1=(S2)
OR> (S1)>(S2)
OR< (S1)<(S2)
OR◇ (S1)≠(S2)
OR≦ (S1)≤(S2)
OR≧ (S1)≥(S2)
6. Clock module description: when setting the clockM8015Should be set to resume operationM8015reset.D8018 for the
year,D8017for the month,D8016For the day,D8019for the week,D8015is the hour,D8014is minutes, D8013is seconds.
Clock data read instructions can be usedTRDRead clock data into general registers, or use clock write instructionsTWRTo
modify the clock, use this instruction without setting the bit.M8015.
;
returned by feedback)
proportional coefficientKP;S3+2is the integral coefficientKI;S3+3is the differential coefficientKD;S3+4 is the error
coefficientKE, Only perform if the error is greater than this valuePIDdeal with; S3+5Output upper limit valuePMAX;
data exchange area Station No data exchange Station No data exchange area
Station No district
0 D3500-3515 8 16
1 D3516-3531 9 17
2 D3532-3547 10 18
3 D3548-3563 11 19
4 D3564-3579 12 20
5 D3580-D3595 13 twenty one
7 15 twenty three
Station No0ofPLCJust askD3500-3515Write data, other station numbersPLCJust read itselfD3500-3515 The data is equal
to the reading station number0ofD3500-3515data. Station No0ofPLCread itselfD3516-3531The data is equal to reading the
station number1ofD3516-3531data.
During CAN communication, the CAN_H between hosts must be connected to the CAN_H of other PLCs, and CAN_L must be connected to the CAN_L of other PLCs. When the
transmission distance is long, the terminal resistor on the PLC board must be connected, and the corresponding DIP switch (2 digits in the upper left corner that) is in the ON position.
live
D8120 RS485Communication format definition M8121 Set when data is sent, automatically reset after sending.
D8121 RS485Communication station number setting M8122 Send a request whenM8122When set, the communication port will be opened once it is
free.
D8122 Remaining number of sent data M8123 Data reception completed flag, this bit automatically starts after receiving a frame of data.
move
M8124 Set during data reception and reset after data reception
M8129: Communication timeout mark, when the master sends a command, the slaveD8129No response within time,M8029will be set
The corresponding communication parameters of D8120 are as follows:
B1 Parity bit b2 b1
B2 (0, 0): No check
(0, 1): odd ODD
(1, 1): Even parity EVEN
B4 Transmission rate b7 b6 b5 b4 b7 b6 b5 b4
B5 bps {0, 0, 1, 1}: 300 {0, 1, 1, 1}: 4800
B6 {0, 1, 0, 0}: 600 {1, 0, 0, 0}: 9600
B7 {0, 1, 0, 1}: 1200 {1, 0, 0, 1}: 19200
{0, 1, 1, 0}: 2400 {1, 0, 1, 0}: 38400
executed, the given parameters are for the RS485 port. RS232 port.
CCDinstruction:
bySThe specified component is the startingnpoint data, and sum the sum of each bit of data withCRCThe verification data is stored inD.
andD.+2,D.+3. This example and verification are placed inD0middle,CRCChecksum is placed inD2,D3middle. 11. Communication with frequency
converter or instrument:
Read:
D0is the read station number (high8bit) and command code (low8bit), such asD0The value isH103,It's the station number
1,read command3.D1is the data address to be read,D2To receive the first address of the data returned by the
frequency converter or instrument, the data is received, if it is a channel0,M8123will be set.H1,high8bit channel, low8
Number of bits to read. through channel0(485channel), read1data. if bitH101, that is, through the channel (RS232
aisle)1read1data.
Write:
D0is the station number written (high8bit) and command code (low8bit), such asD0The value isH106,It's the station number
1,Write a single data command6.D1is the data address to be written,D2It is the first address for writing
frequency converter or instrument data.H1,high8Bit is channel, low8Number of bits written. through channel0(
485channel), write1 data. if yesH101, that is, through the channel (RS232aisle)1write1data. Writing
completedM8122Automatic reset.
count input Single phase counting upward, downward count input Single phase 2 times upward, downward
count input bipolar 2 times upward, downward count input biphasic 4 times upward, downward
read) read)
C247 (X0, X1), C248 (X2, X3), 249 (X6, X7) are two-phase counters without frequency multiplication. 13.
High-speed pulse output and pulse width modulation: supports 8 channels of pulse output Y0-7 (PLS Y,
PLSV, PLSR, DRVA, DRVI, ZRN, DSZR, DVIT) or 6 channels of pulse width modulation Y0-5 (PWM), Frequency 100
K.
pulse lose lose pulse lowest DSZR,
Addition and subtraction DVIT origin origin ZRN
rush pulse mark end Frequency time DVIT Break input return speed Return to climb flowing pulse
0-17
Y0 D8132 M8147 M8141 D8144 D8145 M8080 D8080 D8220 D8090 D8072
Y1 D8134 M8148 M8142 D8146 D8147 M8081 D8081 D8221 D8091 D8073
Y2 D8136 M8149 M8143 D8148 D8149 M8082 D8082 D8222 D8092 D8074
Y3 D8138 M8150 M8144 D8150 D8151 M8083 D8083 D8223 D8093 D8075
Y4 D8140 M8151 M8145 D8152 D8153 M8084 D8084 D8224 D8094 D8076
Y5 D8142 M8152 M8146 D8154 D8155 M8085 D8085 D8225 D8095 D8077
Y6 D8166 M8153 M8155 D8156 D8157 M8086 D8086 D8226 D8096 D8078
Y7 D8168 M8154 M8156 D8158 D8159 M8087 D8087 D8227 D8097 D8079
X0 I0 I1 M8050
X1 I100 I101 M8051
X2 I200 I201 M8052
X3 I300 I301 M8053
X4 I400 I401 M8054
X5 I500 I501 M8055
2. The timer interrupt pointer is I600, and the interrupt disable is M8056.
Interruption time range I601 (1MS)-I699 (99MS).
I10 M8059
I20
I30
I40
I50
I60
15. Description of third-party programming software: Compatible with programming software GX Developer7.8 or
Versions 8.52 and 8.86, create a new project:
Online, transmission settings, set download communication port and baud rate:
Enter the ladder diagram editing interface and write your program:
Download program: Select the program and press Execute to start downloading