Wait command from P...
 
Notifications
Clear all

Wait command from PLC input

2 Posts
1 Users
0 Reactions
11.7 K Views
(@Beginner)
Posts: 7
Active Member Guest
Topic starter
 

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.

 
Posted : 14/05/2012 3:48 pm
(@csearcy)
Posts: 316
Reputable Member Guest
 

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

 
Posted : 14/05/2012 4:23 pm
Share: