4communication flowchart – Lenze P94DLL01A User Manual
Page 7
![background image](/manuals/566059/7/background.png)
7
P94DLL01A
4
Communication Flowchart
The flowchart in Figure 1 provides the instructions of how to use DLL functions for communication over
Ethernet or serial communications ports.
Begin
Ethernet or Serial Port
Communication?
Ethernet
Known
Serial Port
Drive’s Symbolic Name
Known?
Unknown
Execute function:
SS940_EnableSerialInterface
Execute function:
SS940_FindByName
to obtain the drive’s IP address
Execute function:
OpenInterfaceB
with IP = 127 . 0 . 0 . N
where N is the drive’s address 1
Execute function:
OpenInterfaceB
with the drive’s IP address
Communicate with drive
by setting/reading the drive’s variables
Execute function:
SS940_CloseInterface and SS940_DisableInterface
(if serial port was used)
when communication is done
NOTE:
All
Bold Italic phrases are function names.
Refer to Section 8 for details.
Figure 1 Communication Flowchart