- 19 -
3.11
Verify device types - DEVASSERT
This command checks whether the device connected to the specified port corresponds to the expected
device. If this is not the case, an error will be raised and the program will be stopped. The check is
performed via the IO-Link Vendor and Product ID.
Syntax
GRIPLINK_DEVASSERT(< PORT >,< VID > ,< PID > )
Parameter
< PORT >
Index of the device port (0 to 3)
< VID >
Expected Vendor ID number. This is assigned to the manufacturer by the IO-
Link user association.
< PID >
Expected Product ID number. Identification number of the device assigned
by the manufacturer.
Example
Make sure that a gripping module of type IEG 55-020 (Product ID: 20) from Weiss Robotics
(Vendor ID: 815) is connected to port 0:
GRIPLINK_DEVASSERT(0,815,20)