Skip to Content
On this page

Yokogawa Link

Binary Link address read/write for Yokogawa FA-M3 F3SP71-4N/4S and F3SP76-7N/7S CPUs.

Compatible devices and models

Device series / model examplesConnection requirements
FA-M3: F3SP71-4N, F3SP71-4S, F3SP76-7N, F3SP76-7SUse the CPU’s built-in Ethernet interface with the binary higher-level link service over TCP. Port B defaults to 12291; set CPU number to the actual slot, 1 through 4. Port A (12289) defaults to ASCII and cannot be used unchanged with this binary plugin. Match device ranges and write protection to the CPU project.

Connect to the target CPU in WideField3 and read its CPU properties: IP, mask, higher-level link format and CPU slot. On the documented F3SP71/F3SP76 CPUs, Port B is 12291, default TCP/Binary; Port A is 12289, default TCP/ASCII. Match the selected port and message format.

Connect, edit and download in WideField3

  1. Open Set up Environment → Communications Setup → Setup and select the engineering connection medium. USB can be used initially on a CPU with a built-in USB port. For Ethernet, select Ethernet, then enter Destination IP Address and CPU Number, the actual CPU slot 1–4. Port1 in this window is a software connection profile number, separate from TCP port 12291.

WideField3 communication media, Ethernet destination IP and CPU number

  1. While connected, select Online → Upload[CPU→PC] → CPU Properties and save the current properties. Open them with File → Open → CPU Properties. Select SETUP → ETHERNET and edit the Preset Value column for ETHER_MY_IPADDRESS, ETHER_SUBNET_MASK and, when needed, ETHER_DEFAULT_GATEWAY. Double-click or press F2 to edit. Use the correct CPU model’s property file. The manufacturer’s example shows 192.168.0.2 / 255.255.255.0; use the actual active CPU address in the gateway.

WideField3 ETHERNET properties with editable IP, subnet mask and gateway

  1. Select HIGHER-LEVEL_LINK_SERVICE in the same window. For Port B, confirm HLLINK_PROTOCOL_B=0 (TCP/IP) and HLLINK_DATA_FORMAT_B=1 (Binary). HLLINK_PROTECT=1 prohibits higher-level link writes and can remain enabled for read-only collection. Setting it to 0 permits protocol writes but does not grant gateway variable write permissions.
  2. Save and select Online → Download[PC→CPU] → CPU Properties. Choose the current CPU’s file. A communication-property change does not require downloading the entire program. Wait for the Writing indication to finish. Ethernet and higher-level link settings apply at power-on or reset; apply them during the site’s maintenance procedure, then use Online → CPU Properties to read them back.

WideField3 selection of a CPU property file for download

Window and menu references: Yokogawa WideField3 Offline , D1.2.3, and WideField3 Online , H5. Port, format and activation details: F3SP71/F3SP76 Functions , A9.5.2 and A9.5.4.

Associate the same CPU in the gateway

  1. Open Development Configuration → Collection Configuration and add a TcpClient channel. Enter the CPU’s actual IP and binary service port, for example 192.168.0.2:12291. Ordinary CPU computer-link connections do not use SSL or a DTU ID. Configure backup or bind addresses only when the network requires them. Save the connection first and enable it after creating the device and variables.

Yokogawa TCP client channel and remote address

  1. Add a device such as Yokogawa_FAM3, select Yokogawa Link, and associate Yokogawa_Link. An execution interval of 1000 schedules collection every second. Allow method calls controls protocol debug methods, separate from cyclic variable collection.

Yokogawa device name, plugin, associated channel and collection interval

  1. In Plugin properties, enter the actual default CPU slot, 1–4. Start with bit packing 256 and WORD packing 64; use the parameter descriptions below for timeout and data format. CPU number is separate from the IP address. A variable can override it independently.

Yokogawa default CPU number and bit and WORD packing

  1. Select a readable D100 in WideField3 online monitoring. Add D100_Int16 under Yokogawa_FAM3, with type Int16, Read only, and array length 0 for a scalar. Click Edit fields beside the address, select D, enter decimal offset 100, and apply D100 before saving.

D100 scalar variable name, device, type and read-only access

D100 area, decimal offset and inherited CPU in the address editor

  1. To read this variable from another CPU, enable CPU override and enter its slot 1–4, such as 2. Only this variable then targets CPU 2. Other variables continue to use the device default.

Selecting CPU 2 for one D100 variable

  1. Enable the channel, device and variable, then open the live variable table. If WideField3 shows decimal 1234 at D100, this Int16 variable should also show 1234, with an advancing collection time. Add a usable M/Y Boolean and compare the same contact in the project. For a mismatch, check the port, CPU, area and type as described below.

Float/Int32 occupy two adjacent WORDs. Y100 directly identifies one bit. WORD areas do not support Boolean D100.0, and bit areas cannot be read as an Int16 word. X inputs are read-only. Specify the byte length and encoding for String.

Bit packing is 1–256 points, default 256. WORD packing defaults to 64, the per-request limit. Keep arrays inside one area and CPU. Default data order is CDAB; compare a known 32-bit PLC value. See Collection Configuration for common settings.

Open the plugin

Enter “Development Configuration → Collection Configuration”, create a device and select “Yokogawa Link” in “Device Plugin”.

Supported channels and data types

Channel typePre-configuration check
TCP ClientConfirm network reachability of the device IP, port, and gateway to the device.

Optional data types: Boolean, Int16, UInt16, Int32, UInt32, Int64, UInt64, Float, Double, String

This list describes types allowed by the plugin editor. Address width, arrays, string length and read/write restrictions still follow this page; it does not mean that every address supports every type.

Plugin properties

Protocol parameters

SettingDescription
Default CPU numberDefault 1, range 1–4, identifying the target CPU’s slot. Used unless the address specifies cpu=. It is separate from the IP address and Ethernet port.

Request packing

SettingDescription
Maximum bit packingDefault 256, range 1–256 points. Limits a continuous read span within one CPU and bit area; gaps between selected points count toward the span.
Maximum batch lengthDefault 64 WORD, with a protocol limit of 64 WORD per request. Float/Int32 each occupy two WORD. A lower value reduces each request’s span but must still fit one variable. This setting does not control bit areas.

Runtime and data format

SettingDescription
Read/write timeoutDefault 3000 ms per protocol response. Check IP, port format, CPU and address errors before adjusting for link latency.
Pre-frame delayDefault 0 ms before a request, separate from the device interval. A longer delay slows requests and does not fix area or permission errors.
Data orderDefault CDAB; options ABCD/BADC/CDAB/DCBA. Compare a known PLC 32-bit value. An address override takes precedence.
String byte/word reversalOff by default. Changes character byte order within a WORD; set String encoding and byte length separately. It does not change the D-area offset.
Retry countDefault 3. Controls retries after failure. Correct an invalid CPU or address first; more retries increase the wait.
Read/write duty cycleDefault 3, minimum 1. During continuous writes, schedules a read after the configured number of write operations; it is not a percentage.
Write priorityOff by default. Writes may cancel an active read when enabled; frequent writes can delay collection updates.

Yokogawa timeout, delay, retries, read/write scheduling and CDAB format

Address rules

  • Yokogawa Link bit address supports X, Y, I, E, M, T, C, L, such as Y100; up to 256 points at a time.
  • WORD address supports D, B, F, R, V, Z, W, TN, CN, such as D100; up to 64 WORD at a time.
  • The address value uses decimal, and you can use cpu=1..4; to override the default CPU, such as cpu=2;D100.
  • X input relay area is read-only; random reads and writes and special module access are performed via driver dynamic methods.

Use Edit fields beside the variable address for the following settings. There are no additional plugin-specific variable properties.

Address fieldHow to fill it
Device area / offsetSelect a supported area and decimal device number. D100 is area D, offset 100, rather than byte offset 200.
Bit numberLeave unset. A bit-area address already selects a bit; WORD areas cannot become Boolean addresses with a .bit suffix.
CPU overrideOptional 1–4 for this variable only, for example D100;cpu=2. Unset inherits the device CPU.
Data-order overrideSelect when this value needs a different layout, for example D100;data=CDAB. Does not change CPU or address radix.
Encoding overrideFor String, match the PLC’s actual character encoding, such as ASCII or UTF-8.
String byte lengthDeclare the byte capacity. D100;len=8 occupies four WORD. Array length counts elements and does not replace String capacity.
BCD overrideSelect only when the PLC value uses the corresponding BCD/Gray encoding; leave unset for ordinary binary integers.
Variable-length string overrideUse only for a layout that contains a length field. Leave unset for ordinary fixed character storage; it does not detect PLC string structures.

Special methods

MethodPurposeParameters
ReadRandomBitsAsyncRandom read bit deviceaddresses=Y0,M10,cpu=2;E20
ReadRandomWordsAsyncRandomly read WORDaddresses=D0,D10,cpu=2;R20
WriteRandomBitsAsyncRandom write bit deviceaddresses=Y0,M10; values=true,false
WriteRandomWordsAsyncRandomly write WORDaddresses=D0,D10; hexWords=1234,ABCD
StartAsyncStart PLCNo parameters
StopAsyncStop PLCNo parameters
ResetModuleAsyncReset PLC moduleAfter execution, the device will close the current connection
ReadProgramStatusAsyncRead program statusNo parameters
ReadSystemInfoAsyncRead system informationNo parameters
ReadDateTimeAsyncRead PLC timeNo parameters
ReadSpecialModuleAsyncRead special modulesmoduleUnit, moduleSlot, wordPosition, wordCount
WriteSpecialModuleAsyncWrite special modulemoduleUnit, moduleSlot, wordPosition, hexWords

Write, start/stop, reset, load, delete or control methods will change the status of field devices. Before execution, confirm that the equipment is in an operable state and prepare for stop or rollback measures.

Device debug

Enter “Development Configuration → Collection Configuration”, select the current device then open “Protocol Debug” at the top of the workspace.

Dedicated debugging page

Random area reading and writing is used for batch access to Yokogawa addresses, PLC status and control is used to view and control the PLC, and special modules are used for module-level operations.

In Random-area read/write → Word area, enter comma-separated addresses such as D100,D101. Click Read random WORD and compare results in address order. A random request supports up to 32 addresses. Write values are hexadecimal WORDs: decimal 1234 is 04D2, rather than hexadecimal 1234.

Address list for reading D100 and D101

In PLC status and control, use the three read buttons for program status, system information and PLC clock. Check CPU identity first. Run, stop and reset change PLC state; use them only when permitted on site. Reset closes the current connection.

Yokogawa PLC status, system information, clock and control buttons

For a special module, obtain unit, slot and WORD start from its manual. D100’s offset 100 is not a module location. Read 1–2048 WORDs or write 1–64 hexadecimal WORDs per operation; confirm that the selected module position permits writes.

Special-module unit, slot, WORD start and read/write counts

Cyclic collection does not require Allow method calls. Enable that setting in device basic information to use debug methods, and enable the channel and device. Check these settings first when method buttons are disabled.

Troubleshooting

  • A request allows 64 WORDs or 256 bits and X is read-only; byte order cannot fix a wrong CPU number.
  • Special method execution fails: Check method parameters and permissions; control, write or reset methods also need to confirm that the device is in a state that allows operation.