Writing Command

<< Click to Display Table of Contents >>

 

Writing Command

Write-Only

 

Device

Device code

N1

1 (one)

N2

Sub-device code. A value equal to 0 (zero) indicates a device

N3

0: Line or 1: Device

N4

Code of a writing command

 

A PLC Tag to perform a writing of data to the items specified in the N4 parameter. This parameter must be configured with one of the next values.

•0: Operational status

•1: Port speed

•2: Maximum time to pass after authorization

•3: Default port position

•4: Port opening

 

For each writing command specified in the N4 parameter, this Tag returns a response value in the Value property, according to the next examples.

•For N4 equal to 0 (zero), writes the operational status, in number format

•Possible values for turnstiles:

•0: Normal entry

•1: Controlled entry

•2: Maintenance entry

•3: Bidirectional entry

•4: Exit

•5: Out of service

•6: Free

•7: Simulated

•8: Special

•Possible values for counters:

•0: Normal entry

•4: Exit

•5: Out of service

•For N4 equal to 1 (one), writes the port speed, in number format

•0: Low

•1: Medium

•2: High

•For N4 equal to 2 (two), writes the maximum time to pass after authorization, in seconds, in number format

•Values between 0 (zero) and 60

•For N4 equal to 3 (three), writes the default port position, in number format

•0: Open

•1: Closed

•For N4 equal to 4 (four), writes the port opening for turnstiles, in number format

•Possible values for turnstiles:

•Values between 0 (zero) and 5 (five), indicating the number of free passes

•Possible values for access control:

•0: Entry

•1: Exit

•2: Both directions

Was this page useful?