![background image](http://html1.mh-extra.com/html/omron/fz4-series/fz4-series_user-manual_1633222274.webp)
4
Using
Tool
272
Using Custom Command
FZ4 User's Manual
Description
PSet PLC the write data.
Use it in a use to make the write data of the WritePlcMemory command.
Set a identification Name Identification name in an <ioIdent>.
Reference:
The data to be Set PLC the write data argument <writeData()> by one dimension integer type array
variable, do not specify it with the number of element like X&() but like () only with the type.
To an <offset> and a <size>, appoint an offset position and size of the <writeData()> sequence with the
number of bytes.
In an <data>, appoint data for the setting.
The value that an <size> can appoint is 2/4/8 byte. The data acquisition is each carried out for 2 bytes
integer /4 byte integer /8 byte real number.
When appoint the data of the character string type, appoint the character string head to set in size, and
the character string that added NULL to the end is set for character string from the top of the character
string that appointed to the number of bytes appointed in size.
When appoint -1, the character string that appointed is set all in size including NULL of the end.
Example
Set the PLC of write data to DM area.
Dim writeData&(100)
'Set 12.56 (real number type data) in writeData().
SetPlcData "SerialPlcLink", writeData&(), 0, 8, 12.56
'Set 150 (integer type data) in writeData().
SetPlcData "SerialPlcLink", writeData&(), 2, 8, 150
'Set "OMRON"( character string data) in writeData().
SetPlcData "SerialPlcLink", writeData&(), 3, 12, "OMRON"
'Set 12345 (integer type data) in writeData().
SetPlcData "SerialPlcLink", writeData&(), 5, 14, 12345
Set the explanation of the scene
SetSceneDescription <sceneNo>, <sceneDescription>
Parameters
<sceneNo>
scene number (integer type)
<sceneDescription>
Explanation (character type)
Return Value
None.
Acesst 1.0 6251194
Содержание FZ4 Series
Страница 1: ...User s Manual Cat No Z318 E1 02B Vision Sensor FZ4 Series...
Страница 12: ...1 Before Operation 10 Operation Flow FZ4 User s Manual Operation Flow Here describes the operation flow...
Страница 38: ...1 Before Operation 36 Setting Operation Mode FZ4 User s Manual 1 CPU 2 CPUs FZ4 11 H11 only...
Страница 112: ...3 Performing Test Measurement Starting Operation 110 Useful Functions for Operation FZ4 User s Manual...
Страница 326: ...4 Using Tool 324 Remotely Operating the Controller Remote Operation FZ4 User s Manual Enter the IP address...
Страница 330: ...4 Using Tool 328 Remotely Operating the Controller Remote Operation FZ4 User s Manual...
Страница 351: ...6 Changing the System Environment FZ4 User s Manual Setting the System Operation Environment 349 Communication...
Страница 566: ......
Страница 648: ...8 Appendixes 646 Manual Revision History FZ4 User s Manual...
Страница 654: ...652 FZ4 User s Manual...
Страница 655: ......