Welcome, Guest
Messages posted to this category need to be reviewed by the moderator before it gets posted.

TOPIC: Wait command from PLC input

Wait command from PLC input 6 years 5 months ago #597

  • Beginner
  • Beginner's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 7
  • Karma: 0
Hi all

I am using Smart Motor Class 5 and Plc with RS-232 communication. I would like to ask the command
for smart motor which will wait PLC input command.
example: i want to trigger subroutine from PLC and put smart motor in wait for the command from plc.

thanks.
The administrator has disabled public write access.

Re: Wait command from PLC input 6 years 5 months ago #598

  • csearcy
  • csearcy's Avatar
  • OFFLINE
  • Moderator
  • Posts: 459
  • Thank you received: 77
  • Karma: 23
I would suggest writing subroutines in the SmartMotor and calling them from the PLC.

EIGN(2)
EIGN(3)
ZS
END

C10 'THIS SUBROUTINE WILL RUN WHEN THE PLC SENDS "GOSUB10 "
ADT=100
VT=100000
PT=4000
G
RETURN
The administrator has disabled public write access.
The following user(s) said Thank You: Beginner
Time to create page: 0.235 seconds
Powered by Kunena Forum