![background image](http://html1.mh-extra.com/html/omron/fh-1-series/fh-1-series_user-manual_742686196.webp)
WWW.NNC.IR
Basic Knowledge For Macro Customize Functions
194
Vision System FH/FZ5 Series
User’s Manual (Z340)
• For 128 to 255:
Use the terminal offset command DIOFFSET to add the difference from 0 to
127 with the seven bits from DI0 to DI6.
Example: For command number 150, the binary notation for 150 is 1001 0110, which requires eight bits.
In this case, you use the terminal offset command DIOFFSET to add, for instance, half of 150,
or 75. Then you can use DI0 to DI6 to specify the remaining 75. This procedure is given below.
1
Send “DIOFFSET 75.”
2
The binary notation for decimal 75 is 100 1011. Set each bit as follows: DI6: 1, DI5:0, DI4:
0, DI3: 1, DI2: 0, DI1:1, DI0: 1. Then, after 1 ms, change DI7 from OFF to ON to send the
command.
3
Send “DIOFFSET 0.”
(0: OFF 1: ON)
• Using PLC Link, EtherCAT, or EtherNet/IP (Except for the Non-procedure Protocol and Parallel
Interface)
Specify the command number from 0 to 255 as a hexadecimal number from 00 to FF hex to represent the
command code (CMD-CODE).
Specify the command code in order from the upper digits to the lower digits of the hexadecimal number.
This corresponds to the upper word address and the lower (smaller) word address in the I/O memory in
the PLC. In this case, the highest number is FF hex, so we specify a number from 00 to FF hex to the first
word in the Command Area + 2, and 0000 hex to the first word in the Command Area + 3.
Example: For command number 120, the hexadecimal notation is 0078 hex. Specify 0078 hex in the first
word in the Command Area + 2, and 0000 hex in the first word in the Command Area + 3.
Содержание fh-1 series
Страница 8: ...WWW NNC IR 6 Vision System FH FZ5 Series User s Manual Z340...
Страница 14: ...WWW NNC IR 12 Vision System FH FZ5 Series User s Manual Z340 MEMO...
Страница 22: ...WWW NNC IR 20 Vision System FH FZ5 Series User s Manual Z340 MEMO...
Страница 48: ...WWW NNC IR Initializing the Controller 46 Vision System FH FZ5 Series User s Manual Z340 MEMO...
Страница 68: ...WWW NNC IR Editing Scene Groups 66 Vision System FH FZ5 Series User s Manual Z340 MEMO...
Страница 132: ...WWW NNC IR Useful Functions for Operation 130 Vision System FH FZ5 Series User s Manual Z340 MEMO...
Страница 172: ...WWW NNC IR Saving Scene Groups in External Memory 170 Vision System FH FZ5 Series User s Manual Z340 MEMO...
Страница 254: ...WWW NNC IR Basic Knowledge For Macro Customize Functions 252 Vision System FH FZ5 Series User s Manual Z340 MEMO...
Страница 650: ...WWW NNC IR Macro Reference 648 Vision System FH FZ5 Series User s Manual Z340 Related Items None...
Страница 881: ...WWW NNC IR...