Modbus communication with HMI eliminating the PC
Moderators: TomKerekes, dynomotion
Re: Modbus communication with HMI eliminating the PC
Respected sir,
I think there is an option for modbus communication. if it so is it possible to communicate with HMI and access the kflop inputs and output.
what are devices can be connected with kflop via rs232 and rs48?
I think there is an option for modbus communication. if it so is it possible to communicate with HMI and access the kflop inputs and output.
what are devices can be connected with kflop via rs232 and rs48?
- TomKerekes
- Posts: 2676
- Joined: Mon Dec 04, 2017 1:49 am
Re: Modbus communication with HMI eliminating the PC
YesI think there is an option for modbus communication. if it so is it possible to communicate with HMI and access the kflop inputs and output.
Any device that does serial communication. KFLOP itself only has a 3.3V UART. See here.what are devices can be connected with kflop via rs232 and rs48?
Regards,
Tom Kerekes
Dynomotion, Inc.
Tom Kerekes
Dynomotion, Inc.
Re: Modbus communication with HMI eliminating the PC
Respected sir,
Is it possible to add external start and emergency stop to initiate and stop my G code program?
if it so can you guide me how it is done?
Regards,
Ajith Arawinth,
Is it possible to add external start and emergency stop to initiate and stop my G code program?
if it so can you guide me how it is done?
Regards,
Ajith Arawinth,
- TomKerekes
- Posts: 2676
- Joined: Mon Dec 04, 2017 1:49 am
Re: Modbus communication with HMI eliminating the PC
See the ExternalButtons.c example
Regards,
Tom Kerekes
Dynomotion, Inc.
Tom Kerekes
Dynomotion, Inc.
Re: Modbus communication with HMI eliminating the PC
Respected sir,
In that program they had defined the following variable.
I had gone through the program.See the ExternalButtons.c example
In that program they had defined the following variable.
After i connect my external pushbutton with the corresponding input as defined in the above whether i need to execute the " ExternalButtons.c " or is it enough to declare the program in any one of the thread in kflop.#define FEEDHOLDBIT 46
#define CYCLESTARTBIT 47
#define ESTOP 26
#define HALTBIT 27
#define RESTARTBIT 28
#define ZEROALLBIT 29
- TomKerekes
- Posts: 2676
- Joined: Mon Dec 04, 2017 1:49 am
Re: Modbus communication with HMI eliminating the PC
Yes it must be compiled, downloaded and executed to do anything.
After it is working it can be merged into your Init C Program's forever loop.
After it is working it can be merged into your Init C Program's forever loop.
Regards,
Tom Kerekes
Dynomotion, Inc.
Tom Kerekes
Dynomotion, Inc.
Re: Modbus communication with HMI eliminating the PC
Respected sir,
Is it possible to call the "ExternalButton.c" program directly into my Init C Program's forever loop.After it is working it can be merged into your Init C Program's forever loop.
- TomKerekes
- Posts: 2676
- Joined: Mon Dec 04, 2017 1:49 am
Re: Modbus communication with HMI eliminating the PC
No there can be only one program. But you can call functions in included files.
Regards,
Tom Kerekes
Dynomotion, Inc.
Tom Kerekes
Dynomotion, Inc.
Re: Modbus communication with HMI eliminating the PC
Respected sir,
can you explain the procedure to establish an rs232 communication between a HMI and Kflop?
can you explain the procedure to establish an rs232 communication between a HMI and Kflop?
- TomKerekes
- Posts: 2676
- Joined: Mon Dec 04, 2017 1:49 am
Re: Modbus communication with HMI eliminating the PC
See here.
Regards,
Tom Kerekes
Dynomotion, Inc.
Tom Kerekes
Dynomotion, Inc.