The following summary for your reference: '
read VFDS -
M series inverter main frequency (
, output frequency and in D0, D1 respectively.
MODRD instruction implementation)
set frequency converter to the main frequency of 40 hz positive direction.
MODWR instruction implementation)
M frequency converter parameters necessary to set up 】
when a frequency converter caused by parameter Settings disorder can not run normally, can set the first P76 = 10 (
Return to the factory)
Set up, and then carried out in accordance with the above parameters.
Component description 】
Program description 】
RS - of PLC
Initialization, 485 communication port to the communication format for MODBUS ASCII, 9600, 7, E, 1.
The inverter RS485 communication port communication format should be in line with PLC communication format.
MODBUS communication only 4 kinds of circumstances, normal communication to complete the corresponding communication marks M1127, communication error corresponding communication: M1129, M1140, M1141, so, in the program based On the four communication signal of On/Off state to count, reuse of C0 numerical control three MODBUS commands in sequence, to ensure the reliability of communication.
when M0 = On, [
MODRD K1 H2102 K2 ]
Reading instruction is executed, PLC frequency converter 'main frequency' and 'output frequency' in the form of ASCII characters in D1073 ~ D1076, and its content will automatically converted to hexadecimal values stored to D1050, D1051.
when the M1 = On, [
MODWR K1 H2000 H12 ]
Instruction is executed, the inverter start and positive direction.
when M2 = On, [
MODWR K1 H2001 K4000 ]
Instruction is executed, sets the main frequency of frequency converter to 40 hz.
The last two lines [ program
MOV D1050 D0 ]
Is to store the main frequency of frequency converter in D0, [
MOV D1051 D1 ]
Store is to put the output frequency of frequency converter in D1.
RUN at the beginning, compare C0 = 0, has been repeatedly communication of frequency converter, speaking, reading and writing.
plc manufacturers has become a standardized way of dealing with programmable control systems
To understand how efficiently works, go to Coolmay PLC for more information.
Shenzhen Coolmay Technology Co., Ltd. can reassign work or shuffle around assigned tasks if one team member is overwhelmed while others are not, more effectively managing resources on the fly. With detailed overviews and reports, manufacturers also can more easily stay abreast of new developments.