
13
Operating instructionsOperating instructions
14
Header Code Mode No. Check sum Delimiter
@ M 9 FF CR LF
Mode command
Selecting stationary light or strobe light.
6
Operating instructions
6
Operating instructions
List of command functions
Function Description Code
Mode selection Selecting stationary light or strobe light. M
Strobe setting Setting of trigger port and delay time. S
Light control and light
pulse width setting
Setting of and register light control data and light pulse width
by scene. R
Scene call Calling scene data registered. C
External control operation procedure 1. Mode selection (M)
Check sum
The term “check sum” means what is obtained by converting the value for lower 1 byte of the sum
of header to check sum position into 2-byte ASCII code.
Header Code Port No. Delay time Check sum Delimiter
@ S 0 0078 39H 32H CR LF
Example: Strobe setting command
Convert into ASCII character
(in hexadecimal).
40H 53H 30H 30H 30H 37H 38H
Sum 192H
Header Code Port No. Delay time Check sum Delimiter
@ S 9 9999 FF CR LF
Strobe setting command
2. Strobe setting (S)
Setting strobe light control (i.e., triggers port and delay time).
*No overdrive function is provided.
Function Setting procedure
Trigger port Selecting trigger output from
the external control equipment
suc h as PLC or h igh -sp eed
ou t pu t fr o m a ca me r a (t he
In- Si ght5 00 0 ser ies) as the
trigger.
[Port No. 0]
Using the trigger output from the external
control equipment such as PLC.
[Port No. 1]
Using the high-speed output (HSOUT1) from
a camera (the In-Sight5000 series) as the
trigger.
Note: When the Port No. 1 is selected, the
HSOUT1 cannot be used in equipment other
than this interface unit.
Default value: Port No. 0
Delay time Setting a delay time prior to
LED light pulse.
Setting in the range of 0 to 1,008μs.
However, setting need to be total of 64 steps
in 16 -μs units. If the set time cannot be
divided by 16μs, please round up it.
Example: To set to 500μs,
500/16 = 31.25 (round up to 32)
32X16 = 512
Thus, pulse timing is delayed by 512μs.
Performing the external control through serial communications (RS-232C).
Convert the value for lower
1 byte into 2-byte ASCII code.
1st byte
2nd byte
Mode No. Control method
0 Selecting stationary light
1 Selecting strobe light
Protocol
Data bit length 8 bit
Stop bit 1
Parity check None
Baud rate 115200 bps
Note:
Using an extension I/O module enables flexible setting of the
protocol according to operating environments. To carry out
direct serial communications with this interface unit, make setting
of protocol as listed in the table on the left. For this purpose, use
the extension I/O module 1450 or 1460 module from Cognex.
Switching to external control
If the interface unit receives any commands, it will automatically select the external control.
Command codes
The character strings are all ASCII codes.
9Referring to data from
0 (30H) to 9 (39H).
FReferring to data from
0 (30H) to F (40H).
Note:
Be sure to adjust the digits of character strings for all commands.
Example: To set delay time (9999) to 0μs, enter “0000”.
92H